Documentation ¶
Index ¶
- type BackupSpecApplyConfiguration
- func (b *BackupSpecApplyConfiguration) WithDirs(value v1.BackupDirs) *BackupSpecApplyConfiguration
- func (b *BackupSpecApplyConfiguration) WithHost(value v1.BackupHost) *BackupSpecApplyConfiguration
- func (b *BackupSpecApplyConfiguration) WithPort(value v1.BackupPort) *BackupSpecApplyConfiguration
- func (b *BackupSpecApplyConfiguration) WithUser(value v1.BackupUser) *BackupSpecApplyConfiguration
- type TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithAPIVersion(value string) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithAnnotations(entries map[string]string) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithFinalizers(values ...string) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithGenerateName(value string) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithGeneration(value int64) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithKind(value string) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithLabels(entries map[string]string) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithName(value string) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithNamespace(value string) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithResourceVersion(value string) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithSpec(value *BackupSpecApplyConfiguration) *TargetApplyConfiguration
- func (b *TargetApplyConfiguration) WithUID(value types.UID) *TargetApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupSpecApplyConfiguration ¶
type BackupSpecApplyConfiguration struct { Host *v1.BackupHost `json:"host,omitempty"` Port *v1.BackupPort `json:"port,omitempty"` User *v1.BackupUser `json:"user,omitempty"` Dirs *v1.BackupDirs `json:"dirs,omitempty"` }
BackupSpecApplyConfiguration represents an declarative configuration of the BackupSpec type for use with apply.
func BackupSpec ¶
func BackupSpec() *BackupSpecApplyConfiguration
BackupSpecApplyConfiguration constructs an declarative configuration of the BackupSpec type for use with apply.
func (*BackupSpecApplyConfiguration) WithDirs ¶
func (b *BackupSpecApplyConfiguration) WithDirs(value v1.BackupDirs) *BackupSpecApplyConfiguration
WithDirs sets the Dirs 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 Dirs field is set to the value of the last call.
func (*BackupSpecApplyConfiguration) WithHost ¶
func (b *BackupSpecApplyConfiguration) WithHost(value v1.BackupHost) *BackupSpecApplyConfiguration
WithHost sets the Host 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 Host field is set to the value of the last call.
func (*BackupSpecApplyConfiguration) WithPort ¶
func (b *BackupSpecApplyConfiguration) WithPort(value v1.BackupPort) *BackupSpecApplyConfiguration
WithPort sets the Port 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 Port field is set to the value of the last call.
func (*BackupSpecApplyConfiguration) WithUser ¶
func (b *BackupSpecApplyConfiguration) WithUser(value v1.BackupUser) *BackupSpecApplyConfiguration
WithUser sets the User 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 User field is set to the value of the last call.
type TargetApplyConfiguration ¶
type TargetApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BackupSpecApplyConfiguration `json:"spec,omitempty"` }
TargetApplyConfiguration represents an declarative configuration of the Target type for use with apply.
func Target ¶
func Target(name, namespace string) *TargetApplyConfiguration
Target constructs an declarative configuration of the Target type for use with apply.
func (*TargetApplyConfiguration) WithAPIVersion ¶
func (b *TargetApplyConfiguration) WithAPIVersion(value string) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithAnnotations ¶
func (b *TargetApplyConfiguration) WithAnnotations(entries map[string]string) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithCreationTimestamp ¶
func (b *TargetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *TargetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithDeletionTimestamp ¶
func (b *TargetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithFinalizers ¶
func (b *TargetApplyConfiguration) WithFinalizers(values ...string) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithGenerateName ¶
func (b *TargetApplyConfiguration) WithGenerateName(value string) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithGeneration ¶
func (b *TargetApplyConfiguration) WithGeneration(value int64) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithKind ¶
func (b *TargetApplyConfiguration) WithKind(value string) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithLabels ¶
func (b *TargetApplyConfiguration) WithLabels(entries map[string]string) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithName ¶
func (b *TargetApplyConfiguration) WithName(value string) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithNamespace ¶
func (b *TargetApplyConfiguration) WithNamespace(value string) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithOwnerReferences ¶
func (b *TargetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithResourceVersion ¶
func (b *TargetApplyConfiguration) WithResourceVersion(value string) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithSpec ¶
func (b *TargetApplyConfiguration) WithSpec(value *BackupSpecApplyConfiguration) *TargetApplyConfiguration
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 (*TargetApplyConfiguration) WithUID ¶
func (b *TargetApplyConfiguration) WithUID(value types.UID) *TargetApplyConfiguration
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.