Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIs ¶
type APIs struct { file.TemplateMixin file.BoilerplateMixin // BoilerplatePath is the path to the boilerplate file BoilerplatePath string // Comments is a list of comments to add to the apis.go Comments []string }
APIs scaffolds a apis.go to register types with a Scheme
func (*APIs) SetTemplateDefaults ¶
SetTemplateDefaults implements input.Template
type Cmd ¶
type Cmd struct { file.TemplateMixin file.RepositoryMixin file.BoilerplateMixin }
Cmd scaffolds a manager.go to run Controllers
func (*Cmd) SetTemplateDefaults ¶
SetTemplateDefaults implements input.Template
type Config ¶
type Config struct { file.TemplateMixin // Image is controller manager image name Image string }
Config scaffolds yaml config for the manager.
func (*Config) SetTemplateDefaults ¶
SetTemplateDefaults implements input.Template
type Controller ¶
type Controller struct { file.TemplateMixin file.BoilerplateMixin }
Controller scaffolds a controller.go to add Controllers to a manager.Cmd
func (*Controller) SetTemplateDefaults ¶
func (f *Controller) SetTemplateDefaults() error
SetTemplateDefaults implements input.Template
type Dockerfile ¶
type Dockerfile struct { file.TemplateMixin file.RepositoryMixin }
Dockerfile scaffolds a Dockerfile for building a main
func (*Dockerfile) SetTemplateDefaults ¶
func (f *Dockerfile) SetTemplateDefaults() error
SetTemplateDefaults implements input.Template
type Webhook ¶
type Webhook struct { file.TemplateMixin file.BoilerplateMixin }
Webhook scaffolds a webhook.go to add webhook server(s) to a manager.Cmd
func (*Webhook) SetTemplateDefaults ¶
SetTemplateDefaults implements input.Template
Source Files ¶
Click to show internal directories.
Click to hide internal directories.