Documentation ¶
Index ¶
- type NetworkPlugin
- func (np *NetworkPlugin) NodePrepareResources(ctx context.Context, request *drapb.NodePrepareResourcesRequest) (*drapb.NodePrepareResourcesResponse, error)
- func (np *NetworkPlugin) NodeUnprepareResources(ctx context.Context, request *drapb.NodeUnprepareResourcesRequest) (*drapb.NodeUnprepareResourcesResponse, error)
- func (np *NetworkPlugin) PublishResources(ctx context.Context)
- func (np *NetworkPlugin) RunPodSandbox(_ context.Context, pod *api.PodSandbox) error
- func (np *NetworkPlugin) Stop()
- func (np *NetworkPlugin) StopPodSandbox(ctx context.Context, pod *api.PodSandbox) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkPlugin ¶
type NetworkPlugin struct {
// contains filtered or unexported fields
}
func Start ¶
func Start(ctx context.Context, driverName string, kubeClient kubernetes.Interface, nodeName string) (*NetworkPlugin, error)
func (*NetworkPlugin) NodePrepareResources ¶
func (np *NetworkPlugin) NodePrepareResources(ctx context.Context, request *drapb.NodePrepareResourcesRequest) (*drapb.NodePrepareResourcesResponse, error)
func (*NetworkPlugin) NodeUnprepareResources ¶
func (np *NetworkPlugin) NodeUnprepareResources(ctx context.Context, request *drapb.NodeUnprepareResourcesRequest) (*drapb.NodeUnprepareResourcesResponse, error)
func (*NetworkPlugin) PublishResources ¶
func (np *NetworkPlugin) PublishResources(ctx context.Context)
func (*NetworkPlugin) RunPodSandbox ¶
func (np *NetworkPlugin) RunPodSandbox(_ context.Context, pod *api.PodSandbox) error
func (*NetworkPlugin) Stop ¶
func (np *NetworkPlugin) Stop()
func (*NetworkPlugin) StopPodSandbox ¶
func (np *NetworkPlugin) StopPodSandbox(ctx context.Context, pod *api.PodSandbox) error
Click to show internal directories.
Click to hide internal directories.