github.com/DaoCloud/dao@v0.0.0-20161212064103-c3dbfd13ee36/libcontainerd/types_windows.go (about)

     1  package libcontainerd
     2  
     3  import "github.com/docker/docker/libcontainerd/windowsoci"
     4  
     5  // Spec is the base configuration for the container.
     6  type Spec windowsoci.WindowsSpec
     7  
     8  // Process contains information to start a specific application inside the container.
     9  type Process windowsoci.Process
    10  
    11  // User specifies user information for the containers main process.
    12  type User windowsoci.User
    13  
    14  // Summary container a container summary from containerd
    15  type Summary struct {
    16  	Pid     uint32
    17  	Command string
    18  }
    19  
    20  // StateInfo contains description about the new state container has entered.
    21  type StateInfo struct {
    22  	CommonStateInfo
    23  
    24  	// Platform specific StateInfo
    25  
    26  	UpdatePending bool // Indicates that there are some update operations pending that should be completed by a servicing container.
    27  }
    28  
    29  // Stats contains a stats properties from containerd.
    30  type Stats struct{}
    31  
    32  // Resources defines updatable container resource values.
    33  type Resources struct{}
    34  
    35  // ServicingOption is an empty CreateOption with a no-op application that siginifies
    36  // the container needs to be use for a Windows servicing operation.
    37  type ServicingOption struct {
    38  	IsServicing bool
    39  }