Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigTemplate ¶
type ConfigTemplate struct { FileTemplate `mapstructure:",squash"` PemFilePath string `mapstructure:"pem_filepath"` }
for configs `filepath`, must be relative to config_dir for configs `pem_filepath` must be relative to pem_dir
func (*ConfigTemplate) DeleteTemplate ¶ added in v1.0.5
func (t *ConfigTemplate) DeleteTemplate(answerData map[string]interface{}) error
func (*ConfigTemplate) WriteTemplate ¶
type FileTemplate ¶
type FileTemplate struct { Template `mapstructure:",squash"` FilePath string `mapstructure:"filepath"` }
func (*FileTemplate) DeleteTemplate ¶ added in v1.0.5
func (t *FileTemplate) DeleteTemplate(answerData map[string]interface{}) error
func (*FileTemplate) WriteTemplate ¶
func (t *FileTemplate) WriteTemplate(answerData map[string]interface{}, dryRun bool) (map[string]interface{}, error)
type PacTemplate ¶ added in v1.0.8
type PacTemplate struct {
FileTemplate `mapstructure:",squash"`
}
func (*PacTemplate) WriteTemplate ¶ added in v1.0.8
func (t *PacTemplate) WriteTemplate(answerDataList []map[string]interface{}, dryRun bool) (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.