mark

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Marker

type Marker interface {
	Mark(ctx context.Context, obj metav1.Object) error
}

Marker knows how to mark Kubernetes resources.

var DummyMarker Marker = dummyMaker(0)

DummyMarker is a marker that doesn't do anything.

func NewLabelMarker

func NewLabelMarker(marks map[string]string) Marker

NewLabelMarker 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