Documentation ¶
Index ¶
- Variables
- func Generate(resourceYaml []byte, varName string, values ...interface{}) (string, error)
- func GenerateCode(files *manifests.Manifests, options *options.RBACOptions, ...) (string, error)
- func GenerateForManifests(manifests *manifests.Manifests, options *options.RBACOptions) (string, error)
- func GenerateYAML(files *manifests.Manifests) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTooManyValues = errors.New("only one value struct is allowed")
Functions ¶
func GenerateCode ¶ added in v0.2.0
func GenerateCode(files *manifests.Manifests, options *options.RBACOptions, values map[string]interface{}) (string, error)
GenerateCode will return the stdout form of unstructured go code, given a set of input manifests, in go struct format.
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.
Click to show internal directories.
Click to hide internal directories.