config

package
v0.0.0-...-d70162c Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package config provides configuration service structure and utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Runner *RunnerCfg
	Logger *LoggerCfg
}

Config represent service config.

type LoggerCfg

type LoggerCfg struct {
	Level string
}

LoggerCfg logger config section.

type RunnerCfg

type RunnerCfg struct {
	Name     string
	URL      string
	Token    string
	Executor string
	Tags     []string
	Interval time.Duration
}

RunnerCfg gitlab-runner config section.

Jump to

Keyboard shortcuts

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