Remove windows files
Windows is not going to use containerd because there is already a similar implementation on windows. This removes all the windows files because there is no reason to keep this overhead when its not going to be used. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
79c35e0306
commit
31270bba69
9 changed files with 0 additions and 223 deletions
|
@ -1,56 +0,0 @@
|
|||
package specs
|
||||
|
||||
// Temporary Windows version of the spec in lieu of opencontainers/runtime-spec/specs-go having
|
||||
// Windows support currently.
|
||||
|
||||
type (
|
||||
PlatformSpec WindowsSpec
|
||||
ProcessSpec Process
|
||||
)
|
||||
|
||||
// This is a temporary module in lieu of opencontainers/runtime-spec/specs-go being compatible
|
||||
// currently on Windows.
|
||||
|
||||
// Process contains information to start a specific application inside the container.
|
||||
type Process struct {
|
||||
// Terminal creates an interactive terminal for the container.
|
||||
Terminal bool `json:"terminal"`
|
||||
// User specifies user information for the process.
|
||||
// TEMPORARY HACK User User `json:"user"`
|
||||
// Args specifies the binary and arguments for the application to execute.
|
||||
Args []string `json:"args"`
|
||||
// Env populates the process environment for the process.
|
||||
Env []string `json:"env,omitempty"`
|
||||
// Cwd is the current working directory for the process and must be
|
||||
// relative to the container's root.
|
||||
Cwd string `json:"cwd"`
|
||||
}
|
||||
|
||||
type Spec struct {
|
||||
// Version is the version of the specification that is supported.
|
||||
Version string `json:"ociVersion"`
|
||||
// Platform is the host information for OS and Arch.
|
||||
// TEMPORARY HACK Platform Platform `json:"platform"`
|
||||
// Process is the container's main process.
|
||||
Process Process `json:"process"`
|
||||
// Root is the root information for the container's filesystem.
|
||||
// TEMPORARY HACK Root Root `json:"root"`
|
||||
// Hostname is the container's host name.
|
||||
// TEMPORARY HACK Hostname string `json:"hostname,omitempty"`
|
||||
// Mounts profile configuration for adding mounts to the container's filesystem.
|
||||
// TEMPORARY HACK Mounts []Mount `json:"mounts"`
|
||||
// Hooks are the commands run at various lifecycle events of the container.
|
||||
// TEMPORARY HACK Hooks Hooks `json:"hooks"`
|
||||
}
|
||||
|
||||
// Windows contains platform specific configuration for Windows based containers.
|
||||
type Windows struct {
|
||||
}
|
||||
|
||||
// TODO Windows - Interim hack. Needs implementing.
|
||||
type WindowsSpec struct {
|
||||
Spec
|
||||
|
||||
// Windows is platform specific configuration for Windows based containers.
|
||||
Windows Windows `json:"windows"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue