crds

package
v0.8.8-beta007 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 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 NewCRDScriptsCmd

func NewCRDScriptsCmd() *cobra.Command

func SanitizeName

func SanitizeName(path string) string

Types

type Script

type Script 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