Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RunOptions ¶
type RunOptions interface {
// - Step 1: verify that the command can be run (e.g., go version, project version, arguments, ...)
Validate() error
// - Step 2: create the Scaffolder instance
GetScaffolder() (Scaffolder, error)
// - Step 3: call the Scaffold method of the Scaffolder instance. Doesn't need any method
// - Step 4: finish the command execution
PostScaffold() error
}
RunOptions represent the types used to implement the different commands
type Scaffolder ¶
type Scaffolder interface {
// Scaffold performs the scaffolding
Scaffold() error
}
Scaffolder interface creates files to set up a controller manager
Click to show internal directories.
Click to hide internal directories.