Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug bool `envconfig:"GITEA_DEBUG"` Trace bool `envconfig:"GITEA_TRACE"` Client Client Runner Runner Platform Platform }
Config provides the system configuration.
func FromEnviron ¶
FromEnviron returns the settings from the environment.
type Runner ¶
type Runner struct { UUID string `ignored:"true"` Name string `envconfig:"GITEA_RUNNER_NAME"` Token string `ignored:"true"` Capacity int `envconfig:"GITEA_RUNNER_CAPACITY" default:"1"` File string `envconfig:"GITEA_RUNNER_FILE" default:".runner"` Environ map[string]string `envconfig:"GITEA_RUNNER_ENVIRON"` EnvFile string `envconfig:"GITEA_RUNNER_ENV_FILE"` Labels []string `envconfig:"GITEA_RUNNER_LABELS"` }
Click to show internal directories.
Click to hide internal directories.