identitycache

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-api-export-identity-provider"

	ConfigMapName = "apiexport-identity-cache"
)

Variables

This section is empty.

Functions

func NewApiExportIdentityProviderController

func NewApiExportIdentityProviderController(
	kubeClusterClient kcpkubernetesclientset.ClusterInterface,
	globalAPIExportInformer apisv1alpha1informers.APIExportClusterInformer,
	configMapInformer kcpcorev1informers.ConfigMapClusterInformer,
) (*controller, error)

NewApiExportIdentityProviderController returns a new api export identity provider controller.

The controller reconciles APIExports for the root APIs and maintains a config map in the system:shard logical cluster with identities per exports specified in the group or the group resources maps.

The config map is meant to be used by clients/informers to inject the identities for the given GRs when making requests to the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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