Documentation ¶
Index ¶
- type ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithAPIVersion(value string) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithAnnotations(entries map[string]string) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithFinalizers(values ...string) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithGenerateName(value string) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithGeneration(value int64) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithKind(value string) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithLabels(entries map[string]string) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithName(value string) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithNamespace(value string) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithResourceVersion(value string) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithSpec(value *ChainSpecApplyConfiguration) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithStatus(value *ChainStatusApplyConfiguration) *ChainApplyConfiguration
- func (b *ChainApplyConfiguration) WithUID(value types.UID) *ChainApplyConfiguration
- type ChainSpecApplyConfiguration
- func (b *ChainSpecApplyConfiguration) WithBootstrapAccount(value string) *ChainSpecApplyConfiguration
- func (b *ChainSpecApplyConfiguration) WithDisplayName(value string) *ChainSpecApplyConfiguration
- func (b *ChainSpecApplyConfiguration) WithImage(value string) *ChainSpecApplyConfiguration
- func (b *ChainSpecApplyConfiguration) WithMinMineIntervalSeconds(value int32) *ChainSpecApplyConfiguration
- func (b *ChainSpecApplyConfiguration) WithMinerType(value string) *ChainSpecApplyConfiguration
- type ChainStatusApplyConfiguration
- func (b *ChainStatusApplyConfiguration) WithConditions(value appsv1beta1.Conditions) *ChainStatusApplyConfiguration
- func (b *ChainStatusApplyConfiguration) WithConfigMapRef(value *LocalObjectReferenceApplyConfiguration) *ChainStatusApplyConfiguration
- func (b *ChainStatusApplyConfiguration) WithMinerRef(value *LocalObjectReferenceApplyConfiguration) *ChainStatusApplyConfiguration
- func (b *ChainStatusApplyConfiguration) WithObservedGeneration(value int64) *ChainStatusApplyConfiguration
- type ChargeRequestApplyConfiguration
- func ChargeRequest(name, namespace string) *ChargeRequestApplyConfiguration
- func ExtractChargeRequest(chargeRequest *appsv1beta1.ChargeRequest, fieldManager string) (*ChargeRequestApplyConfiguration, error)
- func ExtractChargeRequestStatus(chargeRequest *appsv1beta1.ChargeRequest, fieldManager string) (*ChargeRequestApplyConfiguration, error)
- func (b *ChargeRequestApplyConfiguration) WithAPIVersion(value string) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithAnnotations(entries map[string]string) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithFinalizers(values ...string) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithGenerateName(value string) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithGeneration(value int64) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithKind(value string) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithLabels(entries map[string]string) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithName(value string) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithNamespace(value string) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithResourceVersion(value string) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithSpec(value *ChargeRequestSpecApplyConfiguration) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithStatus(value *ChargeRequestStatusApplyConfiguration) *ChargeRequestApplyConfiguration
- func (b *ChargeRequestApplyConfiguration) WithUID(value types.UID) *ChargeRequestApplyConfiguration
- type ChargeRequestSpecApplyConfiguration
- type ChargeRequestStatusApplyConfiguration
- type ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithReason(value string) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithSeverity(value v1beta1.ConditionSeverity) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithType(value v1beta1.ConditionType) *ConditionApplyConfiguration
- type LocalObjectReferenceApplyConfiguration
- type MinerAddressApplyConfiguration
- type MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithAPIVersion(value string) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithAnnotations(entries map[string]string) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithFinalizers(values ...string) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithGenerateName(value string) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithGeneration(value int64) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithKind(value string) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithLabels(entries map[string]string) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithName(value string) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithNamespace(value string) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithResourceVersion(value string) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithSpec(value *MinerSpecApplyConfiguration) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithStatus(value *MinerStatusApplyConfiguration) *MinerApplyConfiguration
- func (b *MinerApplyConfiguration) WithUID(value types.UID) *MinerApplyConfiguration
- type MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithAPIVersion(value string) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithAnnotations(entries map[string]string) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithFinalizers(values ...string) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithGenerateName(value string) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithGeneration(value int64) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithKind(value string) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithLabels(entries map[string]string) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithName(value string) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithNamespace(value string) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithResourceVersion(value string) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithSpec(value *MinerSetSpecApplyConfiguration) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithStatus(value *MinerSetStatusApplyConfiguration) *MinerSetApplyConfiguration
- func (b *MinerSetApplyConfiguration) WithUID(value types.UID) *MinerSetApplyConfiguration
- type MinerSetSpecApplyConfiguration
- func (b *MinerSetSpecApplyConfiguration) WithDeletePolicy(value string) *MinerSetSpecApplyConfiguration
- func (b *MinerSetSpecApplyConfiguration) WithDisplayName(value string) *MinerSetSpecApplyConfiguration
- func (b *MinerSetSpecApplyConfiguration) WithMinReadySeconds(value int32) *MinerSetSpecApplyConfiguration
- func (b *MinerSetSpecApplyConfiguration) WithProgressDeadlineSeconds(value int32) *MinerSetSpecApplyConfiguration
- func (b *MinerSetSpecApplyConfiguration) WithReplicas(value int32) *MinerSetSpecApplyConfiguration
- func (b *MinerSetSpecApplyConfiguration) WithSelector(value *v1.LabelSelectorApplyConfiguration) *MinerSetSpecApplyConfiguration
- func (b *MinerSetSpecApplyConfiguration) WithTemplate(value *MinerTemplateSpecApplyConfiguration) *MinerSetSpecApplyConfiguration
- type MinerSetStatusApplyConfiguration
- func (b *MinerSetStatusApplyConfiguration) WithAvailableReplicas(value int32) *MinerSetStatusApplyConfiguration
- func (b *MinerSetStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *MinerSetStatusApplyConfiguration
- func (b *MinerSetStatusApplyConfiguration) WithFailureMessage(value string) *MinerSetStatusApplyConfiguration
- func (b *MinerSetStatusApplyConfiguration) WithFailureReason(value errors.MinerSetStatusError) *MinerSetStatusApplyConfiguration
- func (b *MinerSetStatusApplyConfiguration) WithFullyLabeledReplicas(value int32) *MinerSetStatusApplyConfiguration
- func (b *MinerSetStatusApplyConfiguration) WithObservedGeneration(value int64) *MinerSetStatusApplyConfiguration
- func (b *MinerSetStatusApplyConfiguration) WithReadyReplicas(value int32) *MinerSetStatusApplyConfiguration
- func (b *MinerSetStatusApplyConfiguration) WithReplicas(value int32) *MinerSetStatusApplyConfiguration
- type MinerSpecApplyConfiguration
- func (b *MinerSpecApplyConfiguration) WithAnnotations(entries map[string]string) *MinerSpecApplyConfiguration
- func (b *MinerSpecApplyConfiguration) WithChainName(value string) *MinerSpecApplyConfiguration
- func (b *MinerSpecApplyConfiguration) WithDisplayName(value string) *MinerSpecApplyConfiguration
- func (b *MinerSpecApplyConfiguration) WithLabels(entries map[string]string) *MinerSpecApplyConfiguration
- func (b *MinerSpecApplyConfiguration) WithMinerType(value string) *MinerSpecApplyConfiguration
- func (b *MinerSpecApplyConfiguration) WithPodDeletionTimeout(value metav1.Duration) *MinerSpecApplyConfiguration
- func (b *MinerSpecApplyConfiguration) WithRestartPolicy(value v1.RestartPolicy) *MinerSpecApplyConfiguration
- type MinerStatusApplyConfiguration
- func (b *MinerStatusApplyConfiguration) WithAddresses(value v1beta1.MinerAddresses) *MinerStatusApplyConfiguration
- func (b *MinerStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *MinerStatusApplyConfiguration
- func (b *MinerStatusApplyConfiguration) WithFailureMessage(value string) *MinerStatusApplyConfiguration
- func (b *MinerStatusApplyConfiguration) WithFailureReason(value errors.MinerStatusError) *MinerStatusApplyConfiguration
- func (b *MinerStatusApplyConfiguration) WithLastUpdated(value metav1.Time) *MinerStatusApplyConfiguration
- func (b *MinerStatusApplyConfiguration) WithObservedGeneration(value int64) *MinerStatusApplyConfiguration
- func (b *MinerStatusApplyConfiguration) WithPhase(value string) *MinerStatusApplyConfiguration
- func (b *MinerStatusApplyConfiguration) WithPodRef(value *v1.ObjectReferenceApplyConfiguration) *MinerStatusApplyConfiguration
- type MinerTemplateSpecApplyConfiguration
- func (b *MinerTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *MinerTemplateSpecApplyConfiguration
- func (b *MinerTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *MinerTemplateSpecApplyConfiguration
- func (b *MinerTemplateSpecApplyConfiguration) WithSpec(value *MinerSpecApplyConfiguration) *MinerTemplateSpecApplyConfiguration
- type ObjectMetaApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainApplyConfiguration ¶
type ChainApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ChainSpecApplyConfiguration `json:"spec,omitempty"` Status *ChainStatusApplyConfiguration `json:"status,omitempty"` }
ChainApplyConfiguration represents an declarative configuration of the Chain type for use with apply.
func Chain ¶
func Chain(name, namespace string) *ChainApplyConfiguration
Chain constructs an declarative configuration of the Chain type for use with apply.
func ExtractChain ¶
func ExtractChain(chain *appsv1beta1.Chain, fieldManager string) (*ChainApplyConfiguration, error)
ExtractChain extracts the applied configuration owned by fieldManager from chain. If no managedFields are found in chain for fieldManager, a ChainApplyConfiguration 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. chain must be a unmodified Chain API object that was retrieved from the Kubernetes API. ExtractChain 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 ExtractChainStatus ¶
func ExtractChainStatus(chain *appsv1beta1.Chain, fieldManager string) (*ChainApplyConfiguration, error)
ExtractChainStatus is the same as ExtractChain except that it extracts the status subresource applied configuration. Experimental!
func (*ChainApplyConfiguration) WithAPIVersion ¶
func (b *ChainApplyConfiguration) WithAPIVersion(value string) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithAnnotations ¶
func (b *ChainApplyConfiguration) WithAnnotations(entries map[string]string) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithCreationTimestamp ¶
func (b *ChainApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ChainApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithDeletionTimestamp ¶
func (b *ChainApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithFinalizers ¶
func (b *ChainApplyConfiguration) WithFinalizers(values ...string) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithGenerateName ¶
func (b *ChainApplyConfiguration) WithGenerateName(value string) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithGeneration ¶
func (b *ChainApplyConfiguration) WithGeneration(value int64) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithKind ¶
func (b *ChainApplyConfiguration) WithKind(value string) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithLabels ¶
func (b *ChainApplyConfiguration) WithLabels(entries map[string]string) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithName ¶
func (b *ChainApplyConfiguration) WithName(value string) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithNamespace ¶
func (b *ChainApplyConfiguration) WithNamespace(value string) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithOwnerReferences ¶
func (b *ChainApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithResourceVersion ¶
func (b *ChainApplyConfiguration) WithResourceVersion(value string) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithSpec ¶
func (b *ChainApplyConfiguration) WithSpec(value *ChainSpecApplyConfiguration) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithStatus ¶
func (b *ChainApplyConfiguration) WithStatus(value *ChainStatusApplyConfiguration) *ChainApplyConfiguration
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 (*ChainApplyConfiguration) WithUID ¶
func (b *ChainApplyConfiguration) WithUID(value types.UID) *ChainApplyConfiguration
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 ChainSpecApplyConfiguration ¶
type ChainSpecApplyConfiguration struct { DisplayName *string `json:"displayName,omitempty"` MinerType *string `json:"minerType,omitempty"` Image *string `json:"image,omitempty"` MinMineIntervalSeconds *int32 `json:"minMineIntervalSeconds,omitempty"` BootstrapAccount *string `json:"bootstrapAccount,omitempty"` }
ChainSpecApplyConfiguration represents an declarative configuration of the ChainSpec type for use with apply.
func ChainSpec ¶
func ChainSpec() *ChainSpecApplyConfiguration
ChainSpecApplyConfiguration constructs an declarative configuration of the ChainSpec type for use with apply.
func (*ChainSpecApplyConfiguration) WithBootstrapAccount ¶
func (b *ChainSpecApplyConfiguration) WithBootstrapAccount(value string) *ChainSpecApplyConfiguration
WithBootstrapAccount sets the BootstrapAccount 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 BootstrapAccount field is set to the value of the last call.
func (*ChainSpecApplyConfiguration) WithDisplayName ¶
func (b *ChainSpecApplyConfiguration) WithDisplayName(value string) *ChainSpecApplyConfiguration
WithDisplayName sets the DisplayName 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 DisplayName field is set to the value of the last call.
func (*ChainSpecApplyConfiguration) WithImage ¶
func (b *ChainSpecApplyConfiguration) WithImage(value string) *ChainSpecApplyConfiguration
WithImage sets the Image 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 Image field is set to the value of the last call.
func (*ChainSpecApplyConfiguration) WithMinMineIntervalSeconds ¶
func (b *ChainSpecApplyConfiguration) WithMinMineIntervalSeconds(value int32) *ChainSpecApplyConfiguration
WithMinMineIntervalSeconds sets the MinMineIntervalSeconds 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 MinMineIntervalSeconds field is set to the value of the last call.
func (*ChainSpecApplyConfiguration) WithMinerType ¶
func (b *ChainSpecApplyConfiguration) WithMinerType(value string) *ChainSpecApplyConfiguration
WithMinerType sets the MinerType 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 MinerType field is set to the value of the last call.
type ChainStatusApplyConfiguration ¶
type ChainStatusApplyConfiguration struct { ConfigMapRef *LocalObjectReferenceApplyConfiguration `json:"configMapRef,omitempty"` MinerRef *LocalObjectReferenceApplyConfiguration `json:"minerRef,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` Conditions *appsv1beta1.Conditions `json:"conditions,omitempty"` }
ChainStatusApplyConfiguration represents an declarative configuration of the ChainStatus type for use with apply.
func ChainStatus ¶
func ChainStatus() *ChainStatusApplyConfiguration
ChainStatusApplyConfiguration constructs an declarative configuration of the ChainStatus type for use with apply.
func (*ChainStatusApplyConfiguration) WithConditions ¶
func (b *ChainStatusApplyConfiguration) WithConditions(value appsv1beta1.Conditions) *ChainStatusApplyConfiguration
WithConditions sets the Conditions 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 Conditions field is set to the value of the last call.
func (*ChainStatusApplyConfiguration) WithConfigMapRef ¶
func (b *ChainStatusApplyConfiguration) WithConfigMapRef(value *LocalObjectReferenceApplyConfiguration) *ChainStatusApplyConfiguration
WithConfigMapRef sets the ConfigMapRef 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 ConfigMapRef field is set to the value of the last call.
func (*ChainStatusApplyConfiguration) WithMinerRef ¶
func (b *ChainStatusApplyConfiguration) WithMinerRef(value *LocalObjectReferenceApplyConfiguration) *ChainStatusApplyConfiguration
WithMinerRef sets the MinerRef 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 MinerRef field is set to the value of the last call.
func (*ChainStatusApplyConfiguration) WithObservedGeneration ¶
func (b *ChainStatusApplyConfiguration) WithObservedGeneration(value int64) *ChainStatusApplyConfiguration
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.
type ChargeRequestApplyConfiguration ¶
type ChargeRequestApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ChargeRequestSpecApplyConfiguration `json:"spec,omitempty"` Status *ChargeRequestStatusApplyConfiguration `json:"status,omitempty"` }
ChargeRequestApplyConfiguration represents an declarative configuration of the ChargeRequest type for use with apply.
func ChargeRequest ¶
func ChargeRequest(name, namespace string) *ChargeRequestApplyConfiguration
ChargeRequest constructs an declarative configuration of the ChargeRequest type for use with apply.
func ExtractChargeRequest ¶
func ExtractChargeRequest(chargeRequest *appsv1beta1.ChargeRequest, fieldManager string) (*ChargeRequestApplyConfiguration, error)
ExtractChargeRequest extracts the applied configuration owned by fieldManager from chargeRequest. If no managedFields are found in chargeRequest for fieldManager, a ChargeRequestApplyConfiguration 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. chargeRequest must be a unmodified ChargeRequest API object that was retrieved from the Kubernetes API. ExtractChargeRequest 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 ExtractChargeRequestStatus ¶
func ExtractChargeRequestStatus(chargeRequest *appsv1beta1.ChargeRequest, fieldManager string) (*ChargeRequestApplyConfiguration, error)
ExtractChargeRequestStatus is the same as ExtractChargeRequest except that it extracts the status subresource applied configuration. Experimental!
func (*ChargeRequestApplyConfiguration) WithAPIVersion ¶
func (b *ChargeRequestApplyConfiguration) WithAPIVersion(value string) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithAnnotations ¶
func (b *ChargeRequestApplyConfiguration) WithAnnotations(entries map[string]string) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithCreationTimestamp ¶
func (b *ChargeRequestApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ChargeRequestApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithDeletionTimestamp ¶
func (b *ChargeRequestApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithFinalizers ¶
func (b *ChargeRequestApplyConfiguration) WithFinalizers(values ...string) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithGenerateName ¶
func (b *ChargeRequestApplyConfiguration) WithGenerateName(value string) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithGeneration ¶
func (b *ChargeRequestApplyConfiguration) WithGeneration(value int64) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithKind ¶
func (b *ChargeRequestApplyConfiguration) WithKind(value string) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithLabels ¶
func (b *ChargeRequestApplyConfiguration) WithLabels(entries map[string]string) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithName ¶
func (b *ChargeRequestApplyConfiguration) WithName(value string) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithNamespace ¶
func (b *ChargeRequestApplyConfiguration) WithNamespace(value string) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithOwnerReferences ¶
func (b *ChargeRequestApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithResourceVersion ¶
func (b *ChargeRequestApplyConfiguration) WithResourceVersion(value string) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithSpec ¶
func (b *ChargeRequestApplyConfiguration) WithSpec(value *ChargeRequestSpecApplyConfiguration) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithStatus ¶
func (b *ChargeRequestApplyConfiguration) WithStatus(value *ChargeRequestStatusApplyConfiguration) *ChargeRequestApplyConfiguration
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 (*ChargeRequestApplyConfiguration) WithUID ¶
func (b *ChargeRequestApplyConfiguration) WithUID(value types.UID) *ChargeRequestApplyConfiguration
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 ChargeRequestSpecApplyConfiguration ¶
type ChargeRequestSpecApplyConfiguration struct { From *string `json:"from,omitempty"` Password *string `json:"password,omitempty"` }
ChargeRequestSpecApplyConfiguration represents an declarative configuration of the ChargeRequestSpec type for use with apply.
func ChargeRequestSpec ¶
func ChargeRequestSpec() *ChargeRequestSpecApplyConfiguration
ChargeRequestSpecApplyConfiguration constructs an declarative configuration of the ChargeRequestSpec type for use with apply.
func (*ChargeRequestSpecApplyConfiguration) WithFrom ¶
func (b *ChargeRequestSpecApplyConfiguration) WithFrom(value string) *ChargeRequestSpecApplyConfiguration
WithFrom sets the From 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 From field is set to the value of the last call.
func (*ChargeRequestSpecApplyConfiguration) WithPassword ¶
func (b *ChargeRequestSpecApplyConfiguration) WithPassword(value string) *ChargeRequestSpecApplyConfiguration
WithPassword sets the Password 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 Password field is set to the value of the last call.
type ChargeRequestStatusApplyConfiguration ¶
type ChargeRequestStatusApplyConfiguration struct {
Conditions *v1beta1.Conditions `json:"conditions,omitempty"`
}
ChargeRequestStatusApplyConfiguration represents an declarative configuration of the ChargeRequestStatus type for use with apply.
func ChargeRequestStatus ¶
func ChargeRequestStatus() *ChargeRequestStatusApplyConfiguration
ChargeRequestStatusApplyConfiguration constructs an declarative configuration of the ChargeRequestStatus type for use with apply.
func (*ChargeRequestStatusApplyConfiguration) WithConditions ¶
func (b *ChargeRequestStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *ChargeRequestStatusApplyConfiguration
WithConditions sets the Conditions 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 Conditions field is set to the value of the last call.
type ConditionApplyConfiguration ¶
type ConditionApplyConfiguration struct { Type *v1beta1.ConditionType `json:"type,omitempty"` Status *v1.ConditionStatus `json:"status,omitempty"` Severity *v1beta1.ConditionSeverity `json:"severity,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
ConditionApplyConfiguration represents an declarative configuration of the Condition type for use with apply.
func Condition ¶
func Condition() *ConditionApplyConfiguration
ConditionApplyConfiguration constructs an declarative configuration of the Condition type for use with apply.
func (*ConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithMessage ¶
func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
WithMessage sets the Message 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 Message field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithReason ¶
func (b *ConditionApplyConfiguration) WithReason(value string) *ConditionApplyConfiguration
WithReason sets the Reason 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 Reason field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithSeverity ¶
func (b *ConditionApplyConfiguration) WithSeverity(value v1beta1.ConditionSeverity) *ConditionApplyConfiguration
WithSeverity sets the Severity 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 Severity field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithStatus ¶
func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration
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 (*ConditionApplyConfiguration) WithType ¶
func (b *ConditionApplyConfiguration) WithType(value v1beta1.ConditionType) *ConditionApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type LocalObjectReferenceApplyConfiguration ¶
type LocalObjectReferenceApplyConfiguration struct {
Name *string `json:"name,omitempty"`
}
LocalObjectReferenceApplyConfiguration represents an declarative configuration of the LocalObjectReference type for use with apply.
func LocalObjectReference ¶
func LocalObjectReference() *LocalObjectReferenceApplyConfiguration
LocalObjectReferenceApplyConfiguration constructs an declarative configuration of the LocalObjectReference type for use with apply.
func (*LocalObjectReferenceApplyConfiguration) WithName ¶
func (b *LocalObjectReferenceApplyConfiguration) WithName(value string) *LocalObjectReferenceApplyConfiguration
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.
type MinerAddressApplyConfiguration ¶
type MinerAddressApplyConfiguration struct { Type *v1beta1.MinerAddressType `json:"type,omitempty"` Address *string `json:"address,omitempty"` }
MinerAddressApplyConfiguration represents an declarative configuration of the MinerAddress type for use with apply.
func MinerAddress ¶
func MinerAddress() *MinerAddressApplyConfiguration
MinerAddressApplyConfiguration constructs an declarative configuration of the MinerAddress type for use with apply.
func (*MinerAddressApplyConfiguration) WithAddress ¶
func (b *MinerAddressApplyConfiguration) WithAddress(value string) *MinerAddressApplyConfiguration
WithAddress sets the Address 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 Address field is set to the value of the last call.
func (*MinerAddressApplyConfiguration) WithType ¶
func (b *MinerAddressApplyConfiguration) WithType(value v1beta1.MinerAddressType) *MinerAddressApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type MinerApplyConfiguration ¶
type MinerApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MinerSpecApplyConfiguration `json:"spec,omitempty"` Status *MinerStatusApplyConfiguration `json:"status,omitempty"` }
MinerApplyConfiguration represents an declarative configuration of the Miner type for use with apply.
func ExtractMiner ¶
func ExtractMiner(miner *appsv1beta1.Miner, fieldManager string) (*MinerApplyConfiguration, error)
ExtractMiner extracts the applied configuration owned by fieldManager from miner. If no managedFields are found in miner for fieldManager, a MinerApplyConfiguration 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. miner must be a unmodified Miner API object that was retrieved from the Kubernetes API. ExtractMiner 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 ExtractMinerStatus ¶
func ExtractMinerStatus(miner *appsv1beta1.Miner, fieldManager string) (*MinerApplyConfiguration, error)
ExtractMinerStatus is the same as ExtractMiner except that it extracts the status subresource applied configuration. Experimental!
func Miner ¶
func Miner(name, namespace string) *MinerApplyConfiguration
Miner constructs an declarative configuration of the Miner type for use with apply.
func (*MinerApplyConfiguration) WithAPIVersion ¶
func (b *MinerApplyConfiguration) WithAPIVersion(value string) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithAnnotations ¶
func (b *MinerApplyConfiguration) WithAnnotations(entries map[string]string) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithCreationTimestamp ¶
func (b *MinerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MinerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithDeletionTimestamp ¶
func (b *MinerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithFinalizers ¶
func (b *MinerApplyConfiguration) WithFinalizers(values ...string) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithGenerateName ¶
func (b *MinerApplyConfiguration) WithGenerateName(value string) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithGeneration ¶
func (b *MinerApplyConfiguration) WithGeneration(value int64) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithKind ¶
func (b *MinerApplyConfiguration) WithKind(value string) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithLabels ¶
func (b *MinerApplyConfiguration) WithLabels(entries map[string]string) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithName ¶
func (b *MinerApplyConfiguration) WithName(value string) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithNamespace ¶
func (b *MinerApplyConfiguration) WithNamespace(value string) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithOwnerReferences ¶
func (b *MinerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithResourceVersion ¶
func (b *MinerApplyConfiguration) WithResourceVersion(value string) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithSpec ¶
func (b *MinerApplyConfiguration) WithSpec(value *MinerSpecApplyConfiguration) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithStatus ¶
func (b *MinerApplyConfiguration) WithStatus(value *MinerStatusApplyConfiguration) *MinerApplyConfiguration
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 (*MinerApplyConfiguration) WithUID ¶
func (b *MinerApplyConfiguration) WithUID(value types.UID) *MinerApplyConfiguration
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 MinerSetApplyConfiguration ¶
type MinerSetApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MinerSetSpecApplyConfiguration `json:"spec,omitempty"` Status *MinerSetStatusApplyConfiguration `json:"status,omitempty"` }
MinerSetApplyConfiguration represents an declarative configuration of the MinerSet type for use with apply.
func ExtractMinerSet ¶
func ExtractMinerSet(minerSet *appsv1beta1.MinerSet, fieldManager string) (*MinerSetApplyConfiguration, error)
ExtractMinerSet extracts the applied configuration owned by fieldManager from minerSet. If no managedFields are found in minerSet for fieldManager, a MinerSetApplyConfiguration 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. minerSet must be a unmodified MinerSet API object that was retrieved from the Kubernetes API. ExtractMinerSet 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 ExtractMinerSetStatus ¶
func ExtractMinerSetStatus(minerSet *appsv1beta1.MinerSet, fieldManager string) (*MinerSetApplyConfiguration, error)
ExtractMinerSetStatus is the same as ExtractMinerSet except that it extracts the status subresource applied configuration. Experimental!
func MinerSet ¶
func MinerSet(name, namespace string) *MinerSetApplyConfiguration
MinerSet constructs an declarative configuration of the MinerSet type for use with apply.
func (*MinerSetApplyConfiguration) WithAPIVersion ¶
func (b *MinerSetApplyConfiguration) WithAPIVersion(value string) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithAnnotations ¶
func (b *MinerSetApplyConfiguration) WithAnnotations(entries map[string]string) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithCreationTimestamp ¶
func (b *MinerSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MinerSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithDeletionTimestamp ¶
func (b *MinerSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithFinalizers ¶
func (b *MinerSetApplyConfiguration) WithFinalizers(values ...string) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithGenerateName ¶
func (b *MinerSetApplyConfiguration) WithGenerateName(value string) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithGeneration ¶
func (b *MinerSetApplyConfiguration) WithGeneration(value int64) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithKind ¶
func (b *MinerSetApplyConfiguration) WithKind(value string) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithLabels ¶
func (b *MinerSetApplyConfiguration) WithLabels(entries map[string]string) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithName ¶
func (b *MinerSetApplyConfiguration) WithName(value string) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithNamespace ¶
func (b *MinerSetApplyConfiguration) WithNamespace(value string) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithOwnerReferences ¶
func (b *MinerSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithResourceVersion ¶
func (b *MinerSetApplyConfiguration) WithResourceVersion(value string) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithSpec ¶
func (b *MinerSetApplyConfiguration) WithSpec(value *MinerSetSpecApplyConfiguration) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithStatus ¶
func (b *MinerSetApplyConfiguration) WithStatus(value *MinerSetStatusApplyConfiguration) *MinerSetApplyConfiguration
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 (*MinerSetApplyConfiguration) WithUID ¶
func (b *MinerSetApplyConfiguration) WithUID(value types.UID) *MinerSetApplyConfiguration
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 MinerSetSpecApplyConfiguration ¶
type MinerSetSpecApplyConfiguration struct { Replicas *int32 `json:"replicas,omitempty"` Selector *v1.LabelSelectorApplyConfiguration `json:"selector,omitempty"` Template *MinerTemplateSpecApplyConfiguration `json:"template,omitempty"` DisplayName *string `json:"displayName,omitempty"` DeletePolicy *string `json:"deletePolicy,omitempty"` MinReadySeconds *int32 `json:"minReadySeconds,omitempty"` ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty"` }
MinerSetSpecApplyConfiguration represents an declarative configuration of the MinerSetSpec type for use with apply.
func MinerSetSpec ¶
func MinerSetSpec() *MinerSetSpecApplyConfiguration
MinerSetSpecApplyConfiguration constructs an declarative configuration of the MinerSetSpec type for use with apply.
func (*MinerSetSpecApplyConfiguration) WithDeletePolicy ¶
func (b *MinerSetSpecApplyConfiguration) WithDeletePolicy(value string) *MinerSetSpecApplyConfiguration
WithDeletePolicy sets the DeletePolicy 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 DeletePolicy field is set to the value of the last call.
func (*MinerSetSpecApplyConfiguration) WithDisplayName ¶
func (b *MinerSetSpecApplyConfiguration) WithDisplayName(value string) *MinerSetSpecApplyConfiguration
WithDisplayName sets the DisplayName 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 DisplayName field is set to the value of the last call.
func (*MinerSetSpecApplyConfiguration) WithMinReadySeconds ¶
func (b *MinerSetSpecApplyConfiguration) WithMinReadySeconds(value int32) *MinerSetSpecApplyConfiguration
WithMinReadySeconds sets the MinReadySeconds 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 MinReadySeconds field is set to the value of the last call.
func (*MinerSetSpecApplyConfiguration) WithProgressDeadlineSeconds ¶
func (b *MinerSetSpecApplyConfiguration) WithProgressDeadlineSeconds(value int32) *MinerSetSpecApplyConfiguration
WithProgressDeadlineSeconds sets the ProgressDeadlineSeconds 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 ProgressDeadlineSeconds field is set to the value of the last call.
func (*MinerSetSpecApplyConfiguration) WithReplicas ¶
func (b *MinerSetSpecApplyConfiguration) WithReplicas(value int32) *MinerSetSpecApplyConfiguration
WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.
func (*MinerSetSpecApplyConfiguration) WithSelector ¶
func (b *MinerSetSpecApplyConfiguration) WithSelector(value *v1.LabelSelectorApplyConfiguration) *MinerSetSpecApplyConfiguration
WithSelector sets the Selector 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 Selector field is set to the value of the last call.
func (*MinerSetSpecApplyConfiguration) WithTemplate ¶
func (b *MinerSetSpecApplyConfiguration) WithTemplate(value *MinerTemplateSpecApplyConfiguration) *MinerSetSpecApplyConfiguration
WithTemplate sets the Template 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 Template field is set to the value of the last call.
type MinerSetStatusApplyConfiguration ¶
type MinerSetStatusApplyConfiguration struct { Replicas *int32 `json:"replicas,omitempty"` FullyLabeledReplicas *int32 `json:"fullyLabeledReplicas,omitempty"` ReadyReplicas *int32 `json:"readyReplicas,omitempty"` AvailableReplicas *int32 `json:"availableReplicas,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` FailureReason *errors.MinerSetStatusError `json:"failureReason,omitempty"` FailureMessage *string `json:"failureMessage,omitempty"` Conditions *v1beta1.Conditions `json:"conditions,omitempty"` }
MinerSetStatusApplyConfiguration represents an declarative configuration of the MinerSetStatus type for use with apply.
func MinerSetStatus ¶
func MinerSetStatus() *MinerSetStatusApplyConfiguration
MinerSetStatusApplyConfiguration constructs an declarative configuration of the MinerSetStatus type for use with apply.
func (*MinerSetStatusApplyConfiguration) WithAvailableReplicas ¶
func (b *MinerSetStatusApplyConfiguration) WithAvailableReplicas(value int32) *MinerSetStatusApplyConfiguration
WithAvailableReplicas sets the AvailableReplicas 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 AvailableReplicas field is set to the value of the last call.
func (*MinerSetStatusApplyConfiguration) WithConditions ¶
func (b *MinerSetStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *MinerSetStatusApplyConfiguration
WithConditions sets the Conditions 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 Conditions field is set to the value of the last call.
func (*MinerSetStatusApplyConfiguration) WithFailureMessage ¶
func (b *MinerSetStatusApplyConfiguration) WithFailureMessage(value string) *MinerSetStatusApplyConfiguration
WithFailureMessage sets the FailureMessage 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 FailureMessage field is set to the value of the last call.
func (*MinerSetStatusApplyConfiguration) WithFailureReason ¶
func (b *MinerSetStatusApplyConfiguration) WithFailureReason(value errors.MinerSetStatusError) *MinerSetStatusApplyConfiguration
WithFailureReason sets the FailureReason 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 FailureReason field is set to the value of the last call.
func (*MinerSetStatusApplyConfiguration) WithFullyLabeledReplicas ¶
func (b *MinerSetStatusApplyConfiguration) WithFullyLabeledReplicas(value int32) *MinerSetStatusApplyConfiguration
WithFullyLabeledReplicas sets the FullyLabeledReplicas 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 FullyLabeledReplicas field is set to the value of the last call.
func (*MinerSetStatusApplyConfiguration) WithObservedGeneration ¶
func (b *MinerSetStatusApplyConfiguration) WithObservedGeneration(value int64) *MinerSetStatusApplyConfiguration
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 (*MinerSetStatusApplyConfiguration) WithReadyReplicas ¶
func (b *MinerSetStatusApplyConfiguration) WithReadyReplicas(value int32) *MinerSetStatusApplyConfiguration
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 (*MinerSetStatusApplyConfiguration) WithReplicas ¶
func (b *MinerSetStatusApplyConfiguration) WithReplicas(value int32) *MinerSetStatusApplyConfiguration
WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.
type MinerSpecApplyConfiguration ¶
type MinerSpecApplyConfiguration struct { *ObjectMetaApplyConfiguration `json:"metadata,omitempty"` DisplayName *string `json:"displayName,omitempty"` MinerType *string `json:"minerType,omitempty"` ChainName *string `json:"chainName,omitempty"` RestartPolicy *v1.RestartPolicy `json:"restartPolicy,omitempty"` PodDeletionTimeout *metav1.Duration `json:"podDeletionTimeout,omitempty"` }
MinerSpecApplyConfiguration represents an declarative configuration of the MinerSpec type for use with apply.
func MinerSpec ¶
func MinerSpec() *MinerSpecApplyConfiguration
MinerSpecApplyConfiguration constructs an declarative configuration of the MinerSpec type for use with apply.
func (*MinerSpecApplyConfiguration) WithAnnotations ¶
func (b *MinerSpecApplyConfiguration) WithAnnotations(entries map[string]string) *MinerSpecApplyConfiguration
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 (*MinerSpecApplyConfiguration) WithChainName ¶
func (b *MinerSpecApplyConfiguration) WithChainName(value string) *MinerSpecApplyConfiguration
WithChainName sets the ChainName 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 ChainName field is set to the value of the last call.
func (*MinerSpecApplyConfiguration) WithDisplayName ¶
func (b *MinerSpecApplyConfiguration) WithDisplayName(value string) *MinerSpecApplyConfiguration
WithDisplayName sets the DisplayName 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 DisplayName field is set to the value of the last call.
func (*MinerSpecApplyConfiguration) WithLabels ¶
func (b *MinerSpecApplyConfiguration) WithLabels(entries map[string]string) *MinerSpecApplyConfiguration
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 (*MinerSpecApplyConfiguration) WithMinerType ¶
func (b *MinerSpecApplyConfiguration) WithMinerType(value string) *MinerSpecApplyConfiguration
WithMinerType sets the MinerType 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 MinerType field is set to the value of the last call.
func (*MinerSpecApplyConfiguration) WithPodDeletionTimeout ¶
func (b *MinerSpecApplyConfiguration) WithPodDeletionTimeout(value metav1.Duration) *MinerSpecApplyConfiguration
WithPodDeletionTimeout sets the PodDeletionTimeout 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 PodDeletionTimeout field is set to the value of the last call.
func (*MinerSpecApplyConfiguration) WithRestartPolicy ¶
func (b *MinerSpecApplyConfiguration) WithRestartPolicy(value v1.RestartPolicy) *MinerSpecApplyConfiguration
WithRestartPolicy sets the RestartPolicy 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 RestartPolicy field is set to the value of the last call.
type MinerStatusApplyConfiguration ¶
type MinerStatusApplyConfiguration struct { PodRef *v1.ObjectReferenceApplyConfiguration `json:"podRef,omitempty"` LastUpdated *metav1.Time `json:"lastUpdated,omitempty"` FailureReason *errors.MinerStatusError `json:"failureReason,omitempty"` FailureMessage *string `json:"failureMessage,omitempty"` Addresses *v1beta1.MinerAddresses `json:"addresses,omitempty"` Phase *string `json:"phase,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` Conditions *v1beta1.Conditions `json:"conditions,omitempty"` }
MinerStatusApplyConfiguration represents an declarative configuration of the MinerStatus type for use with apply.
func MinerStatus ¶
func MinerStatus() *MinerStatusApplyConfiguration
MinerStatusApplyConfiguration constructs an declarative configuration of the MinerStatus type for use with apply.
func (*MinerStatusApplyConfiguration) WithAddresses ¶
func (b *MinerStatusApplyConfiguration) WithAddresses(value v1beta1.MinerAddresses) *MinerStatusApplyConfiguration
WithAddresses sets the Addresses 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 Addresses field is set to the value of the last call.
func (*MinerStatusApplyConfiguration) WithConditions ¶
func (b *MinerStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *MinerStatusApplyConfiguration
WithConditions sets the Conditions 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 Conditions field is set to the value of the last call.
func (*MinerStatusApplyConfiguration) WithFailureMessage ¶
func (b *MinerStatusApplyConfiguration) WithFailureMessage(value string) *MinerStatusApplyConfiguration
WithFailureMessage sets the FailureMessage 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 FailureMessage field is set to the value of the last call.
func (*MinerStatusApplyConfiguration) WithFailureReason ¶
func (b *MinerStatusApplyConfiguration) WithFailureReason(value errors.MinerStatusError) *MinerStatusApplyConfiguration
WithFailureReason sets the FailureReason 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 FailureReason field is set to the value of the last call.
func (*MinerStatusApplyConfiguration) WithLastUpdated ¶
func (b *MinerStatusApplyConfiguration) WithLastUpdated(value metav1.Time) *MinerStatusApplyConfiguration
WithLastUpdated sets the LastUpdated 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 LastUpdated field is set to the value of the last call.
func (*MinerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *MinerStatusApplyConfiguration) WithObservedGeneration(value int64) *MinerStatusApplyConfiguration
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 (*MinerStatusApplyConfiguration) WithPhase ¶
func (b *MinerStatusApplyConfiguration) WithPhase(value string) *MinerStatusApplyConfiguration
WithPhase sets the Phase 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 Phase field is set to the value of the last call.
func (*MinerStatusApplyConfiguration) WithPodRef ¶
func (b *MinerStatusApplyConfiguration) WithPodRef(value *v1.ObjectReferenceApplyConfiguration) *MinerStatusApplyConfiguration
WithPodRef sets the PodRef 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 PodRef field is set to the value of the last call.
type MinerTemplateSpecApplyConfiguration ¶
type MinerTemplateSpecApplyConfiguration struct { *ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MinerSpecApplyConfiguration `json:"spec,omitempty"` }
MinerTemplateSpecApplyConfiguration represents an declarative configuration of the MinerTemplateSpec type for use with apply.
func MinerTemplateSpec ¶
func MinerTemplateSpec() *MinerTemplateSpecApplyConfiguration
MinerTemplateSpecApplyConfiguration constructs an declarative configuration of the MinerTemplateSpec type for use with apply.
func (*MinerTemplateSpecApplyConfiguration) WithAnnotations ¶
func (b *MinerTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *MinerTemplateSpecApplyConfiguration
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 (*MinerTemplateSpecApplyConfiguration) WithLabels ¶
func (b *MinerTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *MinerTemplateSpecApplyConfiguration
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 (*MinerTemplateSpecApplyConfiguration) WithSpec ¶
func (b *MinerTemplateSpecApplyConfiguration) WithSpec(value *MinerSpecApplyConfiguration) *MinerTemplateSpecApplyConfiguration
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.
type ObjectMetaApplyConfiguration ¶
type ObjectMetaApplyConfiguration struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` }
ObjectMetaApplyConfiguration represents an declarative configuration of the ObjectMeta type for use with apply.
func ObjectMeta ¶
func ObjectMeta() *ObjectMetaApplyConfiguration
ObjectMetaApplyConfiguration constructs an declarative configuration of the ObjectMeta type for use with apply.
func (*ObjectMetaApplyConfiguration) WithAnnotations ¶
func (b *ObjectMetaApplyConfiguration) WithAnnotations(entries map[string]string) *ObjectMetaApplyConfiguration
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 (*ObjectMetaApplyConfiguration) WithLabels ¶
func (b *ObjectMetaApplyConfiguration) WithLabels(entries map[string]string) *ObjectMetaApplyConfiguration
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.