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.
Click to show internal directories.
Click to hide internal directories.