Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlagParser ¶
type FlagParser interface {
GetBool(string) (bool, error)
GetString(string) (string, error)
GetStringArray(string) ([]string, error)
GetStringToString(string) (map[string]string, error)
GetUint(name string) (uint, error)
Set(name, value string) error
}
FlagParser wraps pflag.FlagSet struct.
type Issue ¶
type Issue struct {
Project string
Flags FlagParser
// contains filtered or unexported fields
}
Issue is a query type for issue command.
type IssueParams ¶
type IssueParams struct {
Latest bool
Watching bool
Resolution string
IssueType string
Parent string
Status string
Priority string
Reporter string
Assignee string
Component string
Created string
Updated string
CreatedAfter string
UpdatedAfter string
CreatedBefore string
UpdatedBefore string
Labels []string
OrderBy string
Reverse bool
From uint
Limit uint
// contains filtered or unexported fields
}
IssueParams is issue command parameters.
type Sprint ¶
type Sprint struct {
Flags FlagParser
// contains filtered or unexported fields
}
Sprint is a query type for sprint command.
func NewSprint ¶
func NewSprint(flags FlagParser) (*Sprint, error)
NewSprint creates and initializes a new Sprint type.
func (*Sprint) Params ¶
func (s *Sprint) Params() *SprintParams
Params returns sprint command params.
Click to show internal directories.
Click to hide internal directories.