Documentation
¶
Index ¶
- func IsItemNotFoundError(err error) bool
- func NewJira(host, username, password string) (*jira, error)
- func NewJiraFromConfig(servername string) (*jira, error)
- func NewReplicaItemServer(servers ...ItemServer) *replicas
- type Artifact
- type FetchedItem
- type Fields
- type Issue
- type IssueType
- type Item
- type ItemNotFoundError
- type ItemServer
- type QueryResult
- type Rally
- type RallyResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsItemNotFoundError ¶
func NewJiraFromConfig ¶
func NewReplicaItemServer ¶
func NewReplicaItemServer(servers ...ItemServer) *replicas
Types ¶
type Artifact ¶
type Artifact struct { ObjectType string `json:"_type"` Name string `json:"Name"` Description string `json:"Description"` Id string `json:"_refObjectUUID"` FormattedID string `json:"FormattedID"` }
func (*Artifact) GetDescription ¶
type FetchedItem ¶
type FetchedItem struct {
// contains filtered or unexported fields
}
func FetchItems ¶
func FetchItems(server ItemServer, ids ...string) []*FetchedItem
func (*FetchedItem) GetDescription ¶
func (f *FetchedItem) GetDescription() string
func (*FetchedItem) GetId ¶
func (f *FetchedItem) GetId() string
func (*FetchedItem) GetSummary ¶
func (f *FetchedItem) GetSummary() string
type Issue ¶
func (*Issue) GetDescription ¶
type ItemNotFoundError ¶
type ItemNotFoundError string
func (ItemNotFoundError) Error ¶
func (s ItemNotFoundError) Error() string
type ItemServer ¶
func NewCachingServer ¶
func NewCachingServer(server ItemServer) ItemServer
func NewItemServer ¶
func NewItemServer() (ItemServer, error)
func NewItemServerFromConfig ¶
func NewItemServerFromConfig(name config.ServerName) (ItemServer, error)
func SetupServer ¶
func SetupServer(t *testing.T, servername string) ItemServer
type QueryResult ¶
type QueryResult struct {
Artifacts []Artifact `json:"Results"`
}
type Rally ¶
type Rally struct {
// contains filtered or unexported fields
}
func NewRallyFromConfig ¶
type RallyResult ¶
type RallyResult struct {
QueryResult QueryResult `json:"QueryResult"`
}
Click to show internal directories.
Click to hide internal directories.