matchers

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type MapMatcher

type MapMatcher map[schema.GroupKind]client.Object

func (MapMatcher) Create

func (m MapMatcher) Create(gk schema.GroupKind) client.Object

func (MapMatcher) Match

func (m MapMatcher) Match(gk schema.GroupKind) bool

type MatchFunc

type MatchFunc func(gk schema.GroupKind) bool

func (MatchFunc) Match

func (m MatchFunc) Match(gk schema.GroupKind) bool

type SourceMatcher

type SourceMatcher interface {
	Match(gk schema.GroupKind) bool
}

func And

func And(matchers ...SourceMatcher) SourceMatcher

func Not

func Not(matcher SourceMatcher) SourceMatcher

func Or

func Or(matchers ...SourceMatcher) SourceMatcher

Jump to

Keyboard shortcuts

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