Documentation
¶
Overview ¶
Package templates contains the files which have templates for the files being output by the scaffolders.
Index ¶
Constants ¶
View Source
const ApplicationPropertiesTemplate = `` /* 792-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationPropertiesFile ¶
type ApplicationPropertiesFile struct { machinery.TemplateMixin OrgName string ProjectName string }
func (*ApplicationPropertiesFile) SetTemplateDefaults ¶
func (f *ApplicationPropertiesFile) SetTemplateDefaults() error
type GitIgnore ¶
type GitIgnore struct {
machinery.TemplateMixin
}
GitIgnore scaffolds the .gitignore file
func (*GitIgnore) SetTemplateDefaults ¶
SetTemplateDefaults implements input.Template
type Makefile ¶
type Makefile struct { machinery.TemplateMixin // Image is controller manager image name Image string // OS is the operating system to use for building the image OS string // Arch is the architecture to use for building the image Arch string // Kustomize version to use in the project KustomizeVersion string }
Makefile scaffolds the Makefile
func (*Makefile) SetTemplateDefaults ¶
SetTemplateDefaults implements machinery.Template
type OperatorFile ¶
type OperatorFile struct { machinery.TemplateMixin // Package is the source files package Package string // Name of the operator used for the main file. OperatorName string }
func (*OperatorFile) SetTemplateDefaults ¶
func (f *OperatorFile) SetTemplateDefaults() error
type PomXmlFile ¶
type PomXmlFile struct { machinery.TemplateMixin // Package is the source files package Package string ProjectName string OperatorVersion string }
func (*PomXmlFile) SetTemplateDefaults ¶
func (f *PomXmlFile) SetTemplateDefaults() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.