Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface {
// Name returns the network plugin's name.
Name() string
// SetupContainerNetwork sets up the networking for a container
SetupContainerNetwork(containerID string) error
// RemoveContainerNetwork is the method called before a container using the network plugin can be deleted
RemoveContainerNetwork(containerID string) error
// Status returns error if the network plugin is in error state
Status() error
}
Plugin describes a generic network plugin
Click to show internal directories.
Click to hide internal directories.