v1

package
v0.0.0-...-7ea7169 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2024 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL