v1

package
v0.0.0-...-fe45d53 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CliManagerApplyConfiguration

type CliManagerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *CliManagerSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *CliManagerStatusApplyConfiguration `json:"status,omitempty"`
}

CliManagerApplyConfiguration represents a declarative configuration of the CliManager type for use with apply.

func CliManager

func CliManager(name, namespace string) *CliManagerApplyConfiguration

CliManager constructs a declarative configuration of the CliManager type for use with apply.

func ExtractCLIManager

func ExtractCLIManager(cliManager *climanager.CliManager, fieldManager string) (*CliManagerApplyConfiguration, error)

ExtractCLIManager extracts the applied configuration owned by fieldManager from cliManager. If no managedFields are found in cliManager for fieldManager, a CliManagerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. cliManager must be a unmodified CliManager API object that was retrieved from the Kubernetes API. ExtractCLIManager provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractCLIManagerStatus

func ExtractCLIManagerStatus(cliManager *climanager.CliManager, fieldManager string) (*CliManagerApplyConfiguration, error)

ExtractCLIManagerStatus is the same as ExtractCLIManager except that it extracts the status subresource applied configuration. Experimental!

func (*CliManagerApplyConfiguration) GetName

func (b *CliManagerApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*CliManagerApplyConfiguration) WithAPIVersion

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 (*CliManagerApplyConfiguration) WithAnnotations

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 (*CliManagerApplyConfiguration) WithCreationTimestamp

func (b *CliManagerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CliManagerApplyConfiguration

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 (*CliManagerApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *CliManagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CliManagerApplyConfiguration

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 (*CliManagerApplyConfiguration) WithDeletionTimestamp

func (b *CliManagerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CliManagerApplyConfiguration

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 (*CliManagerApplyConfiguration) WithFinalizers

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 (*CliManagerApplyConfiguration) WithGenerateName

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 (*CliManagerApplyConfiguration) WithGeneration

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 (*CliManagerApplyConfiguration) 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 (*CliManagerApplyConfiguration) WithLabels

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 (*CliManagerApplyConfiguration) 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 (*CliManagerApplyConfiguration) WithNamespace

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 (*CliManagerApplyConfiguration) 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 (*CliManagerApplyConfiguration) WithResourceVersion

func (b *CliManagerApplyConfiguration) WithResourceVersion(value string) *CliManagerApplyConfiguration

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 (*CliManagerApplyConfiguration) 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 (*CliManagerApplyConfiguration) WithStatus

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 (*CliManagerApplyConfiguration) 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.

type CliManagerSpecApplyConfiguration

type CliManagerSpecApplyConfiguration struct {
	v1.OperatorSpec `json:",inline"`
}

CliManagerSpecApplyConfiguration represents a declarative configuration of the CliManagerSpec type for use with apply.

func CliManagerSpec

func CliManagerSpec() *CliManagerSpecApplyConfiguration

CliManagerSpecApplyConfiguration constructs a declarative configuration of the CliManagerSpec type for use with apply.

func (*CliManagerSpecApplyConfiguration) WithLogLevel

WithLogLevel sets the LogLevel 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 LogLevel field is set to the value of the last call.

func (*CliManagerSpecApplyConfiguration) WithManagementState

WithManagementState sets the ManagementState 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 ManagementState field is set to the value of the last call.

func (*CliManagerSpecApplyConfiguration) WithObservedConfig

WithObservedConfig sets the ObservedConfig 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 ObservedConfig field is set to the value of the last call.

func (*CliManagerSpecApplyConfiguration) WithOperatorLogLevel

WithOperatorLogLevel sets the OperatorLogLevel 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 OperatorLogLevel field is set to the value of the last call.

func (*CliManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides

WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides 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 UnsupportedConfigOverrides field is set to the value of the last call.

type CliManagerStatusApplyConfiguration

type CliManagerStatusApplyConfiguration struct {
	v1.OperatorStatus `json:",inline"`
}

CliManagerStatusApplyConfiguration represents a declarative configuration of the CliManagerStatus type for use with apply.

func CliManagerStatus

func CliManagerStatus() *CliManagerStatusApplyConfiguration

CliManagerStatusApplyConfiguration constructs a declarative configuration of the CliManagerStatus type for use with apply.

func (*CliManagerStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*CliManagerStatusApplyConfiguration) WithGenerations

WithGenerations adds the given value to the Generations 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 Generations field.

func (*CliManagerStatusApplyConfiguration) WithLatestAvailableRevision

func (b *CliManagerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *CliManagerStatusApplyConfiguration

WithLatestAvailableRevision sets the LatestAvailableRevision 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 LatestAvailableRevision field is set to the value of the last call.

func (*CliManagerStatusApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*CliManagerStatusApplyConfiguration) WithReadyReplicas

WithReadyReplicas sets the ReadyReplicas 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 ReadyReplicas field is set to the value of the last call.

func (*CliManagerStatusApplyConfiguration) WithVersion

WithVersion sets the Version 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 Version 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