v1

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action func(podDisruptionBudget *core.Node) error

type Filter

type Filter func(podDisruptionBudget *core.Node) bool

type Inspector

type Inspector interface {
	gvk.GVK

	ListSimple() []*core.Node
	GetSimple(name string) (*core.Node, bool)
	Iterate(action Action, filters ...Filter) error
	Read() ReadInterface
}

type Interface

type Interface interface {
	ReadInterface
}

Interface has methods to work with Node resources.

type ReadInterface

type ReadInterface interface {
	Get(ctx context.Context, name string, opts meta.GetOptions) (*core.Node, error)
}

ReadInterface has methods to work with Node resources with ReadOnly mode.

Jump to

Keyboard shortcuts

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