Documentation
¶
Index ¶
- type Bug
- type Client
- func (client *Client) AddComment(id int, comment string) (bugInfo map[string]interface{}, err error)
- func (client *Client) BugHistory(id int) (bugInfo map[string]interface{}, err error)
- func (client *Client) BugInfo(id int) (bugInfo map[string]interface{}, err error)
- func (client *Client) BugList(limit int, offset int) ([]Bug, error)
- func (client *Client) BugsHistory(idList []int) (bugInfo map[string]interface{}, err error)
- func (client *Client) BugsInfo(idList []int) (bugInfo []map[string]interface{}, err error)
- func (client *Client) BugzillaVersion() (version string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bug ¶
type Bug struct { ID int URL string Product string Component string Assignee string Status string Resolution string Subject string Changed time.Time }
Bug bugzilla bug data structure
func NewBugFromBzBug ¶
NewBugFromBzBug constructor for Bug
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client bugzilla client
func NewClient ¶
func NewClient(bugzillaAddress string, bugzillaLogin string, bugzillaPassword string) (client *Client, err error)
NewClient creates bugzilla Client instance
func (*Client) AddComment ¶
func (client *Client) AddComment(id int, comment string) (bugInfo map[string]interface{}, err error)
AddComment adds comment for selected bugzilla ticket
func (*Client) BugHistory ¶
BugHistory returns history of selected bugzilla ticket
func (*Client) BugsHistory ¶
BugsHistory returns history of selected bugzilla tickets
func (*Client) BugzillaVersion ¶
BugzillaVersion returns Bugzilla version
Click to show internal directories.
Click to hide internal directories.