Documentation
¶
Index ¶
- type DockerCli
- func (docker DockerCli) GetInfo(ctx context.Context, cid string) types.Container
- func (docker DockerCli) GetShell(ctx context.Context, cid string) string
- func (docker DockerCli) List(ctx context.Context) []types.Container
- func (docker DockerCli) Restart(ctx context.Context, cid string) error
- func (docker DockerCli) Start(ctx context.Context, cid string) error
- func (docker DockerCli) Stop(ctx context.Context, cid string) error
- type KubeCli
- func (kube KubeCli) GetInfo(ctx context.Context, cid string) types.Container
- func (kube KubeCli) GetShell(ctx context.Context, cid string) string
- func (kube KubeCli) List(ctx context.Context) []types.Container
- func (kube KubeCli) Restart(ctx context.Context, cid string) error
- func (kube KubeCli) Start(ctx context.Context, cid string) error
- func (kube KubeCli) Stop(ctx context.Context, cid string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerCli ¶
type DockerCli struct {
// contains filtered or unexported fields
}
func NewDockerCli ¶
func NewDockerCli(conf config.DockerConfig) (*DockerCli, []string, error)
type KubeCli ¶ added in v0.1.4
type KubeCli struct {
// contains filtered or unexported fields
}
func NewKubeCli ¶ added in v0.1.4
func NewKubeCli(conf config.KubeConfig) (*KubeCli, []string, error)
Click to show internal directories.
Click to hide internal directories.