controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionRecords = 3

	SuccessSynced = "Synced"

	// MessageResourceSynced is the message used for an Event fired when a Foo
	// is synced successfully
	MessageResourceSynced = "ObservabilityIndicant synced successfully"

	// RenderTemplateEventReason means there is an error in rendering the template via runtimeObject
	RenderTemplateEventReason = "RenderTemplateError"

	// FetchDataErrorEventReason  means that some data for the resource is fetched incorrectly
	FetchDataErrorEventReason = "FetchDataError"

	// FindResourceErrorEventReason  means that can not find resources by kind.
	FindResourceErrorEventReason = "FailedFindingResource"
)

Variables

This section is empty.

Functions

func NewController

func NewController(
	namespace string,
	kubeClientSet kubernetes.Interface,
	dynamicClient dynamic.Interface,
	observabilityClientSet clientset.Interface,
	podInformer coreinformers.PodInformer,
	observabilityInformer obiInformer.ObservabilityIndicantInformer,
	fetcher fetch.Fetcher,
) *controller

Types

This section is empty.

Jump to

Keyboard shortcuts

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