diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-26 17:25:35 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-26 17:25:35 +0300 |
commit | f7d89e372df5d4c59c1a175bb807578f4350391b (patch) | |
tree | cec57531a1ccbb023bdc2adf907ac4035e2ee9bf /internal/source/gitlab/api/lookup_path.go | |
parent | 204b225d2308a61586ad7557d1f2f86bebfe73e6 (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.go | 13 |
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"` + } +} |