Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigHelp = "(Re)creates deployment configuration files" ConfigHelpExtra = `` /* 787-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func CreateDirAndFiles ¶
CreateDirAndFiles creates the base directory and (re-)creates the deployment files according to the given template. Use a truthy value for force to override existing files.
Types ¶
type TemplateFunctions ¶
type TemplateFunctions struct {
// contains filtered or unexported fields
}
func (*TemplateFunctions) GetFuncMap ¶
func (tf *TemplateFunctions) GetFuncMap() template.FuncMap
GetFuncMap returns the template function map with context
func (*TemplateFunctions) ReadSecret ¶
func (tf *TemplateFunctions) ReadSecret(name string) (string, error)
ReadSecret reads a secret file from the secrets directory and returns it base64 encoded
Click to show internal directories.
Click to hide internal directories.