v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the CAPI extensions v1alpha1 API group +kubebuilder:object:generate=true +groupName=capiext.labs.d2iq.io

Index

Constants

View Source
const (
	CNIProviderCalico = "Calico"
	CNIProviderCilium = "Cilium"

	CSIProviderAWSEBS = "aws-ebs"

	CPIProviderAWS = "aws"
)
View Source
const (
	// CNIVariableName is the CNI external patch variable name.
	CNIVariableName = "cni"
	// NFDVariableName is the NFD external patch variable name.
	NFDVariableName = "nfd"
	// ClusterAutoscalerVariableName is the cluster-autoscaler external patch variable name.
	ClusterAutoscalerVariableName = "clusterAutoscaler"
	// AWSVariableName is the AWS config patch variable name.
	AWSVariableName = "aws"
)
View Source
const APIGroup = "capiext.labs.d2iq.io"

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: APIGroup, 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
)

Functions

This section is empty.

Types

type AMILookup

type AMILookup struct {
	// Format is the AMI naming format
	// +optional
	Format string `json:"format,omitempty"`

	// Org is the AWS Organization ID to use for image lookup
	// +optional
	Org string `json:"org,omitempty"`

	// BaseOS is the name of the base os for image lookup
	// +optional
	BaseOS string `json:"baseOS,omitempty"`
}

func (*AMILookup) DeepCopy

func (in *AMILookup) DeepCopy() *AMILookup

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

func (*AMILookup) DeepCopyInto

func (in *AMILookup) DeepCopyInto(out *AMILookup)

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

func (AMILookup) VariableSchema

func (AMILookup) VariableSchema() clusterv1.VariableSchema

type AMISpec

type AMISpec struct {
	// ID is an explicit AMI to use.
	// +optional
	ID string `json:"id,omitempty"`

	// Lookup is the lookup arguments for the AMI.
	// +optional
	Lookup *AMILookup `json:"lookup,omitempty"`
}

func (*AMISpec) DeepCopy

func (in *AMISpec) DeepCopy() *AMISpec

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

func (*AMISpec) DeepCopyInto

func (in *AMISpec) DeepCopyInto(out *AMISpec)

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

func (AMISpec) VariableSchema

func (AMISpec) VariableSchema() clusterv1.VariableSchema

type AWSLoadBalancerSpec

type AWSLoadBalancerSpec struct {
	// Scheme sets the scheme of the load balancer (defaults to internet-facing)
	// +kubebuilder:default=internet-facing
	// +kubebuilder:validation:Enum=internet-facing;internal
	// +optional
	Scheme *capav1.ELBScheme `json:"scheme,omitempty"`
}

AWSLoadBalancerSpec configures an AWS control-plane LoadBalancer.

func (*AWSLoadBalancerSpec) DeepCopy

func (in *AWSLoadBalancerSpec) DeepCopy() *AWSLoadBalancerSpec

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

func (*AWSLoadBalancerSpec) DeepCopyInto

func (in *AWSLoadBalancerSpec) DeepCopyInto(out *AWSLoadBalancerSpec)

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

func (AWSLoadBalancerSpec) VariableSchema

func (AWSLoadBalancerSpec) VariableSchema() clusterv1.VariableSchema

type AWSNetwork

type AWSNetwork struct {
	// +optional
	VPC *VPC `json:"vpc,omitempty"`

	// +optional
	Subnets Subnets `json:"subnets,omitempty"`
}

func (*AWSNetwork) DeepCopy

func (in *AWSNetwork) DeepCopy() *AWSNetwork

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

func (*AWSNetwork) DeepCopyInto

func (in *AWSNetwork) DeepCopyInto(out *AWSNetwork)

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

func (AWSNetwork) VariableSchema

func (AWSNetwork) VariableSchema() clusterv1.VariableSchema

type AWSNodeSpec

type AWSNodeSpec struct {
	// +optional
	IAMInstanceProfile *IAMInstanceProfile `json:"iamInstanceProfile,omitempty"`

	// +optional
	InstanceType *InstanceType `json:"instanceType,omitempty"`

	// AMI or AMI Lookup arguments for machine image of a AWS machine.
	// If both AMI ID and AMI lookup arguments are provided then AMI ID takes precedence
	//+optional
	AMISpec *AMISpec `json:"ami,omitempty"`

	//+optional
	AdditionalSecurityGroups AdditionalSecurityGroup `json:"additionalSecurityGroups,omitempty"`
}

func (*AWSNodeSpec) DeepCopy

func (in *AWSNodeSpec) DeepCopy() *AWSNodeSpec

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

func (*AWSNodeSpec) DeepCopyInto

func (in *AWSNodeSpec) DeepCopyInto(out *AWSNodeSpec)

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

func (AWSNodeSpec) VariableSchema

func (AWSNodeSpec) VariableSchema() clusterv1.VariableSchema

type AWSSpec

type AWSSpec struct {
	// AWS region to create cluster in.
	// +optional
	Region *Region `json:"region,omitempty"`
	// +optional
	Network *AWSNetwork `json:"network,omitempty"`
	// +optional
	ControlPlaneLoadBalancer *AWSLoadBalancerSpec `json:"controlPlaneLoadBalancer,omitempty"`
}

func (*AWSSpec) DeepCopy

func (in *AWSSpec) DeepCopy() *AWSSpec

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

func (*AWSSpec) DeepCopyInto

func (in *AWSSpec) DeepCopyInto(out *AWSSpec)

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

func (AWSSpec) VariableSchema

func (AWSSpec) VariableSchema() clusterv1.VariableSchema

type AdditionalSecurityGroup

type AdditionalSecurityGroup []SecurityGroup

func (AdditionalSecurityGroup) DeepCopy

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

func (AdditionalSecurityGroup) DeepCopyInto

func (in AdditionalSecurityGroup) DeepCopyInto(out *AdditionalSecurityGroup)

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

func (AdditionalSecurityGroup) VariableSchema

type AddonStrategy

type AddonStrategy string
const (
	AddonStrategyClusterResourceSet AddonStrategy = "ClusterResourceSet"
	AddonStrategyHelmAddon          AddonStrategy = "HelmAddon"
)

type Addons

type Addons struct {
	// +optional
	CNI *CNI `json:"cni,omitempty"`

	// +optional
	NFD *NFD `json:"nfd,omitempty"`

	// +optional
	ClusterAutoscaler *ClusterAutoscaler `json:"clusterAutoscaler,omitempty"`

	// +optional
	CPI *CPI `json:"cpi,omitempty"`

	// +optional
	CSIProviders *CSIProviders `json:"csi,omitempty"`
}

func (*Addons) DeepCopy

func (in *Addons) DeepCopy() *Addons

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

func (*Addons) DeepCopyInto

func (in *Addons) DeepCopyInto(out *Addons)

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

func (Addons) VariableSchema

func (Addons) VariableSchema() clusterv1.VariableSchema

type CNI

type CNI struct {
	// +optional
	Provider string `json:"provider,omitempty"`
	// +optional
	Strategy AddonStrategy `json:"strategy,omitempty"`
}

CNI required for providing CNI configuration.

func (*CNI) DeepCopy

func (in *CNI) DeepCopy() *CNI

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

func (*CNI) DeepCopyInto

func (in *CNI) DeepCopyInto(out *CNI)

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

func (CNI) VariableSchema

func (CNI) VariableSchema() clusterv1.VariableSchema

type CPI

type CPI struct{}

CPI tells us to enable or disable the cloud provider interface.

func (*CPI) DeepCopy

func (in *CPI) DeepCopy() *CPI

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

func (*CPI) DeepCopyInto

func (in *CPI) DeepCopyInto(out *CPI)

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

func (CPI) VariableSchema

func (CPI) VariableSchema() clusterv1.VariableSchema

type CSIProvider

type CSIProvider struct {
	Name string `json:"name,omitempty"`
}

func (*CSIProvider) DeepCopy

func (in *CSIProvider) DeepCopy() *CSIProvider

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

func (*CSIProvider) DeepCopyInto

func (in *CSIProvider) DeepCopyInto(out *CSIProvider)

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

type CSIProviders

type CSIProviders struct {
	// +optional
	Providers []CSIProvider `json:"providers,omitempty"`
	// +optional
	DefaultClassName string `json:"defaultClassName,omitempty"`
}

func (*CSIProviders) DeepCopy

func (in *CSIProviders) DeepCopy() *CSIProviders

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

func (*CSIProviders) DeepCopyInto

func (in *CSIProviders) DeepCopyInto(out *CSIProviders)

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

func (CSIProviders) VariableSchema

func (CSIProviders) VariableSchema() clusterv1.VariableSchema

type ClusterAutoscaler

type ClusterAutoscaler struct {
	// +optional
	Strategy AddonStrategy `json:"strategy,omitempty"`
}

ClusterAutoscaler tells us to enable or disable the cluster-autoscaler addon.

func (*ClusterAutoscaler) DeepCopy

func (in *ClusterAutoscaler) DeepCopy() *ClusterAutoscaler

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

func (*ClusterAutoscaler) DeepCopyInto

func (in *ClusterAutoscaler) DeepCopyInto(out *ClusterAutoscaler)

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

func (ClusterAutoscaler) VariableSchema

func (ClusterAutoscaler) VariableSchema() clusterv1.VariableSchema

type ClusterConfig

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

	//+optional
	Spec ClusterConfigSpec `json:"spec,omitempty"`
}

ClusterConfig is the Schema for the clusterconfigs API.

func (*ClusterConfig) DeepCopy

func (in *ClusterConfig) DeepCopy() *ClusterConfig

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

func (*ClusterConfig) DeepCopyInto

func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig)

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

func (*ClusterConfig) DeepCopyObject

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

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

type ClusterConfigSpec

type ClusterConfigSpec struct {
	// +optional
	AWS *AWSSpec `json:"aws,omitempty"`
	// +optional
	Docker *DockerSpec `json:"docker,omitempty"`

	GenericClusterConfig `json:",inline"`

	//+optional
	ControlPlane *NodeConfigSpec `json:"controlPlane,omitempty"`
}

ClusterConfigSpec defines the desired state of ClusterConfig.

func (*ClusterConfigSpec) DeepCopy

func (in *ClusterConfigSpec) DeepCopy() *ClusterConfigSpec

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

func (*ClusterConfigSpec) DeepCopyInto

func (in *ClusterConfigSpec) DeepCopyInto(out *ClusterConfigSpec)

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

func (ClusterConfigSpec) VariableSchema

func (s ClusterConfigSpec) VariableSchema() clusterv1.VariableSchema

type DockerNodeSpec

type DockerNodeSpec struct {
	// +optional
	CustomImage *OCIImage `json:"customImage,omitempty"`
}

func (*DockerNodeSpec) DeepCopy

func (in *DockerNodeSpec) DeepCopy() *DockerNodeSpec

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

func (*DockerNodeSpec) DeepCopyInto

func (in *DockerNodeSpec) DeepCopyInto(out *DockerNodeSpec)

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

func (DockerNodeSpec) VariableSchema

func (DockerNodeSpec) VariableSchema() clusterv1.VariableSchema

type DockerSpec

type DockerSpec struct{}

func (*DockerSpec) DeepCopy

func (in *DockerSpec) DeepCopy() *DockerSpec

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

func (*DockerSpec) DeepCopyInto

func (in *DockerSpec) DeepCopyInto(out *DockerSpec)

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

func (DockerSpec) VariableSchema

func (DockerSpec) VariableSchema() clusterv1.VariableSchema

type Etcd

type Etcd struct {
	// Image required for overriding etcd image details.
	//+optional
	Image *Image `json:"image,omitempty"`
}

func (*Etcd) DeepCopy

func (in *Etcd) DeepCopy() *Etcd

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

func (*Etcd) DeepCopyInto

func (in *Etcd) DeepCopyInto(out *Etcd)

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

func (Etcd) VariableSchema

func (Etcd) VariableSchema() clusterv1.VariableSchema

type ExtraAPIServerCertSANs

type ExtraAPIServerCertSANs []string

ExtraAPIServerCertSANs required for providing API server cert SANs.

func (ExtraAPIServerCertSANs) DeepCopy

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

func (ExtraAPIServerCertSANs) DeepCopyInto

func (in ExtraAPIServerCertSANs) DeepCopyInto(out *ExtraAPIServerCertSANs)

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

func (ExtraAPIServerCertSANs) VariableSchema

type GenericClusterConfig

type GenericClusterConfig struct {
	// +optional
	KubernetesImageRepository *KubernetesImageRepository `json:"kubernetesImageRepository,omitempty"`

	// +optional
	Etcd *Etcd `json:"etcd,omitempty"`

	// +optional
	Proxy *HTTPProxy `json:"proxy,omitempty"`

	// +optional
	ExtraAPIServerCertSANs ExtraAPIServerCertSANs `json:"extraAPIServerCertSANs,omitempty"`

	// +optional
	ImageRegistries ImageRegistries `json:"imageRegistries,omitempty"`

	// +optional
	GlobalImageRegistryMirror *GlobalImageRegistryMirror `json:"globalImageRegistryMirror,omitempty"`

	// +optional
	Addons *Addons `json:"addons,omitempty"`
}

GenericClusterConfig defines the generic cluster configdesired.

func (*GenericClusterConfig) DeepCopy

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

func (*GenericClusterConfig) DeepCopyInto

func (in *GenericClusterConfig) DeepCopyInto(out *GenericClusterConfig)

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

func (GenericClusterConfig) VariableSchema

func (s GenericClusterConfig) VariableSchema() clusterv1.VariableSchema

type GenericNodeConfig

type GenericNodeConfig struct{}

func (*GenericNodeConfig) DeepCopy

func (in *GenericNodeConfig) DeepCopy() *GenericNodeConfig

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

func (*GenericNodeConfig) DeepCopyInto

func (in *GenericNodeConfig) DeepCopyInto(out *GenericNodeConfig)

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

func (GenericNodeConfig) VariableSchema

func (GenericNodeConfig) VariableSchema() clusterv1.VariableSchema

type GlobalImageRegistryMirror

type GlobalImageRegistryMirror struct {
	// Registry URL.
	URL string `json:"url"`

	// Credentials and CA certificate for the image registry mirror
	// +optional
	Credentials *RegistryCredentials `json:"credentials,omitempty"`
}

GlobalImageRegistryMirror sets default mirror configuration for all the image registries.

func (*GlobalImageRegistryMirror) DeepCopy

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

func (*GlobalImageRegistryMirror) DeepCopyInto

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

func (GlobalImageRegistryMirror) VariableSchema

type HTTPProxy

type HTTPProxy struct {
	// HTTP proxy.
	HTTP string `json:"http,omitempty"`

	// HTTPS proxy.
	HTTPS string `json:"https,omitempty"`

	// AdditionalNo Proxy list that will be added to the automatically calculated
	// values that will apply no_proxy configuration for cluster internal network.
	// Default values: localhost,127.0.0.1,<POD_NETWORK>,<SERVICE_NETWORK>,kubernetes
	//   ,kubernetes.default,.svc,.svc.<SERVICE_DOMAIN>
	AdditionalNo []string `json:"additionalNo"`
}

HTTPProxy required for providing proxy configuration.

func (*HTTPProxy) DeepCopy

func (in *HTTPProxy) DeepCopy() *HTTPProxy

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

func (*HTTPProxy) DeepCopyInto

func (in *HTTPProxy) DeepCopyInto(out *HTTPProxy)

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

func (HTTPProxy) VariableSchema

func (HTTPProxy) VariableSchema() clusterv1.VariableSchema

type IAMInstanceProfile

type IAMInstanceProfile string

func (IAMInstanceProfile) VariableSchema

func (IAMInstanceProfile) VariableSchema() clusterv1.VariableSchema

type Image

type Image struct {
	// Repository is used to override the image repository to pull from.
	//+optional
	Repository string `json:"repository,omitempty"`

	// Tag is used to override the default image tag.
	//+optional
	Tag string `json:"tag,omitempty"`
}

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

func (Image) VariableSchema

func (Image) VariableSchema() clusterv1.VariableSchema

type ImageRegistries

type ImageRegistries []ImageRegistry

func (ImageRegistries) DeepCopy

func (in ImageRegistries) DeepCopy() ImageRegistries

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

func (ImageRegistries) DeepCopyInto

func (in ImageRegistries) DeepCopyInto(out *ImageRegistries)

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

func (ImageRegistries) VariableSchema

func (ImageRegistries) VariableSchema() clusterv1.VariableSchema

type ImageRegistry

type ImageRegistry struct {
	// Registry URL.
	URL string `json:"url"`

	// Credentials and CA certificate for the image registry
	// +optional
	Credentials *RegistryCredentials `json:"credentials,omitempty"`
}

func (*ImageRegistry) DeepCopy

func (in *ImageRegistry) DeepCopy() *ImageRegistry

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

func (*ImageRegistry) DeepCopyInto

func (in *ImageRegistry) DeepCopyInto(out *ImageRegistry)

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

func (ImageRegistry) VariableSchema

func (ImageRegistry) VariableSchema() clusterv1.VariableSchema

type InstanceType

type InstanceType string

func (InstanceType) VariableSchema

func (InstanceType) VariableSchema() clusterv1.VariableSchema

type KubernetesImageRepository

type KubernetesImageRepository string

KubernetesImageRepository required for overriding Kubernetes image repository.

func (KubernetesImageRepository) String

func (v KubernetesImageRepository) String() string

func (KubernetesImageRepository) VariableSchema

type NFD

type NFD struct {
	// +optional
	Strategy AddonStrategy `json:"strategy,omitempty"`
}

NFD tells us to enable or disable the node feature discovery addon.

func (*NFD) DeepCopy

func (in *NFD) DeepCopy() *NFD

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

func (*NFD) DeepCopyInto

func (in *NFD) DeepCopyInto(out *NFD)

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

func (NFD) VariableSchema

func (NFD) VariableSchema() clusterv1.VariableSchema

type NodeConfig

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

	//+optional
	Spec NodeConfigSpec `json:"spec,omitempty"`
}

NodeConfig is the Schema for the workerconfigs API.

func (*NodeConfig) DeepCopy

func (in *NodeConfig) DeepCopy() *NodeConfig

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

func (*NodeConfig) DeepCopyInto

func (in *NodeConfig) DeepCopyInto(out *NodeConfig)

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

func (*NodeConfig) DeepCopyObject

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

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

type NodeConfigSpec

type NodeConfigSpec struct {
	// +optional
	AWS *AWSNodeSpec `json:"aws,omitempty"`
	// +optional
	Docker *DockerNodeSpec `json:"docker,omitempty"`
}

NodeConfigSpec defines the desired state of NodeConfig. Place any configuration that can be applied to individual Nodes here. Otherwise, it should go into the ClusterConfigSpec.

func (*NodeConfigSpec) DeepCopy

func (in *NodeConfigSpec) DeepCopy() *NodeConfigSpec

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

func (*NodeConfigSpec) DeepCopyInto

func (in *NodeConfigSpec) DeepCopyInto(out *NodeConfigSpec)

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

func (NodeConfigSpec) VariableSchema

func (s NodeConfigSpec) VariableSchema() clusterv1.VariableSchema

type OCIImage

type OCIImage string

func (OCIImage) VariableSchema

func (OCIImage) VariableSchema() clusterv1.VariableSchema

type ObjectMeta

type ObjectMeta struct {
	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. This is a copy of customizable fields from metav1.ObjectMeta.

For more details on why this is included instead of using metav1.ObjectMeta directly, see https://github.com/kubernetes-sigs/cluster-api/blob/v1.3.3/api/v1beta1/common_types.go#L175-L195.

func (*ObjectMeta) DeepCopy

func (in *ObjectMeta) DeepCopy() *ObjectMeta

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

func (*ObjectMeta) DeepCopyInto

func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta)

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

type Region

type Region string

func (Region) VariableSchema

func (Region) VariableSchema() clusterv1.VariableSchema

type RegistryCredentials

type RegistryCredentials struct {
	// A reference to the Secret containing the registry credentials and optional CA certificate
	// using the keys `username`, `password` and `ca.crt`.
	// This credentials Secret is not required for some registries, e.g. ECR.
	// +optional
	SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"`
}

func (*RegistryCredentials) DeepCopy

func (in *RegistryCredentials) DeepCopy() *RegistryCredentials

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

func (*RegistryCredentials) DeepCopyInto

func (in *RegistryCredentials) DeepCopyInto(out *RegistryCredentials)

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

func (RegistryCredentials) VariableSchema

func (RegistryCredentials) VariableSchema() clusterv1.VariableSchema

type SecurityGroup

type SecurityGroup struct {
	// ID is the id of the security group
	// +optional
	ID *string `json:"id,omitempty"`
}

func (*SecurityGroup) DeepCopy

func (in *SecurityGroup) DeepCopy() *SecurityGroup

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

func (*SecurityGroup) DeepCopyInto

func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)

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

type SubnetSpec

type SubnetSpec struct {
	// ID defines a unique identifier to reference this resource.
	ID string `json:"id"`
}

SubnetSpec configures an AWS Subnet.

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

func (SubnetSpec) VariableSchema

func (SubnetSpec) VariableSchema() clusterv1.VariableSchema

type Subnets

type Subnets []SubnetSpec

func (Subnets) DeepCopy

func (in Subnets) DeepCopy() Subnets

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

func (Subnets) DeepCopyInto

func (in Subnets) DeepCopyInto(out *Subnets)

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

func (Subnets) VariableSchema

func (Subnets) VariableSchema() clusterv1.VariableSchema

type VPC

type VPC struct {
	// ID is the vpc-id of the VPC this provider should use to create resources.
	ID string `json:"id,omitempty"`
}

func (*VPC) DeepCopy

func (in *VPC) DeepCopy() *VPC

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

func (*VPC) DeepCopyInto

func (in *VPC) DeepCopyInto(out *VPC)

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

func (VPC) VariableSchema

func (VPC) VariableSchema() clusterv1.VariableSchema

Jump to

Keyboard shortcuts

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