Documentation ¶
Index ¶
- type CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithAPIVersion(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) WithName(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithNamespace(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithResourceVersion(value string) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithSpec(value *CommandSpecApplyConfiguration) *CommandApplyConfiguration
- func (b *CommandApplyConfiguration) WithUID(value types.UID) *CommandApplyConfiguration
- type CommandSpecApplyConfiguration
- func (b *CommandSpecApplyConfiguration) WithCommand(value v1.JSON) *CommandSpecApplyConfiguration
- func (b *CommandSpecApplyConfiguration) WithServiceName(value string) *CommandSpecApplyConfiguration
- func (b *CommandSpecApplyConfiguration) WithShouldSendDeferred(value bool) *CommandSpecApplyConfiguration
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"` Spec *CommandSpecApplyConfiguration `json:"spec,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) 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) 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) 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) WithSpec ¶
func (b *CommandApplyConfiguration) WithSpec(value *CommandSpecApplyConfiguration) *CommandApplyConfiguration
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 (*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.
type CommandSpecApplyConfiguration ¶
type CommandSpecApplyConfiguration struct { ShouldSendDeferred *bool `json:"shouldSendDeferred,omitempty"` ServiceName *string `json:"serviceName,omitempty"` Command *v1.JSON `json:"command,omitempty"` }
CommandSpecApplyConfiguration represents an declarative configuration of the CommandSpec type for use with apply.
func CommandSpec ¶
func CommandSpec() *CommandSpecApplyConfiguration
CommandSpecApplyConfiguration constructs an declarative configuration of the CommandSpec type for use with apply.
func (*CommandSpecApplyConfiguration) WithCommand ¶
func (b *CommandSpecApplyConfiguration) WithCommand(value v1.JSON) *CommandSpecApplyConfiguration
WithCommand sets the Command 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 Command field is set to the value of the last call.
func (*CommandSpecApplyConfiguration) WithServiceName ¶
func (b *CommandSpecApplyConfiguration) WithServiceName(value string) *CommandSpecApplyConfiguration
WithServiceName sets the ServiceName 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 ServiceName field is set to the value of the last call.
func (*CommandSpecApplyConfiguration) WithShouldSendDeferred ¶
func (b *CommandSpecApplyConfiguration) WithShouldSendDeferred(value bool) *CommandSpecApplyConfiguration
WithShouldSendDeferred sets the ShouldSendDeferred 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 ShouldSendDeferred field is set to the value of the last call.