Documentation ¶
Overview ¶
Package bridge contains the high-level public functions to use and manage bridges
Index ¶
- func ConfiguredBridges(repo repository.RepoConfig) ([]string, error)
- func DefaultBridge(repo *cache.RepoCache) (*core.Bridge, error)
- func LoadBridge(repo *cache.RepoCache, name string) (*core.Bridge, error)
- func LoginMetaKey(target string) (string, error)
- func NewBridge(repo *cache.RepoCache, target string, name string) (*core.Bridge, error)
- func RemoveBridge(repo repository.RepoConfig, name string) error
- func Targets() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfiguredBridges ¶
func ConfiguredBridges(repo repository.RepoConfig) ([]string, error)
ConfiguredBridges return the list of bridge that are configured for the given repo
func DefaultBridge ¶
Attempt to retrieve a default bridge for the given repo. If zero or multiple bridge exist, it fails.
func LoadBridge ¶
LoadBridge instantiate a new bridge from a repo configuration
func LoginMetaKey ¶
LoginMetaKey return the metadata key used to store the remote bug-tracker login on the user identity. The corresponding value is used to match identities and credentials.
func RemoveBridge ¶
func RemoveBridge(repo repository.RepoConfig, name string) error
Remove a configured bridge
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package core contains the target-agnostic code to define and run a bridge
|
Package core contains the target-agnostic code to define and run a bridge |
Package github contains the Github bridge implementation
|
Package github contains the Github bridge implementation |
Package jira contains the Jira bridge implementation
|
Package jira contains the Jira bridge implementation |
Package launchpad contains the Launchpad bridge implementation
|
Package launchpad contains the Launchpad bridge implementation |
Click to show internal directories.
Click to hide internal directories.