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 ControllerRuntimeVersion string Force bool }
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 SuiteTest ¶
type SuiteTest struct { machinery.TemplateMixin machinery.MultiGroupMixin machinery.BoilerplateMixin machinery.ResourceMixin // K8SVersion define the k8s version used to do the scaffold // so that is possible retrieve the binaries K8SVersion string // CRDDirectoryRelativePath define the Path for the CRD CRDDirectoryRelativePath string Force bool }
SuiteTest scaffolds the file that sets up the controller tests nolint:maligned
func (*SuiteTest) GetCodeFragments ¶
func (f *SuiteTest) GetCodeFragments() machinery.CodeFragmentsMap
GetCodeFragments implements file.Inserter
func (*SuiteTest) GetMarkers ¶
GetMarkers implements file.Inserter
func (*SuiteTest) SetTemplateDefaults ¶
SetTemplateDefaults implements file.Template
Click to show internal directories.
Click to hide internal directories.