Documentation ¶
Index ¶
- Constants
- func Logger(v *viper.Viper) *slog.Logger
- func NewAaCmd(v *viper.Viper, fs afero.Fs) *cobra.Command
- func NewGenConfCmd(v *viper.Viper, fs afero.Fs) *cobra.Command
- func NewParamCmd(p *internal.ParamProfiler, v *viper.Viper, fs afero.Fs) *cobra.Command
- func NewRootCmd(v *viper.Viper, fs afero.Fs) *cobra.Command
- func NewScenarioCmd(p *internal.ScenarioProfiler, v *viper.Viper, fs afero.Fs) *cobra.Command
- func NewTransitionCmd(p *internal.TransitionProfiler, v *viper.Viper, fs afero.Fs) *cobra.Command
- func NewTrendCmd(p *internal.TrendProfiler, v *viper.Viper, fs afero.Fs) *cobra.Command
- type CliSlogHandler
- type MatchingGroupConf
Constants ¶
View Source
const TraceErrorKey = "trace_error"
Variables ¶
This section is empty.
Functions ¶
func NewGenConfCmd ¶ added in v1.14.0
func NewParamCmd ¶ added in v1.18.0
NewParamCmd returns the param command
func NewRootCmd ¶ added in v0.0.2
NewRootCmd returns the base command used when called without any subcommands
func NewScenarioCmd ¶ added in v1.3.0
NewScenarioCmd returns the scenario command
func NewTransitionCmd ¶ added in v0.1.0
NewTransitionCmd returns the transition command
func NewTrendCmd ¶ added in v1.18.0
NewTrendCmd returns the trend command
Types ¶
type CliSlogHandler ¶ added in v1.18.0
type CliSlogHandler struct {
// contains filtered or unexported fields
}
func NewCliSlogHandler ¶ added in v1.18.0
func NewCliSlogHandler(opts *slog.HandlerOptions) *CliSlogHandler
type MatchingGroupConf ¶ added in v1.14.0
type MatchingGroupConf struct {
MatchingGroups []string `toml:"matching_groups" yaml:"matching_groups" json:"matching_groups"`
}
Click to show internal directories.
Click to hide internal directories.