Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dockerfile ¶
type Dockerfile struct {
machinery.TemplateMixin
}
Dockerfile scaffolds a file that defines the containerized build process.
func (*Dockerfile) SetTemplateDefaults ¶
func (f *Dockerfile) SetTemplateDefaults() error
SetTemplateDefaults implements file.Template.
type GoMod ¶
type GoMod struct { machinery.TemplateMixin machinery.RepositoryMixin Dependencies map[string]string }
GoMod scaffolds a file that defines the project dependencies.
func (*GoMod) SetTemplateDefaults ¶
type Main ¶
type Main struct { machinery.TemplateMixin machinery.BoilerplateMixin machinery.DomainMixin machinery.RepositoryMixin machinery.ComponentConfigMixin }
Main adds API-specific scaffolding to main.go.
func (*Main) SetTemplateDefaults ¶
type MainUpdater ¶
type MainUpdater struct { machinery.RepositoryMixin machinery.MultiGroupMixin machinery.ResourceMixin // Flags to indicate which parts need to be included when updating the file WireResource, WireController, WireWebhook bool }
func (*MainUpdater) GetCodeFragments ¶
func (f *MainUpdater) GetCodeFragments() machinery.CodeFragmentsMap
func (*MainUpdater) GetIfExistsAction ¶
func (*MainUpdater) GetIfExistsAction() machinery.IfExistsAction
func (*MainUpdater) GetMarkers ¶
func (f *MainUpdater) GetMarkers() []machinery.Marker
func (*MainUpdater) GetPath ¶
func (*MainUpdater) GetPath() string
type Makefile ¶
type Makefile struct { machinery.TemplateMixin machinery.RepositoryMixin RootCmdName string CrdOptions string }
Makefile scaffolds the project Makefile.
func (*Makefile) SetTemplateDefaults ¶
type Readme ¶ added in v0.3.0
type Readme struct { machinery.TemplateMixin RootCmdName string }
Readme scaffolds a file that defines the templated README.md instructions for a custom workload.
func (*Readme) SetTemplateDefaults ¶ added in v0.3.0
SetTemplateDefaults implements file.Template.
Click to show internal directories.
Click to hide internal directories.