labelsync

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, client api.Client, opts Opts, now time.Time) error

Types

type Conf

type Conf struct {
	Default RepoConf `yaml:"default"`
}

type LabelDef

type LabelDef struct {
	Color       string `yaml:"color"`
	Name        string `yaml:"name"`
	Description string `yaml:"description"`
	Delete      bool   `yaml:"delete"`
}

type Opts

type Opts struct {
	Repo     string
	FilePath string
}

func (Opts) Validate

func (o Opts) Validate() error

type RepoConf

type RepoConf struct {
	Labels []LabelDef `yamls:"labels"`
}

Jump to

Keyboard shortcuts

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