Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Kubeconfig: "", Namespace: "default", PodPrefix: "grafana-agent", FakeRemoteWrite: false, SimulateErrors: false, ErrorPercentage: 0.01, ChaosFrequency: 30 * time.Minute, MutationFrequency: 5 * time.Minute, }
DefaultConfig holds defaults for Smoke settings.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Kubeconfig string Namespace string PodPrefix string FakeRemoteWrite bool SimulateErrors bool ErrorPercentage float64 ChaosFrequency time.Duration MutationFrequency time.Duration }
Config struct to pass configuration to the Smoke constructor.
func (*Config) RegisterFlags ¶
RegisterFlags registers flags for the config to the given FlagSet.
Click to show internal directories.
Click to hide internal directories.