schemagen

package
v4.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// DefaultDirWritePermissions default permissions when creating a directory
	DefaultDirWritePermissions = 0766
)

Variables

This section is empty.

Functions

func GenerateSchemas

func GenerateSchemas(resourceKinds []ResourceKind, out string) error

GenerateSchemas generates the schemas for the given kinds

Types

type ResourceKind

type ResourceKind struct {
	APIVersion string
	Name       string
	Resource   interface{}
}

ResourceKind defines a resource kind to have its schema generated

Jump to

Keyboard shortcuts

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