package
0.0.8
Repository: https://github.com/dinosk/go-git-providers.git
Documentation: pkg.go.dev

# Functions

NewClient creates a new gitlab.Client instance for GitLab API endpoints.
WithConditionalRequests instructs the client to use Conditional Requests to GitHub, asking GitHub whether a resource has changed (without burning your quota), and using an in-memory cached "database" if so.
WithDestructiveAPICalls tells the client whether it's allowed to do dangerous and possibly destructive actions, like e.g.
WithDomain initializes a Client for a custom GitLab instance of the given domain.
WithOAuth2Token initializes a Client which authenticates with GitLab through an OAuth2 token.
WithPostChainTransportHook registers a ChainableRoundTripperFunc "after" the cache and authentication transports in the chain.
WithPreChainTransportHook registers a ChainableRoundTripperFunc "before" the cache and authentication transports in the chain.

# Constants

DefaultDomain specifies the default domain used as the backend.
ProviderID is the provider ID for GitLab.

# Structs

Client is an interface that allows talking to a Git provider.
DeployKeyClient operates on the access deploy key list for a specific repository.
OrganizationsClient operates on the groups the user has access to.
OrgRepositoriesClient operates on repositories the user has access to.
TeamAccessClient operates on the teams list for a specific repository.
TeamsClient handles teams organization-wide.
UserRepositoriesClient operates on repositories the user has access to.

# Interfaces

ClientOption is the interface to implement for passing options to NewClient.