Documentation ¶
Index ¶
- Constants
- func New(_ *runtime.Unknown, _ framework.FrameworkHandle) (framework.Plugin, error)
- type CommunicatingPlugin
- func (mc CommunicatingPlugin) Name() string
- func (mc CommunicatingPlugin) PreBind(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status
- func (mc CommunicatingPlugin) Reserve(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status
Constants ¶
View Source
const Name = "multipoint-communicating-plugin"
Name is the name of the plugin used in Registry and configurations.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommunicatingPlugin ¶
type CommunicatingPlugin struct{}
CommunicatingPlugin is an example of a plugin that implements two extension points. It communicates through state with another function.
func (CommunicatingPlugin) Name ¶
func (mc CommunicatingPlugin) Name() string
Name returns name of the plugin. It is used in logs, etc.
Click to show internal directories.
Click to hide internal directories.