controller

package
v0.0.0-...-ac82891 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 30 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerController

type DockerController struct {
	// contains filtered or unexported fields
}

func (*DockerController) ContainerAllStats

func (ctr *DockerController) ContainerAllStats() map[string]container.ContainerStatus

func (*DockerController) ContainerCreate

func (ctr *DockerController) ContainerCreate(cb container2.ContainerCreateBody) (string, error)

func (*DockerController) ContainerProfile

func (ctr *DockerController) ContainerProfile(ExtContainerID string) (container.ContainerProfile, error)

func (*DockerController) ContainerRemove

func (ctr *DockerController) ContainerRemove(ExtContainerID string) error

func (*DockerController) ContainerStart

func (ctr *DockerController) ContainerStart(ExtContainerID string) error

func (*DockerController) ContainerStats

func (ctr *DockerController) ContainerStats(ExtContainerID string) (container.ContainerStatus, error)

func (*DockerController) ContainerStop

func (ctr *DockerController) ContainerStop(ExtContainerID string) error

func (*DockerController) GetHostInfo

func (ctr *DockerController) GetHostInfo() hosts.HostInfo

func (*DockerController) GetResourceAvailable

func (ctr *DockerController) GetResourceAvailable() *resource.ResourceAvailable

func (*DockerController) ImageList

func (ctr *DockerController) ImageList() ([]image.ImageListItem, error)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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