common

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientArgs

type ClientArgs struct {
	// Client gives cached access to Kubernetes.
	Client client.Client

	// Namespace is the namespace we are running in.
	Namespace string

	// Identity is an identity client for RBAC access.
	Identity identityapi.ClientWithResponsesInterface
}

ClientArgs has the values needed to create handlers and clients. The general idea is these things should be either scalars or interfaces that can easily be mocked out in tests.

Jump to

Keyboard shortcuts

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