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.BoilerplateMixin machinery.RepositoryMixin machinery.ResourceMixin PackageName string RBACRules *[]workloadv1.RBACRule OwnershipRules *[]workloadv1.OwnershipRule HasChildResources bool IsStandalone bool IsComponent bool Collection *workloadv1.WorkloadCollection }
Controller scaffolds the workload's controller.
func (*Controller) SetTemplateDefaults ¶
func (f *Controller) SetTemplateDefaults() error
type Phases ¶ added in v0.5.0
type Phases struct { machinery.TemplateMixin machinery.BoilerplateMixin machinery.RepositoryMixin machinery.ResourceMixin PackageName string }
Controller scaffolds the workload's controller.
func (*Phases) SetTemplateDefaults ¶ added in v0.5.0
type SuiteTest ¶ added in v0.5.0
type SuiteTest struct { machinery.TemplateMixin machinery.MultiGroupMixin machinery.BoilerplateMixin machinery.ResourceMixin // 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 ¶ added in v0.5.0
func (f *SuiteTest) GetCodeFragments() machinery.CodeFragmentsMap
GetCodeFragments implements file.Inserter.
func (*SuiteTest) GetMarkers ¶ added in v0.5.0
GetMarkers implements file.Inserter.
func (*SuiteTest) SetTemplateDefaults ¶ added in v0.5.0
SetTemplateDefaults implements file.Template.
Click to show internal directories.
Click to hide internal directories.