crd

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIsDirKey        = "apis"
	CRDsDirKey        = "crds"
	DefaultCRDVersion = "v1beta1"
)

Variables

This section is empty.

Functions

func NewCRDGo

func NewCRDGo(cfg gen.Config, crdVersion string) gen.Generator

NewCRDGo returns a CRD generator configured to generate CustomResourceDefintion manifests from Go API files.

func NewCRDNonGo

func NewCRDNonGo(cfg gen.Config, resource scaffold.Resource, crdVersion string) gen.Generator

NewCRDNonGo returns a CRD generator configured to generate a CustomResourceDefintion manifest from scratch using data in resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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