Documentation ¶
Index ¶
- type ClusterInfo
- type DiskInfo
- type GCE
- func (gce *GCE) AllocateExternalIPs(cluster *clusterv1.Cluster, clientset *kubernetes.Clientset) ([]string, error)
- func (gce *GCE) Create(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine, ...) error
- func (gce *GCE) DeAllocateExternalIPs(cluster *clusterv1.Cluster, clientset *kubernetes.Clientset) error
- func (gce *GCE) Delete(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine, ...) error
- func (gce *GCE) Exists(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine, ...) (bool, error)
- func (gce *GCE) Update(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine, ...) error
- type InstanceInfo
- type MachineInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInfo ¶
ClusterInfo holds data about desired config in cluster object
type GCE ¶
type GCE struct { }
GCE represents a provider for GCE.
func (*GCE) AllocateExternalIPs ¶
func (gce *GCE) AllocateExternalIPs(cluster *clusterv1.Cluster, clientset *kubernetes.Clientset) ([]string, error)
AllocateExternalIPs creates IPs for the control plane nodes
func (*GCE) Create ¶
func (gce *GCE) Create(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine, clientset *kubernetes.Clientset) error
Create creates an instance in GCE.
func (*GCE) DeAllocateExternalIPs ¶
func (gce *GCE) DeAllocateExternalIPs(cluster *clusterv1.Cluster, clientset *kubernetes.Clientset) error
DeAllocateExternalIPs cleans IPs for the control plane nodes
func (*GCE) Delete ¶
func (gce *GCE) Delete(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine, clientset *kubernetes.Clientset) error
Delete deletes a GCE instance.
type InstanceInfo ¶
InstanceInfo holds data about the instances we'll create
type MachineInfo ¶
type MachineInfo struct { Zone string Project string Instances InstanceInfo }
MachineInfo holds data about desired config in machine object
Click to show internal directories.
Click to hide internal directories.