apis

package
v0.0.0-...-d7985ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 2

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.

Directories

Path Synopsis
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=karpenter.sh
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=karpenter.sh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL