Documentation ¶
Index ¶
- Constants
- func XenStateFile() string
- type XenProvider
- func (p *XenProvider) AttachVolume(id, instanceId, mntPoint string) error
- func (p *XenProvider) CreateVolume(params types.CreateVolumeParams) (_ *types.Volume, err error)
- func (p *XenProvider) DeleteImage(id string, force bool) error
- func (p *XenProvider) DeleteInstance(id string, force bool) error
- func (p *XenProvider) DeleteVolume(id string, force bool) error
- func (p *XenProvider) DetachVolume(id string) error
- func (p *XenProvider) GetConfig() providers.ProviderConfig
- func (p *XenProvider) GetImage(nameOrIdPrefix string) (*types.Image, error)
- func (p *XenProvider) GetInstance(nameOrIdPrefix string) (*types.Instance, error)
- func (p *XenProvider) GetInstanceLogs(id string) (string, error)
- func (p *XenProvider) GetVolume(nameOrIdPrefix string) (*types.Volume, error)
- func (p *XenProvider) ListImages() ([]*types.Image, error)
- func (p *XenProvider) ListInstances() ([]*types.Instance, error)
- func (p *XenProvider) ListVolumes() ([]*types.Volume, error)
- func (p *XenProvider) PullImage(params types.PullImagePararms) error
- func (p *XenProvider) PushImage(params types.PushImagePararms) error
- func (p *XenProvider) RemoteDeleteImage(params types.RemoteDeleteImagePararms) error
- func (p *XenProvider) RunInstance(params types.RunInstanceParams) (_ *types.Instance, err error)
- func (p *XenProvider) Stage(params types.StageImageParams) (_ *types.Image, err error)
- func (p *XenProvider) StartInstance(id string) error
- func (p *XenProvider) StopInstance(id string) error
- func (p *XenProvider) WithState(state state.State) *XenProvider
Constants ¶
View Source
const (
XenUnikInstanceListener = "XenUnikInstanceListener"
)
Variables ¶
This section is empty.
Functions ¶
func XenStateFile ¶
func XenStateFile() string
Types ¶
type XenProvider ¶
type XenProvider struct {
// contains filtered or unexported fields
}
func NewXenProvider ¶
func NewXenProvider(config config.Xen) (*XenProvider, error)
func (*XenProvider) AttachVolume ¶
func (p *XenProvider) AttachVolume(id, instanceId, mntPoint string) error
func (*XenProvider) CreateVolume ¶
func (p *XenProvider) CreateVolume(params types.CreateVolumeParams) (_ *types.Volume, err error)
func (*XenProvider) DeleteImage ¶
func (p *XenProvider) DeleteImage(id string, force bool) error
func (*XenProvider) DeleteInstance ¶
func (p *XenProvider) DeleteInstance(id string, force bool) error
func (*XenProvider) DeleteVolume ¶
func (p *XenProvider) DeleteVolume(id string, force bool) error
func (*XenProvider) DetachVolume ¶
func (p *XenProvider) DetachVolume(id string) error
func (*XenProvider) GetConfig ¶
func (p *XenProvider) GetConfig() providers.ProviderConfig
func (*XenProvider) GetImage ¶
func (p *XenProvider) GetImage(nameOrIdPrefix string) (*types.Image, error)
func (*XenProvider) GetInstance ¶
func (p *XenProvider) GetInstance(nameOrIdPrefix string) (*types.Instance, error)
func (*XenProvider) GetInstanceLogs ¶
func (p *XenProvider) GetInstanceLogs(id string) (string, error)
func (*XenProvider) GetVolume ¶
func (p *XenProvider) GetVolume(nameOrIdPrefix string) (*types.Volume, error)
func (*XenProvider) ListImages ¶
func (p *XenProvider) ListImages() ([]*types.Image, error)
func (*XenProvider) ListInstances ¶
func (p *XenProvider) ListInstances() ([]*types.Instance, error)
func (*XenProvider) ListVolumes ¶
func (p *XenProvider) ListVolumes() ([]*types.Volume, error)
func (*XenProvider) PullImage ¶
func (p *XenProvider) PullImage(params types.PullImagePararms) error
func (*XenProvider) PushImage ¶
func (p *XenProvider) PushImage(params types.PushImagePararms) error
func (*XenProvider) RemoteDeleteImage ¶
func (p *XenProvider) RemoteDeleteImage(params types.RemoteDeleteImagePararms) error
func (*XenProvider) RunInstance ¶
func (p *XenProvider) RunInstance(params types.RunInstanceParams) (_ *types.Instance, err error)
func (*XenProvider) Stage ¶
func (p *XenProvider) Stage(params types.StageImageParams) (_ *types.Image, err error)
func (*XenProvider) StartInstance ¶
func (p *XenProvider) StartInstance(id string) error
func (*XenProvider) StopInstance ¶
func (p *XenProvider) StopInstance(id string) error
func (*XenProvider) WithState ¶
func (p *XenProvider) WithState(state state.State) *XenProvider
Source Files ¶
- attach_volume.go
- create_volume.go
- delete_image.go
- delete_instance.go
- delete_volume.go
- deploy_instance_listener.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.go
- xen_provider.go
Click to show internal directories.
Click to hide internal directories.