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
// AnsibleOperatorVersion is the version of the Dockerfile's base image.
AnsibleOperatorVersion string
// These variables are always overwritten.
RolesDir string
PlaybooksDir string
}
Dockerfile scaffolds a Dockerfile for building a main
func (*Dockerfile) SetTemplateDefaults ¶
func (f *Dockerfile) SetTemplateDefaults() error
SetTemplateDefaults implements machinery.Template
type GitIgnore ¶
type GitIgnore struct {
machinery.TemplateMixin
}
GitIgnore scaffolds the .gitignore file
func (*GitIgnore) SetTemplateDefaults ¶
SetTemplateDefaults implements machinery.Template
type Makefile ¶
type Makefile struct {
machinery.TemplateMixin
// Image is controller manager image name
Image string
// Kustomize version to use in the project
KustomizeVersion string
// AnsibleOperatorVersion is the version of the ansible-operator binary downloaded by the Makefile.
AnsibleOperatorVersion string
}
Makefile scaffolds the Makefile
func (*Makefile) SetTemplateDefaults ¶
SetTemplateDefaults implements machinery.Template
type RequirementsYml ¶
type RequirementsYml struct {
machinery.TemplateMixin
}
RequirementsYml - A requirements file for Ansible collection dependencies
func (*RequirementsYml) SetTemplateDefaults ¶
func (f *RequirementsYml) SetTemplateDefaults() error
type Watches ¶
type Watches struct {
machinery.TemplateMixin
}
Watches scaffolds the watches.yaml file
func (*Watches) SetTemplateDefaults ¶
SetTemplateDefaults implements machinery.Template
type WatchesUpdater ¶
type WatchesUpdater struct {
machinery.ResourceMixin
GeneratePlaybook bool
GenerateRole bool
PlaybooksDir string
}
func (*WatchesUpdater) GetCodeFragments ¶
func (f *WatchesUpdater) GetCodeFragments() machinery.CodeFragmentsMap
func (*WatchesUpdater) GetIfExistsAction ¶
func (*WatchesUpdater) GetIfExistsAction() machinery.IfExistsAction
func (*WatchesUpdater) GetMarkers ¶
func (f *WatchesUpdater) GetMarkers() []machinery.Marker
func (*WatchesUpdater) GetPath ¶
func (*WatchesUpdater) GetPath() string
Click to show internal directories.
Click to hide internal directories.