config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	BinaryName  string            `yaml:"binary-name" json:"binary-name"`
	BinaryPath  string            `yaml:"binary-path" json:"binary-path"`
	DockerImage string            `yaml:"docker-image" json:"docker-image"`
	Port        int               `yaml:"port" json:"port"`
	Environment map[string]string `yaml:"environment" json:"environment"`
}

type Config

type Config struct {
	Version       string              `yaml:"version" json:"version"`
	AppTechnology string              `yaml:"app-technology" json:"app-technology"`
	AppConfig     AppConfig           `yaml:"app-config" json:"app-config"`
	TestLauncher  string              `yaml:"test-launcher" json:"test-launcher"`
	TestConfig    TestConfig          `yaml:"test-config" json:"test-config"`
	ThirdParty    ThirdPartyConfig    `yaml:"third-party" json:"third-party"`
	Orchestration OrchestrationConfig `yaml:"orchestration" json:"orchestration"`
	Observability ObservabilityConfig `yaml:"observability" json:"observability"`
}

func DefaultConfig

func DefaultConfig() *Config

type ObservabilityConfig

type ObservabilityConfig struct {
	StructuredLogs bool   `yaml:"structured-logs" json:"structured-logs"`
	LogLevel       string `yaml:"log-level" json:"log-level"`
	MetricsEnabled bool   `yaml:"metrics-enabled" json:"metrics-enabled"`
	ReportFormat   string `yaml:"report-format" json:"report-format"`
}

type OrchestrationConfig

type OrchestrationConfig struct {
	ParallelMocks       bool          `yaml:"parallel-mocks" json:"parallel-mocks"`
	StartupTimeout      time.Duration `yaml:"startup-timeout" json:"startup-timeout"`
	HealthCheckInterval time.Duration `yaml:"health-check-interval" json:"health-check-interval"`
	HealthCheckRetries  int           `yaml:"health-check-retries" json:"health-check-retries"`
	CleanupOnFailure    bool          `yaml:"cleanup-on-failure" json:"cleanup-on-failure"`
	PreserveLogs        bool          `yaml:"preserve-logs" json:"preserve-logs"`
}

type TestConfig

type TestConfig struct {
	Tags         string `yaml:"tags" json:"tags"`
	FeaturesPath string `yaml:"features-path" json:"features-path"`
	ReportsPath  string `yaml:"reports-path" json:"reports-path"`
	Parallel     bool   `yaml:"parallel" json:"parallel"`
}

type ThirdPartyConfig

type ThirdPartyConfig struct {
	Mocks      []string               `yaml:"mocks" json:"mocks"`
	MockConfig map[string]interface{} `yaml:"mock-config" json:"mock-config"`
}

Jump to

Keyboard shortcuts

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