mem

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrNotSupported

func ErrNotSupported(obj metav1.Object) error

ErrNotSupported will be used when the validating object is not supported.

Types

type Fixer

type Fixer interface {
	FixMemRequest(ctx context.Context, obj metav1.Object) (bool, error)
}

Fixer knows how to mark Kubernetes resources.

var DummyFixer Fixer = dummyMaker(0)

DummyFixer is a marker that doesn't do anything.

func NewMemRequestFixer

func NewMemRequestFixer() Fixer

NewLabelFixer returns a new marker that will mark with labels.

Jump to

Keyboard shortcuts

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