objectkinds

package
v0.0.0-...-a161123 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Any represents the ObjectKind that matches any object.
	Any = "Any"
)
View Source
const (
	// DeploymentLike is the name of the DeploymentLike ObjectKind.
	DeploymentLike = "DeploymentLike"
)
View Source
const (
	// Service represents Kubernetes Service objects.
	Service = "Service"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher interface {
	Matches(gvk schema.GroupVersionKind) bool
}

A Matcher selects a certain subset of GVKs.

func ConstructMatcher

func ConstructMatcher(objectKinds ...string) (Matcher, error)

ConstructMatcher constructs a matcher that matches objects that fall into one of the given object kinds.

Jump to

Keyboard shortcuts

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