Documentation
¶
Index ¶
- Constants
- type JIRAConfig
- type JIRAConnection
- func (c *JIRAConnection) GetSprint(sprintID string) *serializers.Sprint
- func (c *JIRAConnection) GetSprintTaskList(sprint serializers.Sprint) []serializers.Task
- func (c *JIRAConnection) GetTask(ticketKey string) (*serializers.Task, error)
- func (c *JIRAConnection) GetTaskList(ticketKeys []string) []serializers.Task
- func (c *JIRAConnection) GetTaskUrl(ticketKey string) string
- func (c *JIRAConnection) SanitizeTimeLogs(timeLogKeys []string) map[string]string
- func (c *JIRAConnection) ValidateConfig() error
- type JIRATaskProvider
- type PivotalConfig
- type PivotalConnection
- func (c *PivotalConnection) GetSprint(sprintID string) *serializers.Sprint
- func (c *PivotalConnection) GetSprintTaskList(sprint serializers.Sprint) []serializers.Task
- func (c *PivotalConnection) GetTask(ticketKey string) (*serializers.Task, error)
- func (c *PivotalConnection) GetTaskList(ticketKeys []string) []serializers.Task
- func (c *PivotalConnection) GetTaskUrl(ticketKey string) string
- func (c *PivotalConnection) SanitizeTimeLogs(timeLogKeys []string) map[string]string
- func (c *PivotalConnection) ValidateConfig() error
- type PivotalTaskProvider
Constants ¶
View Source
const FromDateJQLKeyword = "${fromDate}"
FromDateJQLKeyword ...
View Source
const SprintIDJQLKeyword = "${sprintID}"
SprintIDJQLKeyword ...
View Source
const (
TaskProviderJira = "jira"
)
TaskProviderJira ...
View Source
const TaskProviderPivotal = "pivotal"
TaskProviderPivotal ...
View Source
const ToDateJQLKeyword = "${toDate}"
ToDateJQLKeyword ...
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JIRAConfig ¶
type JIRAConfig struct { Credentials tasktracker.Credentials `json:"Credentials"` BaseURL string `json:"BaseURL"` BoardIds string `json:"BoardIds"` JQL string `json:"JQL"` EstimateField string `json:"EstimateField"` }
JIRAConfig ...
func (JIRAConfig) GetBaseURL ¶
func (config JIRAConfig) GetBaseURL() string
GetBaseURL returns the sanitized base URL.
type JIRAConnection ¶
type JIRAConnection struct {
// contains filtered or unexported fields
}
JIRAConnection ...
func (*JIRAConnection) GetSprint ¶
func (c *JIRAConnection) GetSprint(sprintID string) *serializers.Sprint
GetSprint ...
func (*JIRAConnection) GetSprintTaskList ¶
func (c *JIRAConnection) GetSprintTaskList(sprint serializers.Sprint) []serializers.Task
GetSprintTaskList ...
func (*JIRAConnection) GetTask ¶
func (c *JIRAConnection) GetTask(ticketKey string) (*serializers.Task, error)
GetTask ...
func (*JIRAConnection) GetTaskList ¶
func (c *JIRAConnection) GetTaskList(ticketKeys []string) []serializers.Task
GetTaskList ...
func (*JIRAConnection) GetTaskUrl ¶
func (c *JIRAConnection) GetTaskUrl(ticketKey string) string
GetTaskUrl ...
func (*JIRAConnection) SanitizeTimeLogs ¶
func (c *JIRAConnection) SanitizeTimeLogs(timeLogKeys []string) map[string]string
SanitizeTimeLogs ...
func (*JIRAConnection) ValidateConfig ¶
func (c *JIRAConnection) ValidateConfig() error
ValidateConfig ...
type JIRATaskProvider ¶
type JIRATaskProvider struct { }
JIRATaskProvider ...
func (*JIRATaskProvider) ConfigTemplate ¶
func (p *JIRATaskProvider) ConfigTemplate() (configMap map[string]interface{})
ConfigTemplate ...
func (*JIRATaskProvider) New ¶
func (p *JIRATaskProvider) New(config interface{}) tasktracker.Connection
New ...
type PivotalConfig ¶
type PivotalConfig struct { Credentials tasktracker.Credentials `json:"Credentials"` ProjectID string `json:"ProjectID"` }
PivotalConfig ...
type PivotalConnection ¶
type PivotalConnection struct {
// contains filtered or unexported fields
}
PivotalConnection ...
func (*PivotalConnection) GetSprint ¶
func (c *PivotalConnection) GetSprint(sprintID string) *serializers.Sprint
GetSprint ...
func (*PivotalConnection) GetSprintTaskList ¶
func (c *PivotalConnection) GetSprintTaskList(sprint serializers.Sprint) []serializers.Task
GetSprintTaskList ...
func (*PivotalConnection) GetTask ¶
func (c *PivotalConnection) GetTask(ticketKey string) (*serializers.Task, error)
GetTask ...
func (*PivotalConnection) GetTaskList ¶
func (c *PivotalConnection) GetTaskList(ticketKeys []string) []serializers.Task
GetTaskList ...
func (*PivotalConnection) GetTaskUrl ¶
func (c *PivotalConnection) GetTaskUrl(ticketKey string) string
GetTaskUrl ...
func (*PivotalConnection) SanitizeTimeLogs ¶
func (c *PivotalConnection) SanitizeTimeLogs(timeLogKeys []string) map[string]string
SanitizeTimeLogs ...
func (*PivotalConnection) ValidateConfig ¶
func (c *PivotalConnection) ValidateConfig() error
ValidateConfig validates if the provided API Token and ProjectID are correct
type PivotalTaskProvider ¶
type PivotalTaskProvider struct { }
PivotalTaskProvider ...
func (*PivotalTaskProvider) ConfigTemplate ¶
func (p *PivotalTaskProvider) ConfigTemplate() (configMap map[string]interface{})
ConfigTemplate ...
func (*PivotalTaskProvider) New ¶
func (p *PivotalTaskProvider) New(config interface{}) tasktracker.Connection
New ...
Click to show internal directories.
Click to hide internal directories.