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

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

import "time"

// Config represents an interface that is configuration provider for client
// capable of comunicating with GitLab
type Config interface {
	InternalGitLabServerURL() string
	GitlabAPISecret() []byte
	GitlabClientConnectionTimeout() time.Duration
	GitlabJWTTokenExpiry() time.Duration
	DomainSourceConfig() string
}