backend

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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)

func (DockerCli) GetInfo added in v0.1.2

func (docker DockerCli) GetInfo(ctx context.Context, cid string) types.Container

func (DockerCli) GetShell added in v0.1.4

func (docker DockerCli) GetShell(ctx context.Context, cid string) string

func (DockerCli) List

func (docker DockerCli) List(ctx context.Context) []types.Container

func (DockerCli) Restart added in v0.1.4

func (docker DockerCli) Restart(ctx context.Context, cid string) error

func (DockerCli) Start added in v0.1.4

func (docker DockerCli) Start(ctx context.Context, cid string) error

func (DockerCli) Stop added in v0.1.4

func (docker DockerCli) Stop(ctx context.Context, cid 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)

func (KubeCli) GetInfo added in v0.1.4

func (kube KubeCli) GetInfo(ctx context.Context, cid string) types.Container

func (KubeCli) GetShell added in v0.1.4

func (kube KubeCli) GetShell(ctx context.Context, cid string) string

func (KubeCli) List added in v0.1.4

func (kube KubeCli) List(ctx context.Context) []types.Container

func (KubeCli) Restart added in v0.1.4

func (kube KubeCli) Restart(ctx context.Context, cid string) error

func (KubeCli) Start added in v0.1.4

func (kube KubeCli) Start(ctx context.Context, cid string) error

func (KubeCli) Stop added in v0.1.4

func (kube KubeCli) Stop(ctx context.Context, cid string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL