diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-29 15:04:48 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-29 15:04:48 +0100 |
commit | fe38af05a84abc15243bacf55a63f6f9aae37a33 (patch) | |
tree | 6a8d7b4db7eb7c9a1409ebc6bbec9c24a5faa411 /bridge/core | |
parent | 68acfa519ab6656648d1e976db2a4190bbeb5f44 (diff) | |
download | git-bug-fe38af05a84abc15243bacf55a63f6f9aae37a33.tar.gz |
github: correct casing for user provided login
Diffstat (limited to 'bridge/core')
-rw-r--r-- | bridge/core/interfaces.go | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/bridge/core/interfaces.go b/bridge/core/interfaces.go index f20f1642..47dbd63b 100644 --- a/bridge/core/interfaces.go +++ b/bridge/core/interfaces.go @@ -13,26 +13,26 @@ type BridgeImpl interface { // Target return the target of the bridge (e.g.: "github") Target() string - // 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. - LoginMetaKey() string + // NewImporter return an Importer implementation if the import is supported + NewImporter() Importer - // The set of the BridgeParams fields supported - ValidParams() map[string]interface{} + // NewExporter return an Exporter implementation if the export is supported + NewExporter() Exporter // Configure handle the user interaction and return a key/value configuration // for future use Configure(repo *cache.RepoCache, params BridgeParams) (Configuration, error) + // The set of the BridgeParams fields supported + ValidParams() map[string]interface{} + // ValidateConfig check the configuration for error ValidateConfig(conf Configuration) error - // NewImporter return an Importer implementation if the import is supported - NewImporter() Importer - - // NewExporter return an Exporter implementation if the export is supported - NewExporter() Exporter + // 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. + LoginMetaKey() string } type Importer interface { |