option

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComplementExec

func ComplementExec(opts *ExecOptions, getEnv func(string) string) error

func ComplementPost

func ComplementPost(opts *PostOptions, getEnv func(string) string) error

func IsCircleCI

func IsCircleCI(getEnv func(string) string) bool

func ValidateExec

func ValidateExec(opts ExecOptions) error

func ValidatePost

func ValidatePost(opts PostOptions) error

Types

type ExecOptions

type ExecOptions struct {
	PRNumber    int
	Org         string
	Repo        string
	Token       string
	SHA1        string
	Template    string
	TemplateKey string
	ConfigPath  string
	Args        []string
}

type PostOptions

type PostOptions struct {
	PRNumber    int
	Org         string
	Repo        string
	Token       string
	SHA1        string
	Template    string
	TemplateKey string
	ConfigPath  string
}

Jump to

Keyboard shortcuts

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