Documentation ¶
Index ¶
- Constants
- type DefaultIssueServiceGetterImpl
- type IssueServiceDecorator
- func (decorator *IssueServiceDecorator) Create(issue *jira.Issue) (*jira.Issue, *jira.Response, error)
- func (decorator *IssueServiceDecorator) DoTransition(ticketID, transitionID string) (*jira.Response, error)
- func (decorator *IssueServiceDecorator) Get(issueID string, options *jira.GetQueryOptions) (*jira.Issue, *jira.Response, error)
- func (decorator *IssueServiceDecorator) GetTransitions(id string) ([]jira.Transition, *jira.Response, error)
- func (decorator *IssueServiceDecorator) Update(issue *jira.Issue) (*jira.Issue, *jira.Response, error)
- type IssueServiceGetter
- type IssueServiceInterface
- type OHSSIssue
- type OHSSService
Constants ¶
View Source
const ( JiraOHSSProjectKey = "OHSS" CustomFieldClusterID = "customfield_12316349" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultIssueServiceGetterImpl ¶
type DefaultIssueServiceGetterImpl struct {
// contains filtered or unexported fields
}
func (*DefaultIssueServiceGetterImpl) GetIssueService ¶
func (getter *DefaultIssueServiceGetterImpl) GetIssueService() (*jira.IssueService, error)
type IssueServiceDecorator ¶
type IssueServiceDecorator struct {
Getter IssueServiceGetter
}
func (*IssueServiceDecorator) Create ¶
func (decorator *IssueServiceDecorator) Create(issue *jira.Issue) (*jira.Issue, *jira.Response, error)
func (*IssueServiceDecorator) DoTransition ¶
func (decorator *IssueServiceDecorator) DoTransition(ticketID, transitionID string) (*jira.Response, error)
func (*IssueServiceDecorator) Get ¶
func (decorator *IssueServiceDecorator) Get(issueID string, options *jira.GetQueryOptions) (*jira.Issue, *jira.Response, error)
func (*IssueServiceDecorator) GetTransitions ¶
func (decorator *IssueServiceDecorator) GetTransitions(id string) ([]jira.Transition, *jira.Response, error)
func (*IssueServiceDecorator) Update ¶
func (decorator *IssueServiceDecorator) Update(issue *jira.Issue) (*jira.Issue, *jira.Response, error)
type IssueServiceGetter ¶
type IssueServiceGetter interface {
GetIssueService() (*jira.IssueService, error)
}
type IssueServiceInterface ¶
type IssueServiceInterface interface { Create(issue *jira.Issue) (*jira.Issue, *jira.Response, error) Get(issueID string, options *jira.GetQueryOptions) (*jira.Issue, *jira.Response, error) Update(issue *jira.Issue) (*jira.Issue, *jira.Response, error) GetTransitions(id string) ([]jira.Transition, *jira.Response, error) DoTransition(ticketID, transitionID string) (*jira.Response, error) }
var DefaultIssueService IssueServiceInterface = &IssueServiceDecorator{Getter: &DefaultIssueServiceGetterImpl{}}
type OHSSService ¶
type OHSSService struct {
// contains filtered or unexported fields
}
func NewOHSSService ¶
func NewOHSSService(client IssueServiceInterface) *OHSSService
Click to show internal directories.
Click to hide internal directories.