Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAttachmentProcessor ¶ added in v0.47.1
func NewAttachmentProcessor(atc *config.Attachment) *attachmentProcessor
func NewSecretDecrypterProcessor ¶ added in v0.47.1
func NewSecretDecrypterProcessor(enc *config.SecretEncryption, dcr secretDecrypter) *secretDecrypterProcessor
Types ¶
type SourceProcessor ¶ added in v0.47.1
type SourceProcessor interface {
Process() error
}
func NewSourceProcessor ¶ added in v0.47.1
func NewSourceProcessor(appDir string, templateProcessors ...SourceTemplateProcessor) SourceProcessor
type SourceTemplateProcessor ¶ added in v0.47.1
type SourceTemplateProcessor interface {
// BuildTemplateData returns the data that will be used to template target files
BuildTemplateData(appDir string) (map[string]string, error)
// TemplateSource performs templating prepared data to the source files
TemplateSource(appDir string, data map[string](map[string]string)) error
// TemplateKey returns the key that will be used to store the data in the template
TemplateKey() string
}
Click to show internal directories.
Click to hide internal directories.