controller

package
v0.10.0-rc.20 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Overview

Package controller starts the fleet controller.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func App() *cobra.Command

Types

type BindAddresses added in v0.10.0

type BindAddresses struct {
	Metrics     string
	HealthProbe string
}

type ControllerReconcilerWorkers added in v0.10.0

type ControllerReconcilerWorkers struct {
	GitRepo          int
	Bundle           int
	BundleDeployment int
}

type FleetManager

type FleetManager struct {
	command.DebugConfig
	Kubeconfig     string `usage:"Kubeconfig file"`
	Namespace      string `usage:"namespace to watch" default:"cattle-fleet-system" env:"NAMESPACE"`
	DisableMetrics bool   `usage:"disable metrics" name:"disable-metrics"`
	ShardID        string `usage:"only manage resources labeled with a specific shard ID" name:"shard-id"`
}

func (*FleetManager) PersistentPre added in v0.10.0

func (f *FleetManager) PersistentPre(_ *cobra.Command, _ []string) error

func (*FleetManager) Run

func (f *FleetManager) Run(cmd *cobra.Command, args []string) error

Directories

Path Synopsis
agent
Package agent builds manifests for creating a managed fleet-agent.
Package agent builds manifests for creating a managed fleet-agent.
connection
Package connection provides a connection to a Kubernetes cluster, used when importing a cluster.
Package connection provides a connection to a Kubernetes cluster, used when importing a cluster.
controllers/cluster
Package cluster provides controllers for managing clusters: status changes, importing, bootstrapping.
Package cluster provides controllers for managing clusters: status changes, importing, bootstrapping.
controllers/clusterregistration
Package clusterregistration implements manager-initiated and agent-initiated registration.
Package clusterregistration implements manager-initiated and agent-initiated registration.
controllers/clusterregistrationtoken
Package clusterregistrationtoken provides a controller for ClusterRegistrationToken.
Package clusterregistrationtoken provides a controller for ClusterRegistrationToken.
controllers/config
Package config reads the initial global configuration.
Package config reads the initial global configuration.
controllers/manageagent
Package manageagent provides a controller for managing the agent bundle.
Package manageagent provides a controller for managing the agent bundle.
secret
Package secret gets or creates service account secrets for cluster registration.
Package secret gets or creates service account secrets for cluster registration.
content
Package content purges orphaned content objects by inspecting bundledeployments in all namespaces.
Package content purges orphaned content objects by inspecting bundledeployments in all namespaces.
controllers/cleanup
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.
Package options merges the BundleDeploymentOptions, so that targetCustomizations take effect.
Package options merges the BundleDeploymentOptions, so that targetCustomizations take effect.
Package config reads the initial global configuration.
Package config reads the initial global configuration.
Package summary provides a summary of a bundle's, gitrepo's or cluster's state.
Package summary provides a summary of a bundle's, gitrepo's or cluster's state.
Package target provides functionality around building and deploying bundledeployments.
Package target provides functionality around building and deploying bundledeployments.

Jump to

Keyboard shortcuts

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