Documentation ¶
Index ¶
- type RemoteNetworkPlugin
- func (plugin *RemoteNetworkPlugin) Capabilities() utilsets.Int
- func (plugin *RemoteNetworkPlugin) Event(name string, details map[string]interface{})
- func (plugin *RemoteNetworkPlugin) GetPodNetworkStatus(namespace string, name string, podInfraContainerID kubecontainer.ContainerID, ...) (*network.PodNetworkStatus, error)
- func (plugin *RemoteNetworkPlugin) Init(host network.Host, hairpinMode componentconfig.HairpinMode, ...) error
- func (plugin *RemoteNetworkPlugin) Name() string
- func (plugin *RemoteNetworkPlugin) SetUpPod(namespace string, name string, podInfraContainerID kubecontainer.ContainerID, ...) error
- func (plugin *RemoteNetworkPlugin) Status() error
- func (plugin *RemoteNetworkPlugin) TearDownPod(namespace string, name string, podInfraContainerID kubecontainer.ContainerID, ...) 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) Capabilities ¶ added in v1.3.0
func (plugin *RemoteNetworkPlugin) Capabilities() utilsets.Int
func (*RemoteNetworkPlugin) Event ¶ added in v0.4.0
func (plugin *RemoteNetworkPlugin) Event(name string, details map[string]interface{})
func (*RemoteNetworkPlugin) GetPodNetworkStatus ¶ added in v1.3.0
func (plugin *RemoteNetworkPlugin) GetPodNetworkStatus(namespace string, name string, podInfraContainerID kubecontainer.ContainerID, containerRuntime string) (*network.PodNetworkStatus, error)
func (*RemoteNetworkPlugin) Init ¶
func (plugin *RemoteNetworkPlugin) Init(host network.Host, hairpinMode componentconfig.HairpinMode, nonMasqueradeCIDR string) 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.ContainerID, 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() error
func (*RemoteNetworkPlugin) TearDownPod ¶
func (plugin *RemoteNetworkPlugin) TearDownPod(namespace string, name string, podInfraContainerID kubecontainer.ContainerID, 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.