providers

package
v0.0.0-...-e75809f Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 12 Imported by: 1

Documentation

Index

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 ...

Jump to

Keyboard shortcuts

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