Documentation ¶
Index ¶
- Constants
- func New(_ runtime.Object, handle handle.PodFrameworkHandle) (framework.Plugin, error)
- type ExamplePlugin
- func (ep *ExamplePlugin) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, ...) *framework.Status
- func (a *ExamplePlugin) Name() string
- func (ep *ExamplePlugin) Score(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) (int64, *framework.Status)
- func (ep *ExamplePlugin) ScoreExtensions() framework.ScoreExtensions
Constants ¶
View Source
const Name = "Example"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExamplePlugin ¶
type ExamplePlugin struct {
// contains filtered or unexported fields
}
func (*ExamplePlugin) Name ¶
func (a *ExamplePlugin) Name() string
func (*ExamplePlugin) ScoreExtensions ¶
func (ep *ExamplePlugin) ScoreExtensions() framework.ScoreExtensions
ScoreExtensions of the Score plugin.
Click to show internal directories.
Click to hide internal directories.