Documentation ¶
Index ¶
- func UkvmStateFile() string
- type UkvmProvider
- func (p *UkvmProvider) AttachVolume(id, instanceId, mntPoint string) error
- func (p *UkvmProvider) CreateVolume(params types.CreateVolumeParams) (_ *types.Volume, err error)
- func (p *UkvmProvider) DeleteImage(id string, force bool) error
- func (p *UkvmProvider) DeleteInstance(id string, force bool) error
- func (p *UkvmProvider) DeleteVolume(id string, force bool) error
- func (p *UkvmProvider) DetachVolume(id string) error
- func (p *UkvmProvider) GetConfig() providers.ProviderConfig
- func (p *UkvmProvider) GetImage(nameOrIdPrefix string) (*types.Image, error)
- func (p *UkvmProvider) GetInstance(nameOrIdPrefix string) (*types.Instance, error)
- func (p *UkvmProvider) GetInstanceLogs(id string) (string, error)
- func (p *UkvmProvider) GetVolume(nameOrIdPrefix string) (*types.Volume, error)
- func (p *UkvmProvider) ListImages() ([]*types.Image, error)
- func (p *UkvmProvider) ListInstances() ([]*types.Instance, error)
- func (p *UkvmProvider) ListVolumes() ([]*types.Volume, error)
- func (p *UkvmProvider) PullImage(params types.PullImagePararms) error
- func (p *UkvmProvider) PushImage(params types.PushImagePararms) error
- func (p *UkvmProvider) RemoteDeleteImage(params types.RemoteDeleteImagePararms) error
- func (p *UkvmProvider) RunInstance(params types.RunInstanceParams) (_ *types.Instance, err error)
- func (p *UkvmProvider) Stage(params types.StageImageParams) (_ *types.Image, err error)
- func (p *UkvmProvider) StartInstance(id string) error
- func (p *UkvmProvider) StopInstance(id string) error
- func (p *UkvmProvider) WithState(state state.State) *UkvmProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UkvmStateFile ¶
func UkvmStateFile() string
Types ¶
type UkvmProvider ¶
type UkvmProvider struct {
// contains filtered or unexported fields
}
func NewUkvmProvider ¶
func NewUkvmProvider(config config.Ukvm) (*UkvmProvider, error)
func (*UkvmProvider) AttachVolume ¶
func (p *UkvmProvider) AttachVolume(id, instanceId, mntPoint string) error
func (*UkvmProvider) CreateVolume ¶
func (p *UkvmProvider) CreateVolume(params types.CreateVolumeParams) (_ *types.Volume, err error)
func (*UkvmProvider) DeleteImage ¶
func (p *UkvmProvider) DeleteImage(id string, force bool) error
func (*UkvmProvider) DeleteInstance ¶
func (p *UkvmProvider) DeleteInstance(id string, force bool) error
func (*UkvmProvider) DeleteVolume ¶
func (p *UkvmProvider) DeleteVolume(id string, force bool) error
func (*UkvmProvider) DetachVolume ¶
func (p *UkvmProvider) DetachVolume(id string) error
func (*UkvmProvider) GetConfig ¶
func (p *UkvmProvider) GetConfig() providers.ProviderConfig
func (*UkvmProvider) GetImage ¶
func (p *UkvmProvider) GetImage(nameOrIdPrefix string) (*types.Image, error)
func (*UkvmProvider) GetInstance ¶
func (p *UkvmProvider) GetInstance(nameOrIdPrefix string) (*types.Instance, error)
func (*UkvmProvider) GetInstanceLogs ¶
func (p *UkvmProvider) GetInstanceLogs(id string) (string, error)
func (*UkvmProvider) GetVolume ¶
func (p *UkvmProvider) GetVolume(nameOrIdPrefix string) (*types.Volume, error)
func (*UkvmProvider) ListImages ¶
func (p *UkvmProvider) ListImages() ([]*types.Image, error)
func (*UkvmProvider) ListInstances ¶
func (p *UkvmProvider) ListInstances() ([]*types.Instance, error)
func (*UkvmProvider) ListVolumes ¶
func (p *UkvmProvider) ListVolumes() ([]*types.Volume, error)
func (*UkvmProvider) PullImage ¶
func (p *UkvmProvider) PullImage(params types.PullImagePararms) error
func (*UkvmProvider) PushImage ¶
func (p *UkvmProvider) PushImage(params types.PushImagePararms) error
func (*UkvmProvider) RemoteDeleteImage ¶
func (p *UkvmProvider) RemoteDeleteImage(params types.RemoteDeleteImagePararms) error
func (*UkvmProvider) RunInstance ¶
func (p *UkvmProvider) RunInstance(params types.RunInstanceParams) (_ *types.Instance, err error)
func (*UkvmProvider) Stage ¶
func (p *UkvmProvider) Stage(params types.StageImageParams) (_ *types.Image, err error)
func (*UkvmProvider) StartInstance ¶
func (p *UkvmProvider) StartInstance(id string) error
func (*UkvmProvider) StopInstance ¶
func (p *UkvmProvider) StopInstance(id string) error
func (*UkvmProvider) WithState ¶
func (p *UkvmProvider) WithState(state state.State) *UkvmProvider
Source Files ¶
- attach_volume.go
- create_volume.go
- delete_image.go
- delete_instance.go
- delete_volume.go
- detach_volume.go
- get_config.go
- get_image.go
- get_instance.go
- get_instance_logs.go
- get_volume.go
- list_images.go
- list_instances.go
- list_volumes.go
- pull_image.go
- push_image.go
- remote_delete_image.go
- run_instance.go
- stage.go
- start_instance.go
- stop_instance_cgo.go
- ukvm_provider.go
Click to show internal directories.
Click to hide internal directories.