github.com/flavio/docker@v0.1.3-0.20170117145210-f63d1a6eec47/libcontainerd/types_solaris.go (about)

     1  package libcontainerd
     2  
     3  import (
     4  	containerd "github.com/docker/containerd/api/grpc/types"
     5  	"github.com/opencontainers/runtime-spec/specs-go"
     6  )
     7  
     8  // Process contains information to start a specific application inside the container.
     9  type Process struct {
    10  	// Terminal creates an interactive terminal for the container.
    11  	Terminal bool `json:"terminal"`
    12  	// User specifies user information for the process.
    13  	User *specs.User `json:"user"`
    14  	// Args specifies the binary and arguments for the application to execute.
    15  	Args []string `json:"args"`
    16  	// Env populates the process environment for the process.
    17  	Env []string `json:"env,omitempty"`
    18  	// Cwd is the current working directory for the process and must be
    19  	// relative to the container's root.
    20  	Cwd *string `json:"cwd"`
    21  	// Capabilities are linux capabilities that are kept for the container.
    22  	Capabilities []string `json:"capabilities,omitempty"`
    23  }
    24  
    25  // Stats contains a stats properties from containerd.
    26  type Stats struct{}
    27  
    28  // Summary contains a container summary from containerd
    29  type Summary struct{}
    30  
    31  // StateInfo contains description about the new state container has entered.
    32  type StateInfo struct {
    33  	CommonStateInfo
    34  
    35  	// Platform specific StateInfo
    36  	OOMKilled bool
    37  }
    38  
    39  // Resources defines updatable container resource values.
    40  type Resources struct{}
    41  
    42  // Checkpoints contains the details of a checkpoint
    43  type Checkpoints containerd.ListCheckpointResponse