config: dynamic attestation configuration through S3 backed API (#1808)

This commit is contained in:
Adrian Stobbe 2023-05-25 17:43:44 +01:00 committed by GitHub
parent 25211dc154
commit 0a6e5ec02e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
92 changed files with 1020 additions and 302 deletions

View file

@ -0,0 +1,22 @@
/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
package versionsapi
var (
// APIV1 is the v1 API version.
APIV1 = apiVersion{slug: "v1"}
// APIV2 is the v2 API version.
APIV2 = apiVersion{slug: "v2"}
)
type apiVersion struct {
slug string
}
func (v apiVersion) String() string {
return v.slug
}