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 // IsLegacyLayout is added to ensure backwards compatibility and should // be removed when we remove the go/v3 plugin IsLegacyLayout bool 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 IsLegacyLayout bool 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.