2025-01-21 19:50:11 +01:00
|
|
|
/*
|
|
|
|
Copyright 2025 Peter Kurfer.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2024-12-13 09:09:14 +01:00
|
|
|
package supabase
|
|
|
|
|
2025-01-04 17:07:49 +01:00
|
|
|
import "fmt"
|
|
|
|
|
2024-12-13 09:09:14 +01:00
|
|
|
type ImageRef struct {
|
|
|
|
// The repository of the image
|
|
|
|
Repository string
|
|
|
|
// The tag of the image
|
|
|
|
Tag string
|
|
|
|
}
|
|
|
|
|
2025-01-04 17:07:49 +01:00
|
|
|
func (r ImageRef) String() string {
|
|
|
|
return fmt.Sprintf("%s:%s", r.Repository, r.Tag)
|
|
|
|
}
|
|
|
|
|
|
|
|
var Images = struct {
|
|
|
|
EdgeRuntime ImageRef
|
|
|
|
Envoy ImageRef
|
|
|
|
Gotrue ImageRef
|
|
|
|
ImgProxy ImageRef
|
|
|
|
PostgresMeta ImageRef
|
|
|
|
Postgrest ImageRef
|
|
|
|
Realtime ImageRef
|
|
|
|
Storage ImageRef
|
|
|
|
Studio ImageRef
|
|
|
|
}{
|
|
|
|
EdgeRuntime: ImageRef{
|
|
|
|
Repository: "supabase/edge-runtime",
|
2025-01-28 18:01:34 +01:00
|
|
|
Tag: "v1.66.5",
|
2024-12-13 09:09:14 +01:00
|
|
|
},
|
2025-01-04 17:07:49 +01:00
|
|
|
Envoy: ImageRef{
|
|
|
|
Repository: "envoyproxy/envoy",
|
2025-01-20 17:10:39 +01:00
|
|
|
Tag: "distroless-v1.33.0",
|
2025-01-04 17:07:49 +01:00
|
|
|
},
|
|
|
|
Gotrue: ImageRef{
|
2024-12-13 09:09:14 +01:00
|
|
|
Repository: "supabase/gotrue",
|
2025-01-20 17:10:39 +01:00
|
|
|
Tag: "v2.167.0",
|
2024-12-13 09:09:14 +01:00
|
|
|
},
|
2025-01-04 17:07:49 +01:00
|
|
|
ImgProxy: ImageRef{
|
2024-12-13 09:09:14 +01:00
|
|
|
Repository: "darthsim/imgproxy",
|
|
|
|
Tag: "v3.8.0",
|
|
|
|
},
|
2025-01-04 17:07:49 +01:00
|
|
|
PostgresMeta: ImageRef{
|
2024-12-13 09:09:14 +01:00
|
|
|
Repository: "supabase/postgres-meta",
|
|
|
|
Tag: "v0.84.2",
|
|
|
|
},
|
2025-01-04 17:07:49 +01:00
|
|
|
Postgrest: ImageRef{
|
2024-12-13 09:09:14 +01:00
|
|
|
Repository: "postgrest/postgrest",
|
|
|
|
Tag: "v12.2.0",
|
|
|
|
},
|
2025-01-04 17:07:49 +01:00
|
|
|
Realtime: ImageRef{
|
|
|
|
Repository: "supabase/realtime",
|
2025-01-28 18:01:34 +01:00
|
|
|
Tag: "v2.34.7",
|
2025-01-04 17:07:49 +01:00
|
|
|
},
|
|
|
|
Storage: ImageRef{
|
2024-12-13 09:09:14 +01:00
|
|
|
Repository: "supabase/storage-api",
|
2025-01-20 17:10:39 +01:00
|
|
|
Tag: "v1.14.5",
|
2024-12-13 09:09:14 +01:00
|
|
|
},
|
2025-01-04 17:07:49 +01:00
|
|
|
Studio: ImageRef{
|
2024-12-13 09:09:14 +01:00
|
|
|
Repository: "supabase/studio",
|
2025-01-20 17:10:39 +01:00
|
|
|
Tag: "20250113-83c9420",
|
2024-12-13 09:09:14 +01:00
|
|
|
},
|
|
|
|
}
|