Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client wraps the GitLab API client.
func NewClient ¶
NewClient creates a new authenticated GitLab API client. It automatically selects the correct client type based on the stored auth method.
func NewClientFromHosts ¶ added in v0.0.9
NewClientFromHosts creates a client using the first authenticated host found in hosts.json.
func NewClientWithToken ¶
NewClientWithToken creates a new GitLab API client with the given token.
func NewOAuthClient ¶ added in v0.0.2
NewOAuthClient creates a new GitLab API client using an OAuth token.
Click to show internal directories.
Click to hide internal directories.