types

package
v0.1.12 Latest Latest
Warning

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

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

Documentation

Overview

The types package declares types used by the controller package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleFnProvider

HandleFnProvider returns cache.ResourceEventHandler that may enqueue messages

type ReconcileFn

type ReconcileFn func(ReconcileKey) error

ReconcileFn takes the key of an object and reconciles its desired and observed state.

type ReconcileKey

type ReconcileKey struct {
	// Namespace is the namespace of the object.  Empty for non-namespaced objects.
	Namespace string

	// Name is the name of the object.
	Name string
}

ReconcileKey provides a lookup key for a Kubernetes object.

func ParseReconcileKey

func ParseReconcileKey(key string) (ReconcileKey, error)

ParseReconcileKey returns the ReconcileKey that has been encoded into a string.

func (ReconcileKey) String

func (r ReconcileKey) String() string

Jump to

Keyboard shortcuts

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