Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessExitError ¶
type ProcessExitError struct {
ExitCode int
}
func (*ProcessExitError) Error ¶
func (e *ProcessExitError) Error() string
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(cfg *ServerConfig) *Server
type ServerConfig ¶
type ServerConfig struct { Logger hclog.Logger AgentConfig *config.Config Namespace string // LogLevel is needed to set the internal Consul Template Runner's log level // to match the log level of Vault Agent. The internal Runner creates it's own // logger and can't be set externally or copied from the Template Server. // // LogWriter is needed to initialize Consul Template's internal logger to use // the same io.Writer that Vault Agent itself is using. LogLevel hclog.Level LogWriter io.Writer }
Click to show internal directories.
Click to hide internal directories.