-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#67: Experimenting with dynamic lang provider config loading & valida…
…tion
- Loading branch information
1 parent
c924140
commit 003691c
Showing
22 changed files
with
360 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package provider | ||
|
||
import ( | ||
"github.com/EinStack/glide/pkg/clients" | ||
"github.com/EinStack/glide/pkg/telemetry" | ||
) | ||
|
||
// TODO: ProviderConfig should be more generic, not tied to LangProviders | ||
type ProviderConfig interface { | ||
UnmarshalYAML(unmarshal func(interface{}) error) error | ||
ToClient(tel *telemetry.Telemetry, clientConfig *clients.ClientConfig) (LangProvider, error) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.