Documentation ¶
Index ¶
- Constants
- type Driver
- func (d *Driver) Create() (err error)
- func (d *Driver) DriverName() string
- func (d *Driver) GetCreateFlags() []mcnflag.Flag
- func (d *Driver) GetSSHHostname() (string, error)
- func (d *Driver) GetState() (st state.State, err error)
- func (d *Driver) GetURL() (string, error)
- func (d *Driver) Kill() error
- func (d *Driver) Remove() (err error)
- func (d *Driver) Restart() error
- func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) (err error)
- func (d *Driver) Start() error
- func (d *Driver) Stop() error
Constants ¶
View Source
const (
// VERSION represents the semver version of the package
VERSION = "v1.2.1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct { *drivers.BaseDriver ServerID string Organization string IPID string Token string CommercialType string IPPersistant bool // contains filtered or unexported fields }
Driver represents the docker driver interface
func (*Driver) DriverName ¶
DriverName returns the name of the driver
func (*Driver) GetCreateFlags ¶
GetCreateFlags registers the flags
func (*Driver) GetSSHHostname ¶
GetSSHHostname returns the IP of the server
func (*Driver) SetConfigFromFlags ¶
func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) (err error)
SetConfigFromFlags sets the flags
Click to show internal directories.
Click to hide internal directories.