Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient provided the http client for trigger http requests
func NewAPIClient ¶
func NewAPIClient(config APIClientConfig) (*APIClient, error)
NewAPIClient is constructor of APIClient
func (*APIClient) SwitchAccount ¶
SwitchAccount : Switch account
type APIClientConfig ¶
type APIClientConfig struct { Username string Password string CaFile string CertFile string KeyFile string Proxy string }
APIClientConfig : Keep config options for APIClient
type DockerClient ¶
type DockerClient struct{}
DockerClient : Run docker commands
func (*DockerClient) Login ¶
func (dc *DockerClient) Login(userName, password string, uri string) error
Login : Login docker
func (*DockerClient) Status ¶
func (dc *DockerClient) Status() error
Status : Check if docker daemon is there
Click to show internal directories.
Click to hide internal directories.