Welcome to mirror list, hosted at ThFree Co, Russian Federation.

client.go « api « gitlab « source « internal - gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 181c580b4cee7cf21fbbf340d808b1518f78eab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package api

import (
	"context"
)

// Client represents an interface we use to retrieve information from GitLab
type Client interface {
	// Resolve retrieves an VirtualDomain from the GitLab API and wraps it into a Lookup
	GetLookup(ctx context.Context, domain string) Lookup

	// Status checks the connectivity with the GitLab API
	Status() error
}