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 CCM
- type CNI
- type CSI
- type CSIProvider
- type ClusterAutoscaler
- type ClusterConfig
- type ClusterConfigSpec
- type ControlPlaneEndpointSpec
- type DefaultStorage
- 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 NutanixBootType
- type NutanixIdentifierType
- type NutanixMachineDetails
- type NutanixNodeSpec
- type NutanixPrismCentralEndpointSpec
- func (in *NutanixPrismCentralEndpointSpec) DeepCopy() *NutanixPrismCentralEndpointSpec
- func (in *NutanixPrismCentralEndpointSpec) DeepCopyInto(out *NutanixPrismCentralEndpointSpec)
- func (s NutanixPrismCentralEndpointSpec) ParseURL() (string, int32, error)
- func (NutanixPrismCentralEndpointSpec) VariableSchema() clusterv1.VariableSchema
- type NutanixResourceIdentifier
- type NutanixResourceIdentifiers
- type NutanixSpec
- type OCIImage
- type ObjectMeta
- type Region
- type RegistryCredentials
- type SecurityGroup
- type StorageClassConfig
- type StorageProvisioner
- type SubnetSpec
- type Subnets
- type User
- type Users
- type VPC
Constants ¶
const ( AddonStrategyClusterResourceSet AddonStrategy = "ClusterResourceSet" AddonStrategyHelmAddon AddonStrategy = "HelmAddon" VolumeBindingImmediate = storagev1.VolumeBindingImmediate VolumeBindingWaitForFirstConsumer = storagev1.VolumeBindingWaitForFirstConsumer VolumeReclaimRecycle = corev1.PersistentVolumeReclaimRecycle VolumeReclaimDelete = corev1.PersistentVolumeReclaimDelete VolumeReclaimRetain = corev1.PersistentVolumeReclaimRetain )
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" )
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" )
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" )
const APIGroup = "capiext.labs.d2iq.io"
const (
APIServerPort = 6443
)
const (
DefaultPrismCentralPort = 9440
)
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 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 ¶
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
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 ¶
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CCM.
func (*CCM) DeepCopyInto ¶
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 ¶
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 CSI ¶
type CSI struct { // +optional Providers []CSIProvider `json:"providers,omitempty"` // +optional DefaultStorage *DefaultStorage `json:"defaultStorage,omitempty"` }
func (*CSI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSI.
func (*CSI) DeepCopyInto ¶
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 ¶
func (in *ControlPlaneEndpointSpec) DeepCopy() *ControlPlaneEndpointSpec
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 ¶
func (ControlPlaneEndpointSpec) VariableSchema() clusterv1.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 ¶
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"` // +optional Users Users `json:"users,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 (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 ¶
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 (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 ¶
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"` // +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 ¶
func (NutanixIdentifierType) VariableSchema() clusterv1.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 ¶
func (in *NutanixMachineDetails) DeepCopy() *NutanixMachineDetails
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 ¶
func (NutanixMachineDetails) VariableSchema() clusterv1.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 ¶
func (in *NutanixPrismCentralEndpointSpec) DeepCopy() *NutanixPrismCentralEndpointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NutanixPrismCentralEndpointSpec.
func (*NutanixPrismCentralEndpointSpec) DeepCopyInto ¶
func (in *NutanixPrismCentralEndpointSpec) DeepCopyInto(out *NutanixPrismCentralEndpointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (NutanixPrismCentralEndpointSpec) ParseURL ¶
func (s NutanixPrismCentralEndpointSpec) ParseURL() (string, int32, error)
func (NutanixPrismCentralEndpointSpec) VariableSchema ¶
func (NutanixPrismCentralEndpointSpec) VariableSchema() clusterv1.VariableSchema
type NutanixResourceIdentifier ¶
type NutanixResourceIdentifier capxv1.NutanixResourceIdentifier
func (*NutanixResourceIdentifier) DeepCopy ¶
func (in *NutanixResourceIdentifier) DeepCopy() *NutanixResourceIdentifier
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NutanixResourceIdentifier.
func (*NutanixResourceIdentifier) DeepCopyInto ¶
func (in *NutanixResourceIdentifier) DeepCopyInto(out *NutanixResourceIdentifier)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (NutanixResourceIdentifier) VariableSchema ¶
func (NutanixResourceIdentifier) VariableSchema() clusterv1.VariableSchema
type NutanixResourceIdentifiers ¶
type NutanixResourceIdentifiers []NutanixResourceIdentifier
func (NutanixResourceIdentifiers) DeepCopy ¶
func (in NutanixResourceIdentifiers) DeepCopy() NutanixResourceIdentifiers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NutanixResourceIdentifiers.
func (NutanixResourceIdentifiers) DeepCopyInto ¶
func (in NutanixResourceIdentifiers) DeepCopyInto(out *NutanixResourceIdentifiers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (NutanixResourceIdentifiers) VariableSchema ¶
func (NutanixResourceIdentifiers) VariableSchema() clusterv1.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 ¶
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Users.
func (Users) DeepCopyInto ¶
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 ¶
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