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