1package daemon // import "github.com/docker/docker/daemon"
2
3import (
4	"github.com/docker/docker/api/types"
5	"github.com/docker/docker/api/types/backend"
6	"github.com/docker/docker/container"
7	"github.com/docker/docker/daemon/exec"
8)
9
10// This sets platform-specific fields
11func setPlatformSpecificContainerFields(container *container.Container, contJSONBase *types.ContainerJSONBase) *types.ContainerJSONBase {
12	return contJSONBase
13}
14
15// containerInspectPre120 get containers for pre 1.20 APIs.
16func (daemon *Daemon) containerInspectPre120(name string) (*types.ContainerJSON, error) {
17	return daemon.ContainerInspectCurrent(name, false)
18}
19
20func inspectExecProcessConfig(e *exec.Config) *backend.ExecProcessConfig {
21	return &backend.ExecProcessConfig{
22		Tty:        e.Tty,
23		Entrypoint: e.Entrypoint,
24		Arguments:  e.Args,
25	}
26}
27