v1alpha1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 18 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 (
	AddonStrategyClusterResourceSet   AddonStrategy = "ClusterResourceSet"
	AddonStrategyHelmAddon            AddonStrategy = "HelmAddon"
	VolumeBindingImmediate                          = storagev1.VolumeBindingImmediate
	VolumeBindingWaitForFirstConsumer               = storagev1.VolumeBindingWaitForFirstConsumer

	VolumeReclaimRecycle = corev1.PersistentVolumeReclaimRecycle
	VolumeReclaimDelete  = corev1.PersistentVolumeReclaimDelete
	VolumeReclaimRetain  = corev1.PersistentVolumeReclaimRetain
)
View Source
const (
	AWSControlPlaneInstanceType InstanceType = "m5.xlarge"
	AWSWorkerInstanceType       InstanceType = "m5.2xlarge"

	AWSControlPlaneInstanceProfile IAMInstanceProfile = "control-plane.cluster-api-provider-aws.sigs.k8s.io"
	AWSWorkerInstanceProfile       IAMInstanceProfile = "nodes.cluster-api-provider-aws.sigs.k8s.io"
)
View Source
const (
	CNIProviderCalico                     = "Calico"
	CNIProviderCilium                     = "Cilium"
	AWSEBSProvisioner  StorageProvisioner = "ebs.csi.aws.com"
	NutanixProvisioner StorageProvisioner = "csi.nutanix.com"

	CSIProviderAWSEBS  = "aws-ebs"
	CSIProviderNutanix = "nutanix"

	CCMProviderAWS     = "aws"
	CCMProviderNutanix = "nutanix"
)
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"
	// NutanixVariableName is the Nutanix config patch variable name.
	NutanixVariableName = "nutanix"
)
View Source
const APIGroup = "capiext.labs.d2iq.io"
View Source
const (
	APIServerPort = 6443
)
View Source
const (
	DefaultPrismCentralPort = 9440
)

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 NewAWSControlPlaneNodeSpec

func NewAWSControlPlaneNodeSpec() *AWSNodeSpec

func NewAWSWorkerNodeSpec

func NewAWSWorkerNodeSpec() *AWSNodeSpec

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 (a 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

type Addons

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

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

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

	// +optional
	CCM *CCM `json:"ccm,omitempty"`

	// +optional
	CSIProviders *CSI `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 CCM

type CCM struct {
	// A reference to the Secret for credential information for the target Prism Central instance
	// +optional
	Credentials *corev1.LocalObjectReference `json:"credentials"`
}

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

func (*CCM) DeepCopy

func (in *CCM) DeepCopy() *CCM

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

func (*CCM) DeepCopyInto

func (in *CCM) DeepCopyInto(out *CCM)

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

func (CCM) VariableSchema

func (CCM) 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 CSI

type CSI struct {
	// +optional
	Providers []CSIProvider `json:"providers,omitempty"`
	// +optional
	DefaultStorage *DefaultStorage `json:"defaultStorage,omitempty"`
}

func (*CSI) DeepCopy

func (in *CSI) DeepCopy() *CSI

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

func (*CSI) DeepCopyInto

func (in *CSI) DeepCopyInto(out *CSI)

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

func (CSI) VariableSchema

func (CSI) VariableSchema() clusterv1.VariableSchema

type CSIProvider

type CSIProvider struct {
	Name string `json:"name"`

	// +optional
	StorageClassConfig []StorageClassConfig `json:"storageClassConfig,omitempty"`

	Strategy AddonStrategy `json:"strategy"`

	// +optional
	Credentials *corev1.LocalObjectReference `json:"credentials,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.

func (CSIProvider) VariableSchema

func (CSIProvider) 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"`
	// +optional
	Nutanix *NutanixSpec `json:"nutanix,omitempty"`

	GenericClusterConfig `json:",inline"`

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

ClusterConfigSpec defines the desired state of ClusterConfig.

func NewAWSClusterConfigSpec

func NewAWSClusterConfigSpec() *ClusterConfigSpec

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 ControlPlaneEndpointSpec

type ControlPlaneEndpointSpec clusterv1.APIEndpoint

func (*ControlPlaneEndpointSpec) DeepCopy

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

func (*ControlPlaneEndpointSpec) DeepCopyInto

func (in *ControlPlaneEndpointSpec) DeepCopyInto(out *ControlPlaneEndpointSpec)

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

func (ControlPlaneEndpointSpec) VariableSchema

type DefaultStorage

type DefaultStorage struct {
	ProviderName           string `json:"providerName"`
	StorageClassConfigName string `json:"storageClassConfigName"`
}

func (*DefaultStorage) DeepCopy

func (in *DefaultStorage) DeepCopy() *DefaultStorage

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

func (*DefaultStorage) DeepCopyInto

func (in *DefaultStorage) DeepCopyInto(out *DefaultStorage)

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

func (DefaultStorage) VariableSchema

func (DefaultStorage) 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"`

	// +optional
	Users Users `json:"users,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 (i 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 (i 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"`
	// +optional
	Nutanix *NutanixNodeSpec `json:"nutanix,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 NewAWSWorkerConfigSpec

func NewAWSWorkerConfigSpec() *NodeConfigSpec

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 NutanixBootType

type NutanixBootType capxv1.NutanixBootType

NutanixBootType is an enumeration of different boot types.

func (NutanixBootType) VariableSchema

func (NutanixBootType) VariableSchema() clusterv1.VariableSchema

type NutanixIdentifierType

type NutanixIdentifierType capxv1.NutanixIdentifierType

NutanixIdentifierType is an enumeration of different resource identifier types.

func (NutanixIdentifierType) VariableSchema

type NutanixMachineDetails

type NutanixMachineDetails struct {
	// vcpusPerSocket is the number of vCPUs per socket of the VM
	VCPUsPerSocket int32 `json:"vcpusPerSocket"`

	// vcpuSockets is the number of vCPU sockets of the VM
	VCPUSockets int32 `json:"vcpuSockets"`

	// memorySize is the memory size (in Quantity format) of the VM
	MemorySize resource.Quantity `json:"memorySize"`

	// image is to identify the rhcos image uploaded to the Prism Central (PC)
	// The image identifier (uuid or name) can be obtained from the Prism Central console
	// or using the prism_central API.
	Image NutanixResourceIdentifier `json:"image"`

	// cluster is to identify the cluster (the Prism Element under management
	// of the Prism Central), in which the Machine's VM will be created.
	// The cluster identifier (uuid or name) can be obtained from the Prism Central console
	// or using the prism_central API.
	Cluster NutanixResourceIdentifier `json:"cluster"`

	// subnet is to identify the cluster's network subnet to use for the Machine's VM
	// The cluster identifier (uuid or name) can be obtained from the Prism Central console
	// or using the prism_central API.
	Subnets NutanixResourceIdentifiers `json:"subnets"`

	// Defines the boot type of the virtual machine. Only supports UEFI and Legacy
	BootType NutanixBootType `json:"bootType,omitempty"`

	// systemDiskSize is size (in Quantity format) of the system disk of the VM
	// The minimum systemDiskSize is 20Gi bytes
	SystemDiskSize resource.Quantity `json:"systemDiskSize"`
}

func (*NutanixMachineDetails) DeepCopy

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

func (*NutanixMachineDetails) DeepCopyInto

func (in *NutanixMachineDetails) DeepCopyInto(out *NutanixMachineDetails)

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

func (NutanixMachineDetails) VariableSchema

type NutanixNodeSpec

type NutanixNodeSpec struct {
	MachineDetails NutanixMachineDetails `json:"machineDetails"`
}

func (*NutanixNodeSpec) DeepCopy

func (in *NutanixNodeSpec) DeepCopy() *NutanixNodeSpec

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

func (*NutanixNodeSpec) DeepCopyInto

func (in *NutanixNodeSpec) DeepCopyInto(out *NutanixNodeSpec)

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

func (NutanixNodeSpec) VariableSchema

func (NutanixNodeSpec) VariableSchema() clusterv1.VariableSchema

type NutanixPrismCentralEndpointSpec

type NutanixPrismCentralEndpointSpec struct {
	// The URL of Nutanix Prism Central, can be DNS name or an IP address
	URL string `json:"url"`

	// use insecure connection to Prism Central endpoint
	// +optional
	Insecure bool `json:"insecure"`

	// A base64 PEM encoded x509 cert for the RootCA that was used to create
	// the certificate for a Prism Central that uses certificates that were issued by a non-publicly trusted RootCA.
	// The trust bundle is added to the cert pool used to authenticate the TLS connection to the Prism Central.
	// +optional
	AdditionalTrustBundle *string `json:"additionalTrustBundle,omitempty"`

	// A reference to the Secret for credential information for the target Prism Central instance
	Credentials corev1.LocalObjectReference `json:"credentials"`
}

func (*NutanixPrismCentralEndpointSpec) DeepCopy

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

func (*NutanixPrismCentralEndpointSpec) DeepCopyInto

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

func (NutanixPrismCentralEndpointSpec) ParseURL

func (NutanixPrismCentralEndpointSpec) VariableSchema

type NutanixResourceIdentifier

type NutanixResourceIdentifier capxv1.NutanixResourceIdentifier

func (*NutanixResourceIdentifier) DeepCopy

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

func (*NutanixResourceIdentifier) DeepCopyInto

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

func (NutanixResourceIdentifier) VariableSchema

type NutanixResourceIdentifiers

type NutanixResourceIdentifiers []NutanixResourceIdentifier

func (NutanixResourceIdentifiers) DeepCopy

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

func (NutanixResourceIdentifiers) DeepCopyInto

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

func (NutanixResourceIdentifiers) VariableSchema

type NutanixSpec

type NutanixSpec struct {
	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// host can be either DNS name or ip address
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`

	// Nutanix Prism Central endpoint configuration.
	PrismCentralEndpoint NutanixPrismCentralEndpointSpec `json:"prismCentralEndpoint"`
}

NutanixSpec defines the desired state of NutanixCluster.

func (*NutanixSpec) DeepCopy

func (in *NutanixSpec) DeepCopy() *NutanixSpec

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

func (*NutanixSpec) DeepCopyInto

func (in *NutanixSpec) DeepCopyInto(out *NutanixSpec)

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

func (NutanixSpec) VariableSchema

func (NutanixSpec) 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 StorageClassConfig

type StorageClassConfig struct {
	Name string `json:"name"`

	// +optional
	Parameters map[string]string `json:"parameters,omitempty"`

	// +optional
	ReclaimPolicy corev1.PersistentVolumeReclaimPolicy `json:"reclaimPolicy,omitempty"`

	// +optional
	VolumeBindingMode storagev1.VolumeBindingMode `json:"volumeBindingMode,omitempty"`

	// +optional
	AllowExpansion bool `json:"allowExpansion,omitempty"`
}

func (*StorageClassConfig) DeepCopy

func (in *StorageClassConfig) DeepCopy() *StorageClassConfig

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

func (*StorageClassConfig) DeepCopyInto

func (in *StorageClassConfig) DeepCopyInto(out *StorageClassConfig)

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

func (StorageClassConfig) VariableSchema

func (StorageClassConfig) VariableSchema() clusterv1.VariableSchema

type StorageProvisioner

type StorageProvisioner string

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 User

type User struct {
	// Name specifies the user name.
	Name string `json:"name"`

	// HashedPassword is a hashed password for the user, formatted as described
	// by the crypt(5) man page. See your distribution's documentation for
	// instructions to create a hashed password.
	// An empty string is not marshalled, because it is not a valid value.
	// +optional
	HashedPassword string `json:"hashedPassword,omitempty"`

	// SSHAuthorizedKeys is a list of public SSH keys to write to the
	// machine. Use the corresponding private SSH keys to authenticate. See SSH
	// documentation for instructions to create a key pair.
	// +optional
	SSHAuthorizedKeys []string `json:"sshAuthorizedKeys,omitempty"`

	// Sudo is a sudo user specification, formatted as described in the sudo
	// documentation.
	// An empty string is not marshalled, because it is not a valid value.
	// +optional
	Sudo string `json:"sudo,omitempty"`
}

User defines the input for a generated user in cloud-init.

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (User) VariableSchema

func (User) VariableSchema() clusterv1.VariableSchema

type Users

type Users []User

func (Users) DeepCopy

func (in Users) DeepCopy() Users

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

func (Users) DeepCopyInto

func (in Users) DeepCopyInto(out *Users)

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

func (Users) VariableSchema

func (Users) 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