jirer

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.0.4

type Client struct {
	Client *jira.Client
}

Client - Jira Client

func New added in v0.0.4

func New(username, password string) (*Client, error)

New - creator for Jira Client

func (*Client) GetIssue added in v0.0.4

func (j *Client) GetIssue(key string, options *jira.GetQueryOptions) (*jira.Issue, *jira.Response, error)

GetIssue - returning Jira Issue

func (*Client) GetIssueLogTimeForTheLastWorkDay added in v0.0.4

func (j *Client) GetIssueLogTimeForTheLastWorkDay(cfg *utils.Config, issue jira.Issue) int

GetIssueLogTimeForTheLastWorkDay - ...

func (*Client) SearchIssue added in v0.0.4

func (j *Client) SearchIssue(jql string, options *jira.SearchOptions) ([]jira.Issue, *jira.Response, error)

SearchIssue - Searching for issues

type Jirer added in v0.0.4

type Jirer interface {
	SearchIssue(jql string, options *jira.SearchOptions) ([]jira.Issue, *jira.Response, error)
	GetIssue(key string, options *jira.GetQueryOptions) (*jira.Issue, *jira.Response, error)
	GetIssueLogTimeForTheLastWorkDay(cfg *utils.Config, issue jira.Issue) int
}

Jirer - interface for JiraClient

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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