crd

package
v3.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsConversionFailed

func IsConversionFailed(err error) bool

IsConversionFailed asserts invalidConfigError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func ListV1

func ListV1() ([]v1.CustomResourceDefinition, error)

ListV1 loads all v1 CRDs from the virtual filesystem.

func ListV1Beta1

func ListV1Beta1() ([]v1beta1.CustomResourceDefinition, error)

ListV1Beta1 loads all v1beta1 CRDs from the virtual filesystem.

func LoadV1

func LoadV1(group, kind string) *v1.CustomResourceDefinition

LoadV1 loads a v1 CRD from the virtual filesystem

func LoadV1Beta1

func LoadV1Beta1(group, kind string) *v1beta1.CustomResourceDefinition

LoadV1Beta1 loads a v1beta1 CRD from the virtual filesystem.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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