refactor: compose deployment with pluggable spec resolver, basic test

This commit is contained in:
Pavel Sviderski committed 2025-03-19 16:28:17 +10:00
1 parent fb01604d21
commit 041d51b74f
10 files changed
+185 -15

No files matched your search

-3
View File
@@ -7,9 +7,6 @@ import (
)
func ServiceSpecFromCompose(name string, service types.ServiceConfig) (api.ServiceSpec, error) {
// TODO: resolve the image to a digest and supported platforms using an image resolver that broadcasts requests
// to all machines in the cluster.
// TODO: configure placement filter based on the supported platforms of the image.
spec := api.ServiceSpec{
Container: api.ContainerSpec{
Command: service.Command,