manager

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package manager contains functions for configuring a controller manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForHub

func ForHub(setupLog logr.Logger, opts Options) (ctrl.Manager, error)

ForHub configures a manager instance for a Hub cluster.

func ForSpoke

func ForSpoke(setupLog logr.Logger, opts Options) (ctrl.Manager, error)

ForSpoke configures a manager instance for a Spoke cluster.

Types

type Options

type Options struct {
	MetricsAddr               string
	EnableLeaderElection      bool
	ProbeAddr                 string
	SecureMetrics             bool
	EnableHTTP2               bool
	UseWebhook                bool
	CertDir                   string
	WebhookPort               int
	SpokeConcurrentReconciles int
	InstanceType              string
	EnableLegacyControllers   bool
	EnableTopologyResources   bool
	Scheme                    *runtime.Scheme
}

Options are the options for configuring a controller manager

Jump to

Keyboard shortcuts

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