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

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-26 17:25:35 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-26 17:25:35 +0300
commitf7d89e372df5d4c59c1a175bb807578f4350391b (patch)
treecec57531a1ccbb023bdc2adf907ac4035e2ee9bf /internal/source/gitlab/api/lookup_path.go
parent204b225d2308a61586ad7557d1f2f86bebfe73e6 (diff)
Rename package that holds GitLab API response types
Diffstat (limited to 'internal/source/gitlab/api/lookup_path.go')
-rw-r--r--internal/source/gitlab/api/lookup_path.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/source/gitlab/api/lookup_path.go b/internal/source/gitlab/api/lookup_path.go
new file mode 100644
index 00000000..b0407638
--- /dev/null
+++ b/internal/source/gitlab/api/lookup_path.go
@@ -0,0 +1,13 @@
+package api
+
+// LookupPath represents a lookup path for a virtual domain
+type LookupPath struct {
+ ProjectID int `json:"project_id,omitempty"`
+ AccessControl bool `json:"access_control,omitempty"`
+ HTTPSOnly bool `json:"https_only,omitempty"`
+ Prefix string `json:"prefix,omitempty"`
+ Source struct {
+ Type string `json:"type,omitempty"`
+ Path string `json:"path,omitempty"`
+ }
+}