shortcut

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CTX_TIMEOUT = 5000 * time.Millisecond

Variables

This section is empty.

Functions

func GetAuth

func GetAuth() runtime.ClientAuthInfoWriter

func GetClient

func GetClient() *apiclient.ShortcutAPI

func GetEpic added in v1.2.0

func GetEpic(id int64) models.Epic

func GetMember added in v1.1.0

func GetMember(uuid strfmt.UUID) models.Member

func GetWorkflow added in v1.2.0

func GetWorkflow(id int64) models.Workflow

func RetrieveIteration added in v1.1.0

func RetrieveIteration(name string) models.IterationSlim

func StoriesByIteration added in v1.1.0

func StoriesByIteration(iterationID int64) []*models.StorySlim

Types

type EpicsStats

type EpicsStats struct {
	Name string

	StoriesUnstarted        int
	StoriesUnstartedPercent int
	StoriesStarted          int
	StoriesStartedPercent   int
	StoriesDone             int
	StoriesDonePercent      int

	EstimateUnstarted        int
	EstimateUnstartedPercent int
	EstimateStarted          int
	EstimateStartedPercent   int
	EstimateDone             int
	EstimateDonePercent      int

	WorkflowID map[int64]map[int64]WorkflowStats
}

func IncreaseEpicsEstimateCounter added in v1.4.0

func IncreaseEpicsEstimateCounter(storyWorkflowState WorflowInfo, epicsStats EpicsStats, estimate int) EpicsStats

func IncreaseEpicsStoriesCounter added in v1.5.0

func IncreaseEpicsStoriesCounter(storyWorkflowState WorflowInfo, epicsStats EpicsStats) EpicsStats

func SummaryEpicStat added in v1.2.0

func SummaryEpicStat(epic EpicsStats) EpicsStats

type GlobalEpicStats added in v1.6.0

type GlobalEpicStats struct {
	StoriesUnstarted        int
	StoriesUnstartedPercent int
	StoriesStarted          int
	StoriesStartedPercent   int
	StoriesDone             int
	StoriesDonePercent      int

	EstimateUnstarted        int
	EstimateUnstartedPercent int
	EstimateStarted          int
	EstimateStartedPercent   int
	EstimateDone             int
	EstimateDonePercent      int
}

func ComputeEpicGlobalStat added in v1.6.0

func ComputeEpicGlobalStat(global GlobalEpicStats, epic EpicsStats) GlobalEpicStats

type OwnerStats added in v1.3.0

type OwnerStats struct {
	UUID strfmt.UUID
	Load int64
}

func OrdererOwnersUUID added in v1.3.0

func OrdererOwnersUUID(ownersUUID map[strfmt.UUID]int64) []OwnerStats

type StoryPostponed

type StoryPostponed struct {
	Url    string
	Status string
	Count  int
}

type WorflowInfo added in v1.2.0

type WorflowInfo struct {
	Name string
	Type string
}

type WorkflowStats

type WorkflowStats struct {
	Count int
}

Jump to

Keyboard shortcuts

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