Documentation ¶
Index ¶
- type AzureVolumes
- func (a *AzureVolumes) AttachVolume(volume *volumes.Volume) error
- func (a *AzureVolumes) FindMountedVolume(volume *volumes.Volume) (string, error)
- func (a *AzureVolumes) FindVolumes() ([]*volumes.Volume, error)
- func (a *AzureVolumes) MyIP() (string, error)
- func (a *AzureVolumes) Poll() (map[string]discovery.Node, error)
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.
Click to show internal directories.
Click to hide internal directories.