Documentation ¶
Index ¶
- Constants
- func GetMetadata(path string) (string, error)
- func New(ctx context.Context) Interface
- type LightsailOptions
- type TokenSource
- type VolumeManager
- func (v *VolumeManager) Attach(options interface{}, nodeName string) (string, error)
- func (v *VolumeManager) Detach(device, nodeName string) error
- func (v *VolumeManager) Init() error
- func (v *VolumeManager) Initialize() error
- func (v *VolumeManager) Mount(mountDir string, options interface{}) error
- func (v *VolumeManager) MountDevice(mountDir string, device string, options interface{}) error
- func (v *VolumeManager) NewOptions() interface{}
- func (v *VolumeManager) Unmount(mountDir string) error
Constants ¶
View Source
const ( UID = "lightsail" DEVICE_PREFIX = "/dev/xvd" )
Variables ¶
This section is empty.
Functions ¶
func GetMetadata ¶
Types ¶
type LightsailOptions ¶
type LightsailOptions struct {
DefaultOptions
}
type TokenSource ¶
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
Click to show internal directories.
Click to hide internal directories.