code

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTooManyValues = errors.New("only one value struct is allowed")

Functions

func Generate

func Generate(resourceYaml []byte, varName string, values ...interface{}) (string, error)

Generate generates unstructured go types for resources defined in yaml manifests.

func GenerateForManifests

func GenerateForManifests(manifests *manifests.Manifests, options *options.RBACOptions) (string, error)

GenerateForManifests generates code for a set of manifest objects.

Types

This section is empty.

Jump to

Keyboard shortcuts

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