v1

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v1 contains API Schema definitions for the clusters v1 API group +kubebuilder:object:generate=true +groupName=clusters.kloudlite.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "clusters.kloudlite.io", Version: "v1"}

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

This section is empty.

Types

type AWSClusterConfig

type AWSClusterConfig struct {
	// AWSAccountId                 string                     `json:"awsAccountId" graphql:"noinput"`
	// AssumeRoleParamExternalIdRef *common_types.SecretKeyRef `json:"awsAssumeRoleParamExternalIdRef,omitempty" graphql:"noinput"`
	//
	Region     string              `json:"region"`
	K3sMasters AWSK3sMastersConfig `json:"k3sMasters,omitempty"`

	NodePools     map[string]AwsEC2PoolConfig  `json:"nodePools,omitempty" graphql:"noinput"`
	SpotNodePools map[string]AwsSpotPoolConfig `json:"spotNodePools,omitempty" graphql:"noinput"`
}

func (*AWSClusterConfig) DeepCopy

func (in *AWSClusterConfig) DeepCopy() *AWSClusterConfig

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

func (*AWSClusterConfig) DeepCopyInto

func (in *AWSClusterConfig) DeepCopyInto(out *AWSClusterConfig)

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

type AWSK3sMastersConfig

type AWSK3sMastersConfig struct {
	ImageId                string                     `json:"imageId" graphql:"noinput"`
	ImageSSHUsername       string                     `json:"imageSSHUsername" graphql:"noinput"`
	InstanceType           string                     `json:"instanceType"`
	NvidiaGpuEnabled       bool                       `json:"nvidiaGpuEnabled"`
	RootVolumeType         string                     `json:"rootVolumeType" graphql:"noinput"`
	RootVolumeSize         int                        `json:"rootVolumeSize" graphql:"noinput"`
	IAMInstanceProfileRole *string                    `json:"iamInstanceProfileRole,omitempty" graphql:"noinput"`
	Nodes                  map[string]MasterNodeProps `json:"nodes,omitempty" graphql:"noinput"`
}

func (*AWSK3sMastersConfig) DeepCopy

func (in *AWSK3sMastersConfig) DeepCopy() *AWSK3sMastersConfig

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

func (*AWSK3sMastersConfig) DeepCopyInto

func (in *AWSK3sMastersConfig) DeepCopyInto(out *AWSK3sMastersConfig)

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

type AWSNodePoolConfig

type AWSNodePoolConfig struct {
	ImageId          string `json:"imageId" graphql:"noinput"`
	ImageSSHUsername string `json:"imageSSHUsername" graphql:"noinput"`
	AvailabilityZone string `json:"availabilityZone"`

	NvidiaGpuEnabled bool   `json:"nvidiaGpuEnabled"`
	RootVolumeType   string `json:"rootVolumeType" graphql:"noinput"`
	RootVolumeSize   int    `json:"rootVolumeSize" graphql:"noinput"`

	IAMInstanceProfileRole *string `json:"iamInstanceProfileRole,omitempty" graphql:"noinput"`

	PoolType AWSPoolType `json:"poolType"`

	EC2Pool  *AwsEC2PoolConfig  `json:"ec2Pool,omitempty"`
	SpotPool *AwsSpotPoolConfig `json:"spotPool,omitempty"`
}

func (*AWSNodePoolConfig) DeepCopy

func (in *AWSNodePoolConfig) DeepCopy() *AWSNodePoolConfig

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

func (*AWSNodePoolConfig) DeepCopyInto

func (in *AWSNodePoolConfig) DeepCopyInto(out *AWSNodePoolConfig)

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

type AWSPoolType

type AWSPoolType string

+kubebuilder:validation:Enum=ec2;spot;

const (
	AWSPoolTypeEC2  AWSPoolType = "ec2"
	AWSPoolTypeSpot AWSPoolType = "spot"
)

type AccountS3Bucket

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

	Spec   AccountS3BucketSpec `json:"spec,omitempty"`
	Status rApi.Status         `json:"status,omitempty" graphql:"noinput"`
}

AccountS3Bucket is the Schema for the accounts3buckets API

func (*AccountS3Bucket) DeepCopy

func (in *AccountS3Bucket) DeepCopy() *AccountS3Bucket

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

func (*AccountS3Bucket) DeepCopyInto

func (in *AccountS3Bucket) DeepCopyInto(out *AccountS3Bucket)

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

func (*AccountS3Bucket) DeepCopyObject

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

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

func (*AccountS3Bucket) EnsureGVK

func (b *AccountS3Bucket) EnsureGVK()

func (*AccountS3Bucket) GetEnsuredAnnotations

func (b *AccountS3Bucket) GetEnsuredAnnotations() map[string]string

func (*AccountS3Bucket) GetEnsuredLabels

func (b *AccountS3Bucket) GetEnsuredLabels() map[string]string

func (*AccountS3Bucket) GetStatus

func (b *AccountS3Bucket) GetStatus() *rApi.Status

type AccountS3BucketList

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

AccountS3BucketList contains a list of AccountS3Bucket

func (*AccountS3BucketList) DeepCopy

func (in *AccountS3BucketList) DeepCopy() *AccountS3BucketList

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

func (*AccountS3BucketList) DeepCopyInto

func (in *AccountS3BucketList) DeepCopyInto(out *AccountS3BucketList)

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

func (*AccountS3BucketList) DeepCopyObject

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

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

type AccountS3BucketSpec

type AccountS3BucketSpec struct {
	AccountName  string `json:"accountName"`
	BucketRegion string `json:"bucketRegion"`

	CredentialsRef common_types.SecretRef       `json:"credentialsRef"`
	CredentialKeys *CloudProviderCredentialKeys `json:"credentialKeys,omitempty" graphql:"noinput"`
}

AccountS3BucketSpec defines the desired state of AccountS3Bucket

func (*AccountS3BucketSpec) DeepCopy

func (in *AccountS3BucketSpec) DeepCopy() *AccountS3BucketSpec

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

func (*AccountS3BucketSpec) DeepCopyInto

func (in *AccountS3BucketSpec) DeepCopyInto(out *AccountS3BucketSpec)

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

type AwsEC2PoolConfig

type AwsEC2PoolConfig struct {
	InstanceType string               `json:"instanceType"`
	Nodes        map[string]NodeProps `json:"nodes,omitempty"`
}

func (*AwsEC2PoolConfig) DeepCopy

func (in *AwsEC2PoolConfig) DeepCopy() *AwsEC2PoolConfig

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

func (*AwsEC2PoolConfig) DeepCopyInto

func (in *AwsEC2PoolConfig) DeepCopyInto(out *AwsEC2PoolConfig)

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

type AwsSpotCpuNode

type AwsSpotCpuNode struct {
	VCpu          common_types.MinMaxFloat `json:"vcpu"`
	MemoryPerVCpu common_types.MinMaxFloat `json:"memoryPerVcpu,omitempty"`
}

func (*AwsSpotCpuNode) DeepCopy

func (in *AwsSpotCpuNode) DeepCopy() *AwsSpotCpuNode

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

func (*AwsSpotCpuNode) DeepCopyInto

func (in *AwsSpotCpuNode) DeepCopyInto(out *AwsSpotCpuNode)

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

type AwsSpotGpuNode

type AwsSpotGpuNode struct {
	InstanceTypes []string `json:"instanceTypes"`
}

func (*AwsSpotGpuNode) DeepCopy

func (in *AwsSpotGpuNode) DeepCopy() *AwsSpotGpuNode

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

func (*AwsSpotGpuNode) DeepCopyInto

func (in *AwsSpotGpuNode) DeepCopyInto(out *AwsSpotGpuNode)

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

type AwsSpotPoolConfig

type AwsSpotPoolConfig struct {
	SpotFleetTaggingRoleName string               `json:"spotFleetTaggingRoleName" graphql:"noinput"`
	CpuNode                  *AwsSpotCpuNode      `json:"cpuNode,omitempty"`
	GpuNode                  *AwsSpotGpuNode      `json:"gpuNode,omitempty"`
	Nodes                    map[string]NodeProps `json:"nodes,omitempty"`
}

func (*AwsSpotPoolConfig) DeepCopy

func (in *AwsSpotPoolConfig) DeepCopy() *AwsSpotPoolConfig

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

func (*AwsSpotPoolConfig) DeepCopyInto

func (in *AwsSpotPoolConfig) DeepCopyInto(out *AwsSpotPoolConfig)

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

type AzureConfig

type AzureConfig struct{}

func (*AzureConfig) DeepCopy

func (in *AzureConfig) DeepCopy() *AzureConfig

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

func (*AzureConfig) DeepCopyInto

func (in *AzureConfig) DeepCopyInto(out *AzureConfig)

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

type CloudProviderCredentialKeys

type CloudProviderCredentialKeys struct {
	KeyAWSAccountId              string `json:"keyAWSAccountId"`
	KeyAWSAssumeRoleExternalID   string `json:"keyAWSAssumeRoleExternalID"`
	KeyAWSAssumeRoleRoleARN      string `json:"keyAWSAssumeRoleRoleARN"`
	KeyAWSIAMInstanceProfileRole string `json:"keyIAMInstanceProfileRole"`
	KeyAccessKey                 string `json:"keyAccessKey"`
	KeySecretKey                 string `json:"keySecretKey"`
}

func (*CloudProviderCredentialKeys) DeepCopy

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

func (*CloudProviderCredentialKeys) DeepCopyInto

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"`

	Spec   ClusterSpec `json:"spec"`
	Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}

Cluster is the Schema for the clusters API

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) EnsureGVK

func (b *Cluster) EnsureGVK()

func (*Cluster) GetEnsuredAnnotations

func (b *Cluster) GetEnsuredAnnotations() map[string]string

func (*Cluster) GetEnsuredLabels

func (b *Cluster) GetEnsuredLabels() map[string]string

func (*Cluster) GetStatus

func (b *Cluster) GetStatus() *rApi.Status

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 ClusterOutput

type ClusterOutput struct {
	JobName               string `json:"jobName"`
	JobNamespace          string `json:"jobNamespace"`
	SecretName            string `json:"secretName"`
	KeyKubeconfig         string `json:"keyKubeconfig"`
	KeyK3sServerJoinToken string `json:"keyK3sServerJoinToken"`
	KeyK3sAgentJoinToken  string `json:"keyK3sAgentJoinToken"`
}

func (*ClusterOutput) DeepCopy

func (in *ClusterOutput) DeepCopy() *ClusterOutput

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

func (*ClusterOutput) DeepCopyInto

func (in *ClusterOutput) DeepCopyInto(out *ClusterOutput)

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

type ClusterSpec

type ClusterSpec struct {
	AccountName     string                       `json:"accountName" graphql:"noinput"`
	AccountId       string                       `json:"accountId" graphql:"noinput"`
	ClusterTokenRef common_types.SecretKeyRef    `json:"clusterTokenRef,omitempty" graphql:"noinput"`
	CredentialsRef  common_types.SecretRef       `json:"credentialsRef"`
	CredentialKeys  *CloudProviderCredentialKeys `json:"credentialKeys,omitempty" graphql:"noinput"`

	// +kubebuilder:validation:Enum=dev;HA
	AvailabilityMode string `json:"availabilityMode" graphql:"enum=dev;HA"`

	TaintMasterNodes       bool    `json:"taintMasterNodes" graphql:"noinput"`
	BackupToS3Enabled      bool    `json:"backupToS3Enabled" graphql:"noinput"`
	PublicDNSHost          string  `json:"publicDNSHost" graphql:"noinput"`
	ClusterInternalDnsHost *string `json:"clusterInternalDnsHost,omitempty" graphql:"noinput"`
	CloudflareEnabled      *bool   `json:"cloudflareEnabled,omitempty"`

	// +kubebuilder:validation:Enum=aws;do;gcp;azure
	CloudProvider common_types.CloudProvider `json:"cloudProvider"`

	AWS *AWSClusterConfig `json:"aws,omitempty"`

	MessageQueueTopicName string `json:"messageQueueTopicName" graphql:"noinput"`
	KloudliteRelease      string `json:"kloudliteRelease" graphql:"noinput"`

	Output *ClusterOutput `json:"output,omitempty" graphql:"noinput"`
}

ClusterSpec defines the desired state of Cluster For now considered basis on AWS Specific

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 Credentials

type Credentials struct {
	AccessKey ct.SecretKeyRef `json:"accessKey"`
	SecretKey ct.SecretKeyRef `json:"secretKey"`
}

func (*Credentials) DeepCopy

func (in *Credentials) DeepCopy() *Credentials

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

func (*Credentials) DeepCopyInto

func (in *Credentials) DeepCopyInto(out *Credentials)

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

type DigitalOceanConfig

type DigitalOceanConfig struct{}

func (*DigitalOceanConfig) DeepCopy

func (in *DigitalOceanConfig) DeepCopy() *DigitalOceanConfig

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

func (*DigitalOceanConfig) DeepCopyInto

func (in *DigitalOceanConfig) DeepCopyInto(out *DigitalOceanConfig)

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

type GCPConfig

type GCPConfig struct{}

func (*GCPConfig) DeepCopy

func (in *GCPConfig) DeepCopy() *GCPConfig

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

func (*GCPConfig) DeepCopyInto

func (in *GCPConfig) DeepCopyInto(out *GCPConfig)

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

type MasterNodeProps

type MasterNodeProps struct {
	// +kubebuilder:validation:Enum=primary-master;secondary-master;
	Role             string `json:"role"`
	AvaialbilityZone string `json:"availabilityZone"`
	NodeProps        `json:",inline"`
}

func (*MasterNodeProps) DeepCopy

func (in *MasterNodeProps) DeepCopy() *MasterNodeProps

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

func (*MasterNodeProps) DeepCopyInto

func (in *MasterNodeProps) DeepCopyInto(out *MasterNodeProps)

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

type Node

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

	Spec   NodeSpec    `json:"spec"`
	Status rApi.Status `json:"status,omitempty" graphql:"noinput"`
}

Node is the Schema for the nodes API

func (*Node) DeepCopy

func (in *Node) DeepCopy() *Node

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

func (*Node) DeepCopyInto

func (in *Node) DeepCopyInto(out *Node)

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

func (*Node) DeepCopyObject

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

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

func (*Node) EnsureGVK

func (n *Node) EnsureGVK()

func (*Node) GetEnsuredAnnotations

func (n *Node) GetEnsuredAnnotations() map[string]string

func (*Node) GetEnsuredLabels

func (n *Node) GetEnsuredLabels() map[string]string

func (*Node) GetStatus

func (n *Node) GetStatus() *rApi.Status

type NodeList

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

NodeList contains a list of Node

func (*NodeList) DeepCopy

func (in *NodeList) DeepCopy() *NodeList

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

func (*NodeList) DeepCopyInto

func (in *NodeList) DeepCopyInto(out *NodeList)

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

func (*NodeList) DeepCopyObject

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

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

type NodePool

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

	Spec   NodePoolSpec `json:"spec"`
	Status rApi.Status  `json:"status,omitempty" graphql:"noinput"`
}

NodePool is the Schema for the nodepools API

func (*NodePool) DeepCopy

func (in *NodePool) DeepCopy() *NodePool

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

func (*NodePool) DeepCopyInto

func (in *NodePool) DeepCopyInto(out *NodePool)

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

func (*NodePool) DeepCopyObject

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

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

func (*NodePool) EnsureGVK

func (n *NodePool) EnsureGVK()

func (*NodePool) GetEnsuredAnnotations

func (n *NodePool) GetEnsuredAnnotations() map[string]string

func (*NodePool) GetEnsuredLabels

func (n *NodePool) GetEnsuredLabels() map[string]string

func (*NodePool) GetStatus

func (n *NodePool) GetStatus() *rApi.Status

type NodePoolList

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

NodePoolList contains a list of NodePool

func (*NodePoolList) DeepCopy

func (in *NodePoolList) DeepCopy() *NodePoolList

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

func (*NodePoolList) DeepCopyInto

func (in *NodePoolList) DeepCopyInto(out *NodePoolList)

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

func (*NodePoolList) DeepCopyObject

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

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

type NodePoolSpec

type NodePoolSpec struct {
	// +kubebuilder:validation:Minimum=0
	MaxCount int `json:"maxCount"`
	// +kubebuilder:validation:Minimum=0
	MinCount int `json:"minCount"`

	NodeLabels map[string]string `json:"nodeLabels,omitempty"`
	NodeTaints []corev1.Taint    `json:"nodeTaints,omitempty"`

	CloudProvider ct.CloudProvider `json:"cloudProvider"`

	AWS *AWSNodePoolConfig `json:"aws,omitempty"`
}

func (*NodePoolSpec) DeepCopy

func (in *NodePoolSpec) DeepCopy() *NodePoolSpec

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

func (*NodePoolSpec) DeepCopyInto

func (in *NodePoolSpec) DeepCopyInto(out *NodePoolSpec)

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

type NodeProps

type NodeProps struct {
	LastRecreatedAt *metav1.Time `json:"lastRecreatedAt,omitempty"`
}

func (*NodeProps) DeepCopy

func (in *NodeProps) DeepCopy() *NodeProps

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

func (*NodeProps) DeepCopyInto

func (in *NodeProps) DeepCopyInto(out *NodeProps)

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

type NodeSpec

type NodeSpec struct {
	NodepoolName string `json:"nodepoolName"`
}

func (*NodeSpec) DeepCopy

func (in *NodeSpec) DeepCopy() *NodeSpec

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

func (*NodeSpec) DeepCopyInto

func (in *NodeSpec) DeepCopyInto(out *NodeSpec)

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

type NodeType

type NodeType string

type OperatorVars

type OperatorVars struct {
	JobName      string `json:"jobName"`
	JobNamespace string `json:"jobNamespace"`
}

func (*OperatorVars) DeepCopy

func (in *OperatorVars) DeepCopy() *OperatorVars

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

func (*OperatorVars) DeepCopyInto

func (in *OperatorVars) DeepCopyInto(out *OperatorVars)

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