controllers

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, appCtx *AppContext) error

Types

type AppContext

type AppContext struct {
	fleetcontrollers.Interface

	K8s          kubernetes.Interface
	Core         corecontrollers.Interface
	RBAC         rbaccontrollers.Interface
	RESTMapper   meta.RESTMapper
	Apply        apply.Apply
	ClientConfig clientcmd.ClientConfig
	// contains filtered or unexported fields
}

func NewAppContext

func NewAppContext(cfg clientcmd.ClientConfig) (*AppContext, error)

func (*AppContext) Start

func (a *AppContext) Start(ctx context.Context) error

Directories

Path Synopsis
Package cleanup provides a controller that cleans up resources that are no longer needed.
Package cleanup provides a controller that cleans up resources that are no longer needed.

Jump to

Keyboard shortcuts

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