jiratarget

package
v0.1.63 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvAccessorCtor

func EnvAccessorCtor() pkgadapter.EnvConfigAccessor

EnvAccessorCtor for configuration parameters

func NewTarget

NewTarget creates a Jira target adapter

Types

type IssueGetRequest

type IssueGetRequest struct {
	ID      string               `json:"id"`
	Options jira.GetQueryOptions `json:"options"`
}

IssueGetRequest contains parameters for issue retrieval

type JiraAPIRequest

type JiraAPIRequest struct {
	Method  Method            `json:"method"`
	Path    string            `json:"path"`
	Query   map[string]string `json:"query"`
	Payload json.RawMessage   `json:"payload"`
}

JiraAPIRequest contains common parameters used for interacting with Jira using the API.

type Method

type Method string

Method performed on the API URI

const (
	MethodCreate Method = http.MethodPost
	MethodPut    Method = http.MethodPut
	MethodPatch  Method = http.MethodPatch
	MethodGet    Method = http.MethodGet
	MethodDelete Method = http.MethodDelete
)

Available actions at the JIRA API

Jump to

Keyboard shortcuts

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