controllers

package
v0.11.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 30 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, systemNamespace string, disableBootstrap bool) 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 cluster provides controllers for managing clusters: status changes, importing, bootstrapping.
Package cluster provides controllers for managing clusters: status changes, importing, bootstrapping.
Package clusterregistration implements manager-initiated and agent-initiated registration.
Package clusterregistration implements manager-initiated and agent-initiated registration.
Package clusterregistrationtoken provides a controller for ClusterRegistrationToken.
Package clusterregistrationtoken provides a controller for ClusterRegistrationToken.
Package config reads the initial global configuration.
Package config reads the initial global configuration.
Package manageagent provides a controller for managing the agent bundle.
Package manageagent provides a controller for managing the agent bundle.

Jump to

Keyboard shortcuts

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