contentmanager

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestConfigMapper

type RestConfigMapper func(context.Context, client.Object, *rest.Config) (*rest.Config, error)

type Watcher

type Watcher interface {
	// Watch will establish watches for resources owned by a ClusterExtension
	Watch(context.Context, controller.Controller, *v1alpha1.ClusterExtension, []client.Object) error
	// Unwatch will remove watches for a ClusterExtension
	Unwatch(*v1alpha1.ClusterExtension)
}

func New

func New(rcm RestConfigMapper, cfg *rest.Config, mapper meta.RESTMapper) Watcher

New creates a new ContentManager object

Jump to

Keyboard shortcuts

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