Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.undistro.io
Index ¶
- Constants
- Variables
- type Autoscaling
- type Bastion
- type ChartSource
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (r *Cluster) Default()
- func (c *Cluster) GetNamespace() string
- func (c *Cluster) GetStatusConditions() *[]metav1.Condition
- func (c Cluster) GetTemplate() string
- func (c *Cluster) GetWorkerRefByMachinePool(mpName string) (WorkerNode, error)
- func (c Cluster) HasInfraNodes() bool
- func (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Cluster) ValidateCreate() error
- func (r *Cluster) ValidateDelete() error
- func (r *Cluster) ValidateUpdate(old runtime.Object) error
- type ClusterList
- type ClusterSpec
- type ClusterStatus
- type ConciergeInfo
- type ControlPlaneNode
- type DefaultPolicies
- func (in *DefaultPolicies) DeepCopy() *DefaultPolicies
- func (in *DefaultPolicies) DeepCopyInto(out *DefaultPolicies)
- func (in *DefaultPolicies) DeepCopyObject() runtime.Object
- func (r *DefaultPolicies) Default()
- func (p *DefaultPolicies) GetStatusConditions() *[]metav1.Condition
- func (r *DefaultPolicies) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DefaultPolicies) ValidateCreate() error
- func (r *DefaultPolicies) ValidateDelete() error
- func (r *DefaultPolicies) ValidateUpdate(old runtime.Object) error
- type DefaultPoliciesList
- type DefaultPoliciesSpec
- type DefaultPoliciesStatus
- type FederationDomain
- type HelmRelease
- func HelmReleaseAttempted(hr HelmRelease, revision string, releaseRevision int, valuesChecksum string) (HelmRelease, bool)
- func HelmReleaseDeleting(p HelmRelease) HelmRelease
- func HelmReleaseNotReady(hr HelmRelease, reason, message string) HelmRelease
- func HelmReleasePaused(p HelmRelease) HelmRelease
- func HelmReleaseProgressing(hr HelmRelease) HelmRelease
- func HelmReleaseReady(hr HelmRelease) HelmRelease
- func ResetHelmReleaseStatus(hr HelmRelease) HelmRelease
- func (in *HelmRelease) DeepCopy() *HelmRelease
- func (in *HelmRelease) DeepCopyInto(out *HelmRelease)
- func (in *HelmRelease) DeepCopyObject() runtime.Object
- func (r *HelmRelease) Default()
- func (hr *HelmRelease) GetNamespace() string
- func (hr *HelmRelease) GetStatusConditions() *[]metav1.Condition
- func (r *HelmRelease) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *HelmRelease) ValidateCreate() error
- func (r *HelmRelease) ValidateDelete() error
- func (r *HelmRelease) ValidateUpdate(old runtime.Object) error
- func (hr *HelmRelease) ValuesAsMap() map[string]interface{}
- type HelmReleaseList
- type HelmReleaseSpec
- type HelmReleaseStatus
- type Identity
- func (in *Identity) DeepCopy() *Identity
- func (in *Identity) DeepCopyInto(out *Identity)
- func (in *Identity) DeepCopyObject() runtime.Object
- func (r *Identity) Default()
- func (i *Identity) GetStatusConditions() *[]metav1.Condition
- func (r *Identity) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Identity) ValidateCreate() error
- func (r *Identity) ValidateDelete() error
- func (r *Identity) ValidateUpdate(old runtime.Object) error
- type IdentityList
- type IdentitySpec
- type IdentityStatus
- type InfrastructureProvider
- type LaunchTemplateReference
- type Network
- type NetworkSpec
- type Node
- type OIDCProviderName
- type Observer
- func (in *Observer) DeepCopy() *Observer
- func (in *Observer) DeepCopyInto(out *Observer)
- func (in *Observer) DeepCopyObject() runtime.Object
- func (r *Observer) Default()
- func (i *Observer) GetStatusConditions() *[]metav1.Condition
- func (r *Observer) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Observer) ValidateCreate() error
- func (r *Observer) ValidateDelete() error
- func (r *Observer) ValidateUpdate(old runtime.Object) error
- type ObserverList
- type ObserverSpec
- type ObserverStatus
- type RepoChartSource
- type Rollback
- type SupportedInfraProvider
- type SupportedInfraProviderFlavor
- type Test
- type ValuesReference
- type WorkerNode
Constants ¶
const ( SshKeyRequired = "The 'sshKey' field is required when bastion is enabled" SshRequiredInEC2 = "The 'sshKey' field is required when flavor is ec2" FlavorRequired = "The 'flavor' field must to be populated" FlavorNotValid = "The target flavor is not valid" CPRequiredInNonManaged = "The 'controlPlane' field is required in non-managed clusters" CPRequiredInSelfHosted = "The 'controlPlane' field is required when is a self hosted cluster" InvalidSemVer = "The 'kubernetesVersion' field must to be a semantic versioning" UpdateClusterNotReady = "Can't update cluster that isn't ready" ImmutableField = "The target field is immutable" NetAddrConflict = "ID or CIDRBlock must be set to avoid network conflicts with others clusters" InvalidClusterNameInAws = "Invalid cluster name for AWS" // Add valid ones )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "app.undistro.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var InvalidMP = errors.New("invalid machinepool")
Functions ¶
This section is empty.
Types ¶
type Autoscaling ¶
type Autoscaling struct { Enabled bool `json:"enabled,omitempty"` // The minimum size of the group. MinSize int32 `json:"minSize,omitempty"` // The maximum size of the group. MaxSize int32 `json:"maxSize,omitempty"` }
func (*Autoscaling) DeepCopy ¶
func (in *Autoscaling) DeepCopy() *Autoscaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Autoscaling.
func (*Autoscaling) DeepCopyInto ¶
func (in *Autoscaling) DeepCopyInto(out *Autoscaling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bastion ¶
type Bastion struct { Enabled *bool `json:"enabled,omitempty"` DisableIngressRules bool `json:"disableIngressRules,omitempty"` AllowedCIDRBlocks []string `json:"allowedCIDRBlocks,omitempty"` InstanceType string `json:"instanceType,omitempty"` }
func (*Bastion) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bastion.
func (*Bastion) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartSource ¶
type ChartSource struct { RepoChartSource `json:",inline,omitempty"` SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"` }
func (*ChartSource) DeepCopy ¶
func (in *ChartSource) DeepCopy() *ChartSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSource.
func (*ChartSource) DeepCopyInto ¶
func (in *ChartSource) DeepCopyInto(out *ChartSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
Cluster is the Schema for the clusters API
func ClusterDeleting ¶ added in v0.33.0
func ClusterNotReady ¶
ClusterNotReady registers a failed reconciliation of the given Cluster.
func ClusterPaused ¶ added in v0.32.0
ClusterPaused registers a paused reconciliation of the given Cluster.
func ClusterProgressing ¶
ClusterProgressing resets any failures and registers progress toward reconciling the given Cluster by setting the meta.ReadyCondition to 'Unknown' for meta.ProgressingReason.
func ClusterReady ¶
ClusterReady registers a successful reconciliation of the given Cluster.
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) Default ¶
func (r *Cluster) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Cluster) GetNamespace ¶
func (*Cluster) GetStatusConditions ¶
func (Cluster) GetTemplate ¶ added in v0.18.0
func (*Cluster) GetWorkerRefByMachinePool ¶ added in v0.18.9
func (c *Cluster) GetWorkerRefByMachinePool(mpName string) (WorkerNode, error)
func (Cluster) HasInfraNodes ¶ added in v0.22.0
func (*Cluster) SetupWebhookWithManager ¶
func (*Cluster) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Cluster) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
ClusterList contains a list of Cluster
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSpec ¶
type ClusterSpec struct { Paused bool `json:"paused,omitempty"` Network Network `json:"network,omitempty"` InfrastructureProvider InfrastructureProvider `json:"infrastructureProvider,omitempty"` KubernetesVersion string `json:"kubernetesVersion,omitempty"` Bastion *Bastion `json:"bastion,omitempty"` ControlPlane *ControlPlaneNode `json:"controlPlane,omitempty"` Workers []WorkerNode `json:"workers,omitempty"` }
ClusterSpec defines the desired state of Cluster
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct { // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` TotalWorkerReplicas int32 `json:"totalWorkerReplicas,omitempty"` TotalWorkerPools int32 `json:"totalWorkerPools,omitempty"` BastionPublicIP string `json:"bastionPublicIP,omitempty"` LastUsedUID string `json:"lastUsedUID,omitempty"` BastionConfig *Bastion `json:"bastionConfig,omitempty"` KubernetesVersion string `json:"kubernetesVersion,omitempty"` ControlPlane ControlPlaneNode `json:"controlPlane,omitempty"` Workers []WorkerNode `json:"workers,omitempty"` ConciergeInfo *ConciergeInfo `json:"conciergeInfo,omitempty"` }
ClusterStatus defines the observed state of Cluster
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConciergeInfo ¶ added in v0.34.8
type ConciergeInfo struct { Endpoint string `json:"endpoint,omitempty"` CABundle string `json:"caBundle,omitempty"` }
func (*ConciergeInfo) DeepCopy ¶ added in v0.34.8
func (in *ConciergeInfo) DeepCopy() *ConciergeInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConciergeInfo.
func (*ConciergeInfo) DeepCopyInto ¶ added in v0.34.8
func (in *ConciergeInfo) DeepCopyInto(out *ConciergeInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneNode ¶
type ControlPlaneNode struct { Node `json:",inline,omitempty"` Endpoint capi.APIEndpoint `json:"endpoint,omitempty"` InternalLB bool `json:"internalLB,omitempty"` }
func (*ControlPlaneNode) DeepCopy ¶
func (in *ControlPlaneNode) DeepCopy() *ControlPlaneNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneNode.
func (*ControlPlaneNode) DeepCopyInto ¶
func (in *ControlPlaneNode) DeepCopyInto(out *ControlPlaneNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultPolicies ¶ added in v0.22.0
type DefaultPolicies struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DefaultPoliciesSpec `json:"spec,omitempty"` Status DefaultPoliciesStatus `json:"status,omitempty"` }
DefaultPolicies is the Schema for the defaultpolicies API
func DefaultPoliciesDeleting ¶ added in v0.33.0
func DefaultPoliciesDeleting(p DefaultPolicies) DefaultPolicies
func DefaultPoliciesNotReady ¶ added in v0.22.0
func DefaultPoliciesNotReady(p DefaultPolicies, reason, message string) DefaultPolicies
func DefaultPoliciesPaused ¶ added in v0.32.0
func DefaultPoliciesPaused(p DefaultPolicies) DefaultPolicies
func DefaultPoliciesReady ¶ added in v0.22.0
func DefaultPoliciesReady(p DefaultPolicies) DefaultPolicies
func (*DefaultPolicies) DeepCopy ¶ added in v0.22.0
func (in *DefaultPolicies) DeepCopy() *DefaultPolicies
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultPolicies.
func (*DefaultPolicies) DeepCopyInto ¶ added in v0.22.0
func (in *DefaultPolicies) DeepCopyInto(out *DefaultPolicies)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DefaultPolicies) DeepCopyObject ¶ added in v0.22.0
func (in *DefaultPolicies) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DefaultPolicies) Default ¶ added in v0.22.6
func (r *DefaultPolicies) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*DefaultPolicies) GetStatusConditions ¶ added in v0.22.0
func (p *DefaultPolicies) GetStatusConditions() *[]metav1.Condition
func (*DefaultPolicies) SetupWebhookWithManager ¶ added in v0.22.6
func (r *DefaultPolicies) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*DefaultPolicies) ValidateCreate ¶ added in v0.22.6
func (r *DefaultPolicies) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*DefaultPolicies) ValidateDelete ¶ added in v0.22.6
func (r *DefaultPolicies) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*DefaultPolicies) ValidateUpdate ¶ added in v0.22.6
func (r *DefaultPolicies) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type DefaultPoliciesList ¶ added in v0.22.0
type DefaultPoliciesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DefaultPolicies `json:"items"` }
DefaultPoliciesList contains a list of DefaultPolicies
func (*DefaultPoliciesList) DeepCopy ¶ added in v0.22.0
func (in *DefaultPoliciesList) DeepCopy() *DefaultPoliciesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultPoliciesList.
func (*DefaultPoliciesList) DeepCopyInto ¶ added in v0.22.0
func (in *DefaultPoliciesList) DeepCopyInto(out *DefaultPoliciesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DefaultPoliciesList) DeepCopyObject ¶ added in v0.22.0
func (in *DefaultPoliciesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DefaultPoliciesSpec ¶ added in v0.22.0
type DefaultPoliciesSpec struct { Paused bool `json:"paused,omitempty"` ClusterName string `json:"clusterName,omitempty"` ExcludePolicies []string `json:"excludePolicies,omitempty"` }
DefaultPoliciesSpec defines the desired state of DefaultPolicies
func (*DefaultPoliciesSpec) DeepCopy ¶ added in v0.22.0
func (in *DefaultPoliciesSpec) DeepCopy() *DefaultPoliciesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultPoliciesSpec.
func (*DefaultPoliciesSpec) DeepCopyInto ¶ added in v0.22.0
func (in *DefaultPoliciesSpec) DeepCopyInto(out *DefaultPoliciesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultPoliciesStatus ¶ added in v0.22.0
type DefaultPoliciesStatus struct { // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` AppliedPolicies []string `json:"appliedPolicies,omitempty"` }
DefaultPoliciesStatus defines the observed state of DefaultPolicies
func (*DefaultPoliciesStatus) DeepCopy ¶ added in v0.22.0
func (in *DefaultPoliciesStatus) DeepCopy() *DefaultPoliciesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultPoliciesStatus.
func (*DefaultPoliciesStatus) DeepCopyInto ¶ added in v0.22.0
func (in *DefaultPoliciesStatus) DeepCopyInto(out *DefaultPoliciesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FederationDomain ¶ added in v0.34.0
type FederationDomain struct { Issuer string `json:"issuer,omitempty"` TLSSecretName string `json:"tlsSecretName,omitempty"` }
func (*FederationDomain) DeepCopy ¶ added in v0.34.0
func (in *FederationDomain) DeepCopy() *FederationDomain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederationDomain.
func (*FederationDomain) DeepCopyInto ¶ added in v0.34.0
func (in *FederationDomain) DeepCopyInto(out *FederationDomain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmRelease ¶
type HelmRelease struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HelmReleaseSpec `json:"spec,omitempty"` Status HelmReleaseStatus `json:"status,omitempty"` }
HelmRelease is the Schema for the helmreleases API
func HelmReleaseAttempted ¶
func HelmReleaseAttempted(hr HelmRelease, revision string, releaseRevision int, valuesChecksum string) (HelmRelease, bool)
HelmReleaseAttempted registers an attempt of the given HelmRelease with the given state. and returns the modified HelmRelease and a boolean indicating a state change.
func HelmReleaseDeleting ¶ added in v0.33.0
func HelmReleaseDeleting(p HelmRelease) HelmRelease
func HelmReleaseNotReady ¶
func HelmReleaseNotReady(hr HelmRelease, reason, message string) HelmRelease
HelmReleaseNotReady registers a failed reconciliation of the given HelmRelease.
func HelmReleasePaused ¶ added in v0.32.0
func HelmReleasePaused(p HelmRelease) HelmRelease
func HelmReleaseProgressing ¶
func HelmReleaseProgressing(hr HelmRelease) HelmRelease
HelmReleaseProgressing resets any failures and registers progress toward reconciling the given HelmRelease by setting the meta.ReadyCondition to 'Unknown' for meta.ProgressingReason.
func HelmReleaseReady ¶
func HelmReleaseReady(hr HelmRelease) HelmRelease
HelmReleaseReady registers a successful reconciliation of the given HelmRelease.
func ResetHelmReleaseStatus ¶ added in v0.29.2
func ResetHelmReleaseStatus(hr HelmRelease) HelmRelease
func (*HelmRelease) DeepCopy ¶
func (in *HelmRelease) DeepCopy() *HelmRelease
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRelease.
func (*HelmRelease) DeepCopyInto ¶
func (in *HelmRelease) DeepCopyInto(out *HelmRelease)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmRelease) DeepCopyObject ¶
func (in *HelmRelease) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*HelmRelease) Default ¶
func (r *HelmRelease) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*HelmRelease) GetNamespace ¶
func (hr *HelmRelease) GetNamespace() string
func (*HelmRelease) GetStatusConditions ¶
func (hr *HelmRelease) GetStatusConditions() *[]metav1.Condition
GetStatusConditions returns a pointer to the Status.Conditions slice
func (*HelmRelease) SetupWebhookWithManager ¶
func (r *HelmRelease) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*HelmRelease) ValidateCreate ¶
func (r *HelmRelease) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*HelmRelease) ValidateDelete ¶
func (r *HelmRelease) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*HelmRelease) ValidateUpdate ¶
func (r *HelmRelease) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
func (*HelmRelease) ValuesAsMap ¶ added in v0.34.8
func (hr *HelmRelease) ValuesAsMap() map[string]interface{}
type HelmReleaseList ¶
type HelmReleaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HelmRelease `json:"items"` }
HelmReleaseList contains a list of HelmRelease
func (*HelmReleaseList) DeepCopy ¶
func (in *HelmReleaseList) DeepCopy() *HelmReleaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseList.
func (*HelmReleaseList) DeepCopyInto ¶
func (in *HelmReleaseList) DeepCopyInto(out *HelmReleaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmReleaseList) DeepCopyObject ¶
func (in *HelmReleaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmReleaseSpec ¶
type HelmReleaseSpec struct { Chart ChartSource `json:"chart,omitempty"` ReleaseName string `json:"releaseName,omitempty"` ClusterName string `json:"clusterName,omitempty"` MaxHistory *int `json:"maxHistory,omitempty"` // TargetNamespace overrides the targeted namespace for the Helm // release. The default namespace equals to the namespace of the // HelmRelease resource. TargetNamespace string `json:"targetNamespace,omitempty"` // Timeout is the time to wait for any individual Kubernetes // operation (like Jobs for hooks) during installation and // upgrade operations. Timeout *metav1.Duration `json:"timeout,omitempty"` // ResetValues will mark this Helm release to reset the values // to the defaults of the targeted chart before performing // an upgrade. ResetValues *bool `json:"resetValues,omitempty"` // ReuseValues will mark this Helm release to reuse the values // to the old release of the targeted chart before performing // an upgrade. ReuseValues *bool `json:"reuseValues,omitempty"` // SkipCRDs will mark this Helm release to skip the creation // of CRDs during a Helm 3 installation. SkipCRDs bool `json:"skipCRDs,omitempty"` // Wait will mark this Helm release to wait until all Pods, // PVCs, Services, and minimum number of Pods of a Deployment, // StatefulSet, or ReplicaSet are in a ready state before marking // the release as successful. Wait *bool `json:"wait,omitempty"` // Force will mark this Helm release to `--force` upgrades. This // forces the resource updates through delete/recreate if needed. ForceUpgrade *bool `json:"forceUpgrade,omitempty"` // The rollback settings for this Helm release. Rollback Rollback `json:"rollback,omitempty"` // The test settings for this Helm release. Test Test `json:"test,omitempty"` // Values holds the values for this Helm release. Values *apiextensionsv1.JSON `json:"values,omitempty"` // ValuesFrom holds references to resources containing Helm values for this HelmRelease, // and information about how they should be merged. ValuesFrom []ValuesReference `json:"valuesFrom,omitempty"` // BeforeApplyObjects holds the objects that will be applied // before this helm release installation BeforeApplyObjects []apiextensionsv1.JSON `json:"beforeApplyObjects,omitempty"` // AfterApplyObjects holds the objects that will be applied // after this helm release installation AfterApplyObjects []apiextensionsv1.JSON `json:"afterApplyObjects,omitempty"` // Dependencies holds the referencies of objects // this HelmRelease depends on Dependencies []corev1.ObjectReference `json:"dependencies,omitempty"` Paused bool `json:"paused,omitempty"` AutoUpgrade bool `json:"autoUpgrade,omitempty"` }
func (*HelmReleaseSpec) DeepCopy ¶
func (in *HelmReleaseSpec) DeepCopy() *HelmReleaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseSpec.
func (*HelmReleaseSpec) DeepCopyInto ¶
func (in *HelmReleaseSpec) DeepCopyInto(out *HelmReleaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmReleaseStatus ¶
type HelmReleaseStatus struct { // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // LastAppliedRevision is the revision of the last successfully applied source. LastAppliedRevision string `json:"lastAppliedRevision,omitempty"` // LastAttemptedRevision is the revision of the last reconciliation attempt. LastAttemptedRevision string `json:"lastAttemptedRevision,omitempty"` // LastAttemptedValuesChecksum is the SHA1 checksum of the values of the last // reconciliation attempt. LastAttemptedValuesChecksum string `json:"lastAttemptedValuesChecksum,omitempty"` // LastReleaseRevision is the revision of the last successful Helm release. LastReleaseRevision int `json:"lastReleaseRevision,omitempty"` // Failures is the reconciliation failure count against the latest desired // state. It is reset after a successful reconciliation. Failures int64 `json:"failures,omitempty"` // InstallFailures is the install failure count against the latest desired // state. It is reset after a successful reconciliation. InstallFailures int64 `json:"installFailures,omitempty"` // UpgradeFailures is the upgrade failure count against the latest desired // state. It is reset after a successful reconciliation. UpgradeFailures int64 `json:"upgradeFailures,omitempty"` }
HelmReleaseStatus defines the observed state of HelmRelease// HelmReleaseStatus defines the observed state of a HelmRelease.
func (*HelmReleaseStatus) DeepCopy ¶
func (in *HelmReleaseStatus) DeepCopy() *HelmReleaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseStatus.
func (*HelmReleaseStatus) DeepCopyInto ¶
func (in *HelmReleaseStatus) DeepCopyInto(out *HelmReleaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Identity ¶ added in v0.34.0
type Identity struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IdentitySpec `json:"spec,omitempty"` Status IdentityStatus `json:"status,omitempty"` }
Identity is the Schema for the identities API
func IdentityPaused ¶ added in v0.34.0
IdentityPaused registers a paused reconciliation of the given Identity.
func (*Identity) DeepCopy ¶ added in v0.34.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Identity.
func (*Identity) DeepCopyInto ¶ added in v0.34.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Identity) DeepCopyObject ¶ added in v0.34.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Identity) Default ¶
func (r *Identity) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Identity) GetStatusConditions ¶ added in v0.34.0
func (*Identity) SetupWebhookWithManager ¶
func (*Identity) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Identity) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type IdentityList ¶ added in v0.34.0
type IdentityList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Identity `json:"items"` }
IdentityList contains a list of Identity
func (*IdentityList) DeepCopy ¶ added in v0.34.0
func (in *IdentityList) DeepCopy() *IdentityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityList.
func (*IdentityList) DeepCopyInto ¶ added in v0.34.0
func (in *IdentityList) DeepCopyInto(out *IdentityList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IdentityList) DeepCopyObject ¶ added in v0.34.0
func (in *IdentityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IdentitySpec ¶ added in v0.34.0
type IdentitySpec struct { // Pause Identity reconciliation Paused bool `json:"paused,omitempty"` // ClusterName is the name of the cluster to which this identity belongs. // Only clusters in the same namespace as the Identity instance are valid. ClusterName string `json:"clusterName,omitempty"` // Local activate local authenticator with user and password Local bool `json:"local,omitempty"` }
IdentitySpec defines the desired state of Identity
func (*IdentitySpec) DeepCopy ¶ added in v0.34.0
func (in *IdentitySpec) DeepCopy() *IdentitySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentitySpec.
func (*IdentitySpec) DeepCopyInto ¶ added in v0.34.0
func (in *IdentitySpec) DeepCopyInto(out *IdentitySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentityStatus ¶ added in v0.34.0
type IdentityStatus struct { // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
IdentityStatus defines the observed state of Identity
func (*IdentityStatus) DeepCopy ¶ added in v0.34.0
func (in *IdentityStatus) DeepCopy() *IdentityStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityStatus.
func (*IdentityStatus) DeepCopyInto ¶ added in v0.34.0
func (in *IdentityStatus) DeepCopyInto(out *IdentityStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfrastructureProvider ¶
type InfrastructureProvider struct { Name string `json:"name,omitempty"` SSHKey string `json:"sshKey,omitempty"` Flavor string `json:"flavor,omitempty"` Region string `json:"region,omitempty"` Env []corev1.EnvVar `json:"env,omitempty"` ExtraConfiguration *apiextensionsv1.JSON `json:"extraConfiguration,omitempty"` }
func (*InfrastructureProvider) DeepCopy ¶
func (in *InfrastructureProvider) DeepCopy() *InfrastructureProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureProvider.
func (*InfrastructureProvider) DeepCopyInto ¶
func (in *InfrastructureProvider) DeepCopyInto(out *InfrastructureProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (InfrastructureProvider) Flavors ¶ added in v0.18.0
func (i InfrastructureProvider) Flavors() []string
func (InfrastructureProvider) IsManaged ¶ added in v0.18.0
func (i InfrastructureProvider) IsManaged() bool
type LaunchTemplateReference ¶ added in v0.19.3
type LaunchTemplateReference struct { // The ID of the launch template for this nodegroup ID string `json:"id,omitempty"` // The version of the launch template for this nodegroup Version string `json:"version,omitempty"` }
func (*LaunchTemplateReference) DeepCopy ¶ added in v0.19.3
func (in *LaunchTemplateReference) DeepCopy() *LaunchTemplateReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplateReference.
func (*LaunchTemplateReference) DeepCopyInto ¶ added in v0.19.3
func (in *LaunchTemplateReference) DeepCopyInto(out *LaunchTemplateReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Network ¶
type Network struct { capi.ClusterNetwork `json:",inline"` VPC NetworkSpec `json:"vpc,omitempty"` Subnets []NetworkSpec `json:"subnets,omitempty"` MultiZone bool `json:"multiZone,omitempty"` }
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSpec ¶
type NetworkSpec struct { ID string `json:"id,omitempty"` CIDRBlock string `json:"cidrBlock,omitempty"` Zone string `json:"zone,omitempty"` IsPublic bool `json:"isPublic,omitempty"` }
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Node ¶
type Node struct { Replicas *int32 `json:"replicas,omitempty"` MachineType string `json:"machineType,omitempty"` Subnet string `json:"subnet,omitempty"` Taints []corev1.Taint `json:"taints,omitempty"` Labels map[string]string `json:"labels,omitempty"` ProviderTags map[string]string `json:"providerTags,omitempty"` }
func (*Node) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
func (*Node) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Node) HasKubeletArgs ¶ added in v0.18.4
func (Node) LabelsTmpl ¶
type OIDCProviderName ¶ added in v0.34.0
type OIDCProviderName string
const ( Gitlab OIDCProviderName = "gitlab" Google OIDCProviderName = "google" Azure OIDCProviderName = "azure" )
type Observer ¶ added in v0.35.0
type Observer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ObserverSpec `json:"spec,omitempty"` Status ObserverStatus `json:"status,omitempty"` }
Observer is the Schema for the observers API
func ObserverPaused ¶ added in v0.35.0
IdentityPaused registers a paused reconciliation of the given Cluster.
func (*Observer) DeepCopy ¶ added in v0.35.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Observer.
func (*Observer) DeepCopyInto ¶ added in v0.35.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Observer) DeepCopyObject ¶ added in v0.35.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Observer) Default ¶
func (r *Observer) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Observer) GetStatusConditions ¶ added in v0.35.0
func (*Observer) SetupWebhookWithManager ¶
func (*Observer) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Observer) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ObserverList ¶ added in v0.35.0
type ObserverList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Observer `json:"items"` }
ObserverList contains a list of Observer
func (*ObserverList) DeepCopy ¶ added in v0.35.0
func (in *ObserverList) DeepCopy() *ObserverList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObserverList.
func (*ObserverList) DeepCopyInto ¶ added in v0.35.0
func (in *ObserverList) DeepCopyInto(out *ObserverList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObserverList) DeepCopyObject ¶ added in v0.35.0
func (in *ObserverList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObserverSpec ¶ added in v0.35.0
type ObserverSpec struct { // Pause Observer reconciliation. Paused bool `json:"paused,omitempty"` // ClusterName is the name of the cluster to which this Observer belongs. // Only clusters in the same namespace as the Observer instance are valid. ClusterName string `json:"clusterName,omitempty"` }
ObserverSpec defines the desired state of Observer
func (*ObserverSpec) DeepCopy ¶ added in v0.35.0
func (in *ObserverSpec) DeepCopy() *ObserverSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObserverSpec.
func (*ObserverSpec) DeepCopyInto ¶ added in v0.35.0
func (in *ObserverSpec) DeepCopyInto(out *ObserverSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObserverStatus ¶ added in v0.35.0
type ObserverStatus struct { // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
ObserverStatus defines the observed state of Observer
func (*ObserverStatus) DeepCopy ¶ added in v0.35.0
func (in *ObserverStatus) DeepCopy() *ObserverStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObserverStatus.
func (*ObserverStatus) DeepCopyInto ¶ added in v0.35.0
func (in *ObserverStatus) DeepCopyInto(out *ObserverStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoChartSource ¶
type RepoChartSource struct { // RepoURL is the URL of the Helm repository, e.g. // `https://kubernetes-charts.storage.googleapis.com` or // `https://charts.example.com`. RepoURL string `json:"repository,omitempty"` Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` }
RepoChartSources describes a Helm chart sourced from a Helm repository.
func (RepoChartSource) CleanRepoURL ¶
func (s RepoChartSource) CleanRepoURL() string
CleanRepoURL returns the RepoURL but ensures it ends with a trailing slash.
func (*RepoChartSource) DeepCopy ¶
func (in *RepoChartSource) DeepCopy() *RepoChartSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoChartSource.
func (*RepoChartSource) DeepCopyInto ¶
func (in *RepoChartSource) DeepCopyInto(out *RepoChartSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rollback ¶
type Rollback struct { // Force will mark this Helm release to `--force` rollbacks. This // forces the resource updates through delete/recreate if needed. Force bool `json:"force,omitempty"` // Recreate will mark this Helm release to `--recreate-pods` for // if applicable. This performs pod restarts. Recreate bool `json:"recreate,omitempty"` // DisableHooks will mark this Helm release to prevent hooks from // running during the rollback. DisableHooks bool `json:"disableHooks,omitempty"` // Timeout is the time to wait for any individual Kubernetes // operation (like Jobs for hooks) during rollback. Timeout *metav1.Duration `json:"timeout,omitempty"` // Wait will mark this Helm release to wait until all Pods, // PVCs, Services, and minimum number of Pods of a Deployment, // StatefulSet, or ReplicaSet are in a ready state before marking // the release as successful. Wait bool `json:"wait,omitempty"` }
func (*Rollback) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rollback.
func (*Rollback) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SupportedInfraProvider ¶ added in v0.26.0
type SupportedInfraProvider int8
const ( Amazon SupportedInfraProvider = iota OpenStack )
func (SupportedInfraProvider) String ¶ added in v0.26.0
func (s SupportedInfraProvider) String() string
type SupportedInfraProviderFlavor ¶ added in v0.26.0
type SupportedInfraProviderFlavor int8
const ( EC2 SupportedInfraProviderFlavor = iota EKS OpenStackFlavor )
func (SupportedInfraProviderFlavor) String ¶ added in v0.26.0
func (s SupportedInfraProviderFlavor) String() string
type Test ¶
type Test struct { // Enable will mark this Helm release for tests. Enable bool `json:"enable,omitempty"` // IgnoreFailures will cause a Helm release to be rolled back // if it fails otherwise it will be left in a released state IgnoreFailures bool `json:"ignoreFailures,omitempty"` // Timeout is the time to wait for any individual Kubernetes // operation (like Jobs for hooks) during test. Timeout *metav1.Duration `json:"timeout,omitempty"` // Cleanup, when targeting Helm 2, determines whether to delete // test pods between each test run initiated by the Helm Operator. Cleanup *bool `json:"cleanup,omitempty"` }
func (*Test) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Test.
func (*Test) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValuesReference ¶
type ValuesReference struct { // Kind of the values referent, valid values are ('Secret', 'ConfigMap'). // +kubebuilder:validation:Enum=Secret;ConfigMap // +required Kind string `json:"kind"` // Name of the values referent. Should reside in the same namespace as the // referring resource. // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=253 // +required Name string `json:"name"` // ValuesKey is the data key where the values.yaml or a specific value can be // found at. Defaults to 'values.yaml'. // +optional ValuesKey string `json:"valuesKey,omitempty"` // TargetPath is the YAML dot notation path the value should be merged at. When // set, the ValuesKey is expected to be a single flat value. Defaults to 'None', // which results in the values getting merged at the root. // +optional TargetPath string `json:"targetPath,omitempty"` // Optional marks this ValuesReference as optional. When set, a not found error // for the values reference is ignored, but any ValuesKey, TargetPath or // transient error will still result in a reconciliation failure. // +optional Optional bool `json:"optional,omitempty"` }
ValuesReference contains a reference to a resource containing Helm values, and optionally the key they can be found at.
func (*ValuesReference) DeepCopy ¶
func (in *ValuesReference) DeepCopy() *ValuesReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValuesReference.
func (*ValuesReference) DeepCopyInto ¶
func (in *ValuesReference) DeepCopyInto(out *ValuesReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerNode ¶
type WorkerNode struct { Node `json:",inline,omitempty"` Autoscale Autoscaling `json:"autoscaling,omitempty"` InfraNode bool `json:"infraNode,omitempty"` LaunchTemplateReference LaunchTemplateReference `json:"launchTemplateReference,omitempty"` }
func (*WorkerNode) DeepCopy ¶
func (in *WorkerNode) DeepCopy() *WorkerNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNode.
func (*WorkerNode) DeepCopyInto ¶
func (in *WorkerNode) DeepCopyInto(out *WorkerNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.