github.com/noxiouz/docker@v0.7.3-0.20160629055221-3d231c78e8c5/libcontainerd/types_solaris.go (about)

     1  package libcontainerd
     2  
     3  import (
     4  	"github.com/opencontainers/specs/specs-go"
     5  )
     6  
     7  // Spec is the base configuration for the container.  It specifies platform
     8  // independent configuration. This information must be included when the
     9  // bundle is packaged for distribution.
    10  type Spec specs.Spec
    11  
    12  // Process contains information to start a specific application inside the container.
    13  type Process struct {
    14  	// Terminal creates an interactive terminal for the container.
    15  	Terminal bool `json:"terminal"`
    16  	// Args specifies the binary and arguments for the application to execute.
    17  	Args []string `json:"args"`
    18  }
    19  
    20  // Stats contains a stats properties from containerd.
    21  type Stats struct{}
    22  
    23  // Summary container a container summary from containerd
    24  type Summary struct{}
    25  
    26  // StateInfo contains description about the new state container has entered.
    27  type StateInfo struct {
    28  	CommonStateInfo
    29  
    30  	// Platform specific StateInfo
    31  }
    32  
    33  // User specifies Solaris specific user and group information for the container's
    34  // main process.
    35  type User specs.User
    36  
    37  // Resources defines updatable container resource values.
    38  type Resources struct{}