Documentation ¶
Index ¶
- type SecondarySchedulerApplyConfiguration
- func ExtractSecondaryScheduler(secondaryScheduler *apissecondaryschedulerv1.SecondaryScheduler, ...) (*SecondarySchedulerApplyConfiguration, error)
- func ExtractSecondarySchedulerStatus(secondaryScheduler *apissecondaryschedulerv1.SecondaryScheduler, ...) (*SecondarySchedulerApplyConfiguration, error)
- func SecondaryScheduler(name, namespace string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) GetName() *string
- func (b *SecondarySchedulerApplyConfiguration) WithAPIVersion(value string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithAnnotations(entries map[string]string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithFinalizers(values ...string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithGenerateName(value string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithGeneration(value int64) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithKind(value string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithLabels(entries map[string]string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithName(value string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithNamespace(value string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithResourceVersion(value string) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithSpec(value *SecondarySchedulerSpecApplyConfiguration) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithStatus(value *SecondarySchedulerStatusApplyConfiguration) *SecondarySchedulerApplyConfiguration
- func (b *SecondarySchedulerApplyConfiguration) WithUID(value types.UID) *SecondarySchedulerApplyConfiguration
- type SecondarySchedulerSpecApplyConfiguration
- func (b *SecondarySchedulerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *SecondarySchedulerSpecApplyConfiguration
- func (b *SecondarySchedulerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *SecondarySchedulerSpecApplyConfiguration
- func (b *SecondarySchedulerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *SecondarySchedulerSpecApplyConfiguration
- func (b *SecondarySchedulerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *SecondarySchedulerSpecApplyConfiguration
- func (b *SecondarySchedulerSpecApplyConfiguration) WithSchedulerConfig(value string) *SecondarySchedulerSpecApplyConfiguration
- func (b *SecondarySchedulerSpecApplyConfiguration) WithSchedulerImage(value string) *SecondarySchedulerSpecApplyConfiguration
- func (b *SecondarySchedulerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *SecondarySchedulerSpecApplyConfiguration
- type SecondarySchedulerStatusApplyConfiguration
- func (b *SecondarySchedulerStatusApplyConfiguration) WithConditions(values ...*v1.OperatorConditionApplyConfiguration) *SecondarySchedulerStatusApplyConfiguration
- func (b *SecondarySchedulerStatusApplyConfiguration) WithGenerations(values ...*v1.GenerationStatusApplyConfiguration) *SecondarySchedulerStatusApplyConfiguration
- func (b *SecondarySchedulerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *SecondarySchedulerStatusApplyConfiguration
- func (b *SecondarySchedulerStatusApplyConfiguration) WithObservedGeneration(value int64) *SecondarySchedulerStatusApplyConfiguration
- func (b *SecondarySchedulerStatusApplyConfiguration) WithReadyReplicas(value int32) *SecondarySchedulerStatusApplyConfiguration
- func (b *SecondarySchedulerStatusApplyConfiguration) WithVersion(value string) *SecondarySchedulerStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecondarySchedulerApplyConfiguration ¶
type SecondarySchedulerApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *SecondarySchedulerSpecApplyConfiguration `json:"spec,omitempty"` Status *SecondarySchedulerStatusApplyConfiguration `json:"status,omitempty"` }
SecondarySchedulerApplyConfiguration represents a declarative configuration of the SecondaryScheduler type for use with apply.
func ExtractSecondaryScheduler ¶
func ExtractSecondaryScheduler(secondaryScheduler *apissecondaryschedulerv1.SecondaryScheduler, fieldManager string) (*SecondarySchedulerApplyConfiguration, error)
ExtractSecondaryScheduler extracts the applied configuration owned by fieldManager from secondaryScheduler. If no managedFields are found in secondaryScheduler for fieldManager, a SecondarySchedulerApplyConfiguration 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. secondaryScheduler must be a unmodified SecondaryScheduler API object that was retrieved from the Kubernetes API. ExtractSecondaryScheduler 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 ExtractSecondarySchedulerStatus ¶
func ExtractSecondarySchedulerStatus(secondaryScheduler *apissecondaryschedulerv1.SecondaryScheduler, fieldManager string) (*SecondarySchedulerApplyConfiguration, error)
ExtractSecondarySchedulerStatus is the same as ExtractSecondaryScheduler except that it extracts the status subresource applied configuration. Experimental!
func SecondaryScheduler ¶
func SecondaryScheduler(name, namespace string) *SecondarySchedulerApplyConfiguration
SecondaryScheduler constructs a declarative configuration of the SecondaryScheduler type for use with apply.
func (*SecondarySchedulerApplyConfiguration) GetName ¶
func (b *SecondarySchedulerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*SecondarySchedulerApplyConfiguration) WithAPIVersion ¶
func (b *SecondarySchedulerApplyConfiguration) WithAPIVersion(value string) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithAnnotations ¶
func (b *SecondarySchedulerApplyConfiguration) WithAnnotations(entries map[string]string) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithCreationTimestamp ¶
func (b *SecondarySchedulerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *SecondarySchedulerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithDeletionTimestamp ¶
func (b *SecondarySchedulerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithFinalizers ¶
func (b *SecondarySchedulerApplyConfiguration) WithFinalizers(values ...string) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithGenerateName ¶
func (b *SecondarySchedulerApplyConfiguration) WithGenerateName(value string) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithGeneration ¶
func (b *SecondarySchedulerApplyConfiguration) WithGeneration(value int64) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithKind ¶
func (b *SecondarySchedulerApplyConfiguration) WithKind(value string) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithLabels ¶
func (b *SecondarySchedulerApplyConfiguration) WithLabels(entries map[string]string) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithName ¶
func (b *SecondarySchedulerApplyConfiguration) WithName(value string) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithNamespace ¶
func (b *SecondarySchedulerApplyConfiguration) WithNamespace(value string) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithOwnerReferences ¶
func (b *SecondarySchedulerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithResourceVersion ¶
func (b *SecondarySchedulerApplyConfiguration) WithResourceVersion(value string) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithSpec ¶
func (b *SecondarySchedulerApplyConfiguration) WithSpec(value *SecondarySchedulerSpecApplyConfiguration) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithStatus ¶
func (b *SecondarySchedulerApplyConfiguration) WithStatus(value *SecondarySchedulerStatusApplyConfiguration) *SecondarySchedulerApplyConfiguration
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 (*SecondarySchedulerApplyConfiguration) WithUID ¶
func (b *SecondarySchedulerApplyConfiguration) WithUID(value types.UID) *SecondarySchedulerApplyConfiguration
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 SecondarySchedulerSpecApplyConfiguration ¶
type SecondarySchedulerSpecApplyConfiguration struct { v1.OperatorSpecApplyConfiguration `json:",inline"` SchedulerConfig *string `json:"schedulerConfig,omitempty"` SchedulerImage *string `json:"schedulerImage,omitempty"` }
SecondarySchedulerSpecApplyConfiguration represents a declarative configuration of the SecondarySchedulerSpec type for use with apply.
func SecondarySchedulerSpec ¶
func SecondarySchedulerSpec() *SecondarySchedulerSpecApplyConfiguration
SecondarySchedulerSpecApplyConfiguration constructs a declarative configuration of the SecondarySchedulerSpec type for use with apply.
func (*SecondarySchedulerSpecApplyConfiguration) WithLogLevel ¶
func (b *SecondarySchedulerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *SecondarySchedulerSpecApplyConfiguration
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 (*SecondarySchedulerSpecApplyConfiguration) WithManagementState ¶
func (b *SecondarySchedulerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *SecondarySchedulerSpecApplyConfiguration
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 (*SecondarySchedulerSpecApplyConfiguration) WithObservedConfig ¶
func (b *SecondarySchedulerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *SecondarySchedulerSpecApplyConfiguration
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 (*SecondarySchedulerSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *SecondarySchedulerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *SecondarySchedulerSpecApplyConfiguration
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 (*SecondarySchedulerSpecApplyConfiguration) WithSchedulerConfig ¶
func (b *SecondarySchedulerSpecApplyConfiguration) WithSchedulerConfig(value string) *SecondarySchedulerSpecApplyConfiguration
WithSchedulerConfig sets the SchedulerConfig 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 SchedulerConfig field is set to the value of the last call.
func (*SecondarySchedulerSpecApplyConfiguration) WithSchedulerImage ¶
func (b *SecondarySchedulerSpecApplyConfiguration) WithSchedulerImage(value string) *SecondarySchedulerSpecApplyConfiguration
WithSchedulerImage sets the SchedulerImage 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 SchedulerImage field is set to the value of the last call.
func (*SecondarySchedulerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *SecondarySchedulerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *SecondarySchedulerSpecApplyConfiguration
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 SecondarySchedulerStatusApplyConfiguration ¶
type SecondarySchedulerStatusApplyConfiguration struct {
v1.OperatorStatusApplyConfiguration `json:",inline"`
}
SecondarySchedulerStatusApplyConfiguration represents a declarative configuration of the SecondarySchedulerStatus type for use with apply.
func SecondarySchedulerStatus ¶
func SecondarySchedulerStatus() *SecondarySchedulerStatusApplyConfiguration
SecondarySchedulerStatusApplyConfiguration constructs a declarative configuration of the SecondarySchedulerStatus type for use with apply.
func (*SecondarySchedulerStatusApplyConfiguration) WithConditions ¶
func (b *SecondarySchedulerStatusApplyConfiguration) WithConditions(values ...*v1.OperatorConditionApplyConfiguration) *SecondarySchedulerStatusApplyConfiguration
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 (*SecondarySchedulerStatusApplyConfiguration) WithGenerations ¶
func (b *SecondarySchedulerStatusApplyConfiguration) WithGenerations(values ...*v1.GenerationStatusApplyConfiguration) *SecondarySchedulerStatusApplyConfiguration
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 (*SecondarySchedulerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *SecondarySchedulerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *SecondarySchedulerStatusApplyConfiguration
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 (*SecondarySchedulerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *SecondarySchedulerStatusApplyConfiguration) WithObservedGeneration(value int64) *SecondarySchedulerStatusApplyConfiguration
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 (*SecondarySchedulerStatusApplyConfiguration) WithReadyReplicas ¶
func (b *SecondarySchedulerStatusApplyConfiguration) WithReadyReplicas(value int32) *SecondarySchedulerStatusApplyConfiguration
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 (*SecondarySchedulerStatusApplyConfiguration) WithVersion ¶
func (b *SecondarySchedulerStatusApplyConfiguration) WithVersion(value string) *SecondarySchedulerStatusApplyConfiguration
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.