Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Builder includes all types within the apis package Builder = runtime.NewSchemeBuilder( v1alpha5.SchemeBuilder.AddToScheme, ) // AddToScheme may be used to add all resources defined in the project to a Scheme AddToScheme = Builder.AddToScheme // Resources defined in the project Resources = map[schema.GroupVersionKind]resourcesemantics.GenericCRD{ v1alpha5.SchemeGroupVersion.WithKind("Provisioner"): &v1alpha5.Provisioner{}, } Settings = []settings.Injectable{&settings.Settings{}} )
View Source
var ( //go:embed crds/karpenter.sh_provisioners.yaml ProvisionerCRD []byte //go:embed crds/karpenter.sh_machines.yaml MachineCRD []byte CRDs = []*v1.CustomResourceDefinition{ lo.Must(functional.Unmarshal[v1.CustomResourceDefinition](ProvisionerCRD)), lo.Must(functional.Unmarshal[v1.CustomResourceDefinition](MachineCRD)), } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.