Documentation ¶
Index ¶
- type AWSVolumes
- func (a *AWSVolumes) AttachVolume(volume *volumes.Volume) error
- func (a *AWSVolumes) FindMountedVolume(volume *volumes.Volume) (string, error)
- func (a *AWSVolumes) FindVolumes() ([]*volumes.Volume, error)
- func (a *AWSVolumes) MyIP() (string, error)
- func (a *AWSVolumes) Poll() (map[string]discovery.Node, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSVolumes ¶
type AWSVolumes struct {
// contains filtered or unexported fields
}
AWSVolumes defines the aws volume implementation
func NewAWSVolumes ¶
func NewAWSVolumes(clusterName string, volumeTags []string, nameTag string) (*AWSVolumes, error)
NewAWSVolumes returns a new aws volume provider
func (*AWSVolumes) AttachVolume ¶
func (a *AWSVolumes) AttachVolume(volume *volumes.Volume) error
AttachVolume attaches the specified volume to this instance, returning the mountpoint & nil if successful
func (*AWSVolumes) FindMountedVolume ¶
func (a *AWSVolumes) FindMountedVolume(volume *volumes.Volume) (string, error)
FindMountedVolume implements Volumes::FindMountedVolume
func (*AWSVolumes) FindVolumes ¶
func (a *AWSVolumes) FindVolumes() ([]*volumes.Volume, error)
func (*AWSVolumes) MyIP ¶
func (a *AWSVolumes) MyIP() (string, error)
Click to show internal directories.
Click to hide internal directories.