Documentation ¶
Index ¶
- type ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) GetName() *string
- func (b *ExampleApplyConfiguration) WithAPIVersion(value string) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithAnnotations(entries map[string]string) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithFinalizers(values ...string) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithGenerateName(value string) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithGeneration(value int64) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithKind(value string) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithLabels(entries map[string]string) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithName(value string) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithNamespace(value string) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithResourceVersion(value string) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithSpec(value *ExampleSpecApplyConfiguration) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithStatus(value *ExampleStatusApplyConfiguration) *ExampleApplyConfiguration
- func (b *ExampleApplyConfiguration) WithUID(value types.UID) *ExampleApplyConfiguration
- type ExampleSpecApplyConfiguration
- type ExampleStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleApplyConfiguration ¶
type ExampleApplyConfiguration struct { metav1.TypeMetaApplyConfiguration `json:",inline"` *metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ExampleSpecApplyConfiguration `json:"spec,omitempty"` Status *ExampleStatusApplyConfiguration `json:"status,omitempty"` }
ExampleApplyConfiguration represents a declarative configuration of the Example type for use with apply.
func Example ¶
func Example(name, namespace string) *ExampleApplyConfiguration
Example constructs a declarative configuration of the Example type for use with apply.
func (*ExampleApplyConfiguration) GetName ¶ added in v0.31.0
func (b *ExampleApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ExampleApplyConfiguration) WithAPIVersion ¶
func (b *ExampleApplyConfiguration) WithAPIVersion(value string) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithAnnotations ¶
func (b *ExampleApplyConfiguration) WithAnnotations(entries map[string]string) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithCreationTimestamp ¶
func (b *ExampleApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ExampleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithDeletionTimestamp ¶
func (b *ExampleApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithFinalizers ¶
func (b *ExampleApplyConfiguration) WithFinalizers(values ...string) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithGenerateName ¶
func (b *ExampleApplyConfiguration) WithGenerateName(value string) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithGeneration ¶
func (b *ExampleApplyConfiguration) WithGeneration(value int64) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithKind ¶
func (b *ExampleApplyConfiguration) WithKind(value string) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithLabels ¶
func (b *ExampleApplyConfiguration) WithLabels(entries map[string]string) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithName ¶
func (b *ExampleApplyConfiguration) WithName(value string) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithNamespace ¶
func (b *ExampleApplyConfiguration) WithNamespace(value string) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithOwnerReferences ¶
func (b *ExampleApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithResourceVersion ¶
func (b *ExampleApplyConfiguration) WithResourceVersion(value string) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithSpec ¶
func (b *ExampleApplyConfiguration) WithSpec(value *ExampleSpecApplyConfiguration) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithStatus ¶
func (b *ExampleApplyConfiguration) WithStatus(value *ExampleStatusApplyConfiguration) *ExampleApplyConfiguration
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 (*ExampleApplyConfiguration) WithUID ¶
func (b *ExampleApplyConfiguration) WithUID(value types.UID) *ExampleApplyConfiguration
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 ExampleSpecApplyConfiguration ¶
type ExampleSpecApplyConfiguration struct { Foo *string `json:"foo,omitempty"` Bar *bool `json:"bar,omitempty"` }
ExampleSpecApplyConfiguration represents a declarative configuration of the ExampleSpec type for use with apply.
func ExampleSpec ¶
func ExampleSpec() *ExampleSpecApplyConfiguration
ExampleSpecApplyConfiguration constructs a declarative configuration of the ExampleSpec type for use with apply.
func (*ExampleSpecApplyConfiguration) WithBar ¶
func (b *ExampleSpecApplyConfiguration) WithBar(value bool) *ExampleSpecApplyConfiguration
WithBar sets the Bar 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 Bar field is set to the value of the last call.
func (*ExampleSpecApplyConfiguration) WithFoo ¶
func (b *ExampleSpecApplyConfiguration) WithFoo(value string) *ExampleSpecApplyConfiguration
WithFoo sets the Foo 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 Foo field is set to the value of the last call.
type ExampleStatusApplyConfiguration ¶
type ExampleStatusApplyConfiguration struct { State *crv1.ExampleState `json:"state,omitempty"` Message *string `json:"message,omitempty"` }
ExampleStatusApplyConfiguration represents a declarative configuration of the ExampleStatus type for use with apply.
func ExampleStatus ¶
func ExampleStatus() *ExampleStatusApplyConfiguration
ExampleStatusApplyConfiguration constructs a declarative configuration of the ExampleStatus type for use with apply.
func (*ExampleStatusApplyConfiguration) WithMessage ¶
func (b *ExampleStatusApplyConfiguration) WithMessage(value string) *ExampleStatusApplyConfiguration
WithMessage sets the Message 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 Message field is set to the value of the last call.
func (*ExampleStatusApplyConfiguration) WithState ¶
func (b *ExampleStatusApplyConfiguration) WithState(value crv1.ExampleState) *ExampleStatusApplyConfiguration
WithState sets the State 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 State field is set to the value of the last call.