azure

package
v0.0.0-...-3442565 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureVolumes

type AzureVolumes struct {
	// contains filtered or unexported fields
}

AzureVolumes defines the aws volume implementation

func NewAzureVolumes

func NewAzureVolumes(clusterName string, volumeTags []string, nameTag string) (*AzureVolumes, error)

NewAzureVolumes returns a new Azure volume provider.

func (*AzureVolumes) AttachVolume

func (a *AzureVolumes) AttachVolume(volume *volumes.Volume) error

AttachVolume attaches the specified volume to this instance, returning nil if successful.

func (*AzureVolumes) FindMountedVolume

func (a *AzureVolumes) FindMountedVolume(volume *volumes.Volume) (string, error)

FindMountedVolume returns the device name of the mounted volume.

func (*AzureVolumes) FindVolumes

func (a *AzureVolumes) FindVolumes() ([]*volumes.Volume, error)

FindVolumes returns a list of volumes for this etcd cluster.

func (*AzureVolumes) MyIP

func (a *AzureVolumes) MyIP() (string, error)

MyIP returns the IP of the instance.

func (*AzureVolumes) Poll

func (a *AzureVolumes) Poll() (map[string]discovery.Node, error)

Poll returns etcd nodes key by their IDs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL