Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CniDir = "/etc/docker/cni/%s.d" CniPath = []string{ "/opt/cni/bin", "/var/lib/cni/bin", "/usr/local/sbin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/bin", "/bin", } )
Functions ¶
func CNIDel ¶
func CNIDel(state *DockerPluginState) error
Types ¶
type CNIExec ¶
type CNIExec struct {
// contains filtered or unexported fields
}
func NewCNIExec ¶
func NewCNIExec(state *DockerPluginState) (*CNIExec, error)
type DockerPluginState ¶
type DockerPluginState struct { ContainerID string HostConfig container.HostConfig Config container.Config Pid int }
func LookupPluginState ¶
func LookupPluginState(container types.ContainerJSON) (*DockerPluginState, error)
Click to show internal directories.
Click to hide internal directories.