Documentation ¶
Index ¶
- type RemoteNetworkPlugin
- func (plugin *RemoteNetworkPlugin) Event(name string, details map[string]interface{})
- func (plugin *RemoteNetworkPlugin) Init(host network.Host) error
- func (plugin *RemoteNetworkPlugin) Name() string
- func (plugin *RemoteNetworkPlugin) SetUpPod(namespace string, name string, podInfraContainerID kubecontainer.DockerID, ...) error
- func (plugin *RemoteNetworkPlugin) Status(namespace string, name string, podInfraContainerID kubecontainer.DockerID, ...) (*network.PodNetworkStatus, error)
- func (plugin *RemoteNetworkPlugin) TearDownPod(namespace string, name string, podInfraContainerID kubecontainer.DockerID, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteNetworkPlugin ¶
type RemoteNetworkPlugin struct {
// contains filtered or unexported fields
}
func NewRemoteNetworkPlugin ¶
func NewRemoteNetworkPlugin(provider networkprovider.Interface) *RemoteNetworkPlugin
func (*RemoteNetworkPlugin) Event ¶ added in v0.4.0
func (plugin *RemoteNetworkPlugin) Event(name string, details map[string]interface{})
func (*RemoteNetworkPlugin) Init ¶
func (plugin *RemoteNetworkPlugin) Init(host network.Host) error
Init initializes the plugin. This will be called exactly once before any other methods are called.
func (*RemoteNetworkPlugin) Name ¶
func (plugin *RemoteNetworkPlugin) Name() string
Name returns the plugin's name. This will be used when searching for a plugin by name, e.g.
func (*RemoteNetworkPlugin) SetUpPod ¶
func (plugin *RemoteNetworkPlugin) SetUpPod(namespace string, name string, podInfraContainerID kubecontainer.DockerID, containerRuntime string) error
SetUpPod is the method called after the infra container of the pod has been created but before the other containers of the pod are launched.
func (*RemoteNetworkPlugin) Status ¶
func (plugin *RemoteNetworkPlugin) Status(namespace string, name string, podInfraContainerID kubecontainer.DockerID, containerRuntime string) (*network.PodNetworkStatus, error)
Status is the method called to obtain the ipv4 or ipv6 addresses of the container
func (*RemoteNetworkPlugin) TearDownPod ¶
func (plugin *RemoteNetworkPlugin) TearDownPod(namespace string, name string, podInfraContainerID kubecontainer.DockerID, containerRuntime string) error
TearDownPod is the method called before a pod's infra container will be deleted
Click to show internal directories.
Click to hide internal directories.