apis

package
v0.0.0-...-24a8654 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Builder includes all types within the apis package
	Builder = runtime.NewSchemeBuilder(
		v1alpha1.SchemeBuilder.AddToScheme,
	)
	// AddToScheme may be used to add all resources defined in the project to a Scheme
	AddToScheme = Builder.AddToScheme
)
View Source
var (
	//go:embed crds/events.amazonaws.com_eventrules.yaml
	EventRuleCRD []byte
	//go:embed crds/events.amazonaws.com_slacktargets.yaml
	SlackTargetCRD []byte
	CRDs           = []*v1.CustomResourceDefinition{
		lo.Must(Unmarshal[v1.CustomResourceDefinition](EventRuleCRD)),
	}
)

Functions

func Unmarshal

func Unmarshal[T any](raw []byte) (*T, error)

Types

This section is empty.

Directories

Path Synopsis
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=events.amazonaws.com
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=events.amazonaws.com

Jump to

Keyboard shortcuts

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