Documentation ¶
Index ¶
- type FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithAPIVersion(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithAnnotations(entries map[string]string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithFinalizers(values ...string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithGenerateName(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithGeneration(value int64) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithKind(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithLabels(entries map[string]string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithName(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithNamespace(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithResourceVersion(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithSpec(value v2alpha1.FrequentlyChangingAnnotationsResource) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithUID(value types.UID) *FrequentlyChangingAnnotationsResourceApplyConfiguration
- type MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithAPIVersion(value string) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithAnnotations(entries map[string]string) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithFinalizers(values ...string) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithGenerateName(value string) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithGeneration(value int64) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithKind(value string) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithLabels(entries map[string]string) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithName(value string) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithNamespace(value string) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithResourceVersion(value string) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithSpec(value v2alpha1.MockResource) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithStatus(value core.NamespacedStatuses) *MockResourceApplyConfiguration
- func (b *MockResourceApplyConfiguration) WithUID(value types.UID) *MockResourceApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrequentlyChangingAnnotationsResourceApplyConfiguration ¶
type FrequentlyChangingAnnotationsResourceApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *v2alpha1.FrequentlyChangingAnnotationsResource `json:"spec,omitempty"` }
FrequentlyChangingAnnotationsResourceApplyConfiguration represents an declarative configuration of the FrequentlyChangingAnnotationsResource type for use with apply.
func FrequentlyChangingAnnotationsResource ¶
func FrequentlyChangingAnnotationsResource(name, namespace string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
FrequentlyChangingAnnotationsResource constructs an declarative configuration of the FrequentlyChangingAnnotationsResource type for use with apply.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithAPIVersion ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithAPIVersion(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
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 (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithAnnotations ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithAnnotations(entries map[string]string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithCreationTimestamp ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithDeletionTimestamp ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithFinalizers ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithFinalizers(values ...string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithGenerateName ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithGenerateName(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithGeneration ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithGeneration(value int64) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithKind ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithKind(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
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 (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithLabels ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithLabels(entries map[string]string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithName ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithName(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
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 (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithNamespace ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithNamespace(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithOwnerReferences ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithResourceVersion ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithResourceVersion(value string) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithSpec ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithSpec(value v2alpha1.FrequentlyChangingAnnotationsResource) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*FrequentlyChangingAnnotationsResourceApplyConfiguration) WithUID ¶
func (b *FrequentlyChangingAnnotationsResourceApplyConfiguration) WithUID(value types.UID) *FrequentlyChangingAnnotationsResourceApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type MockResourceApplyConfiguration ¶
type MockResourceApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *v2alpha1.MockResource `json:"spec,omitempty"` Status *core.NamespacedStatuses `json:"status,omitempty"` }
MockResourceApplyConfiguration represents an declarative configuration of the MockResource type for use with apply.
func MockResource ¶
func MockResource(name, namespace string) *MockResourceApplyConfiguration
MockResource constructs an declarative configuration of the MockResource type for use with apply.
func (*MockResourceApplyConfiguration) WithAPIVersion ¶
func (b *MockResourceApplyConfiguration) WithAPIVersion(value string) *MockResourceApplyConfiguration
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 (*MockResourceApplyConfiguration) WithAnnotations ¶
func (b *MockResourceApplyConfiguration) WithAnnotations(entries map[string]string) *MockResourceApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*MockResourceApplyConfiguration) WithCreationTimestamp ¶
func (b *MockResourceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MockResourceApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*MockResourceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MockResourceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MockResourceApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*MockResourceApplyConfiguration) WithDeletionTimestamp ¶
func (b *MockResourceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MockResourceApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*MockResourceApplyConfiguration) WithFinalizers ¶
func (b *MockResourceApplyConfiguration) WithFinalizers(values ...string) *MockResourceApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*MockResourceApplyConfiguration) WithGenerateName ¶
func (b *MockResourceApplyConfiguration) WithGenerateName(value string) *MockResourceApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*MockResourceApplyConfiguration) WithGeneration ¶
func (b *MockResourceApplyConfiguration) WithGeneration(value int64) *MockResourceApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*MockResourceApplyConfiguration) WithKind ¶
func (b *MockResourceApplyConfiguration) WithKind(value string) *MockResourceApplyConfiguration
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 (*MockResourceApplyConfiguration) WithLabels ¶
func (b *MockResourceApplyConfiguration) WithLabels(entries map[string]string) *MockResourceApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*MockResourceApplyConfiguration) WithName ¶
func (b *MockResourceApplyConfiguration) WithName(value string) *MockResourceApplyConfiguration
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 (*MockResourceApplyConfiguration) WithNamespace ¶
func (b *MockResourceApplyConfiguration) WithNamespace(value string) *MockResourceApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*MockResourceApplyConfiguration) WithOwnerReferences ¶
func (b *MockResourceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MockResourceApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*MockResourceApplyConfiguration) WithResourceVersion ¶
func (b *MockResourceApplyConfiguration) WithResourceVersion(value string) *MockResourceApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*MockResourceApplyConfiguration) WithSpec ¶
func (b *MockResourceApplyConfiguration) WithSpec(value v2alpha1.MockResource) *MockResourceApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*MockResourceApplyConfiguration) WithStatus ¶
func (b *MockResourceApplyConfiguration) WithStatus(value core.NamespacedStatuses) *MockResourceApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
func (*MockResourceApplyConfiguration) WithUID ¶
func (b *MockResourceApplyConfiguration) WithUID(value types.UID) *MockResourceApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.