plugins

package
v0.0.0-...-e1f032c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "sample-scheduler"

Name 插件名称

Variables

This section is empty.

Functions

func New

func New(obj runtime.Object, handle framework.Handle) (framework.Plugin, error)

Types

type Sample

type Sample struct {
	// contains filtered or unexported fields
}

func (*Sample) Name

func (s *Sample) Name() string

func (*Sample) PreFilter

func (s *Sample) PreFilter(ctx context.Context, state *framework.CycleState, p *v1.Pod) *framework.Status

func (*Sample) PreFilterExtensions

func (s *Sample) PreFilterExtensions() framework.PreFilterExtensions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL