Codebase list golang-github-containers-buildah / 5f3ac30d-5869-4db0-a640-dc8a40e23172/main run_unix.go
5f3ac30d-5869-4db0-a640-dc8a40e23172/main

Tree @5f3ac30d-5869-4db0-a640-dc8a40e23172/main (Download .tar.gz)

run_unix.go @5f3ac30d-5869-4db0-a640-dc8a40e23172/mainraw · history · blame

// +build darwin

package buildah

import (
	"github.com/containers/buildah/define"
	"github.com/pkg/errors"
)

// ContainerDevices is an alias for a slice of github.com/opencontainers/runc/libcontainer/configs.Device structures.
type ContainerDevices define.ContainerDevices

func setChildProcess() error {
	return errors.New("function not supported on non-linux systems")
}

func runUsingRuntimeMain() {}

func (b *Builder) Run(command []string, options RunOptions) error {
	return errors.New("function not supported on non-linux systems")
}
func DefaultNamespaceOptions() (NamespaceOptions, error) {
	return NamespaceOptions{}, errors.New("function not supported on non-linux systems")
}