Documentation ¶
Overview ¶
+groupName=clusters.verrazzano.io
Package v1alpha1 contains API Schema definitions for the clusters.verrazzano.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=clusters.verrazzano.io
Index ¶
- Constants
- Variables
- type ArgoCDRegistration
- type ArgoCDRegistrationStatus
- type CNIType
- type ClusterNetwork
- type ClusterReference
- type CommonClusterSpec
- type CommonOCI
- type Condition
- type ConditionType
- type Kubernetes
- type KubernetesBase
- type KubernetesInformation
- type NamedOCINode
- type NamespacedRef
- type Network
- type OCI
- type OCINode
- type OCIOCNEClusterSpec
- type OCNE
- type OCNEDependencies
- type OCNEOCIQuickCreate
- func (in *OCNEOCIQuickCreate) DeepCopy() *OCNEOCIQuickCreate
- func (in *OCNEOCIQuickCreate) DeepCopyInto(out *OCNEOCIQuickCreate)
- func (in *OCNEOCIQuickCreate) DeepCopyObject() runtime.Object
- func (o *OCNEOCIQuickCreate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (o *OCNEOCIQuickCreate) ValidateCreate() error
- func (o *OCNEOCIQuickCreate) ValidateDelete() error
- func (o *OCNEOCIQuickCreate) ValidateUpdate(old runtime.Object) error
- type OCNEOCIQuickCreateList
- type OCNEOCIQuickCreateStatus
- type OKE
- type OKENetwork
- type OKEQuickCreate
- func (in *OKEQuickCreate) DeepCopy() *OKEQuickCreate
- func (in *OKEQuickCreate) DeepCopyInto(out *OKEQuickCreate)
- func (in *OKEQuickCreate) DeepCopyObject() runtime.Object
- func (o *OKEQuickCreate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (o *OKEQuickCreate) ValidateCreate() error
- func (o *OKEQuickCreate) ValidateDelete() error
- func (o *OKEQuickCreate) ValidateUpdate(old runtime.Object) error
- type OKEQuickCreateList
- type OKEQuickCreateSpec
- type OKEQuickCreateStatus
- type PrivateRegistry
- type Proxy
- type QuickCreatePhase
- type RancherRegistration
- type RancherRegistrationStatus
- type StateType
- type Subnet
- type SubnetRole
- type VerrazzanoInformation
- type VerrazzanoManagedCluster
- func (in *VerrazzanoManagedCluster) DeepCopy() *VerrazzanoManagedCluster
- func (in *VerrazzanoManagedCluster) DeepCopyInto(out *VerrazzanoManagedCluster)
- func (in *VerrazzanoManagedCluster) DeepCopyObject() runtime.Object
- func (v *VerrazzanoManagedCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (v *VerrazzanoManagedCluster) ValidateCreate() error
- func (v *VerrazzanoManagedCluster) ValidateDelete() error
- func (v *VerrazzanoManagedCluster) ValidateUpdate(old runtime.Object) error
- type VerrazzanoManagedClusterList
- type VerrazzanoManagedClusterSpec
- type VerrazzanoManagedClusterStatus
- type VirtualNodePool
Constants ¶
const ( // SubnetRoleControlPlane is the role of the Control Plane subnet. SubnetRoleControlPlane SubnetRole = "control-plane" // SubnetRoleControlPlaneEndpoint is the role of the Control Plane endpoint subnet. SubnetRoleControlPlaneEndpoint SubnetRole = "control-plane-endpoint" // SubnetRoleServiceLB is the role of the load balancer subnet. SubnetRoleServiceLB SubnetRole = "service-lb" // SubnetRoleWorker is the role of the worker subnet. SubnetRoleWorker SubnetRole = "worker" // QuickCreatePhaseProvisioning means the Quick Create is in progress. QuickCreatePhaseProvisioning QuickCreatePhase = "Provisioning" // QuickCreatePhaseComplete means the Quick Create has finished. Quick Create CR cleanup is started once this phase is reached. QuickCreatePhaseComplete QuickCreatePhase = "Complete" )
Subnet Roles
const VerrazzanoManagedClusterKind = "VerrazzanoManagedCluster"
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "clusters.verrazzano.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var (
NewValidationContext = newValidationContext
)
Functions ¶
This section is empty.
Types ¶
type ArgoCDRegistration ¶
type ArgoCDRegistration struct { // The status of the ArgoCD registration. Status ArgoCDRegistrationStatus `json:"status"` // The timestamp of last status set. // +optional Timestamp *metav1.Time `json:"lastSetTimestamp,omitempty"` // Supporting message related to the Argo CD registration status. // +optional Message string `json:"message,omitempty"` }
ArgoCDRegistration defines the Argo CD registration state for a managed cluster.
func (*ArgoCDRegistration) DeepCopy ¶
func (in *ArgoCDRegistration) DeepCopy() *ArgoCDRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRegistration.
func (*ArgoCDRegistration) DeepCopyInto ¶
func (in *ArgoCDRegistration) DeepCopyInto(out *ArgoCDRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDRegistrationStatus ¶
type ArgoCDRegistrationStatus string
ArgoCDRegistrationStatus identifies the status of an Argo CD registration.
const ( RegistrationPendingRancher ArgoCDRegistrationStatus = "PendingRancherClusterRegistration" MCRegistrationCompleted ArgoCDRegistrationStatus = "Completed" MCRegistrationFailed ArgoCDRegistrationStatus = "Failed" )
type ClusterNetwork ¶ added in v1.7.0
type ClusterNetwork struct { // IP range for Kubernetes pods. // The default is `10.244.0.0/16` PodCIDR string `json:"podCIDR"` // IP range for Kubernetes service addresses. // The default is `10.96.0.0/16`. ServiceCIDR string `json:"serviceCIDR"` }
func (*ClusterNetwork) DeepCopy ¶ added in v1.7.0
func (in *ClusterNetwork) DeepCopy() *ClusterNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetwork.
func (*ClusterNetwork) DeepCopyInto ¶ added in v1.7.0
func (in *ClusterNetwork) DeepCopyInto(out *ClusterNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterReference ¶ added in v1.7.0
type ClusterReference struct { // The API version of the referenced ClusterAPI cluster object. APIVersion string `json:"apiVersion,omitempty"` // The kind of the referenced ClusterAPI cluster object. Kind string `json:"kind,omitempty"` // The name of the referenced ClusterAPI cluster object. Name string `json:"name,omitempty"` // The namespace of the referenced ClusterAPI cluster object. Namespace string `json:"namespace,omitempty"` }
ClusterReference identifies the underlying ClusterAPI cluster for a managed cluster.
func (*ClusterReference) DeepCopy ¶ added in v1.7.0
func (in *ClusterReference) DeepCopy() *ClusterReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterReference.
func (*ClusterReference) DeepCopyInto ¶ added in v1.7.0
func (in *ClusterReference) DeepCopyInto(out *ClusterReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonClusterSpec ¶ added in v1.7.0
type CommonClusterSpec struct { // Reference for cloud authentication. IdentityRef NamespacedRef `json:"identityRef"` // Private Registry settings for the workload cluster. PrivateRegistry *PrivateRegistry `json:"privateRegistry,omitempty"` // HTTP Proxy settings. Proxy *Proxy `json:"proxy,omitempty"` }
func (*CommonClusterSpec) DeepCopy ¶ added in v1.7.0
func (in *CommonClusterSpec) DeepCopy() *CommonClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonClusterSpec.
func (*CommonClusterSpec) DeepCopyInto ¶ added in v1.7.0
func (in *CommonClusterSpec) DeepCopyInto(out *CommonClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonOCI ¶ added in v1.7.0
type CommonOCI struct { // OCI region where the cluster will be created. Region string `json:"region,omitempty"` // OCI Compartment OCID where the cluster will be created Compartment string `json:"compartment,omitempty"` // SSH public key for node ssh. SSHPublicKey *string `json:"sshPublicKey,omitempty"` // Node image OCID. // The default is the latest OL8 image in the provided compartment. ImageID string `json:"imageId,omitempty"` // Cloud-init script to run during node startup. CloudInitScript []string `json:"cloudInitScript,omitempty"` }
func (*CommonOCI) DeepCopy ¶ added in v1.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonOCI.
func (*CommonOCI) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { // Last time the condition transitioned from one status to another. // +optional LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` // A message with details about the last transition. // +optional Message string `json:"message,omitempty"` // Status of the condition: one of `True`, `False`, or `Unknown`. Status corev1.ConditionStatus `json:"status"` // The condition of the multicluster resource which can be checked with a `kubectl wait` command. Condition values // are case-sensitive and formatted as follows: `Ready`: the VerrazzanoManagedCluster is ready to be used and all // resources needed have been generated. Type ConditionType `json:"type"` }
Condition describes a condition that occurred on the Verrazzano Managed Cluster.
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionType ¶
type ConditionType string
ConditionType identifies the condition of the Verrazzano Managed Cluster which can be checked with `kubectl wait`.
const ( // Ready = true means the VMC is ready to be used and all resources needed have been generated ConditionReady ConditionType = "Ready" // ManagedCARetrieved = true means that the managed cluster CA cert has been retrieved and // populated. This is done by the VMC controller via the Rancher API proxy for the managed cluster. ConditionManagedCARetrieved ConditionType = "ManagedCARetrieved" // ConditionManifestPushed = true means the the agent and registration secrets have been successfully transferred // to the managed cluster on a multicluster install ConditionManifestPushed ConditionType = "ManifestPushed" )
type Kubernetes ¶ added in v1.7.0
type Kubernetes struct { // Kubernetes version. Version string `json:"version"` KubernetesBase `json:",inline"` }
func (*Kubernetes) DeepCopy ¶ added in v1.7.0
func (in *Kubernetes) DeepCopy() *Kubernetes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes.
func (*Kubernetes) DeepCopyInto ¶ added in v1.7.0
func (in *Kubernetes) DeepCopyInto(out *Kubernetes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesBase ¶ added in v1.7.0
type KubernetesBase struct { // Kubernetes network settings. ClusterNetwork ClusterNetwork `json:"clusterNetwork"` }
func (*KubernetesBase) DeepCopy ¶ added in v1.7.0
func (in *KubernetesBase) DeepCopy() *KubernetesBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesBase.
func (*KubernetesBase) DeepCopyInto ¶ added in v1.7.0
func (in *KubernetesBase) DeepCopyInto(out *KubernetesBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesInformation ¶ added in v1.7.0
type KubernetesInformation struct { // The observed Kubernetes version installed on this cluster. Version string `json:"version,omitempty"` }
KubernetesInformation defines the Kubernetes information for a managed cluster.
func (*KubernetesInformation) DeepCopy ¶ added in v1.7.0
func (in *KubernetesInformation) DeepCopy() *KubernetesInformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesInformation.
func (*KubernetesInformation) DeepCopyInto ¶ added in v1.7.0
func (in *KubernetesInformation) DeepCopyInto(out *KubernetesInformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamedOCINode ¶ added in v1.7.0
type NamedOCINode struct { // +patchMergeKey=name // +patchStrategy=merge,retainKeys Name string `json:"name" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` OCINode `json:",inline"` }
func (*NamedOCINode) DeepCopy ¶ added in v1.7.0
func (in *NamedOCINode) DeepCopy() *NamedOCINode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedOCINode.
func (*NamedOCINode) DeepCopyInto ¶ added in v1.7.0
func (in *NamedOCINode) DeepCopyInto(out *NamedOCINode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedRef ¶ added in v1.7.0
type NamespacedRef struct { // Name of the ref. Name string `json:"name"` // Namespace of the ref. Namespace string `json:"namespace"` }
func (NamespacedRef) AsNamespacedName ¶ added in v1.7.0
func (n NamespacedRef) AsNamespacedName() types.NamespacedName
func (*NamespacedRef) DeepCopy ¶ added in v1.7.0
func (in *NamespacedRef) DeepCopy() *NamespacedRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedRef.
func (*NamespacedRef) DeepCopyInto ¶ added in v1.7.0
func (in *NamespacedRef) DeepCopyInto(out *NamespacedRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Network ¶ added in v1.7.0
type Network struct { // If true, a new VCN is created for the cluster. // The default is false. CreateVCN bool `json:"createVCN"` // OCID of an existing VCN to create the cluster inside. VCN string `json:"vcn,omitempty"` // List of existing subnets that will be used by the cluster. Subnets []Subnet `json:"subnets,omitempty"` }
func (*Network) DeepCopy ¶ added in v1.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCI ¶ added in v1.7.0
type OCI struct { CommonOCI `json:",inline"` // Control Plane node settings. ControlPlane OCINode `json:"controlPlane"` // List of worker nodes. Workers []NamedOCINode `json:"workers"` // OCI Network settings. Network *Network `json:"network"` }
func (*OCI) DeepCopy ¶ added in v1.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCI.
func (*OCI) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCINode ¶ added in v1.7.0
type OCINode struct { // Node pool Shape. Shape *string `json:"shape"` // Number of OCPUs per node, when using flex shapes. OCPUs *int `json:"ocpus,omitempty"` // Amount of memory per node, in gigabytes, when using flex shapes. MemoryGbs *int `json:"memoryGbs,omitempty"` // Size of node boot volume, in gigabytes. BootVolumeGbs *int `json:"bootVolumeGbs,omitempty"` // Number of nodes to create. Replicas *int `json:"replicas"` }
func (*OCINode) DeepCopy ¶ added in v1.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCINode.
func (*OCINode) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIOCNEClusterSpec ¶ added in v1.7.0
type OCIOCNEClusterSpec struct { CommonClusterSpec `json:",inline"` // Kubernetes settings. KubernetesBase `json:"kubernetes"` // OCNE settings. OCNE OCNE `json:"ocne"` // OCI infrastructure settings. OCI OCI `json:"oci"` }
func (*OCIOCNEClusterSpec) DeepCopy ¶ added in v1.7.0
func (in *OCIOCNEClusterSpec) DeepCopy() *OCIOCNEClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIOCNEClusterSpec.
func (*OCIOCNEClusterSpec) DeepCopyInto ¶ added in v1.7.0
func (in *OCIOCNEClusterSpec) DeepCopyInto(out *OCIOCNEClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCNE ¶ added in v1.7.0
type OCNE struct { // OCNE Version. Version string `json:"version"` // OCNE dependency settings. Dependencies OCNEDependencies `json:"dependencies"` }
func (*OCNE) DeepCopy ¶ added in v1.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCNE.
func (*OCNE) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCNEDependencies ¶ added in v1.7.0
type OCNEDependencies struct { // Whether to skip OCNE dependency installation. // The default is `false`. SkipInstall bool `json:"skipInstall"` }
func (*OCNEDependencies) DeepCopy ¶ added in v1.7.0
func (in *OCNEDependencies) DeepCopy() *OCNEDependencies
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCNEDependencies.
func (*OCNEDependencies) DeepCopyInto ¶ added in v1.7.0
func (in *OCNEDependencies) DeepCopyInto(out *OCNEDependencies)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCNEOCIQuickCreate ¶ added in v1.7.0
type OCNEOCIQuickCreate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // The desired state of an OCNEOCIQuickCreate resource. Spec OCIOCNEClusterSpec `json:"spec,omitempty"` // The observed state of an OCNEOCIQuickCreate resource. Status OCNEOCIQuickCreateStatus `json:"status,omitempty"` }
OCNEOCIQuickCreate specifies the API for quick-create OCI OCNE clusters.
func (*OCNEOCIQuickCreate) DeepCopy ¶ added in v1.7.0
func (in *OCNEOCIQuickCreate) DeepCopy() *OCNEOCIQuickCreate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCNEOCIQuickCreate.
func (*OCNEOCIQuickCreate) DeepCopyInto ¶ added in v1.7.0
func (in *OCNEOCIQuickCreate) DeepCopyInto(out *OCNEOCIQuickCreate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCNEOCIQuickCreate) DeepCopyObject ¶ added in v1.7.0
func (in *OCNEOCIQuickCreate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OCNEOCIQuickCreate) SetupWebhookWithManager ¶ added in v1.7.0
func (o *OCNEOCIQuickCreate) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager is used to let the controller manager know about the webhook
func (*OCNEOCIQuickCreate) ValidateCreate ¶ added in v1.7.0
func (o *OCNEOCIQuickCreate) ValidateCreate() error
ValidateCreate validates the OCNEOCIQuickCreate input. We do not provide a deep validation of OCI cloud resources, because the provided credentials may not have the necessary policies to do so.
func (*OCNEOCIQuickCreate) ValidateDelete ¶ added in v1.7.0
func (o *OCNEOCIQuickCreate) ValidateDelete() error
func (*OCNEOCIQuickCreate) ValidateUpdate ¶ added in v1.7.0
func (o *OCNEOCIQuickCreate) ValidateUpdate(old runtime.Object) error
ValidateUpdate rejects any changes to the quick create spec.
type OCNEOCIQuickCreateList ¶ added in v1.7.0
type OCNEOCIQuickCreateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OCNEOCIQuickCreate `json:"items"` }
OCNEOCIQuickCreateList contains a list of OCNEOCIQuickCreate resources.
func (*OCNEOCIQuickCreateList) DeepCopy ¶ added in v1.7.0
func (in *OCNEOCIQuickCreateList) DeepCopy() *OCNEOCIQuickCreateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCNEOCIQuickCreateList.
func (*OCNEOCIQuickCreateList) DeepCopyInto ¶ added in v1.7.0
func (in *OCNEOCIQuickCreateList) DeepCopyInto(out *OCNEOCIQuickCreateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCNEOCIQuickCreateList) DeepCopyObject ¶ added in v1.7.0
func (in *OCNEOCIQuickCreateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OCNEOCIQuickCreateStatus ¶ added in v1.7.0
type OCNEOCIQuickCreateStatus struct {
Phase QuickCreatePhase `json:"phase"`
}
func (*OCNEOCIQuickCreateStatus) DeepCopy ¶ added in v1.7.0
func (in *OCNEOCIQuickCreateStatus) DeepCopy() *OCNEOCIQuickCreateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCNEOCIQuickCreateStatus.
func (*OCNEOCIQuickCreateStatus) DeepCopyInto ¶ added in v1.7.0
func (in *OCNEOCIQuickCreateStatus) DeepCopyInto(out *OCNEOCIQuickCreateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OKE ¶ added in v1.7.0
type OKE struct { CommonOCI `json:",inline"` // List of Node pools. NodePools []NamedOCINode `json:"nodePools,omitempty"` // List of Virtual Node pools. VirtualNodePools []VirtualNodePool `json:"virtualNodePools,omitempty"` // Network settings for the OKE cluster. Network *OKENetwork `json:"network,omitempty"` }
func (*OKE) DeepCopy ¶ added in v1.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OKE.
func (*OKE) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OKENetwork ¶ added in v1.7.0
type OKENetwork struct { // VCN and subnet settings for existing networks. Config *Network `json:"config"` // CNI Type for cluster networking. May be FLANNEL_OVERLAY or OCI_VCN_IP_NATIVE. CNIType CNIType `json:"cniType"` }
func (*OKENetwork) DeepCopy ¶ added in v1.7.0
func (in *OKENetwork) DeepCopy() *OKENetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OKENetwork.
func (*OKENetwork) DeepCopyInto ¶ added in v1.7.0
func (in *OKENetwork) DeepCopyInto(out *OKENetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OKEQuickCreate ¶ added in v1.7.0
type OKEQuickCreate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // The desired state of an OCNEOCIQuickCreate resource. Spec OKEQuickCreateSpec `json:"spec,omitempty"` // The observed state of an OCNEOCIQuickCreate resource. Status OKEQuickCreateStatus `json:"status,omitempty"` }
OKEQuickCreate specifies the API for quick-create OKE clusters.
func (*OKEQuickCreate) DeepCopy ¶ added in v1.7.0
func (in *OKEQuickCreate) DeepCopy() *OKEQuickCreate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OKEQuickCreate.
func (*OKEQuickCreate) DeepCopyInto ¶ added in v1.7.0
func (in *OKEQuickCreate) DeepCopyInto(out *OKEQuickCreate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OKEQuickCreate) DeepCopyObject ¶ added in v1.7.0
func (in *OKEQuickCreate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OKEQuickCreate) SetupWebhookWithManager ¶ added in v1.7.0
func (o *OKEQuickCreate) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager is used to let the controller manager know about the webhook
func (*OKEQuickCreate) ValidateCreate ¶ added in v1.7.0
func (o *OKEQuickCreate) ValidateCreate() error
func (*OKEQuickCreate) ValidateDelete ¶ added in v1.7.0
func (o *OKEQuickCreate) ValidateDelete() error
func (*OKEQuickCreate) ValidateUpdate ¶ added in v1.7.0
func (o *OKEQuickCreate) ValidateUpdate(old runtime.Object) error
type OKEQuickCreateList ¶ added in v1.7.0
type OKEQuickCreateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OKEQuickCreate `json:"items"` }
OKEQuickCreateList contains a list of OKEQuickCreate resources.
func (*OKEQuickCreateList) DeepCopy ¶ added in v1.7.0
func (in *OKEQuickCreateList) DeepCopy() *OKEQuickCreateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OKEQuickCreateList.
func (*OKEQuickCreateList) DeepCopyInto ¶ added in v1.7.0
func (in *OKEQuickCreateList) DeepCopyInto(out *OKEQuickCreateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OKEQuickCreateList) DeepCopyObject ¶ added in v1.7.0
func (in *OKEQuickCreateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OKEQuickCreateSpec ¶ added in v1.7.0
type OKEQuickCreateSpec struct { // Reference for cloud authentication. IdentityRef NamespacedRef `json:"identityRef"` // Kubernetes settings. Kubernetes `json:"kubernetes"` // OKE cluster settings. OKE `json:"oke,omitempty"` }
func (*OKEQuickCreateSpec) DeepCopy ¶ added in v1.7.0
func (in *OKEQuickCreateSpec) DeepCopy() *OKEQuickCreateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OKEQuickCreateSpec.
func (*OKEQuickCreateSpec) DeepCopyInto ¶ added in v1.7.0
func (in *OKEQuickCreateSpec) DeepCopyInto(out *OKEQuickCreateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OKEQuickCreateStatus ¶ added in v1.7.0
type OKEQuickCreateStatus struct {
Phase QuickCreatePhase `json:"phase"`
}
func (*OKEQuickCreateStatus) DeepCopy ¶ added in v1.7.0
func (in *OKEQuickCreateStatus) DeepCopy() *OKEQuickCreateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OKEQuickCreateStatus.
func (*OKEQuickCreateStatus) DeepCopyInto ¶ added in v1.7.0
func (in *OKEQuickCreateStatus) DeepCopyInto(out *OKEQuickCreateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateRegistry ¶ added in v1.7.0
type PrivateRegistry struct { // Private registry URL. URL string `json:"url"` // Reference to private registry credentials secret. CredentialsSecret NamespacedRef `json:"credentialSecret"` }
func (*PrivateRegistry) DeepCopy ¶ added in v1.7.0
func (in *PrivateRegistry) DeepCopy() *PrivateRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateRegistry.
func (*PrivateRegistry) DeepCopyInto ¶ added in v1.7.0
func (in *PrivateRegistry) DeepCopyInto(out *PrivateRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Proxy ¶ added in v1.7.0
type Proxy struct { // HTTP Proxy string. HTTPProxy string `json:"httpProxy"` // HTTPS Proxy string. HTTPSProxy string `json:"httpsProxy"` // No Proxy string. NoProxy string `json:"noProxy"` }
func (*Proxy) DeepCopy ¶ added in v1.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Proxy.
func (*Proxy) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QuickCreatePhase ¶ added in v1.7.0
type QuickCreatePhase string
type RancherRegistration ¶
type RancherRegistration struct { // The Rancher cluster ID for this cluster. ClusterID string `json:"clusterID,omitempty"` // A supporting message related to the Rancher registration status. // +optional Message string `json:"message,omitempty"` // The status of the Rancher registration. Status RancherRegistrationStatus `json:"status"` }
RancherRegistration defines the Rancher registration state for a managed cluster.
func (*RancherRegistration) DeepCopy ¶
func (in *RancherRegistration) DeepCopy() *RancherRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RancherRegistration.
func (*RancherRegistration) DeepCopyInto ¶
func (in *RancherRegistration) DeepCopyInto(out *RancherRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RancherRegistrationStatus ¶
type RancherRegistrationStatus string
RancherRegistrationStatus identifies the status of a Rancher registration.
const ( RegistrationCompleted RancherRegistrationStatus = "Completed" RegistrationFailed RancherRegistrationStatus = "Failed" DeleteFailed RancherRegistrationStatus = "DeleteFailed" )
type StateType ¶
type StateType string
StateType identifies the state of the Verrazzano Managed Cluster.
const ( StateActive StateType = "Active" StateInactive StateType = "Inactive" StatePending StateType = "Pending" StateProvisioning StateType = "Provisioning" StateProvisioned StateType = "Provisioned" StateDeleting StateType = "Deleting" StateUnknown StateType = "Unknown" StateFailed StateType = "Failed" )
type Subnet ¶ added in v1.7.0
type Subnet struct { // +patchMergeKey=role // +patchStrategy=merge,retainKeys // Role of subnet within the cluster. Role SubnetRole `json:"role" patchStrategy:"merge,retainKeys" patchMergeKey:"role"` // The ID of the subnet. ID string `json:"id"` }
func (*Subnet) DeepCopy ¶ added in v1.7.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶ added in v1.7.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetRole ¶ added in v1.7.0
type SubnetRole string
type VerrazzanoInformation ¶ added in v1.7.0
type VerrazzanoInformation struct { // The observed Verrazzano version installed on this cluster. Version string `json:"version,omitempty"` }
VerrazzanoInformation defines the Verrazzano information for a managed cluster.
func (*VerrazzanoInformation) DeepCopy ¶ added in v1.7.0
func (in *VerrazzanoInformation) DeepCopy() *VerrazzanoInformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoInformation.
func (*VerrazzanoInformation) DeepCopyInto ¶ added in v1.7.0
func (in *VerrazzanoInformation) DeepCopyInto(out *VerrazzanoInformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerrazzanoManagedCluster ¶
type VerrazzanoManagedCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // The desired state of a Verrazzano Managed Cluster resource. Spec VerrazzanoManagedClusterSpec `json:"spec,omitempty"` // The observed state of a Verrazzano Managed Cluster resource. Status VerrazzanoManagedClusterStatus `json:"status,omitempty"` }
VerrazzanoManagedCluster specifies the Verrazzano Managed Cluster API.
func (*VerrazzanoManagedCluster) DeepCopy ¶
func (in *VerrazzanoManagedCluster) DeepCopy() *VerrazzanoManagedCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoManagedCluster.
func (*VerrazzanoManagedCluster) DeepCopyInto ¶
func (in *VerrazzanoManagedCluster) DeepCopyInto(out *VerrazzanoManagedCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoManagedCluster) DeepCopyObject ¶
func (in *VerrazzanoManagedCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VerrazzanoManagedCluster) SetupWebhookWithManager ¶
func (v *VerrazzanoManagedCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager is used to let the controller manager know about the webhook
func (*VerrazzanoManagedCluster) ValidateCreate ¶
func (v *VerrazzanoManagedCluster) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*VerrazzanoManagedCluster) ValidateDelete ¶
func (v *VerrazzanoManagedCluster) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*VerrazzanoManagedCluster) ValidateUpdate ¶
func (v *VerrazzanoManagedCluster) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type VerrazzanoManagedClusterList ¶
type VerrazzanoManagedClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VerrazzanoManagedCluster `json:"items"` }
VerrazzanoManagedClusterList contains a list of Verrazzano Managed Cluster resources.
func (*VerrazzanoManagedClusterList) DeepCopy ¶
func (in *VerrazzanoManagedClusterList) DeepCopy() *VerrazzanoManagedClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoManagedClusterList.
func (*VerrazzanoManagedClusterList) DeepCopyInto ¶
func (in *VerrazzanoManagedClusterList) DeepCopyInto(out *VerrazzanoManagedClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoManagedClusterList) DeepCopyObject ¶
func (in *VerrazzanoManagedClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerrazzanoManagedClusterSpec ¶
type VerrazzanoManagedClusterSpec struct { // The name of a Secret that contains the CA certificate of the managed cluster. This is used to configure the // admin cluster to scrape metrics from the Prometheus endpoint on the managed cluster. If Rancher is enabled on // the admin cluster, this will be automatically populated by Verrazzano. Otherwise, if you disabled Rancher, see the pre-registration // <a href="../../../docs/setup/mc-install/advanced-mc-install/#preregistration-setup">instructions</a> // for how to create this Secret. CASecret string `json:"caSecret,omitempty"` // The description of the managed cluster. // +optional Description string `json:"description,omitempty"` // The name of the Secret containing the generated YAML manifest file to be applied by the user to the managed cluster. // This field is managed by a Verrazzano Kubernetes operator. // +optional ManagedClusterManifestSecret string `json:"managedClusterManifestSecret,omitempty"` // The name of the ServiceAccount that was generated for the managed cluster. This field is managed by a // Verrazzano Kubernetes operator. // +optional ServiceAccount string `json:"serviceAccount,omitempty"` }
VerrazzanoManagedClusterSpec defines the desired state of a Verrazzano Managed Cluster.
func (*VerrazzanoManagedClusterSpec) DeepCopy ¶
func (in *VerrazzanoManagedClusterSpec) DeepCopy() *VerrazzanoManagedClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoManagedClusterSpec.
func (*VerrazzanoManagedClusterSpec) DeepCopyInto ¶
func (in *VerrazzanoManagedClusterSpec) DeepCopyInto(out *VerrazzanoManagedClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerrazzanoManagedClusterStatus ¶
type VerrazzanoManagedClusterStatus struct { // The Verrazzano API server URL for this managed cluster. APIUrl string `json:"apiUrl,omitempty"` // The current state of this managed cluster. Conditions []Condition `json:"conditions,omitempty"` // The last time the agent from this managed cluster connected to the admin cluster. LastAgentConnectTime *metav1.Time `json:"lastAgentConnectTime,omitempty"` // The Prometheus host for this managed cluster. PrometheusHost string `json:"prometheusHost,omitempty"` // The Thanos Query Store API host name for this managed cluster. ThanosQueryStore string `json:"thanosQueryStore,omitempty"` // The state of Rancher registration for this managed cluster. RancherRegistration RancherRegistration `json:"rancherRegistration,omitempty"` // The state of ArgoCD registration for this managed cluster. ArgoCDRegistration ArgoCDRegistration `json:"argoCDRegistration,omitempty"` // The state of this managed cluster. State StateType `json:"state"` // The state of Kubernetes information of this managed cluster. Kubernetes KubernetesInformation `json:"kubernetes,omitempty"` // The state of Verrazzano information of this managed cluster. Verrazzano VerrazzanoInformation `json:"verrazzano,omitempty"` // The reference to this managed cluster's underlying ClusterAPI cluster. // +optional ClusterRef *ClusterReference `json:"clusterRef,omitempty"` }
VerrazzanoManagedClusterStatus defines the observed state of a Verrazzano Managed Cluster.
func (*VerrazzanoManagedClusterStatus) DeepCopy ¶
func (in *VerrazzanoManagedClusterStatus) DeepCopy() *VerrazzanoManagedClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoManagedClusterStatus.
func (*VerrazzanoManagedClusterStatus) DeepCopyInto ¶
func (in *VerrazzanoManagedClusterStatus) DeepCopyInto(out *VerrazzanoManagedClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualNodePool ¶ added in v1.7.0
type VirtualNodePool struct { // +patchMergeKey=name // +patchStrategy=merge,retainKeys Name string `json:"name" patchStrategy:"merge,retainKeys" patchMergeKey:"name"` Replicas *int `json:"replicas"` }
func (*VirtualNodePool) DeepCopy ¶ added in v1.7.0
func (in *VirtualNodePool) DeepCopy() *VirtualNodePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNodePool.
func (*VirtualNodePool) DeepCopyInto ¶ added in v1.7.0
func (in *VirtualNodePool) DeepCopyInto(out *VirtualNodePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.