Documentation ¶
Index ¶
- Constants
- type Provider
- func (p *Provider) CleanSSH() error
- func (p *Provider) ConfigSSH() error
- func (p *Provider) Create(names []string, opts vm.CreateOpts) error
- func (p *Provider) Delete(vms vm.List) error
- func (p *Provider) Extend(vms vm.List, lifetime time.Duration) error
- func (p *Provider) FindActiveAccount() (string, error)
- func (p *Provider) Flags() vm.ProviderFlags
- func (p *Provider) List() (ret vm.List, _ error)
- func (p *Provider) Name() string
Constants ¶
View Source
const ProviderName = config.Local
ProviderName is config.Local.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{}
A Provider is used to create stub VM objects.
func (*Provider) CleanSSH ¶
CleanSSH is part of the vm.Provider interface. This implementation is a no-op.
func (*Provider) ConfigSSH ¶
ConfigSSH is part of the vm.Provider interface. This implementation is a no-op.
func (*Provider) Create ¶
func (p *Provider) Create(names []string, opts vm.CreateOpts) error
Create just creates fake host-info entries in the local filesystem
func (*Provider) Delete ¶
Delete is part of the vm.Provider interface. This implementation is a no-op.
func (*Provider) Extend ¶
Extend is part of the vm.Provider interface. This implementation returns an error.
func (*Provider) FindActiveAccount ¶
FindActiveAccount is part of the vm.Provider interface. This implementation is a no-op.
func (*Provider) Flags ¶
func (p *Provider) Flags() vm.ProviderFlags
Flags is part of the vm.Provider interface. This implementation is a no-op.
Click to show internal directories.
Click to hide internal directories.