cmd

package
v0.0.0-...-4d5e60a Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ERROR = iota
	PRIVATE
	PUBLIC
)

Variables

This section is empty.

Functions

func Execute

func Execute()

func ShowRepos

func ShowRepos(cfg Config)

func UsageMessage

func UsageMessage()

Types

type Config

type Config struct {
	PublicRepos struct {
		Url []string `yaml:"urls,flow"`
	} `yaml:"public"`
	PrivateRepos struct {
		Url []string `yaml:"urls,flow"`
	} `yaml:"private"`
	Opsgenie struct {
		Api string `yaml:"api"`
	} `yaml:"opsgenie" binding:"required"`
}

type GitCheckResult

type GitCheckResult struct {
	Result   int
	Url      string
	Expected int
	Error    error
	Check    bool
}

func NewGitChecker

func NewGitChecker(url string, expected int, res int, err error, check bool) GitCheckResult

Jump to

Keyboard shortcuts

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