Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
Kubeconfig: "",
Namespace: "default",
PodPrefix: "grafana-agent",
FakeRemoteWrite: false,
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
ChaosFrequency time.Duration
MutationFrequency time.Duration
}
Config struct to pass configuration to the Smoke constructor.
func (*Config) RegisterFlags ¶
func (c *Config) RegisterFlags(f *flag.FlagSet)
RegisterFlags registers flags for the config to the given FlagSet.
type Smoke ¶
type Smoke struct {
// contains filtered or unexported fields
}
Smoke is the top level object for a smoke test.
func New ¶
func New(logger log.Logger, cfg Config) (*Smoke, error)
New is the constructor for a Smoke object.
Click to show internal directories.
Click to hide internal directories.