// Code generated by applyconfiguration-gen. DO NOT EDIT.

package v1

// ImageTagMirrorSetSpecApplyConfiguration represents a declarative configuration of the ImageTagMirrorSetSpec type for use
// with apply.
type ImageTagMirrorSetSpecApplyConfiguration struct {
	ImageTagMirrors []ImageTagMirrorsApplyConfiguration `json:"imageTagMirrors,omitempty"`
}

// ImageTagMirrorSetSpecApplyConfiguration constructs a declarative configuration of the ImageTagMirrorSetSpec type for use with
// apply.
func ImageTagMirrorSetSpec() *ImageTagMirrorSetSpecApplyConfiguration {
	return &ImageTagMirrorSetSpecApplyConfiguration{}
}

// WithImageTagMirrors adds the given value to the ImageTagMirrors field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the ImageTagMirrors field.
func (b *ImageTagMirrorSetSpecApplyConfiguration) WithImageTagMirrors(values ...*ImageTagMirrorsApplyConfiguration) *ImageTagMirrorSetSpecApplyConfiguration {
	for i := range values {
		if values[i] == nil {
			panic("nil value passed to WithImageTagMirrors")
		}
		b.ImageTagMirrors = append(b.ImageTagMirrors, *values[i])
	}
	return b
}
