controller

package
v0.0.0-...-4f52191 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateResourceDefinition

func CreateResourceDefinition(
	clientset apiextclient.Interface,
	resourcedef *apiextv1beta1.CustomResourceDefinition,
) error

func CreateTestResourceDefinition

func CreateTestResourceDefinition(clientset apiextclient.Interface) error

func WaitForCRDReady

func WaitForCRDReady(listFunc func(opts metav1.ListOptions) (runtime.Object, error)) error

Attribution: Prometheus Operator WaitForCRDReady waits until a CRD specified by a given listfunc exists.

Types

type TestListWatcher

type TestListWatcher struct {
	TestsCli *versioned.Clientset

	AddFunc    func(test *v1alpha1.Test)
	DeleteFunc func(test *v1alpha1.Test)
	UpdateFunc func(oldTest, newTest *v1alpha1.Test)
}

func (*TestListWatcher) Run

func (watcher *TestListWatcher) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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