type TestSubresourceApplyConfiguration … // TestSubresourceApplyConfiguration constructs a declarative configuration of the TestSubresource type for use with // apply. func TestSubresource() *TestSubresourceApplyConfiguration { … } // WithKind sets the Kind 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 Kind field is set to the value of the last call. func (b *TestSubresourceApplyConfiguration) WithKind(value string) *TestSubresourceApplyConfiguration { … } // WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call. func (b *TestSubresourceApplyConfiguration) WithAPIVersion(value string) *TestSubresourceApplyConfiguration { … } // WithName sets the Name 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 Name field is set to the value of the last call. func (b *TestSubresourceApplyConfiguration) WithName(value string) *TestSubresourceApplyConfiguration { … }