Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { machinery.TemplateMixin machinery.MultiGroupMixin machinery.BoilerplateMixin machinery.ResourceMixin machinery.ProjectNameMixin ControllerRuntimeVersion string PackageName string }
Controller scaffolds the file that defines the controller for a CRD or a builtin resource nolint:maligned
func (*Controller) SetTemplateDefaults ¶
func (f *Controller) SetTemplateDefaults() error
SetTemplateDefaults implements file.Template
type ControllerTest ¶
type ControllerTest struct { machinery.TemplateMixin machinery.MultiGroupMixin machinery.BoilerplateMixin machinery.ResourceMixin Port string PackageName string }
ControllerTest scaffolds the file that defines tests for the controller for a CRD or a builtin resource nolint:maligned
func (*ControllerTest) SetTemplateDefaults ¶
func (f *ControllerTest) SetTemplateDefaults() error
SetTemplateDefaults implements file.Template
Click to show internal directories.
Click to hide internal directories.