start

package
v0.0.0-...-0a21a2a Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGather

func NewGather() *cobra.Command

NewGather create the command for running a single gather.

func NewGatherAndUpload

func NewGatherAndUpload() *cobra.Command

func NewManager

func NewManager(
	ctx context.Context,
	clientConfig *rest.Config,
	scheme *runtime.Scheme,
	namespace string,
	cancelFunc context.CancelFunc,
) (manager.Manager, error)

NewManager initializes and configures a controller-runtime manager that provides: - Secure metrics endpoint on :8443 with TLS from cluster APIServer profile - Health check endpoints (healthz on :8080, readyz on :8080) - TLS security profile watcher that triggers restart on TLS configuration changes

The function fetches the current TLS profile and adherence policy from the cluster's APIServer resource, applies it to the metrics server, and sets up a watcher to detect any changes. When TLS settings change, the provided cancelFunc is called to trigger operator restart.

func NewOperator

func NewOperator() *cobra.Command

NewOperator create the command for running the Insights Operator.

func NewReceiver

func NewReceiver() *cobra.Command

NewReceiver is a debug endpoint that allows testing of the status destination.

Types

This section is empty.

Jump to

Keyboard shortcuts

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