run

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeGenerator

type CodeGenerator struct {

	// OutputFileBaseName is the base name used for output files
	OutputFileBaseName string
	// contains filtered or unexported fields
}

CodeGenerator generates code for Kubernetes resources and controllers

func (*CodeGenerator) AddControllerGenerator

func (g *CodeGenerator) AddControllerGenerator(generator codegen.ControllerGenerator) *CodeGenerator

AddControllerGenerator adds a controller generator that will be called with parsed controllers

func (*CodeGenerator) AddResourceGenerator

func (g *CodeGenerator) AddResourceGenerator(generator codegen.ResourceGenerator) *CodeGenerator

AddResourceGenerator adds a resource generator that will be called with parsed resources

func (*CodeGenerator) Execute

func (g *CodeGenerator) Execute() error

Execute parses packages and executes the code generators against the resource and controller packages

Jump to

Keyboard shortcuts

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