transform

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transform

func Transform(writer io.Writer, generator GeneratorFn) (err error)

Types

type GeneratorFn

type GeneratorFn func(tmpDir string) (*TransformOptions, error)

type TransformOptions

type TransformOptions struct {
	Resources    []string          `yaml:"resources,omitempty"`
	Namespace    string            `yaml:"namespace,omitempty"`
	CommonLabels map[string]string `yaml:"commonLabels,omitempty"`
}

func (*TransformOptions) Empty

func (o *TransformOptions) Empty() bool

Jump to

Keyboard shortcuts

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