lightsail

package
v0.0.0-...-599403d Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UID           = "lightsail"
	DEVICE_PREFIX = "/dev/xvd"
)

Variables

This section is empty.

Functions

func GetMetadata

func GetMetadata(path string) (string, error)

func New

func New(ctx context.Context) Interface

Types

type LightsailOptions

type LightsailOptions struct {
	DefaultOptions
}

type TokenSource

type TokenSource struct {
	AccessKeyID     string `json:"accessKeyID"`
	SecretAccessKey string `json:"secretAccessKey"`
}

type VolumeManager

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

func (*VolumeManager) Attach

func (v *VolumeManager) Attach(options interface{}, nodeName string) (string, error)

func (*VolumeManager) Detach

func (v *VolumeManager) Detach(device, nodeName string) error

func (*VolumeManager) Init

func (v *VolumeManager) Init() error

func (*VolumeManager) Initialize

func (v *VolumeManager) Initialize() error

func (*VolumeManager) Mount

func (v *VolumeManager) Mount(mountDir string, options interface{}) error

func (*VolumeManager) MountDevice

func (v *VolumeManager) MountDevice(mountDir string, device string, options interface{}) error

func (*VolumeManager) NewOptions

func (v *VolumeManager) NewOptions() interface{}

func (*VolumeManager) Unmount

func (v *VolumeManager) Unmount(mountDir string) error

Jump to

Keyboard shortcuts

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