config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 2 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 {
	BaseURL      string `env:"GITLAB_BASE_URL" envDefault:"https://gitlab.com"`
	Token        string `env:"GITLAB_API_TOKEN"`
	RunnerStatus string `env:"GITLAB_RUNNER_STATUS" envDefault:"stale"`
	DryRun       bool   `env:"DRY_RUN" envDefault:"true"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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