Documentation ¶
Index ¶
- type DOVolumes
- func (a *DOVolumes) AttachVolume(volume *volumes.Volume) error
- func (a *DOVolumes) Contains(dotags []string, x string) bool
- func (a *DOVolumes) FindMountedVolume(volume *volumes.Volume) (string, error)
- func (a *DOVolumes) FindVolumes() ([]*volumes.Volume, error)
- func (a *DOVolumes) MyIP() (string, error)
- func (a *DOVolumes) Poll() (map[string]discovery.Node, error)
- type DigiCloud
- type TokenSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DOVolumes ¶
type DOVolumes struct { ClusterName string DigiCloud *DigiCloud // contains filtered or unexported fields }
DOVolumes defines the digital ocean's volume implementation
func NewDOVolumes ¶
ex: nametag - etcdcluster-main OR etcdcluster-events ex: volume tag array - kubernetescluster=mycluster; k8s-index any droplet where this is running will have the tags - k8s-index:1; kubernetescluster:mycluster any volume that is created will have the tags - etcdcluster-main:1 OR etcdcluster-events:1; kubernetescluster:mycluster; k8s-index:1
func (*DOVolumes) AttachVolume ¶
AttachVolume attaches the specified volume to this instance, returning the mountpoint & nil if successful
func (*DOVolumes) FindMountedVolume ¶
FindMountedVolume implements Volumes::FindMountedVolume
type TokenSource ¶
type TokenSource struct {
AccessToken string
}
TokenSource implements oauth2.TokenSource
Click to show internal directories.
Click to hide internal directories.