Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonOptions ¶
type CommonOptions struct {
VaultAddress string // VAULT_ADDR
Timeout time.Duration // VAULT_CLIENT_TIMEOUT
MaxRetries int // VAULT_MAX_RETRIES
RateLimit time.Duration
RateLimitBurst int
}
func (*CommonOptions) VaultApiConfig ¶
func (o *CommonOptions) VaultApiConfig() *api.Config
type CommonTemplateOptions ¶ added in v0.3.1
type CommonTemplateOptions struct {
Role string
// Template file to be rendered (deprecated)
TemplateFileName string
// Template file or directory to be rendered
TemplatePath string
// Location of output file or directory
OutputPath string
// Optional, for setting variables to test the templating without vault connection.
Variables map[string]string
}
func (*CommonTemplateOptions) IsValid ¶ added in v0.3.1
func (o *CommonTemplateOptions) IsValid() bool
IsValid returns true if some values are filled into the options.
Click to show internal directories.
Click to hide internal directories.