source

package
v0.0.0-...-48a44ca Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// APIVersionTag holds the API version of the resource.
	APIVersionTag tag.Key
	// GroupTag holds the group of the resource.
	GroupTag tag.Key
	// KindTag holds the kind of the resource.
	KindTag tag.Key
	// ErrorTag holds the error message of a handleEvent failure.
	ErrorTag tag.Key
)

Functions

func New

func New(k kube.Interfaces, resyncPeriod time.Duration, cfg *converter.Config) (runtime.Source, error)

New returns a Kubernetes implementation of runtime.Source.

func ProcessEvent

func ProcessEvent(cfg *converter.Config, spec kube.ResourceSpec, kind resource.EventKind, key resource.FullName, resourceVersion string,
	u *unstructured.Unstructured, ch chan resource.Event)

ProcessEvent process the incoming message and convert it to event

func VerifyResourceTypesPresence

func VerifyResourceTypesPresence(k kube.Interfaces) error

VerifyResourceTypesPresence verifies that all expected k8s resources types are present in the k8s apiserver.

Types

This section is empty.

Jump to

Keyboard shortcuts

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