Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AWSClusterProviderConfig
- type AWSClusterProviderStatus
- type AWSClusterSpec
- type AWSMachineProviderConfig
- type AWSMachineProviderStatus
- type AWSRegionAMIs
- type AWSVMImages
- type ClusterCondition
- type ClusterConditionType
- type ClusterConfigSpec
- type ClusterDeployment
- type ClusterDeploymentList
- type ClusterDeploymentSpec
- type ClusterDeploymentStatus
- type ClusterDeploymentType
- type ClusterHardwareSpec
- type ClusterMachineSet
- type ClusterProviderStatus
- type ClusterVersion
- type ClusterVersionList
- type ClusterVersionReference
- type ClusterVersionSpec
- type ClusterVersionStatus
- type MachineSetAWSHardwareSpec
- type MachineSetConfig
- type MachineSetHardwareSpec
- type MachineSetSpec
- type NodeType
- type VMImage
- type VMImages
Constants ¶
const ( FinalizerClusterDeployment string = "clusteroperator.openshift.io/clusterdeployment" FinalizerRemoteMachineSets string = "clusteroperator.openshift.io/remotemachinesets" )
finalizer values unique to cluster-operator
const GroupName = "awsproviderconfig"
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type AWSClusterProviderConfig ¶
type AWSClusterProviderConfig struct { // +optional metav1.TypeMeta // +optional metav1.ObjectMeta ClusterDeploymentSpec }
ClusterProviderConfigSpec is the cluster specification stored in the ProviderConfig of a cluster.k8s.io Cluster.
func (*AWSClusterProviderConfig) DeepCopy ¶
func (in *AWSClusterProviderConfig) DeepCopy() *AWSClusterProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterProviderConfig.
func (*AWSClusterProviderConfig) DeepCopyInto ¶
func (in *AWSClusterProviderConfig) DeepCopyInto(out *AWSClusterProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSClusterProviderConfig) DeepCopyObject ¶
func (in *AWSClusterProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSClusterProviderStatus ¶
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AWSClusterProviderStatus) DeepCopy ¶
func (in *AWSClusterProviderStatus) DeepCopy() *AWSClusterProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterProviderStatus.
func (*AWSClusterProviderStatus) DeepCopyInto ¶
func (in *AWSClusterProviderStatus) DeepCopyInto(out *AWSClusterProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSClusterProviderStatus) DeepCopyObject ¶
func (in *AWSClusterProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSClusterSpec ¶
type AWSClusterSpec struct { // AccountSeceret refers to a secret that contains the AWS account access // credentials AccountSecret corev1.LocalObjectReference // SSHSecret refers to a secret that contains the ssh private key to access // EC2 instances in this cluster. SSHSecret corev1.LocalObjectReference // SSHUser refers to the username that should be used for Ansible to SSH to the system. (default: clusteroperator) // +optional SSHUser string // SSLSecret refers to a secret that contains the SSL certificate to use // for this cluster. The secret is expected to contain the following keys: // - ca.crt - the certificate authority certificate (optional) // - server.crt - the server certificate // - server.key - the server key SSLSecret corev1.LocalObjectReference // KeyPairName is the name of the AWS key pair to use for SSH access to EC2 // instances in this cluster KeyPairName string // Region specifies the AWS region where the cluster will be created Region string // VPCName specifies the name of the VPC to associate with the cluster. // If a value is specified, a VPC will be created with that name if it // does not already exist in the cloud provider. If it does exist, the // existing VPC will be used. // If no name is specified, a VPC name will be generated using the // cluster name and created in the cloud provider. // +optional VPCName string // VPCSubnet specifies the subnet to use for the cluster's VPC. Only used // when a new VPC is created for the cluster // +optional VPCSubnet string }
AWSClusterSpec contains cluster-wide configuration for a cluster on AWS
func (*AWSClusterSpec) DeepCopy ¶
func (in *AWSClusterSpec) DeepCopy() *AWSClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpec.
func (*AWSClusterSpec) DeepCopyInto ¶
func (in *AWSClusterSpec) DeepCopyInto(out *AWSClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AWSMachineProviderConfig ¶
type AWSMachineProviderConfig struct { // +optional metav1.TypeMeta // +optional metav1.ObjectMeta MachineSetSpec }
MachineSetProviderConfigSpec is the machine set specification stored in the ProviderConfig of a cluster.k8s.io MachineSpec.
func (*AWSMachineProviderConfig) DeepCopy ¶
func (in *AWSMachineProviderConfig) DeepCopy() *AWSMachineProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineProviderConfig.
func (*AWSMachineProviderConfig) DeepCopyInto ¶
func (in *AWSMachineProviderConfig) DeepCopyInto(out *AWSMachineProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSMachineProviderConfig) DeepCopyObject ¶
func (in *AWSMachineProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSMachineProviderStatus ¶
type AWSMachineProviderStatus struct { // +optional metav1.TypeMeta // +optional metav1.ObjectMeta // InstanceID is the AWS instance ID for this machine. // +optional InstanceID *string // InstanceState is the state of the AWS instance for this machine. InstanceState *string // PublicIP is the public IP address for this machine. // +optional PublicIP *string // PrivateIP is the internal IP address for this machine. // +optional PrivateIP *string // PublicDNS is the public DNS hostname for this machine. // +optional PublicDNS *string // PrivateDNS is the internal DNS hostname for this machine. // +optional PrivateDNS *string // LastELBSync stores when we last successfully ensured a master machine is added to relevant load balancers. // +optional LastELBSync *metav1.Time // LastELBSyncGeneration is the generation of the machine resource last added to the ELB. LastELBSyncGeneration int64 }
AWSMachineProviderStatus is the AWS specific provider status for a cluster.k8s.io Machine.
func (*AWSMachineProviderStatus) DeepCopy ¶
func (in *AWSMachineProviderStatus) DeepCopy() *AWSMachineProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineProviderStatus.
func (*AWSMachineProviderStatus) DeepCopyInto ¶
func (in *AWSMachineProviderStatus) DeepCopyInto(out *AWSMachineProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSMachineProviderStatus) DeepCopyObject ¶
func (in *AWSMachineProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AWSRegionAMIs ¶
type AWSRegionAMIs struct { Region string // AMI is the ID of the AMI to use for compute nodes in the cluster. If no MasterAMI is defined, it will be used for masters as well. AMI string // MasterAMI is the ID of the AMI to use for the master nodes in the cluster. If unset, the default AMI will be used instead. // +optional MasterAMI *string }
AWSRegionAMIs defines which AMI to use for a node type in a given region.
func (*AWSRegionAMIs) DeepCopy ¶
func (in *AWSRegionAMIs) DeepCopy() *AWSRegionAMIs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSRegionAMIs.
func (*AWSRegionAMIs) DeepCopyInto ¶
func (in *AWSRegionAMIs) DeepCopyInto(out *AWSRegionAMIs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AWSVMImages ¶
type AWSVMImages struct {
RegionAMIs []AWSRegionAMIs
}
AWSVMImages indicates which AMI to use in each supported AWS region for this OpenShift version.
func (*AWSVMImages) DeepCopy ¶
func (in *AWSVMImages) DeepCopy() *AWSVMImages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSVMImages.
func (*AWSVMImages) DeepCopyInto ¶
func (in *AWSVMImages) DeepCopyInto(out *AWSVMImages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterCondition ¶
type ClusterCondition struct { // Type is the type of the condition. Type ClusterConditionType // Status is the status of the condition. Status corev1.ConditionStatus // LastProbeTime is the last time we probed the condition. // +optional LastProbeTime metav1.Time // LastTransitionTime is the last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time // Reason is a unique, one-word, CamelCase reason for the condition's last transition. // +optional Reason string // Message is a human-readable message indicating details about last transition. // +optional Message string }
ClusterCondition contains details for the current condition of a cluster
func (*ClusterCondition) DeepCopy ¶
func (in *ClusterCondition) DeepCopy() *ClusterCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition.
func (*ClusterCondition) DeepCopyInto ¶
func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterConditionType ¶
type ClusterConditionType string
ClusterConditionType is a valid value for ClusterCondition.Type
type ClusterConfigSpec ¶
type ClusterConfigSpec struct { // SDNPluginName is the name of the SDN plugin to use for this install SDNPluginName string // ServiceNetworkSubnet is the CIDR to use for service IPs in the cluster // +optional ServiceNetworkSubnet string // PodNetworkSubnet is the CIDR to use for pod IPs in the cluster // +optional PodNetworkSubnet string }
ClusterConfigSpec contains OpenShift configuration for a cluster
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.
type ClusterDeployment ¶
type ClusterDeployment struct { // +optional metav1.TypeMeta // +optional metav1.ObjectMeta // +optional Spec ClusterDeploymentSpec // +optional Status ClusterDeploymentStatus }
ClusterDeployment represents a deployment of a cluster that clusteroperator manages
func (*ClusterDeployment) DeepCopy ¶
func (in *ClusterDeployment) DeepCopy() *ClusterDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDeployment.
func (*ClusterDeployment) DeepCopyInto ¶
func (in *ClusterDeployment) DeepCopyInto(out *ClusterDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterDeployment) DeepCopyObject ¶
func (in *ClusterDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterDeploymentList ¶
type ClusterDeploymentList struct { metav1.TypeMeta // +optional metav1.ListMeta Items []ClusterDeployment }
ClusterDeploymentList is a list of ClusterDeployments.
func (*ClusterDeploymentList) DeepCopy ¶
func (in *ClusterDeploymentList) DeepCopy() *ClusterDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDeploymentList.
func (*ClusterDeploymentList) DeepCopyInto ¶
func (in *ClusterDeploymentList) DeepCopyInto(out *ClusterDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterDeploymentList) DeepCopyObject ¶
func (in *ClusterDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterDeploymentSpec ¶
type ClusterDeploymentSpec struct { // ClusterID is the ID to assign to the cluster in the cloud provider. // This will be generated by the API Server when the ClusterDeployment is // created. It should not be set by the user. ClusterID string // Hardware specifies the hardware that the cluster will run on Hardware ClusterHardwareSpec // Config specifies cluster-wide OpenShift configuration Config ClusterConfigSpec // DefaultHardwareSpec specifies hardware defaults for all machine sets // in this cluster // +optional DefaultHardwareSpec *MachineSetHardwareSpec // MachineSets specifies the configuration of all machine sets for the cluster MachineSets []ClusterMachineSet // ClusterVersionRef references the clusterversion that should be running. ClusterVersionRef ClusterVersionReference }
ClusterDeploymentSpec is the specification of a cluster's hardware and configuration
func (*ClusterDeploymentSpec) DeepCopy ¶
func (in *ClusterDeploymentSpec) DeepCopy() *ClusterDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDeploymentSpec.
func (*ClusterDeploymentSpec) DeepCopyInto ¶
func (in *ClusterDeploymentSpec) DeepCopyInto(out *ClusterDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterDeploymentStatus ¶
type ClusterDeploymentStatus struct { // MachineSetCount is the number of actual machine sets that are active for the cluster MachineSetCount int // MasterMachineSetName is the name of the master machine set MasterMachineSetName string // InfraMachineSetName is the name of the infra machine set InfraMachineSetName string // AdminKubeconfig points to a secret containing a cluster administrator // kubeconfig to access the cluster. The secret can be used for bootstrapping // and subsequent access to the cluster API. // +optional AdminKubeconfig *corev1.LocalObjectReference // Provisioned is true if the hardware pre-reqs for the cluster have been provisioned // For machine set hardware, see the status of each machine set resource. Provisioned bool // ProvisionedJobGeneration is the generation of the cluster resource used to // generate the latest completed infra provisioning job. ProvisionedJobGeneration int64 // ControlPlaneInstalled is true if the control plane is installed // and running in the cluster. ControlPlaneInstalled bool // ControlPlaneInstalledJobClusterGeneration is the generation of the cluster // resource used to generate the latest completed control-plane installation // job. ControlPlaneInstalledJobClusterGeneration int64 // ControlPlaneInstalledJobMachineSetGeneration is the generation of the // master machine set resource used to generate the latest completed // control-plane installation job. ControlPlaneInstalledJobMachineSetGeneration int64 // ComponentsInstalled is true if the additional components needed for the // cluster have been installed ComponentsInstalled bool // ComponentsInstalledJobGeneration is the generation of the cluster resource // used to generate the latest completed components installation job. ComponentsInstalledJobClusterGeneration int64 // ComponentsInstalledJobMachineSetGeneration is the generation of the // master machine set resource used to generate the latest completed // components installation job. ComponentsInstalledJobMachineSetGeneration int64 // NodeConfigInstalled is true if the node config daemonset has been created // in the cluster. NodeConfigInstalled bool // NodeConfigInstalledJobClusterGeneration is the generation of the cluster // resource used to generate the latest successful node-config installation job. NodeConfigInstalledJobClusterGeneration int64 // NodeConfigInstalledJobMachineSetGeneration is the generation of the // master machine set resource used to generate the latest successful // node-config installation job. NodeConfigInstalledJobMachineSetGeneration int64 // NodeConfigInstalledTime is the time of the last successful installation of // the node config daemonset in the cluster. NodeConfigInstalledTime *metav1.Time // ClusterAPIInstalled is true if the Kubernetes Cluster API controllers have // been deployed onto the remote cluster. ClusterAPIInstalled bool // ClusterAPIInstalledJobClusterGeneration is the generation of the cluster // resource used to generate the latest completed deployclusterapi // installation job. ClusterAPIInstalledJobClusterGeneration int64 // ClusterAPIInstalledJobMachineSetGeneration is the generation of the machine // set resource used to generate the latest completed deployclusterapi // installation job. ClusterAPIInstalledJobMachineSetGeneration int64 // ClusterAPIInstalledTime is the time we last successfully deployed the // Kubernetes Cluster API controllers on the cluster. ClusterAPIInstalledTime *metav1.Time // Ready is true if the master of the cluster is ready to be used and can be accessed using // the KubeconfigSecret Ready bool // Conditions includes more detailed status for the cluster Conditions []ClusterCondition // ClusterVersionRef references the resolved clusterversion the cluster should be running. // +optional ClusterVersionRef *corev1.ObjectReference }
ClusterDeploymentStatus contains the status for a cluster
func (*ClusterDeploymentStatus) DeepCopy ¶
func (in *ClusterDeploymentStatus) DeepCopy() *ClusterDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDeploymentStatus.
func (*ClusterDeploymentStatus) DeepCopyInto ¶
func (in *ClusterDeploymentStatus) DeepCopyInto(out *ClusterDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterDeploymentType ¶
type ClusterDeploymentType string
ClusterDeploymentType is a valid value for ClusterConfigSpec.DeploymentType
const ( // ClusterDeploymentTypeOrigin is a deployment type of origin ClusterDeploymentTypeOrigin ClusterDeploymentType = "origin" // ClusterDeploymentTypeEnterprise is a deployment type of openshift enterprise ClusterDeploymentTypeEnterprise ClusterDeploymentType = "openshift-enterprise" )
These are valid values for cluster deployment type
type ClusterHardwareSpec ¶
type ClusterHardwareSpec struct { // AWS specifies cluster hardware configuration on AWS // +optional AWS *AWSClusterSpec }
ClusterHardwareSpec specifies hardware for a cluster. The specification will be specific to each cloud provider.
func (*ClusterHardwareSpec) DeepCopy ¶
func (in *ClusterHardwareSpec) DeepCopy() *ClusterHardwareSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterHardwareSpec.
func (*ClusterHardwareSpec) DeepCopyInto ¶
func (in *ClusterHardwareSpec) DeepCopyInto(out *ClusterHardwareSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterMachineSet ¶
type ClusterMachineSet struct { // ShortName is a unique name for the machine set within the cluster ShortName string // MachineSetConfig is the configuration for the MachineSet MachineSetConfig }
ClusterMachineSet is the specification of a machine set in a cluster
func (*ClusterMachineSet) DeepCopy ¶
func (in *ClusterMachineSet) DeepCopy() *ClusterMachineSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMachineSet.
func (*ClusterMachineSet) DeepCopyInto ¶
func (in *ClusterMachineSet) DeepCopyInto(out *ClusterMachineSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterProviderStatus ¶
type ClusterProviderStatus struct { // +optional metav1.TypeMeta // +optional metav1.ObjectMeta ClusterDeploymentStatus }
ClusterProviderStatus is the cluster status stored in the ProviderStatus of a cluster.k8s.io Cluster.
func (*ClusterProviderStatus) DeepCopy ¶
func (in *ClusterProviderStatus) DeepCopy() *ClusterProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProviderStatus.
func (*ClusterProviderStatus) DeepCopyInto ¶
func (in *ClusterProviderStatus) DeepCopyInto(out *ClusterProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterProviderStatus) DeepCopyObject ¶
func (in *ClusterProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterVersion ¶
type ClusterVersion struct { // +optional metav1.TypeMeta // +optional metav1.ObjectMeta // +optional Spec ClusterVersionSpec // +optional Status ClusterVersionStatus }
ClusterVersion represents a version of OpenShift that can be, or is installed.
func (*ClusterVersion) DeepCopy ¶
func (in *ClusterVersion) DeepCopy() *ClusterVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersion.
func (*ClusterVersion) DeepCopyInto ¶
func (in *ClusterVersion) DeepCopyInto(out *ClusterVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVersion) DeepCopyObject ¶
func (in *ClusterVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterVersionList ¶
type ClusterVersionList struct { metav1.TypeMeta // +optional metav1.ListMeta Items []ClusterVersion }
ClusterVersionList is a list of ClusterVersions.
func (*ClusterVersionList) DeepCopy ¶
func (in *ClusterVersionList) DeepCopy() *ClusterVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersionList.
func (*ClusterVersionList) DeepCopyInto ¶
func (in *ClusterVersionList) DeepCopyInto(out *ClusterVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVersionList) DeepCopyObject ¶
func (in *ClusterVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterVersionReference ¶
type ClusterVersionReference struct { // Namespace of the clusterversion. // +optional Namespace string // Name of the clusterversion. Name string }
ClusterVersionReference provides information to locate a cluster version to use.
func (*ClusterVersionReference) DeepCopy ¶
func (in *ClusterVersionReference) DeepCopy() *ClusterVersionReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersionReference.
func (*ClusterVersionReference) DeepCopyInto ¶
func (in *ClusterVersionReference) DeepCopyInto(out *ClusterVersionReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVersionSpec ¶
type ClusterVersionSpec struct { // ImageFormat defines a format string for the container registry and images to use for // various OpenShift components. Valid expansions are component (required, expands to // pod/deployer/haproxy-router/etc), and version (v3.9.0). // (i.e. example.com/openshift3/ose-${component}:${version}") ImageFormat string VMImages VMImages // DeploymentType indicates the type of OpenShift deployment to create. DeploymentType ClusterDeploymentType // Version is the version of OpenShift to install. Version string // OpenshiftAnsibleImage is the name of the image to use to run // openshift-ansible playbooks. // Defaults to openshift/origin-ansbile:{TAG}, where {TAG} is // the value from the Version field of this ClusterVersion. // +optional OpenshiftAnsibleImage *string // OpenshiftAnsibleImagePullPolicy is the pull policy to use for // OpenshiftAnsibleImage. // Defaults to IfNotPreset. // +optional OpenshiftAnsibleImagePullPolicy *corev1.PullPolicy // ClusterAPIImage is the name of the image to use on the target // cluster to run Cluster API // +optional ClusterAPIImage *string // ClusterAPIImagePullPolicy is the pull policy to use for the // ClusterAPIImage // +optional ClusterAPIImagePullPolicy *corev1.PullPolicy // MachineControllerImage is the name of the image to use on the // target cluster to run the machine controller // +optional MachineControllerImage *string // MachineControllerImagePullPolicy is the pull policy to use for // the MachineControllerImagePullPolicy // +optional MachineControllerImagePullPolicy *corev1.PullPolicy }
ClusterVersionSpec is a specification of a cluster version that can be installed.
func (*ClusterVersionSpec) DeepCopy ¶
func (in *ClusterVersionSpec) DeepCopy() *ClusterVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersionSpec.
func (*ClusterVersionSpec) DeepCopyInto ¶
func (in *ClusterVersionSpec) DeepCopyInto(out *ClusterVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVersionStatus ¶
type ClusterVersionStatus struct { }
ClusterVersionStatus is the status of a ClusterVersion. It may be used to indicate if the cluster version is ready to be used, or if any problems have been detected.
func (*ClusterVersionStatus) DeepCopy ¶
func (in *ClusterVersionStatus) DeepCopy() *ClusterVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersionStatus.
func (*ClusterVersionStatus) DeepCopyInto ¶
func (in *ClusterVersionStatus) DeepCopyInto(out *ClusterVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSetAWSHardwareSpec ¶
type MachineSetAWSHardwareSpec struct { // InstanceType is the type of instance to use for machines in this MachineSet // +optional InstanceType string }
MachineSetAWSHardwareSpec specifies AWS hardware for a MachineSet
func (*MachineSetAWSHardwareSpec) DeepCopy ¶
func (in *MachineSetAWSHardwareSpec) DeepCopy() *MachineSetAWSHardwareSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetAWSHardwareSpec.
func (*MachineSetAWSHardwareSpec) DeepCopyInto ¶
func (in *MachineSetAWSHardwareSpec) DeepCopyInto(out *MachineSetAWSHardwareSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSetConfig ¶
type MachineSetConfig struct { // NodeType is the type of nodes that comprise the MachineSet // TODO: remove in favor of upstream MachineTemplateSpec roles. NodeType NodeType // Infra indicates whether this machine set should contain infrastructure // pods // TODO: remove in favor of upstream MachineTemplateSpec roles. Infra bool // Size is the number of nodes that the node group should contain // TODO: remove in favor of upstream MachineSet and MachineDeployment replicas. Size int // Hardware defines what the hardware should look like for this // MachineSet. The specification will vary based on the cloud provider. // +optional Hardware *MachineSetHardwareSpec // NodeLabels specifies the labels that will be applied to nodes in this // MachineSet NodeLabels map[string]string }
MachineSetConfig contains configuration for a MachineSet
func (*MachineSetConfig) DeepCopy ¶
func (in *MachineSetConfig) DeepCopy() *MachineSetConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetConfig.
func (*MachineSetConfig) DeepCopyInto ¶
func (in *MachineSetConfig) DeepCopyInto(out *MachineSetConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSetHardwareSpec ¶
type MachineSetHardwareSpec struct { // AWS specifies the hardware spec for an AWS machine set // +optional AWS *MachineSetAWSHardwareSpec }
MachineSetHardwareSpec specifies the hardware for a MachineSet
func (*MachineSetHardwareSpec) DeepCopy ¶
func (in *MachineSetHardwareSpec) DeepCopy() *MachineSetHardwareSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetHardwareSpec.
func (*MachineSetHardwareSpec) DeepCopyInto ¶
func (in *MachineSetHardwareSpec) DeepCopyInto(out *MachineSetHardwareSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSetSpec ¶
type MachineSetSpec struct { // ClusterID is the ID of the cluster in the cloud provider. ClusterID string // MachineSetConfig is the configuration for the MachineSet MachineSetConfig // ClusterHardware specifies the hardware that the cluster will run on. It is typically a copy of // the clusters data and set automatically by controllers. ClusterHardware ClusterHardwareSpec // ClusterVersionRef references the clusterversion the machine set is running. ClusterVersionRef corev1.ObjectReference // VMImage contains a single cloud provider specific image to use for this machine set. VMImage VMImage }
MachineSetSpec is the Cluster Operator specification for a Cluster API machine template provider config. TODO: This should be renamed, it is now used on MachineTemplate.Spec.ProviderConfig.
func (*MachineSetSpec) DeepCopy ¶
func (in *MachineSetSpec) DeepCopy() *MachineSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetSpec.
func (*MachineSetSpec) DeepCopyInto ¶
func (in *MachineSetSpec) DeepCopyInto(out *MachineSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMImage ¶
type VMImage struct { // +optional AWSImage *string }
VMImage contains a specified single image to use for a supported cloud provider.
func (*VMImage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMImage.
func (*VMImage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMImages ¶
type VMImages struct { // +optional AWSImages *AWSVMImages }
VMImages contains required data to locate images in all supported cloud providers.
func (*VMImages) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMImages.
func (*VMImages) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.