issuetracker

package
v0.0.0-...-c18e2da Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIssueTracker

func NewIssueTracker(ctx context.Context, cfg config.IssueTrackerConfig) (*issueTrackerImpl, error)

NewIssueTracker returns a new issueTracker object.

Types

type IssueTracker

type IssueTracker interface {
	// ListIssues sends a GET request to issuetracker api with the specified query parameter.
	// The response from the api is unmarshalled into the provided response object.
	ListIssues(ctx context.Context, requestObj ListIssuesRequest) ([]*issuetracker.Issue, error)
}

IssueTracker defines an interface for accessing issuetracker v1 api.

type ListIssuesRequest

type ListIssuesRequest struct {
	IssueIds []int `json:"issueIds"`
}

ListIssuesRequest defines the request object for ListIssues.

Jump to

Keyboard shortcuts

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