landscape

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "Landscape"
View Source
const ProjectConditionPrefix = "Project_"

Variables

View Source
var FakeClientMappingsForTesting = map[string]client.Client{}

This map is meant for testing purposes only. If the Landscape controller reads an inline kubeconfig from a Landscape resource, it tries to find the raw bytes as a key in this map. If found, the corresponding client will be used instead of constructing one from the bytes.

Functions

This section is empty.

Types

type LandscapeReconciler

type LandscapeReconciler struct {
	*shared.RuntimeConfiguration
	// TmpKubeconfigDir is a path to a directory where temporary kubeconfig files can be stored.
	// The directory will be created during startup, if it doesn't exist.
	TmpKubeconfigDir string
}

func (*LandscapeReconciler) Reconcile

func (*LandscapeReconciler) SetupWithManager

func (r *LandscapeReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager. Uses WatchesRawSource() instead of For() because it doesn't watch the primary cluster of the manager.

Jump to

Keyboard shortcuts

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