Documentation ¶
Index ¶
- func NewDriver(storePath string) (drivers.Driver, error)
- func RegisterCreateFlags(cmd *flag.FlagSet) interface{}
- type CreateFlags
- type Driver
- func (driver *Driver) Create() error
- func (driver *Driver) DriverName() 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) Remove() error
- func (driver *Driver) Restart() error
- func (driver *Driver) SetConfigFromFlags(flagsInterface interface{}) error
- func (driver *Driver) Start() error
- func (driver *Driver) Stop() error
- func (driver *Driver) Upgrade() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCreateFlags ¶
RegisterCreateFlags registers the flags this driver adds to "docker hosts create"
Types ¶
type CreateFlags ¶
type Driver ¶
type Driver struct { SubscriptionID string SubscriptionCert string PublishSettingsFilePath string Name string Location string Size string UserName string UserPassword string Image string SSHPort int DockerPort int // contains filtered or unexported fields }
func (*Driver) DriverName ¶
func (*Driver) GetSSHCommand ¶
func (*Driver) SetConfigFromFlags ¶
Click to show internal directories.
Click to hide internal directories.