crds

package
v1.0.8-beta004 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTypeNotDetected = fmt.Errorf("type not detected")

Functions

func GenerateCRD

func GenerateCRD(namespace, path string) (string, error)

TODO find a way to use internal objects as YAML GenerateCRD generates CRDs based on directory of test files

func NewCRDTestsCmd added in v0.9.5

func NewCRDTestsCmd() *cobra.Command

func SanitizeName

func SanitizeName(path string) string

Types

type Test added in v0.9.5

type Test struct {
	Name      string
	Namespace string
	Content   string
	Type      string
}

Jump to

Keyboard shortcuts

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