prefernodeswithoutcache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "PreferNodesWithoutCache"

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(c client.Client, args string) (api.MutatingHandler, error)

Types

type PreferNodesWithoutCache

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

func (*PreferNodesWithoutCache) GetName

func (p *PreferNodesWithoutCache) GetName() string

func (*PreferNodesWithoutCache) Mutate

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

Jump to

Keyboard shortcuts

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