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: 76e85cc4830247657366ede1cdabc92637cc3113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package client

import (
	"time"

	"gitlab.com/gitlab-org/gitlab-pages/internal/config"
)

// 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
	DomainConfigSource() string
	Cache() *config.Cache
}