Documentation ¶
Index ¶
- type CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithAPIVersion(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithAction(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithAnnotations(entries map[string]string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithFinalizers(values ...string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithGenerateName(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithGeneration(value int64) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithKind(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithLabels(entries map[string]string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithMessage(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithName(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithNamespace(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithReason(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithResourceVersion(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithTargetObject(value *v1.OwnerReferenceApplyConfiguration) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithUID(value types.UID) *CommandApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandApplyConfiguration ¶
type CommandApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Action *string `json:"action,omitempty"` TargetObject *v1.OwnerReferenceApplyConfiguration `json:"target,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
CommandApplyConfiguration represents an declarative configuration of the Command type for use with apply.
func Command ¶
func Command(name, namespace string) *CommandApplyConfiguration
Command constructs an declarative configuration of the Command type for use with apply.
func (*CommandApplyConfiguration) WithAPIVersion ¶
func (b *CommandApplyConfiguration) WithAPIVersion(value string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithAction ¶
func (b *CommandApplyConfiguration) WithAction(value string) *CommandApplyConfiguration
WithAction sets the Action 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 Action field is set to the value of the last call.
func (*CommandApplyConfiguration) WithAnnotations ¶
func (b *CommandApplyConfiguration) WithAnnotations(entries map[string]string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithCreationTimestamp ¶
func (b *CommandApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *CommandApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithDeletionTimestamp ¶
func (b *CommandApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithFinalizers ¶
func (b *CommandApplyConfiguration) WithFinalizers(values ...string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithGenerateName ¶
func (b *CommandApplyConfiguration) WithGenerateName(value string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithGeneration ¶
func (b *CommandApplyConfiguration) WithGeneration(value int64) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithKind ¶
func (b *CommandApplyConfiguration) WithKind(value string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithLabels ¶
func (b *CommandApplyConfiguration) WithLabels(entries map[string]string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithMessage ¶
func (b *CommandApplyConfiguration) WithMessage(value string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithName ¶
func (b *CommandApplyConfiguration) WithName(value string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithNamespace ¶
func (b *CommandApplyConfiguration) WithNamespace(value string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithOwnerReferences ¶
func (b *CommandApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithReason ¶
func (b *CommandApplyConfiguration) WithReason(value string) *CommandApplyConfiguration
WithReason sets the Reason 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 Reason field is set to the value of the last call.
func (*CommandApplyConfiguration) WithResourceVersion ¶
func (b *CommandApplyConfiguration) WithResourceVersion(value string) *CommandApplyConfiguration
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 (*CommandApplyConfiguration) WithTargetObject ¶
func (b *CommandApplyConfiguration) WithTargetObject(value *v1.OwnerReferenceApplyConfiguration) *CommandApplyConfiguration
WithTargetObject sets the TargetObject 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 TargetObject field is set to the value of the last call.
func (*CommandApplyConfiguration) WithUID ¶
func (b *CommandApplyConfiguration) WithUID(value types.UID) *CommandApplyConfiguration
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.