v1

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultObjectMetaLab = &objectMetaImpl{}
)

Functions

This section is empty.

Types

type Interface

type Interface interface {
	ObjectMeta() ObjectMetaLab
}

Interface provides access to all the informers in this group version.

func New

func New() Interface

New returns a new Interface.

type ObjectMetaLab

type ObjectMetaLab interface {
	// Merge only merges Labels and Annotations
	Merge(dst, src *metav1.ObjectMeta)
	// IsEqual only checks Labels and Annotations
	IsEqual(a, b *metav1.ObjectMeta) bool
}

ObjectMetaLab contains some utils for ObjectMeta

Jump to

Keyboard shortcuts

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