Documentation ¶
Index ¶
Constants ¶
View Source
const ( VpcDefaultCIDR = "10.0.0.0/16" ClusterNameLabel = "cluster.kurator.dev/cluster-name" ClusterNamespaceLabel = "cluster.kurator.dev/cluster-namespace" BucketNamePrefix = "kuratorcluster-" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { // record original object so we can mutate it directly Cluster *clusterv1alpha1.Cluster UID string InfraType clusterv1alpha1.ClusterInfraType types.NamespacedName CredentialSecretRef string Version string Region string VpcCIDR string PodCIDR []string ServiceCIDR []string CNIType string ControlPlane *Instance Workers []*Instance EnablePodIdentity bool BucketName string }
func NewCluster ¶
func NewCluster(cluster *clusterv1alpha1.Cluster) *Cluster
func (*Cluster) MatchingLabels ¶
func (c *Cluster) MatchingLabels() ctrlclient.MatchingLabels
func (*Cluster) SecretName ¶
func (*Cluster) StackSuffix ¶
type Instance ¶
type Instance struct { Replicas int InstanceType string SSHKey string ImageOS string RootVolume *InstanceVolume DataVolumes []InstanceVolume }
func NewInstance ¶
func NewInstance(infraType clusterv1alpha1.ClusterInfraType, machine clusterv1alpha1.MachineConfig) *Instance
type InstanceVolume ¶
Click to show internal directories.
Click to hide internal directories.