v1

package
v0.0.0-...-5c43739 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LeaderWorkerSetOperatorApplyConfiguration

type LeaderWorkerSetOperatorApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	// spec holds user settable values for configuration
	Spec *LeaderWorkerSetOperatorSpecApplyConfiguration `json:"spec,omitempty"`
	// status holds observed values from the cluster. They may not be overridden.
	Status *LeaderWorkerSetOperatorStatusApplyConfiguration `json:"status,omitempty"`
}

LeaderWorkerSetOperatorApplyConfiguration represents a declarative configuration of the LeaderWorkerSetOperator type for use with apply.

LeaderWorkerSetOperator is the Schema for the LeaderWorkerSetOperator API

func ExtractLeaderWorkerSetOperator

func ExtractLeaderWorkerSetOperator(leaderWorkerSetOperator *leaderworkersetoperatorv1.LeaderWorkerSetOperator, fieldManager string) (*LeaderWorkerSetOperatorApplyConfiguration, error)

ExtractLeaderWorkerSetOperator extracts the applied configuration owned by fieldManager from leaderWorkerSetOperator. If no managedFields are found in leaderWorkerSetOperator for fieldManager, a LeaderWorkerSetOperatorApplyConfiguration 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. leaderWorkerSetOperator must be a unmodified LeaderWorkerSetOperator API object that was retrieved from the Kubernetes API. ExtractLeaderWorkerSetOperator 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.

func ExtractLeaderWorkerSetOperatorFrom

func ExtractLeaderWorkerSetOperatorFrom(leaderWorkerSetOperator *leaderworkersetoperatorv1.LeaderWorkerSetOperator, fieldManager string, subresource string) (*LeaderWorkerSetOperatorApplyConfiguration, error)

ExtractLeaderWorkerSetOperatorFrom extracts the applied configuration owned by fieldManager from leaderWorkerSetOperator for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. leaderWorkerSetOperator must be a unmodified LeaderWorkerSetOperator API object that was retrieved from the Kubernetes API. ExtractLeaderWorkerSetOperatorFrom 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.

func ExtractLeaderWorkerSetOperatorStatus

func ExtractLeaderWorkerSetOperatorStatus(leaderWorkerSetOperator *leaderworkersetoperatorv1.LeaderWorkerSetOperator, fieldManager string) (*LeaderWorkerSetOperatorApplyConfiguration, error)

ExtractLeaderWorkerSetOperatorStatus extracts the applied configuration owned by fieldManager from leaderWorkerSetOperator for the status subresource.

func LeaderWorkerSetOperator

func LeaderWorkerSetOperator(name string) *LeaderWorkerSetOperatorApplyConfiguration

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

func (*LeaderWorkerSetOperatorApplyConfiguration) GetAPIVersion

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*LeaderWorkerSetOperatorApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*LeaderWorkerSetOperatorApplyConfiguration) GetName

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

func (*LeaderWorkerSetOperatorApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (LeaderWorkerSetOperatorApplyConfiguration) IsApplyConfiguration

func (b LeaderWorkerSetOperatorApplyConfiguration) IsApplyConfiguration()

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

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

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

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

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 (*LeaderWorkerSetOperatorApplyConfiguration) 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 (*LeaderWorkerSetOperatorApplyConfiguration) 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 (*LeaderWorkerSetOperatorApplyConfiguration) 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 LeaderWorkerSetOperatorSpecApplyConfiguration

type LeaderWorkerSetOperatorSpecApplyConfiguration struct {
	operatorv1.OperatorSpecApplyConfiguration `json:",inline"`
}

LeaderWorkerSetOperatorSpecApplyConfiguration represents a declarative configuration of the LeaderWorkerSetOperatorSpec type for use with apply.

LeaderWorkerSetOperatorSpec defines the desired state of LeaderWorkerSetOperator

func LeaderWorkerSetOperatorSpec

func LeaderWorkerSetOperatorSpec() *LeaderWorkerSetOperatorSpecApplyConfiguration

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

func (*LeaderWorkerSetOperatorSpecApplyConfiguration) 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 (*LeaderWorkerSetOperatorSpecApplyConfiguration) 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 (*LeaderWorkerSetOperatorSpecApplyConfiguration) 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 (*LeaderWorkerSetOperatorSpecApplyConfiguration) 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 (*LeaderWorkerSetOperatorSpecApplyConfiguration) 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 LeaderWorkerSetOperatorStatusApplyConfiguration

type LeaderWorkerSetOperatorStatusApplyConfiguration struct {
	operatorv1.OperatorStatusApplyConfiguration `json:",inline"`
}

LeaderWorkerSetOperatorStatusApplyConfiguration represents a declarative configuration of the LeaderWorkerSetOperatorStatus type for use with apply.

LeaderWorkerSetOperatorStatus defines the observed state of LeaderWorkerSetOperator

func LeaderWorkerSetOperatorStatus

func LeaderWorkerSetOperatorStatus() *LeaderWorkerSetOperatorStatusApplyConfiguration

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

func (*LeaderWorkerSetOperatorStatusApplyConfiguration) 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 (*LeaderWorkerSetOperatorStatusApplyConfiguration) 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 (*LeaderWorkerSetOperatorStatusApplyConfiguration) WithLatestAvailableRevision

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 (*LeaderWorkerSetOperatorStatusApplyConfiguration) 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 (*LeaderWorkerSetOperatorStatusApplyConfiguration) 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 (*LeaderWorkerSetOperatorStatusApplyConfiguration) 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