jiragithub

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommitMessage   = "jira-github-integ github actions workflow, created by DevStream"
	BuilderFileName = "jira-github-integ.yml"
)

Variables

This section is empty.

Functions

func BuildReadState

func BuildReadState(path string) map[string]interface{}

func BuildState

func BuildState(owner, repo string) map[string]interface{}

func Create

func Create(options map[string]interface{}) (map[string]interface{}, error)

Create sets up jira-github-integ workflows.

func Delete

func Delete(options map[string]interface{}) (bool, error)

Delete remove jira-github-integ workflows.

func Read

func Read(options map[string]interface{}) (map[string]interface{}, error)

Read get jira-github-integ workflows.

func Update

func Update(options map[string]interface{}) (map[string]interface{}, error)

Update remove and set up jira-github-integ workflows.

Types

type Options

type Options struct {
	Owner          string `validate:"required_without=Org"`
	Org            string `validate:"required_without=Owner"`
	Repo           string `validate:"required"`
	JiraBaseUrl    string `validate:"required"`
	JiraUserEmail  string `validate:"required"`
	JiraProjectKey string `validate:"required"`
	Branch         string `validate:"required"`
}

Options is the struct for configurations of the jiragithub plugin.

Jump to

Keyboard shortcuts

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