type FlunderSpecApplyConfiguration … // FlunderSpecApplyConfiguration constructs a declarative configuration of the FlunderSpec type for use with // apply. func FlunderSpec() *FlunderSpecApplyConfiguration { … } // WithReference sets the Reference 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 Reference field is set to the value of the last call. func (b *FlunderSpecApplyConfiguration) WithReference(value string) *FlunderSpecApplyConfiguration { … } // WithReferenceType sets the ReferenceType 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 ReferenceType field is set to the value of the last call. func (b *FlunderSpecApplyConfiguration) WithReferenceType(value wardlev1alpha1.ReferenceType) *FlunderSpecApplyConfiguration { … }