Documentation ¶
Index ¶
- func CNIAdd(state *DockerPluginState) (*types.Result, error)
- func CNIDel(state *DockerPluginState) error
- func Main()
- func Poststop() error
- func Prestart() error
- func SetupHosts(state *DockerPluginState, cniResult *types.Result) error
- func SetupResolvConf(state *DockerPluginState) error
- type CNIExec
- type DockerPluginState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CNIDel ¶
func CNIDel(state *DockerPluginState) error
func SetupHosts ¶
func SetupHosts(state *DockerPluginState, cniResult *types.Result) error
func SetupResolvConf ¶
func SetupResolvConf(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 State specs.State Spec specs.Spec HostConfig container.HostConfig Config container.Config }
func ReadState ¶
func ReadState() (*DockerPluginState, error)
Click to show internal directories.
Click to hide internal directories.