cmd

package
v1.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Populated at build time
	Version   = "dev" // Default value for development builds
	Commit    = "none"
	BuildDate = "unknown"
)

Functions

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

type MonitoringConfig

type MonitoringConfig struct {
	Enabled       bool   `json:"enabled"`
	Environment   string `json:"environment"`
	RetentionDays int    `json:"retentionDays"`
	AlertEmail    string `json:"alertEmail"`
}

MonitoringConfig represents the project-level monitoring configuration

type ServiceMonitoringConfig

type ServiceMonitoringConfig struct {
	Enabled         bool   `json:"enabled"`
	HealthCheckPath string `json:"healthCheckPath"`
	MetricsPort     int    `json:"metricsPort"`
	LogLevel        string `json:"logLevel"`
	AlertThresholds struct {
		ErrorRate      float64 `json:"errorRate"`
		ResponseTimeMs int     `json:"responseTimeMs"`
		CPUPercent     int     `json:"cpuPercent"`
	} `json:"alertThresholds"`
	Tags []string `json:"tags"`
}

ServiceMonitoringConfig represents service-level monitoring configuration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL