crd

package
v0.4.20 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

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 added in v0.4.1

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

ListV1 loads all v1 CRDs from the virtual filesystem.

func ListV1Beta1 added in v0.4.1

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