Documentation
¶
Index ¶
Constants ¶
View Source
const ClientTypeContainerd = "containerd"
View Source
const ClientTypeDocker = "docker"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { ClientType string // docker, containerd // contains filtered or unexported fields }
Component 组件
func NewContainer ¶
func NewContainer() *Component
func (*Component) GetActiveContainers ¶
func (c *Component) GetActiveContainers() (containerMap map[string]*manager.DockerInfo)
Click to show internal directories.
Click to hide internal directories.