option

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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
	TemplateForTooLong string
	TemplateKey        string
	ConfigPath         string
	Args               []string
	Vars               map[string]string
	DryRun             bool
	SkipNoToken        bool
	Silent             bool
	SkipComment        bool
}

type PostOptions

type PostOptions struct {
	PRNumber           int
	Org                string
	Repo               string
	Token              string
	SHA1               string
	Template           string
	TemplateForTooLong string
	TemplateKey        string
	ConfigPath         string
	Vars               map[string]string
	DryRun             bool
	SkipNoToken        bool
	Silent             bool
}

Jump to

Keyboard shortcuts

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