Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KCPInternalAPIs = []InternalAPI{ { Names: apiextensionsv1.CustomResourceDefinitionNames{ Plural: "namespaces", Singular: "namespace", Kind: "Namespace", }, GroupVersion: schema.GroupVersion{Group: "", Version: "v1"}, Instance: &corev1.Namespace{}, ResourceSope: apiextensionsv1.ClusterScoped, HasStatus: true, }, { Names: apiextensionsv1.CustomResourceDefinitionNames{ Plural: "configmaps", Singular: "configmap", Kind: "ConfigMap", }, GroupVersion: schema.GroupVersion{Group: "", Version: "v1"}, Instance: &corev1.ConfigMap{}, ResourceSope: apiextensionsv1.NamespaceScoped, }, { Names: apiextensionsv1.CustomResourceDefinitionNames{ Plural: "secrets", Singular: "secret", Kind: "Secret", }, GroupVersion: schema.GroupVersion{Group: "", Version: "v1"}, Instance: &corev1.Secret{}, ResourceSope: apiextensionsv1.NamespaceScoped, }, { Names: apiextensionsv1.CustomResourceDefinitionNames{ Plural: "serviceaccounts", Singular: "serviceaccount", Kind: "ServiceAccount", }, GroupVersion: schema.GroupVersion{Group: "", Version: "v1"}, Instance: &corev1.ServiceAccount{}, ResourceSope: apiextensionsv1.NamespaceScoped, }, }
KCPInternalAPIs provides a list of InternalAPI for the APIs that are part of the KCP scheme and will be there in every KCP workspace
View Source
var Schemas []*apisv1alpha1.APIResourceSchema
Schemas contains a list of internal APIs that should be exposed for the syncer of any SyncTarget.
Functions ¶
This section is empty.
Types ¶
type InternalAPI ¶
type InternalAPI struct { Names apiextensionsv1.CustomResourceDefinitionNames GroupVersion schema.GroupVersion Instance runtime.Object ResourceSope apiextensionsv1.ResourceScope HasStatus bool }
InternalAPI describes an API to be imported from some schemes and generated OpenAPI V2 definitions
Click to show internal directories.
Click to hide internal directories.