config

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

internal/infrastructure/config/config.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath() string

Types

type Config

type Config struct {
	GitLabURL       string        `yaml:"gitlab_url"`
	Token           string        `yaml:"token"`
	Projects        []string      `yaml:"projects"`
	RefreshInterval time.Duration `yaml:"refresh_interval"`
	PipelineLimit   int           `yaml:"pipeline_limit"`
}

func Load

func Load(path string) (*Config, error)

func RunSetupWizard

func RunSetupWizard() (*Config, error)

func (*Config) Save

func (c *Config) Save(path string) error

Jump to

Keyboard shortcuts

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