Documentation
¶
Index ¶
- func Run(logger hclog.Logger, options *Options) error
- type Options
- type VaultifyTemplate
- func (t *VaultifyTemplate) RenderToDirectory(templateDir string, outputDir string) (*secrets.Secrets, error)
- func (t *VaultifyTemplate) RenderToFile(templateFile string, outputFile string) (*secrets.Secrets, error)
- func (t *VaultifyTemplate) RenderToPath(options options.CommonTemplateOptions) (*secrets.Secrets, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { options.CommonOptions options.CommonTemplateOptions // Secrets file location, where the secret leases are stored SecretsOutputFileName string }
Options customizes the parameters of templating.
type VaultifyTemplate ¶
type VaultifyTemplate struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger hclog.Logger, secretReader secrets.SecretReader) *VaultifyTemplate
func (*VaultifyTemplate) RenderToDirectory ¶ added in v0.3.1
func (*VaultifyTemplate) RenderToFile ¶
func (*VaultifyTemplate) RenderToPath ¶ added in v0.3.1
func (t *VaultifyTemplate) RenderToPath(options options.CommonTemplateOptions) (*secrets.Secrets, error)
Click to show internal directories.
Click to hide internal directories.