v1beta1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 17 Imported by: 6

Documentation

Overview

Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io

Index

Constants

View Source
const (
	// GKEControlPlaneReadyCondition condition reports on the successful reconciliation of GKE control plane.
	GKEControlPlaneReadyCondition clusterv1.ConditionType = "GKEControlPlaneReady"
	// GKEControlPlaneCreatingCondition condition reports on whether the GKE control plane is creating.
	GKEControlPlaneCreatingCondition clusterv1.ConditionType = "GKEControlPlaneCreating"
	// GKEControlPlaneUpdatingCondition condition reports on whether the GKE control plane is updating.
	GKEControlPlaneUpdatingCondition clusterv1.ConditionType = "GKEControlPlaneUpdating"
	// GKEControlPlaneDeletingCondition condition reports on whether the GKE control plane is deleting.
	GKEControlPlaneDeletingCondition clusterv1.ConditionType = "GKEControlPlaneDeleting"

	// GKEControlPlaneCreatingReason used to report GKE control plane being created.
	GKEControlPlaneCreatingReason = "GKEControlPlaneCreating"
	// GKEControlPlaneCreatedReason used to report GKE control plane is created.
	GKEControlPlaneCreatedReason = "GKEControlPlaneCreated"
	// GKEControlPlaneUpdatedReason used to report GKE control plane is updated.
	GKEControlPlaneUpdatedReason = "GKEControlPlaneUpdated"
	// GKEControlPlaneDeletingReason used to report GKE control plane being deleted.
	GKEControlPlaneDeletingReason = "GKEControlPlaneDeleting"
	// GKEControlPlaneDeletedReason used to report GKE control plane is deleted.
	GKEControlPlaneDeletedReason = "GKEControlPlaneDeleted"
	// GKEControlPlaneErrorReason used to report GKE control plane is in error state.
	GKEControlPlaneErrorReason = "GKEControlPlaneError"
	// GKEControlPlaneReconciliationFailedReason used to report failures while reconciling GKE control plane.
	GKEControlPlaneReconciliationFailedReason = "GKEControlPlaneReconciliationFailed"
	// GKEControlPlaneRequiresAtLeastOneNodePoolReason used to report that no node pool is specified for the GKE control plane.
	GKEControlPlaneRequiresAtLeastOneNodePoolReason = "GKEControlPlaneRequiresAtLeastOneNodePool"

	// GKEMachinePoolReadyCondition condition reports on the successful reconciliation of GKE node pool.
	GKEMachinePoolReadyCondition clusterv1.ConditionType = "GKEMachinePoolReady"
	// GKEMachinePoolCreatingCondition condition reports on whether the GKE node pool is creating.
	GKEMachinePoolCreatingCondition clusterv1.ConditionType = "GKEMachinePoolCreating"
	// GKEMachinePoolUpdatingCondition condition reports on whether the GKE node pool is updating.
	GKEMachinePoolUpdatingCondition clusterv1.ConditionType = "GKEMachinePoolUpdating"
	// GKEMachinePoolDeletingCondition condition reports on whether the GKE node pool is deleting.
	GKEMachinePoolDeletingCondition clusterv1.ConditionType = "GKEMachinePoolDeleting"

	// WaitingForGKEControlPlaneReason used when the machine pool is waiting for GKE control plane infrastructure to be ready before proceeding.
	WaitingForGKEControlPlaneReason = "WaitingForGKEControlPlane"
	// GKEMachinePoolCreatingReason used to report GKE node pool being created.
	GKEMachinePoolCreatingReason = "GKEMachinePoolCreating"
	// GKEMachinePoolCreatedReason used to report GKE node pool is created.
	GKEMachinePoolCreatedReason = "GKEMachinePoolCreated"
	// GKEMachinePoolUpdatedReason used to report GKE node pool is updated.
	GKEMachinePoolUpdatedReason = "GKEMachinePoolUpdated"
	// GKEMachinePoolDeletingReason used to report GKE node pool being deleted.
	GKEMachinePoolDeletingReason = "GKEMachinePoolDeleting"
	// GKEMachinePoolDeletedReason used to report GKE node pool is deleted.
	GKEMachinePoolDeletedReason = "GKEMachinePoolDeleted"
	// GKEMachinePoolErrorReason used to report GKE node pool is in error state.
	GKEMachinePoolErrorReason = "GKEMachinePoolError"
	// GKEMachinePoolReconciliationFailedReason used to report failures while reconciling GKE node pool.
	GKEMachinePoolReconciliationFailedReason = "GKEMachinePoolReconciliationFailed"
)
View Source
const (
	// ClusterFinalizer allows clean up GCP resources associated with GCPManagedCluster before
	// removing it from the apiserver.
	ClusterFinalizer = "gcpmanagedcluster.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// ManagedControlPlaneFinalizer allows Reconcile to clean up GCP resources associated with the GCPManagedControlPlane before
	// removing it from the apiserver.
	ManagedControlPlaneFinalizer = "gcpmanagedcontrolplane.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// ManagedMachinePoolFinalizer allows Reconcile to clean up GCP resources associated with the GCPManagedMachinePool before
	// removing it from the apiserver.
	ManagedMachinePoolFinalizer = "gcpmanagedmachinepool.infrastructure.cluster.x-k8s.io"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1beta1"}

	// 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
)

Functions

func ConvertToSdkTaint

func ConvertToSdkTaint(taints Taints) []*containerpb.NodeTaint

ConvertToSdkTaint converts taints to format that is used by GCP SDK.

Types

type GCPManagedCluster

type GCPManagedCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GCPManagedClusterSpec   `json:"spec,omitempty"`
	Status GCPManagedClusterStatus `json:"status,omitempty"`
}

GCPManagedCluster is the Schema for the gcpmanagedclusters API.

func (*GCPManagedCluster) DeepCopy

func (in *GCPManagedCluster) DeepCopy() *GCPManagedCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedCluster.

func (*GCPManagedCluster) DeepCopyInto

func (in *GCPManagedCluster) DeepCopyInto(out *GCPManagedCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPManagedCluster) DeepCopyObject

func (in *GCPManagedCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GCPManagedCluster) Default

func (r *GCPManagedCluster) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type.

func (*GCPManagedCluster) SetupWebhookWithManager

func (r *GCPManagedCluster) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*GCPManagedCluster) ValidateCreate

func (r *GCPManagedCluster) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type.

func (*GCPManagedCluster) ValidateDelete

func (r *GCPManagedCluster) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type.

func (*GCPManagedCluster) ValidateUpdate

func (r *GCPManagedCluster) ValidateUpdate(oldRaw runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.

type GCPManagedClusterList

type GCPManagedClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GCPManagedCluster `json:"items"`
}

GCPManagedClusterList contains a list of GCPManagedCluster.

func (*GCPManagedClusterList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedClusterList.

func (*GCPManagedClusterList) DeepCopyInto

func (in *GCPManagedClusterList) DeepCopyInto(out *GCPManagedClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPManagedClusterList) DeepCopyObject

func (in *GCPManagedClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GCPManagedClusterSpec

type GCPManagedClusterSpec struct {
	// Project is the name of the project to deploy the cluster to.
	Project string `json:"project"`

	// The GCP Region the cluster lives in.
	Region string `json:"region"`

	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`

	// NetworkSpec encapsulates all things related to the GCP network.
	// +optional
	Network infrav1.NetworkSpec `json:"network"`

	// AdditionalLabels is an optional set of tags to add to GCP resources managed by the GCP provider, in addition to the
	// ones added by default.
	// +optional
	AdditionalLabels infrav1.Labels `json:"additionalLabels,omitempty"`

	// CredentialsRef is a reference to a Secret that contains the credentials to use for provisioning this cluster. If not
	// supplied then the credentials of the controller will be used.
	// +optional
	CredentialsRef *infrav1.ObjectReference `json:"credentialsRef,omitempty"`
}

GCPManagedClusterSpec defines the desired state of GCPManagedCluster.

func (*GCPManagedClusterSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedClusterSpec.

func (*GCPManagedClusterSpec) DeepCopyInto

func (in *GCPManagedClusterSpec) DeepCopyInto(out *GCPManagedClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPManagedClusterStatus

type GCPManagedClusterStatus struct {
	FailureDomains clusterv1.FailureDomains `json:"failureDomains,omitempty"`
	Network        infrav1.Network          `json:"network,omitempty"`
	Ready          bool                     `json:"ready"`
	// Conditions specifies the conditions for the managed control plane
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

GCPManagedClusterStatus defines the observed state of GCPManagedCluster.

func (*GCPManagedClusterStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedClusterStatus.

func (*GCPManagedClusterStatus) DeepCopyInto

func (in *GCPManagedClusterStatus) DeepCopyInto(out *GCPManagedClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPManagedControlPlane

type GCPManagedControlPlane struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GCPManagedControlPlaneSpec   `json:"spec,omitempty"`
	Status GCPManagedControlPlaneStatus `json:"status,omitempty"`
}

GCPManagedControlPlane is the Schema for the gcpmanagedcontrolplanes API.

func (*GCPManagedControlPlane) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedControlPlane.

func (*GCPManagedControlPlane) DeepCopyInto

func (in *GCPManagedControlPlane) DeepCopyInto(out *GCPManagedControlPlane)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPManagedControlPlane) DeepCopyObject

func (in *GCPManagedControlPlane) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GCPManagedControlPlane) Default

func (r *GCPManagedControlPlane) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type.

func (*GCPManagedControlPlane) GetConditions

func (r *GCPManagedControlPlane) GetConditions() clusterv1.Conditions

GetConditions returns the control planes conditions.

func (*GCPManagedControlPlane) SetConditions

func (r *GCPManagedControlPlane) SetConditions(conditions clusterv1.Conditions)

SetConditions sets the status conditions for the GCPManagedControlPlane.

func (*GCPManagedControlPlane) SetupWebhookWithManager

func (r *GCPManagedControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*GCPManagedControlPlane) ValidateCreate

func (r *GCPManagedControlPlane) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type.

func (*GCPManagedControlPlane) ValidateDelete

func (r *GCPManagedControlPlane) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type.

func (*GCPManagedControlPlane) ValidateUpdate

func (r *GCPManagedControlPlane) ValidateUpdate(oldRaw runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.

type GCPManagedControlPlaneList

type GCPManagedControlPlaneList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GCPManagedControlPlane `json:"items"`
}

GCPManagedControlPlaneList contains a list of GCPManagedControlPlane.

func (*GCPManagedControlPlaneList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedControlPlaneList.

func (*GCPManagedControlPlaneList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPManagedControlPlaneList) DeepCopyObject

func (in *GCPManagedControlPlaneList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GCPManagedControlPlaneSpec

type GCPManagedControlPlaneSpec struct {
	// ClusterName allows you to specify the name of the GKE cluster.
	// If you don't specify a name then a default name will be created
	// based on the namespace and name of the managed control plane.
	// +optional
	ClusterName string `json:"clusterName,omitempty"`
	// Project is the name of the project to deploy the cluster to.
	Project string `json:"project"`
	// Location represents the location (region or zone) in which the GKE cluster
	// will be created.
	Location string `json:"location"`
	// EnableAutopilot indicates whether to enable autopilot for this GKE cluster.
	EnableAutopilot bool `json:"enableAutopilot"`
	// ReleaseChannel represents the release channel of the GKE cluster.
	// +optional
	ReleaseChannel *ReleaseChannel `json:"releaseChannel,omitempty"`
	// ControlPlaneVersion represents the control plane version of the GKE cluster.
	// If not specified, the default version currently supported by GKE will be
	// used.
	// +optional
	ControlPlaneVersion *string `json:"controlPlaneVersion,omitempty"`
	// Endpoint represents the endpoint used to communicate with the control plane.
	// +optional
	Endpoint clusterv1.APIEndpoint `json:"endpoint"`
}

GCPManagedControlPlaneSpec defines the desired state of GCPManagedControlPlane.

func (*GCPManagedControlPlaneSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedControlPlaneSpec.

func (*GCPManagedControlPlaneSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPManagedControlPlaneStatus

type GCPManagedControlPlaneStatus struct {
	// Ready denotes that the GCPManagedControlPlane API Server is ready to
	// receive requests.
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// Conditions specifies the conditions for the managed control plane
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`

	// CurrentVersion shows the current version of the GKE control plane.
	// +optional
	CurrentVersion string `json:"currentVersion,omitempty"`
}

GCPManagedControlPlaneStatus defines the observed state of GCPManagedControlPlane.

func (*GCPManagedControlPlaneStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedControlPlaneStatus.

func (*GCPManagedControlPlaneStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPManagedMachinePool

type GCPManagedMachinePool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GCPManagedMachinePoolSpec   `json:"spec,omitempty"`
	Status GCPManagedMachinePoolStatus `json:"status,omitempty"`
}

GCPManagedMachinePool is the Schema for the gcpmanagedmachinepools API.

func (*GCPManagedMachinePool) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedMachinePool.

func (*GCPManagedMachinePool) DeepCopyInto

func (in *GCPManagedMachinePool) DeepCopyInto(out *GCPManagedMachinePool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPManagedMachinePool) DeepCopyObject

func (in *GCPManagedMachinePool) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GCPManagedMachinePool) Default

func (r *GCPManagedMachinePool) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type.

func (*GCPManagedMachinePool) GetConditions

func (r *GCPManagedMachinePool) GetConditions() clusterv1.Conditions

GetConditions returns the machine pool conditions.

func (*GCPManagedMachinePool) SetConditions

func (r *GCPManagedMachinePool) SetConditions(conditions clusterv1.Conditions)

SetConditions sets the status conditions for the GCPManagedMachinePool.

func (*GCPManagedMachinePool) SetupWebhookWithManager

func (r *GCPManagedMachinePool) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*GCPManagedMachinePool) ValidateCreate

func (r *GCPManagedMachinePool) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type.

func (*GCPManagedMachinePool) ValidateDelete

func (r *GCPManagedMachinePool) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type.

func (*GCPManagedMachinePool) ValidateUpdate

func (r *GCPManagedMachinePool) ValidateUpdate(oldRaw runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.

type GCPManagedMachinePoolList

type GCPManagedMachinePoolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GCPManagedMachinePool `json:"items"`
}

GCPManagedMachinePoolList contains a list of GCPManagedMachinePool.

func (*GCPManagedMachinePoolList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedMachinePoolList.

func (*GCPManagedMachinePoolList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPManagedMachinePoolList) DeepCopyObject

func (in *GCPManagedMachinePoolList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GCPManagedMachinePoolSpec

type GCPManagedMachinePoolSpec struct {
	// NodePoolName specifies the name of the GKE node pool corresponding to this MachinePool. If you don't specify a name
	// then a default name will be created based on the namespace and name of the managed machine pool.
	// +optional
	NodePoolName string `json:"nodePoolName,omitempty"`
	// Scaling specifies scaling for the node pool
	// +optional
	Scaling *NodePoolAutoScaling `json:"scaling,omitempty"`
	// KubernetesLabels specifies the labels to apply to the nodes of the node pool.
	// +optional
	KubernetesLabels infrav1.Labels `json:"kubernetesLabels,omitempty"`
	// KubernetesTaints specifies the taints to apply to the nodes of the node pool.
	// +optional
	KubernetesTaints Taints `json:"kubernetesTaints,omitempty"`
	// AdditionalLabels is an optional set of tags to add to GCP resources managed by the GCP provider, in addition to the
	// ones added by default.
	// +optional
	AdditionalLabels infrav1.Labels `json:"additionalLabels,omitempty"`
	// ProviderIDList are the provider IDs of instances in the
	// managed instance group corresponding to the nodegroup represented by this
	// machine pool
	// +optional
	ProviderIDList []string `json:"providerIDList,omitempty"`
}

GCPManagedMachinePoolSpec defines the desired state of GCPManagedMachinePool.

func (*GCPManagedMachinePoolSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedMachinePoolSpec.

func (*GCPManagedMachinePoolSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPManagedMachinePoolStatus

type GCPManagedMachinePoolStatus struct {
	Ready bool `json:"ready"`
	// Replicas is the most recently observed number of replicas.
	// +optional
	Replicas int32 `json:"replicas"`
	// Conditions specifies the cpnditions for the managed machine pool
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

GCPManagedMachinePoolStatus defines the observed state of GCPManagedMachinePool.

func (*GCPManagedMachinePoolStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPManagedMachinePoolStatus.

func (*GCPManagedMachinePoolStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodePoolAutoScaling

type NodePoolAutoScaling struct {
	MinCount *int32 `json:"minCount,omitempty"`
	MaxCount *int32 `json:"maxCount,omitempty"`
}

NodePoolAutoScaling specifies scaling options.

func (*NodePoolAutoScaling) DeepCopy

func (in *NodePoolAutoScaling) DeepCopy() *NodePoolAutoScaling

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolAutoScaling.

func (*NodePoolAutoScaling) DeepCopyInto

func (in *NodePoolAutoScaling) DeepCopyInto(out *NodePoolAutoScaling)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReleaseChannel

type ReleaseChannel string

ReleaseChannel is the release channel of the GKE cluster +kubebuilder:validation:Enum=rapid;regular;stable

const (
	// Rapid release channel.
	Rapid ReleaseChannel = "rapid"
	// Regular release channel.
	Regular ReleaseChannel = "regular"
	// Stable release channel.
	Stable ReleaseChannel = "stable"
)

type Taint

type Taint struct {
	// Effect specifies the effect for the taint.
	// +kubebuilder:validation:Enum=NoSchedule;NoExecute;PreferNoSchedule
	Effect TaintEffect `json:"effect"`
	// Key is the key of the taint
	Key string `json:"key"`
	// Value is the value of the taint
	Value string `json:"value"`
}

Taint represents a Kubernetes taint.

func (*Taint) DeepCopy

func (in *Taint) DeepCopy() *Taint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.

func (*Taint) DeepCopyInto

func (in *Taint) DeepCopyInto(out *Taint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaintEffect

type TaintEffect string

TaintEffect is the effect for a Kubernetes taint.

type Taints

type Taints []Taint

Taints is an array of Taints.

func (Taints) DeepCopy

func (in Taints) DeepCopy() Taints

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taints.

func (Taints) DeepCopyInto

func (in Taints) DeepCopyInto(out *Taints)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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