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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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