apiexport

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 39 Imported by: 4

Documentation

Index

Constants

View Source
const (
	DefaultIdentitySecretNamespace = "kcp-system"
)

Variables

This section is empty.

Functions

func GenerateIdentitySecret

func GenerateIdentitySecret(ns string, apiExportName string) (*corev1.Secret, error)

func IdentityHash

func IdentityHash(secret *corev1.Secret) (string, error)

func NewController

func NewController(
	kcpClusterClient kcpclient.Interface,
	apiExportInformer apisinformers.APIExportInformer,
	clusterWorkspaceShardInformer tenancyinformers.ClusterWorkspaceShardInformer,
	kubeClusterClient kubernetes.Interface,
	namespaceInformer coreinformers.NamespaceInformer,
	secretInformer coreinformers.SecretInformer,
) (*controller, error)

NewController returns a new controller for APIExports.

Types

This section is empty.

Jump to

Keyboard shortcuts

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