defaulting

package
v0.0.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAnnotation

func WithAnnotation(key, value string) *annotation

func WithLabels

func WithLabels(key, value string) *label

Types

type Default

type Default interface {
	Apply(client.Object)
}

type Finalizer

type Finalizer string

func WithFinalizer

func WithFinalizer(finalizer string) Finalizer

func (Finalizer) Apply

func (n Finalizer) Apply(obj client.Object)

type Func

type Func func(client.Object)

type Name

type Name string

func RandomName

func RandomName() Name

func (Name) Apply

func (n Name) Apply(obj client.Object)

type Namespace

type Namespace string

func InNamespace

func InNamespace(namespace string) Namespace

func (Namespace) Apply

func (n Namespace) Apply(obj client.Object)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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