apiexport

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 36 Imported by: 4

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func GenerateIdentitySecret

func GenerateIdentitySecret(ctx context.Context, 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 kubernetesclient.Interface,
	namespaceInformer coreinformers.NamespaceInformer,
	secretInformer coreinformers.SecretInformer,
) (*controller, error)

NewController returns a new controller for APIExports.

Types

type APIExport added in v0.8.0

type APIExport = apisv1alpha1.APIExport

type APIExportSpec added in v0.8.0

type APIExportSpec = apisv1alpha1.APIExportSpec

type APIExportStatus added in v0.8.0

type APIExportStatus = apisv1alpha1.APIExportStatus

type CommitFunc added in v0.8.0

type CommitFunc = func(context.Context, *Resource, *Resource) error

type Resource added in v0.8.0

Jump to

Keyboard shortcuts

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