controller

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 18 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 FleetManager

type FleetManager struct {
	Kubeconfig       string `usage:"Kubeconfig file"`
	Namespace        string `usage:"namespace to watch" default:"cattle-fleet-system" env:"NAMESPACE"`
	DisableGitops    bool   `usage:"disable gitops components" name:"disable-gitops"`
	DisableBootstrap bool   `usage:"disable local cluster components" name:"disable-bootstrap"`
}

func (*FleetManager) Run

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

Directories

Path Synopsis
Package agent builds manifests for creating a managed fleet-agent.
Package agent builds manifests for creating a managed fleet-agent.
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.
Package controllers sets up the controllers for the fleet-controller.
Package controllers sets up the controllers for the fleet-controller.
bundle
Package bundle registers a controller for Bundle objects.
Package bundle registers a controller for Bundle objects.
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.
cluster
Package cluster provides controllers for managing clusters: status changes, importing, bootstrapping.
Package cluster provides controllers for managing clusters: status changes, importing, bootstrapping.
clustergroup
Package clustergroup provides a controller to update the ClusterGroup resource status.
Package clustergroup provides a controller to update the ClusterGroup resource status.
clusterregistration
Package clusterregistration implements manager-initiated and agent-initiated registration.
Package clusterregistration implements manager-initiated and agent-initiated registration.
clusterregistrationtoken
Package clusterregistrationtoken provides a controller for ClusterRegistrationToken.
Package clusterregistrationtoken provides a controller for ClusterRegistrationToken.
config
Package config reads the initial global configuration.
Package config reads the initial global configuration.
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.
display
Package display provides controllers that update the status fields on several resources.
Package display provides controllers that update the status fields on several resources.
git
Package git implements a controller that watches for GitRepo objects.
Package git implements a controller that watches for GitRepo objects.
image
Package image registers a controller for image scans.
Package image registers a controller for image scans.
manageagent
Package manageagent provides a controller for managing the agent bundle.
Package manageagent provides a controller for managing the agent bundle.
Package display accumulates the resources for the gitrepo status from bundles.
Package display accumulates the resources for the gitrepo status from bundles.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package options merges the BundleDeploymentOptions
Package options merges the BundleDeploymentOptions
Package secret gets or creates service account secrets for cluster registration.
Package secret gets or creates service account secrets for cluster registration.
Package summary provides a summary of a bundle's state.
Package summary provides a summary of a bundle'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