prefernodeswithcache

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "PreferNodesWithCache"

Variables

This section is empty.

Functions

This section is empty.

Types

type PreferNodesWithCache

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

func NewPlugin

func NewPlugin(c client.Client) *PreferNodesWithCache

func (*PreferNodesWithCache) GetName

func (p *PreferNodesWithCache) GetName() string

func (*PreferNodesWithCache) Mutate

func (p *PreferNodesWithCache) Mutate(pod *corev1.Pod, runtimeInfos []base.RuntimeInfoInterface) (shouldStop bool, err error)

Jump to

Keyboard shortcuts

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