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

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

// LookupPath holds a domain project configuration needed to handle a request
type LookupPath struct {
	ServingType        string // Serving type being used, like `zip`
	Prefix             string // Project prefix, for example, /my/project in group.gitlab.io/my/project/index.html
	Path               string // Path is an internal and serving-specific location of a document
	SHA256             string
	IsNamespaceProject bool // IsNamespaceProject is DEPRECATED, see https://gitlab.com/gitlab-org/gitlab-pages/issues/272
	IsHTTPSOnly        bool
	HasAccessControl   bool
	ProjectID          uint64
	UniqueHost         string
}