Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractTokenFromNetrc ¶
ExtractTokenFromNetrc attempts to find credentials for the given host in .netrc file
func NormalizeInstanceURL ¶
NormalizeInstanceURL ensures the instance URL has a proper format
Types ¶
type APIError ¶
type APIError struct {
Message string `json:"message"`
}
APIError represents an error from the GitLab API
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a GitLab API client
type LintRequest ¶
type LintRequest struct {
Content string `json:"content"`
DryRun bool `json:"dry_run,omitempty"`
IncludeJobs bool `json:"include_jobs,omitempty"`
}
LintRequest represents the request body for the GitLab CI lint API
Click to show internal directories.
Click to hide internal directories.