bundle

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBundleController

func AddBundleController(ctx context.Context, mgr manager.Manager, opts Options) error

AddBundleController will register the Bundle controller with the controller-runtime Manager. The Bundle controller will reconcile Bundles on Bundle events, as well as when any related resource event in the Bundle source and target. The controller will only cache metadata for ConfigMaps and Secrets.

func ClientDisableCacheFor

func ClientDisableCacheFor() []client.Object

ClientDisableCacheFor returns resources which should only be watched within the Trust Namespace, and not at the cluster level.

func NewCacheFunc

func NewCacheFunc(opts Options) cache.NewCacheFunc

NewCacheFunc will return a multi-scoped controller-runtime NewCacheFunc where Secret resources will only be watched within the trust Namespace.

Types

type Options

type Options struct {
	// Log is the Bundle controller logger.
	Log logr.Logger
	// Namespace is the trust Namespace that source data can be referenced.
	Namespace string
}

Options hold options for the Bundle controller.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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