Documentation
¶
Index ¶
Constants ¶
View Source
const ( IntervalCreateRetry = time.Second * 30 IntervalRefresh = time.Second * 30 IntervalConnected = time.Second * 60 IntervalDisconnected = time.Second * 10 )
Intervals
View Source
const ( JiraCloud = "jira-cloud" JiraServer = "jira-server" JiraDataCenter = "jira-datacenter" )
Tracker types
Variables ¶
View Source
var (
Log = logging.WithName("tickets")
)
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector interface { // With updates the connector with the tracker model. With(t *model.Tracker) // Create a ticket in the external tracker. Create(t *model.Ticket) error // RefreshAll refreshes the status of all tickets. RefreshAll() (map[*model.Ticket]bool, error) // GetMetadata from the tracker (ticket types, projects, etc) GetMetadata() (model.Metadata, error) // TestConnection to the external ticket tracker. TestConnection() (bool, error) }
Connector is a connector for an external ticket tracker.
Click to show internal directories.
Click to hide internal directories.