config

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Url                               string `json:"url" env-required:"true" env:"TMS_URL"`
	Token                             string `json:"privateToken" env-required:"true" env:"TMS_PRIVATE_TOKEN"`
	ProjectId                         string `json:"projectId" env-required:"true" env:"TMS_PROJECT_ID"`
	ConfigurationId                   string `json:"configurationId" env-required:"true" env:"TMS_CONFIGURATION_ID"`
	TestRunId                         string `json:"testRunId" env:"TMS_TEST_RUN_ID"`
	TestRunName                       string `json:"testRunName" env:"TMS_TEST_RUN_NAME"`
	AdapterMode                       string `json:"adapterMode" env:"TMS_ADAPTER_MODE" env-default:"0"`
	IsDebug                           bool   `json:"isDebug" env:"TMS_IS_DEBUG" env-default:"false"`
	AutomaticCreationTestCases        bool   `json:"automaticCreationTestCases" env:"TMS_AUTOMATIC_CREATION_TEST_CASES" env-default:"false"`
	AutomaticUpdationLinksToTestCases bool   `json:"automaticUpdationLinksToTestCases" env:"TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES" env-default:"false"`
	CertValidation                    bool   `json:"certValidation" env:"TMS_CERT_VALIDATION" env-default:"true"`
}

func MustLoad

func MustLoad() *Config

Jump to

Keyboard shortcuts

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