Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdaptorInterface ¶
type Client ¶
type Client struct { Config *config.JiraConfig // contains filtered or unexported fields }
func (*Client) DashboardBytes ¶
func (*Client) GetAllBoards ¶
func (*Client) IssueIterator ¶
func (c *Client) IssueIterator(opts IssueIteratorOptions) (IssueIteratorInterface, error)
func (*Client) ProjectBytes ¶
type ClientInterface ¶
type ClientInterface interface { IssueIterator(opts IssueIteratorOptions) (IssueIteratorInterface, error) GetAllBoards(opt *jira.BoardListOptions) (*jira.BoardsList, *jira.Response, error) DashboardBytes() ([]byte, error) ProjectBytes() ([]byte, error) }
func NewClient ¶
func NewClient(cfg *config.JiraConfig, opts ...Option) (ClientInterface, error)
type FakeAdaptor ¶
type FakeAdaptor struct {
// contains filtered or unexported fields
}
func (*FakeAdaptor) GetAllBoards ¶
func (a *FakeAdaptor) GetAllBoards(opt *jira.BoardListOptions) (*jira.BoardsList, *jira.Response, error)
func (*FakeAdaptor) SearchIssuesWithContext ¶
func (a *FakeAdaptor) SearchIssuesWithContext(ctx context.Context, jql string, options *jira.SearchOptions) ([]jira.Issue, *jira.Response, error)
type IssueIterator ¶
type IssueIterator struct {
// contains filtered or unexported fields
}
type IssueIteratorInterface ¶
func NewIssueIterator ¶
func NewIssueIterator(ctx context.Context, adp AdaptorInterface, opts IssueIteratorOptions) (IssueIteratorInterface, error)
type IssueIteratorOptions ¶
type Option ¶
type Option func(*Client)
func InjectJiraAdaptorOption ¶
func InjectJiraAdaptorOption(adaptor AdaptorInterface) Option
Click to show internal directories.
Click to hide internal directories.