Documentation
¶
Overview ¶
Package functiontest holds an httptest-backed GitLab client for the builtin Function tests. It lives in a non-_test.go file so sibling packages' tests can import it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitlabClient ¶
NewGitlabClient returns a *gitlab.Client wired to an httptest server running handler, closed on cleanup. Retries are off: the upstream client retries 5xx five times with exponential backoff, stretching every error-path test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.