Documentation ¶
Index ¶
- 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() (err error)
- func (d *Driver) PreCreateCheck() error
- func (d *Driver) Remove() error
- func (d *Driver) Restart() (err error)
- func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error
- func (d *Driver) Start() error
- func (d *Driver) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct { *drivers.BaseDriver GisServiceCode string AccessKey string SecretKey string IvmServiceCode string IbaServiceCode string IPv4 string IPv6 string DockerPort int ServerType string ImageName string StorageGroup string ServerGroup string IbbServiceCode string // contains filtered or unexported fields }
Driver for P2PUB
func (*Driver) DriverName ¶
DriverName returns name of driver(p2pub)
func (*Driver) GetCreateFlags ¶
GetCreateFlags defines option for docker-machine command
func (*Driver) GetSSHHostname ¶
GetSSHHostname returns IP address of machine
func (*Driver) PreCreateCheck ¶
PreCreateCheck checks required options
func (*Driver) SetConfigFromFlags ¶
func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error
SetConfigFromFlags set option to driver structure
Click to show internal directories.
Click to hide internal directories.