Documentation ¶
Index ¶
- type CliManagerApplyConfiguration
- func CliManager(name, namespace string) *CliManagerApplyConfiguration
- func ExtractCLIManager(cliManager *climanager.CliManager, fieldManager string) (*CliManagerApplyConfiguration, error)
- func ExtractCLIManagerStatus(cliManager *climanager.CliManager, fieldManager string) (*CliManagerApplyConfiguration, error)
- func (b *CliManagerApplyConfiguration) GetName() *string
- func (b *CliManagerApplyConfiguration) WithAPIVersion(value string) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithAnnotations(entries map[string]string) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithFinalizers(values ...string) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithGenerateName(value string) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithGeneration(value int64) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithKind(value string) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithLabels(entries map[string]string) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithName(value string) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithNamespace(value string) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithResourceVersion(value string) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithSpec(value *CliManagerSpecApplyConfiguration) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithStatus(value *CliManagerStatusApplyConfiguration) *CliManagerApplyConfiguration
- func (b *CliManagerApplyConfiguration) WithUID(value types.UID) *CliManagerApplyConfiguration
- type CliManagerSpecApplyConfiguration
- func (b *CliManagerSpecApplyConfiguration) WithLogLevel(value v1.LogLevel) *CliManagerSpecApplyConfiguration
- func (b *CliManagerSpecApplyConfiguration) WithManagementState(value v1.ManagementState) *CliManagerSpecApplyConfiguration
- func (b *CliManagerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *CliManagerSpecApplyConfiguration
- func (b *CliManagerSpecApplyConfiguration) WithOperatorLogLevel(value v1.LogLevel) *CliManagerSpecApplyConfiguration
- func (b *CliManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *CliManagerSpecApplyConfiguration
- type CliManagerStatusApplyConfiguration
- func (b *CliManagerStatusApplyConfiguration) WithConditions(values ...v1.OperatorCondition) *CliManagerStatusApplyConfiguration
- func (b *CliManagerStatusApplyConfiguration) WithGenerations(values ...v1.GenerationStatus) *CliManagerStatusApplyConfiguration
- func (b *CliManagerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *CliManagerStatusApplyConfiguration
- func (b *CliManagerStatusApplyConfiguration) WithObservedGeneration(value int64) *CliManagerStatusApplyConfiguration
- func (b *CliManagerStatusApplyConfiguration) WithReadyReplicas(value int32) *CliManagerStatusApplyConfiguration
- func (b *CliManagerStatusApplyConfiguration) WithVersion(value string) *CliManagerStatusApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithAPIVersion(value string) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithAnnotations(entries map[string]string) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithFinalizers(values ...string) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithGenerateName(value string) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithGeneration(value int64) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithKind(value string) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithLabels(entries map[string]string) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithName(value string) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithNamespace(value string) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithSpec(value *CliManagerSpecApplyConfiguration) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithStatus(value *CliManagerStatusApplyConfiguration) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerApplyConfiguration) WithUID(value types.UID) *CliManagerApplyConfiguration
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 ¶
func (b *CliManagerSpecApplyConfiguration) WithLogLevel(value v1.LogLevel) *CliManagerSpecApplyConfiguration
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 ¶
func (b *CliManagerSpecApplyConfiguration) WithManagementState(value v1.ManagementState) *CliManagerSpecApplyConfiguration
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 ¶
func (b *CliManagerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *CliManagerSpecApplyConfiguration
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 ¶
func (b *CliManagerSpecApplyConfiguration) WithOperatorLogLevel(value v1.LogLevel) *CliManagerSpecApplyConfiguration
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 ¶
func (b *CliManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *CliManagerSpecApplyConfiguration
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 ¶
func (b *CliManagerStatusApplyConfiguration) WithConditions(values ...v1.OperatorCondition) *CliManagerStatusApplyConfiguration
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 ¶
func (b *CliManagerStatusApplyConfiguration) WithGenerations(values ...v1.GenerationStatus) *CliManagerStatusApplyConfiguration
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 ¶
func (b *CliManagerStatusApplyConfiguration) WithObservedGeneration(value int64) *CliManagerStatusApplyConfiguration
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 ¶
func (b *CliManagerStatusApplyConfiguration) WithReadyReplicas(value int32) *CliManagerStatusApplyConfiguration
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 ¶
func (b *CliManagerStatusApplyConfiguration) WithVersion(value string) *CliManagerStatusApplyConfiguration
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.