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