Documentation ¶
Overview ¶
Package scaffold contains libraries for scaffolding code to use with controller-runtime
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scaffold ¶
type Scaffold struct { // BoilerplatePath is the path to the boilerplate file BoilerplatePath string // Boilerplate is the contents of the boilerplate file for code generation Boilerplate string BoilerplateOptional bool // Project is the project Project input.ProjectFile ProjectOptional bool // ProjectPath is the relative path to the project root ProjectPath string GetWriter func(path string) (io.Writer, error) }
Scaffold writes Templates to scaffold new files
Click to show internal directories.
Click to hide internal directories.