kcp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// IdentityClusterName is the name of the logicalcluster that is backing the
	// current kcp workspace. Within each kcp workspace one can query for this
	// logicalcluster to resolve the workspace's path (e.g. "root:org1:teamx")
	// the logicalcluster name (e.g. "984235jkhwfowt45").
	IdentityClusterName = "cluster"
)

Variables

This section is empty.

Functions

func CreateAPIResourceSchema added in v0.3.0

func CreateAPIResourceSchema(crd *apiextensionsv1.CustomResourceDefinition, name string, agentName string) (*kcpdevv1alpha1.APIResourceSchema, error)

func GetAPIResourceSchemaName added in v0.3.0

func GetAPIResourceSchemaName(crd *apiextensionsv1.CustomResourceDefinition) string

GetAPIResourceSchemaName generates the name for the ARS in kcp. Note that kcp requires, just like CRDs, that ARS are named following a specific pattern.

Types

This section is empty.

Jump to

Keyboard shortcuts

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