config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: MIT Imports: 3 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 {
	BaseWorkingDirectory string
	WorkingDirectoryFile string
	TargetGroups         []*TargetGroup
	DriftDetection       *DriftDetection
}

func Read

func Read(fs afero.Fs) (*Config, error)

func (*Config) GetWorkingDirectoryFile

func (cfg *Config) GetWorkingDirectoryFile() string

type DriftDetection

type DriftDetection struct {
	NumOfIssues    int `yaml:"num_of_issues"`
	Duration       int
	IssueRepoOwner string `yaml:"issue_repo_owner"`
	IssueRepoName  string `yaml:"issue_repo_name"`
}

type TargetGroup

type TargetGroup struct {
	WorkingDirectory string `yaml:"working_directory"`
	Target           string
}

Jump to

Keyboard shortcuts

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