kubernetes/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalespec.go

type ScaleSpecApplyConfiguration

// ScaleSpecApplyConfiguration constructs a declarative configuration of the ScaleSpec type for use with
// apply.
func ScaleSpec() *ScaleSpecApplyConfiguration {}

// WithReplicas sets the Replicas field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Replicas field is set to the value of the last call.
func (b *ScaleSpecApplyConfiguration) WithReplicas(value int32) *ScaleSpecApplyConfiguration {}