crds

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRD

CRD returns an *apiextensionsv1.CustomResourceDefinition for the GroupResource specified by gr from fs. The embedded file's name must have the format <group>_<resource>.yaml.

func Create

Create creates the given CRDs using the target client and waits for all of them to become established in parallel. This call is blocking.

func CreateFromFS

CreateFromFS creates the given CRDs using the target client from the provided filesystem and waits for it to become established. This call is blocking.

func Unmarshal

func Unmarshal(fileName string, crd *apiextensionsv1.CustomResourceDefinition) error

Unmarshal YAML-decodes the give embedded file name into the target.

Types

This section is empty.

Jump to

Keyboard shortcuts

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