Versions in this module Expand all Collapse all v0 v0.16.2 Sep 2, 2019 v0.16.1 Jan 9, 2019 v0.16.0 Nov 8, 2018 v0.15.0 Jun 12, 2018 Changes in this version type Host + func (h *Host) ConfigureAllAuth() error v0.12.1 Jun 30, 2017 v0.12.0 Jun 6, 2017 v0.11.0 Apr 25, 2017 v0.10.0 Feb 27, 2017 Changes in this version + func SetSSHClientCreator(creator SSHClientCreator) type Host + func (h *Host) DockerVersion() (string, error) + func (h *Host) Provision() error + func (h *Host) WaitForDocker() error + type SSHClientCreator interface + CreateSSHClient func(d drivers.Driver) (ssh.Client, error) + type StandardSSHClientCreator struct + func (creator *StandardSSHClientCreator) CreateSSHClient(d drivers.Driver) (ssh.Client, error) v0.7.0-rc3 Apr 8, 2016 v0.6.0-rc3 Feb 3, 2016 v0.5.6 Jan 11, 2016 Changes in this version + func ValidateHostName(name string) bool + type AuthOptionsV1 struct + CaCertPath string + CaCertRemotePath string + ClientCertPath string + ClientKeyPath string + PrivateKeyPath string + ServerCertPath string + ServerCertRemotePath string + ServerKeyPath string + ServerKeyRemotePath string + StorePath string + type Host struct + ConfigVersion int + Driver drivers.Driver + DriverName string + HostOptions *Options + Name string + RawDriver []byte + func MigrateHost(h *Host, data []byte) (*Host, bool, error) + func MigrateHostV2ToHostV3(hostV2 *V2, data []byte, storePath string) *Host + func (h *Host) AuthOptions() *auth.Options + func (h *Host) ConfigureAuth() error + func (h *Host) CreateSSHClient() (ssh.Client, error) + func (h *Host) Kill() error + func (h *Host) Restart() error + func (h *Host) RunSSHCommand(command string) (string, error) + func (h *Host) Start() error + func (h *Host) Stop() error + func (h *Host) URL() (string, error) + func (h *Host) Upgrade() error + type Metadata struct + ConfigVersion int + DriverName string + HostOptions Options + func MigrateHostMetadataV0ToHostMetadataV1(m *MetadataV0) *Metadata + type MetadataV0 struct + CaCertPath string + ClientCertPath string + ConfigVersion int + DriverName string + HostOptions Options + PrivateKeyPath string + ServerCertPath string + ServerKeyPath string + StorePath string + type Options struct + AuthOptions *auth.Options + Disk int + Driver string + EngineOptions *engine.Options + Memory int + SwarmOptions *swarm.Options + type OptionsV1 struct + AuthOptions *AuthOptionsV1 + Disk int + Driver string + EngineOptions *engine.Options + Memory int + SwarmOptions *swarm.Options + type RawDataDriver struct + Data []byte + func (r *RawDataDriver) MarshalJSON() ([]byte, error) + func (r *RawDataDriver) UnmarshalJSON(data []byte) error + type RawHost struct + Driver *json.RawMessage + type V0 struct + CaCertPath string + ClientCertPath string + ClientKeyPath string + ConfigVersion int + Driver drivers.Driver + DriverName string + HostOptions *Options + Name string + PrivateKeyPath string + ServerCertPath string + ServerKeyPath string + StorePath string + SwarmDiscovery string + SwarmHost string + SwarmMaster bool + type V1 struct + ConfigVersion int + Driver drivers.Driver + DriverName string + HostOptions *OptionsV1 + Name string + StorePath string + func MigrateHostV0ToHostV1(hostV0 *V0) *V1 + type V2 struct + ConfigVersion int + Driver drivers.Driver + DriverName string + HostOptions *Options + Name string + func MigrateHostV1ToHostV2(hostV1 *V1) *V2