Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api interface { GetContainers(ctx context.Context, filter model.ContainerFilter) ([]model.Container, error) GetContainer(ctx context.Context, id string) (model.Container, error) CreateContainer(ctx context.Context, container model.Container) (id string, err error) StartContainer(ctx context.Context, id string) error StopContainer(ctx context.Context, id string) (jobId string, err error) RestartContainer(ctx context.Context, id string) (jobId string, err error) RemoveContainer(ctx context.Context, id string, force bool) error GetContainerLog(ctx context.Context, id string, logOptions model.LogFilter) (io.ReadCloser, error) ContainerExec(ctx context.Context, id string, exeConf model.ExecConfig) (string, error) GetImages(ctx context.Context, filter model.ImageFilter) ([]model.Image, error) GetImage(ctx context.Context, id string) (model.Image, error) AddImage(ctx context.Context, img string) (jobId string, err error) RemoveImage(ctx context.Context, id string) error GetNetworks(ctx context.Context) ([]model.Network, error) GetNetwork(ctx context.Context, id string) (model.Network, error) CreateNetwork(ctx context.Context, net model.Network) (string, error) RemoveNetwork(ctx context.Context, id string) error GetVolumes(ctx context.Context, filter model.VolumeFilter) ([]model.Volume, error) GetVolume(ctx context.Context, id string) (model.Volume, error) CreateVolume(ctx context.Context, vol model.Volume) (string, error) RemoveVolume(ctx context.Context, id string, force bool) error job_hdl_lib.Api srv_info_lib.Api }
Click to show internal directories.
Click to hide internal directories.