mirror of
https://github.com/containers/podman.git
synced 2025-06-04 04:56:32 +08:00

Add the ability to cross-compile podman remote for OSX. Also, add image exists and tag to remote-client. Signed-off-by: baude <bbaude@redhat.com>
33 lines
986 B
Go
33 lines
986 B
Go
// +build !linux
|
|
|
|
package createconfig
|
|
|
|
import (
|
|
spec "github.com/opencontainers/runtime-spec/specs-go"
|
|
"github.com/opencontainers/runtime-tools/generate"
|
|
"github.com/pkg/errors"
|
|
)
|
|
|
|
func getSeccompConfig(config *CreateConfig, configSpec *spec.Spec) (*spec.LinuxSeccomp, error) {
|
|
return nil, errors.New("function not supported on non-linux OS's")
|
|
}
|
|
func addDevice(g *generate.Generator, device string) error {
|
|
return errors.New("function not implemented")
|
|
}
|
|
|
|
func (c *CreateConfig) addPrivilegedDevices(g *generate.Generator) error {
|
|
return errors.New("function not implemented")
|
|
}
|
|
|
|
func (c *CreateConfig) createBlockIO() (*spec.LinuxBlockIO, error) {
|
|
return nil, errors.New("function not implemented")
|
|
}
|
|
|
|
func makeThrottleArray(throttleInput []string, rateType int) ([]spec.LinuxThrottleDevice, error) {
|
|
return nil, errors.New("function not implemented")
|
|
}
|
|
|
|
func devicesFromPath(g *generate.Generator, devicePath string) error {
|
|
return errors.New("function not implemented")
|
|
}
|