mirror of
https://github.com/containers/podman.git
synced 2026-07-19 11:41:57 -04:00
Add podman farm build command that sends out builds to nodes defined in the farm, builds the images on the farm nodes, and pulls them back to the local machine to create a manifest list. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
36 lines
664 B
Go
36 lines
664 B
Go
package abi
|
|
|
|
import (
|
|
"sync"
|
|
|
|
"github.com/containers/podman/v4/libpod"
|
|
)
|
|
|
|
// Image-related runtime linked against libpod library
|
|
type ImageEngine struct {
|
|
Libpod *libpod.Runtime
|
|
FarmNode
|
|
}
|
|
|
|
// Container-related runtime linked against libpod library
|
|
type ContainerEngine struct {
|
|
Libpod *libpod.Runtime
|
|
}
|
|
|
|
// Container-related runtime linked against libpod library
|
|
type SystemEngine struct {
|
|
Libpod *libpod.Runtime
|
|
}
|
|
|
|
type FarmNode struct {
|
|
platforms sync.Once
|
|
platformsErr error
|
|
os string
|
|
arch string
|
|
variant string
|
|
nativePlatforms []string
|
|
emulatedPlatforms []string
|
|
}
|
|
|
|
var shutdownSync sync.Once
|