config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultFileName = "rsnap-config.toml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	JiraCrd     *JiraCrd     `toml:"jira"`
	Projects    *Projects    `toml:"projects"`
	Epic        *Epic        `toml:"epic"`
	StatusNames *StatusNames `toml:"status_names"`
}

func LoadConfig

func LoadConfig(filepath string) (*Config, error)

type Epic

type Epic struct {
	CustomFieldStartDate string `toml:"start_date_field"`
}

type JiraCrd

type JiraCrd struct {
	User      string `toml:"user"`
	AccountID string `toml:"account_id"`
	BaseURL   string `toml:"base_url"`
	Token     string `toml:"token"`
}

type Projects

type Projects struct {
	Names []string `toml:"names"`
}

type StatusNames added in v0.3.0

type StatusNames struct {
	Done       []string `toml:"done"`
	InProgress []string `toml:"progress"`
	ToDo       []string `toml:"todo"`
}

Jump to

Keyboard shortcuts

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