v1beta1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL