Versions in this module Expand all Collapse all v1 v1.0.1 Aug 4, 2018 v1.0.0 Aug 4, 2018 Changes in this version + const Copyright + const LicenseName + const LicenseURL + const MKtmpioCfgFile + const MktmpioURL + func ConfigPath() string + type Client struct + UserAgent string + func NewClient(cfg *Config) (*Client, error) + func (c *Client) SetLogger(logger *log.Logger) + func (c Client) Attach(id string) (io.ReadWriteCloser, error) + func (c Client) AttachStdio(id string) (io.WriteCloser, io.Reader, io.Reader, error) + func (c Client) Create(service string) (*Instance, error) + func (c Client) Destroy(id string) error + func (c Client) List() ([]Instance, error) + type Config struct + Token string + URL string + func DefaultConfig() *Config + func EnvConfig() *Config + func FileConfig(cfgPath string) *Config + func LoadConfig() *Config + func (c *Config) Apply(b *Config) *Config + func (c *Config) Save(cfgPath string) error + func (c Config) String() string + type Instance struct + ContainerShell []string + Error string + Host string + ID string + Password string + Port int + RemoteShell shell + Type string + Username string + func (i *Instance) Cmd() *exec.Cmd + func (i *Instance) Destroy() error + func (i *Instance) LoadEnv() error