Documentation ¶
Index ¶
- func GetCreateFlags() []cli.Flag
- func NewDriver(machineName string, storePath string, caCert string, privateKey string) (drivers.Driver, error)
- type Driver
- func (driver *Driver) Create() error
- func (driver *Driver) DriverName() string
- func (d *Driver) GetDockerConfigDir() string
- func (driver *Driver) GetIP() (string, error)
- func (driver *Driver) GetSSHCommand(args ...string) (*exec.Cmd, error)
- func (driver *Driver) GetState() (state.State, error)
- func (driver *Driver) GetURL() (string, error)
- func (driver *Driver) Kill() error
- func (driver *Driver) PreCreateCheck() error
- func (driver *Driver) Remove() error
- func (driver *Driver) Restart() error
- func (driver *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error
- func (driver *Driver) Start() error
- func (d *Driver) StartDocker() error
- func (driver *Driver) Stop() error
- func (d *Driver) StopDocker() error
- func (driver *Driver) Upgrade() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCreateFlags ¶
GetCreateFlags registers the flags this driver adds to "docker hosts create"
Types ¶
type Driver ¶
type Driver struct { MachineName string SubscriptionID string SubscriptionCert string PublishSettingsFilePath string Location string Size string UserName string UserPassword string Image string SSHPort int DockerPort int CaCertPath string PrivateKeyPath string SwarmMaster bool SwarmHost string SwarmDiscovery string // contains filtered or unexported fields }
func (*Driver) DriverName ¶
func (*Driver) GetDockerConfigDir ¶
func (*Driver) GetSSHCommand ¶
func (*Driver) PreCreateCheck ¶
func (*Driver) SetConfigFromFlags ¶
func (driver *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error
func (*Driver) StartDocker ¶
func (*Driver) StopDocker ¶
Click to show internal directories.
Click to hide internal directories.