Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/registry-facade-api/go/provider.go
2496 views
1
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package api
6
7
const (
8
// ProviderPrefixBase32 is the image repository prefix for base32 image spec.
9
// Unlike the other prefixes this one is so short and undescriptive to fit as much data into the
10
// 255 characters of a Docker repository name as possible.
11
ProviderPrefixBase32 = "c"
12
13
// ProviderPrefixRemote is the image repository prefix for remotely fetched image specs
14
ProviderPrefixRemote = "remote"
15
16
// ProviderPrefixFixed is the image repository prefix for fixed image spec. This is useful
17
// for debugging only.
18
ProviderPrefixFixed = "fixed"
19
)
20
21