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
- Variables
- type AMILookup
- type AMISpec
- type AWSLoadBalancerSpec
- type AWSNetwork
- type AWSNodeSpec
- type AWSSpec
- type AdditionalSecurityGroup
- type AddonStrategy
- type Addons
- type CNI
- type CPI
- type CSIProvider
- type CSIProviders
- type ClusterAutoscaler
- type ClusterConfig
- type ClusterConfigSpec
- type DockerNodeSpec
- type DockerSpec
- type Etcd
- type ExtraAPIServerCertSANs
- type GenericClusterConfig
- type GenericNodeConfig
- type GlobalImageRegistryMirror
- type HTTPProxy
- type IAMInstanceProfile
- type Image
- type ImageRegistries
- type ImageRegistry
- type InstanceType
- type KubernetesImageRepository
- type NFD
- type NodeConfig
- type NodeConfigSpec
- type OCIImage
- type ObjectMeta
- type Region
- type RegistryCredentials
- type SecurityGroup
- type SubnetSpec
- type Subnets
- type VPC
Constants ¶
const ( CNIProviderCalico = "Calico" CNIProviderCilium = "Cilium" CSIProviderAWSEBS = "aws-ebs" CPIProviderAWS = "aws" )
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" )
const APIGroup = "capiext.labs.d2iq.io"
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMILookup.
func (*AMILookup) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMISpec.
func (*AMISpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSSpec.
func (*AWSSpec) DeepCopyInto ¶
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 ¶
func (in AdditionalSecurityGroup) DeepCopy() AdditionalSecurityGroup
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 ¶
func (AdditionalSecurityGroup) VariableSchema() clusterv1.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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addons.
func (*Addons) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNI.
func (*CNI) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPI.
func (*CPI) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
func (*Etcd) DeepCopyInto ¶
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 ¶
func (in ExtraAPIServerCertSANs) DeepCopy() ExtraAPIServerCertSANs
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 ¶
func (ExtraAPIServerCertSANs) VariableSchema() clusterv1.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 ¶
func (in *GenericClusterConfig) DeepCopy() *GenericClusterConfig
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 ¶
func (in *GlobalImageRegistryMirror) DeepCopy() *GlobalImageRegistryMirror
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalImageRegistryMirror.
func (*GlobalImageRegistryMirror) DeepCopyInto ¶
func (in *GlobalImageRegistryMirror) DeepCopyInto(out *GlobalImageRegistryMirror)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (GlobalImageRegistryMirror) VariableSchema ¶
func (GlobalImageRegistryMirror) VariableSchema() clusterv1.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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPProxy.
func (*HTTPProxy) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
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 ¶
func (KubernetesImageRepository) VariableSchema() clusterv1.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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFD.
func (*NFD) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnets.
func (Subnets) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPC.
func (*VPC) DeepCopyInto ¶
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