Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CNPCRDName is the full name of the CNP CRD. CNPCRDName = k8sconstv2.CNPKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // CCNPCRDName is the full name of the CCNP CRD. CCNPCRDName = k8sconstv2.CCNPKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // CEPCRDName is the full name of the CEP CRD. CEPCRDName = k8sconstv2.CEPKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // CIDCRDName is the full name of the CID CRD. CIDCRDName = k8sconstv2.CIDKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // CNCRDName is the full name of the CN CRD. CNCRDName = k8sconstv2.CNKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // CEWCRDName is the full name of the CEW CRD. CEWCRDName = k8sconstv2.CEWKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // CLRPCRDName is the full name of the CLRP CRD. CLRPCRDName = k8sconstv2.CLRPKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // CEGPCRDName is the full name of the CEGP CRD. CEGPCRDName = k8sconstv2.CEGPKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // CESCRDName is the full name of the CES CRD. CESCRDName = k8sconstv2alpha1.CESKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // CCECCRDName is the full name of the CCEC CRD. CCECCRDName = k8sconstv2.CCECKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // CECCRDName is the full name of the CEC CRD. CECCRDName = k8sconstv2.CECKindDefinition + "/" + k8sconstv2.CustomResourceDefinitionVersion // BGPPCRDName is the full name of the BGPP CRD. BGPPCRDName = k8sconstv2alpha1.BGPPKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // BGPClusterConfigCRDName is the full name of the BGP Cluster Config CRD. BGPClusterConfigCRDName = k8sconstv2alpha1.BGPCCKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // BGPPeerConfigCRDName is the full name of the BGP PeerConfig CRD. BGPPeerConfigCRDName = k8sconstv2alpha1.BGPPCKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // BGPAdvertisementCRDName is the full name of the BGP Advertisement CRD. BGPAdvertisementCRDName = k8sconstv2alpha1.BGPAKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // BGPNodeConfigCRDName is the full name of the BGP Node Config CRD. BGPNodeConfigCRDName = k8sconstv2alpha1.BGPNCKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // BGPNodeConfigOverrideCRDName is the full name of the BGP Node Config Override CRD. BGPNodeConfigOverrideCRDName = k8sconstv2alpha1.BGPNCOKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // LBIPPoolCRDName is the full name of the BGPPool CRD. LBIPPoolCRDName = k8sconstv2alpha1.PoolKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // CNCCRDName is the full name of the CiliumNodeConfig CRD. CNCCRDName = k8sconstv2alpha1.CNCKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // CCGCRDName is the full name of the CiliumCIDRGroup CRD. CCGCRDName = k8sconstv2alpha1.CCGKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // L2AnnouncementCRDName is the full name of the CiliumL2AnnouncementPolicy CRD. L2AnnouncementCRDName = k8sconstv2alpha1.L2AnnouncementKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion // CPIPCRDName is the full name of the CiliumPodIPPool CRD. CPIPCRDName = k8sconstv2alpha1.CPIPKindDefinition + "/" + k8sconstv2alpha1.CustomResourceDefinitionVersion )
Variables ¶
This section is empty.
Functions ¶
func CreateCustomResourceDefinitions ¶
func CreateCustomResourceDefinitions(clientset apiextensionsclient.Interface) error
CreateCustomResourceDefinitions creates our CRD objects in the Kubernetes cluster.
func CustomResourceDefinitionList ¶
Returns a map of CRDs
func GetPregeneratedCRD ¶
func GetPregeneratedCRD(crdName string) apiextensionsv1.CustomResourceDefinition
GetPregeneratedCRD returns the pregenerated CRD based on the requested CRD name. The pregenerated CRDs are generated by the controller-gen tool and serialized into binary form by go-bindata. This function retrieves CRDs from the binary form.
func RegisterCRDs ¶
RegisterCRDs registers all CRDs with the K8s apiserver.
Types ¶
Click to show internal directories.
Click to hide internal directories.