Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulDebug ¶
type ConsulDebug struct {
Archive string `json:"archive"`
Duration string `json:"duration"`
Interval string `json:"interval"`
Captures []string `json:"captures"`
Redactions []*redact.Redact `json:"redactions"`
// contains filtered or unexported fields
}
ConsulDebug represents a ConsulDebug runner
func NewConsulDebug ¶
func NewConsulDebug(cfg ConsulDebugConfig, tmpDir string, debugDuration time.Duration, debugInterval time.Duration) (*ConsulDebug, error)
func (ConsulDebug) ID ¶
func (ConsulDebug) ID() string
func (ConsulDebug) Run ¶
func (dbg ConsulDebug) Run() op.Op
type ConsulDebugConfig ¶
type ConsulDebugConfig struct {
Archive string
Duration string
Interval string
Captures []string
Redactions []*redact.Redact
}
ConsulDebugConfig is a config struct for ConsulDebug runners
type NomadDebug ¶
type NomadDebug struct {
Duration string `json:"duration"`
Interval string `json:"interval"`
LogLevel string `json:"log_level"`
MaxNodes int `json:"max_nodes"`
NodeClass string `json:"node_class"`
NodeID string `json:"node_id"`
PprofDuration string `json:"pprof_duration"`
PprofInterval string `json:"pprof_interval"`
ServerID string `json:"server_id"`
Stale bool `json:"stale"`
Verbose bool `json:"verbose"`
EventTopic []string `json:"event_topic"`
Redactions []*redact.Redact `json:"redactions"`
// contains filtered or unexported fields
}
NomadDebug represents a NomadDebug runner
func NewNomadDebug ¶
func NewNomadDebug(cfg NomadDebugConfig, tmpDir string, debugDuration time.Duration, debugInterval time.Duration) (*NomadDebug, error)
func (NomadDebug) ID ¶
func (NomadDebug) ID() string
func (NomadDebug) Run ¶
func (dbg NomadDebug) Run() op.Op
type NomadDebugConfig ¶
type NomadDebugConfig struct {
Duration string
Interval string
LogLevel string
MaxNodes int
NodeClass string
NodeID string
PprofDuration string
PprofInterval string
ServerID string
Stale bool
Verbose bool
EventTopic []string
Redactions []*redact.Redact
}
NomadDebugConfig is a config struct for NomadDebug runners
type VaultDebug ¶
type VaultDebug struct {
Compress string `json:"compress"`
Duration string `json:"duration"`
Interval string `json:"interval"`
LogFormat string `json:"log_format"`
MetricsInterval string `json:"metrics_interval"`
Targets []string `json:"targets"`
Redactions []*redact.Redact `json:"redactions"`
// contains filtered or unexported fields
}
VaultDebug represents a VaultDebug runner
func NewVaultDebug ¶
func NewVaultDebug(cfg VaultDebugConfig, tmpDir string, debugDuration time.Duration, debugInterval time.Duration) (*VaultDebug, error)
func (VaultDebug) ID ¶
func (VaultDebug) ID() string
func (VaultDebug) Run ¶
func (dbg VaultDebug) Run() op.Op
Click to show internal directories.
Click to hide internal directories.