# Packages
No description provided by the author
# Functions
Client creates a new client with the given HTTP client.
FromRepoURL parses a URL of the form https://:authtoken@host/ and attempts to determine the driver and creates a client to authenticate to the endpoint.
Mapping adds a host,driver combination to the DriverIdentifier.
NewClient creates a new client for a given driver, serverURL and OAuth token.
NewClientFromEnvironment creates a new client using environment variables $GIT_KIND, $GIT_SERVER, $GIT_TOKEN defaulting to github if no $GIT_KIND or $GIT_SERVER.
NewClientWithBasicAuth creates a new client for a given driver, serverURL and basic auth.
NewDriverIdentifier creates and returns a new HostDriverIdentifier.
NewWebHookService creates a new instance of the webhook service without the rest of the client.
SetUsername allows the username to be set.
# Variables
DefaultIdentifier is the default driver identifier used by FromRepoURL.
ErrMissingGitServerURL the error returned if you use a git driver that needs a git server URL.
# Structs
No description provided by the author
# Type aliases
ClientOptionFunc is a function taking a client as its argument.
HostDriverIdentifier is a mapping of hostname to scm driver.
MappingFunc is a type for adding names to the list of mappings from hosts to drivers.