bump hcsshim version to v0.8.17
Signed-off-by: Priyanka Saggu <priyankasaggu11929@gmail.com>
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/callback.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/callback.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -13,7 +13,7 @@ import (
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
	nextCallback    uintptr
 | 
			
		||||
	callbackMap     = map[uintptr]*notifcationWatcherContext{}
 | 
			
		||||
	callbackMap     = map[uintptr]*notificationWatcherContext{}
 | 
			
		||||
	callbackMapLock = sync.RWMutex{}
 | 
			
		||||
 | 
			
		||||
	notificationWatcherCallback = syscall.NewCallback(notificationWatcher)
 | 
			
		||||
@@ -87,7 +87,7 @@ func (hn hcsNotification) String() string {
 | 
			
		||||
 | 
			
		||||
type notificationChannel chan error
 | 
			
		||||
 | 
			
		||||
type notifcationWatcherContext struct {
 | 
			
		||||
type notificationWatcherContext struct {
 | 
			
		||||
	channels notificationChannels
 | 
			
		||||
	handle   vmcompute.HcsCallback
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										67
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/process.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										67
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/process.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -118,7 +118,7 @@ func (process *Process) Signal(ctx context.Context, options interface{}) (bool,
 | 
			
		||||
	process.handleLock.RLock()
 | 
			
		||||
	defer process.handleLock.RUnlock()
 | 
			
		||||
 | 
			
		||||
	operation := "hcsshim::Process::Signal"
 | 
			
		||||
	operation := "hcs::Process::Signal"
 | 
			
		||||
 | 
			
		||||
	if process.handle == 0 {
 | 
			
		||||
		return false, makeProcessError(process, operation, ErrAlreadyClosed, nil)
 | 
			
		||||
@@ -143,7 +143,7 @@ func (process *Process) Kill(ctx context.Context) (bool, error) {
 | 
			
		||||
	process.handleLock.RLock()
 | 
			
		||||
	defer process.handleLock.RUnlock()
 | 
			
		||||
 | 
			
		||||
	operation := "hcsshim::Process::Kill"
 | 
			
		||||
	operation := "hcs::Process::Kill"
 | 
			
		||||
 | 
			
		||||
	if process.handle == 0 {
 | 
			
		||||
		return false, makeProcessError(process, operation, ErrAlreadyClosed, nil)
 | 
			
		||||
@@ -164,7 +164,7 @@ func (process *Process) Kill(ctx context.Context) (bool, error) {
 | 
			
		||||
// This MUST be called exactly once per `process.handle` but `Wait` is safe to
 | 
			
		||||
// call multiple times.
 | 
			
		||||
func (process *Process) waitBackground() {
 | 
			
		||||
	operation := "hcsshim::Process::waitBackground"
 | 
			
		||||
	operation := "hcs::Process::waitBackground"
 | 
			
		||||
	ctx, span := trace.StartSpan(context.Background(), operation)
 | 
			
		||||
	defer span.End()
 | 
			
		||||
	span.AddAttributes(
 | 
			
		||||
@@ -229,7 +229,7 @@ func (process *Process) ResizeConsole(ctx context.Context, width, height uint16)
 | 
			
		||||
	process.handleLock.RLock()
 | 
			
		||||
	defer process.handleLock.RUnlock()
 | 
			
		||||
 | 
			
		||||
	operation := "hcsshim::Process::ResizeConsole"
 | 
			
		||||
	operation := "hcs::Process::ResizeConsole"
 | 
			
		||||
 | 
			
		||||
	if process.handle == 0 {
 | 
			
		||||
		return makeProcessError(process, operation, ErrAlreadyClosed, nil)
 | 
			
		||||
@@ -267,7 +267,7 @@ func (process *Process) ExitCode() (int, error) {
 | 
			
		||||
		}
 | 
			
		||||
		return process.exitCode, nil
 | 
			
		||||
	default:
 | 
			
		||||
		return -1, makeProcessError(process, "hcsshim::Process::ExitCode", ErrInvalidProcessState, nil)
 | 
			
		||||
		return -1, makeProcessError(process, "hcs::Process::ExitCode", ErrInvalidProcessState, nil)
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -275,7 +275,7 @@ func (process *Process) ExitCode() (int, error) {
 | 
			
		||||
// these pipes does not close the underlying pipes. Once returned, these pipes
 | 
			
		||||
// are the responsibility of the caller to close.
 | 
			
		||||
func (process *Process) StdioLegacy() (_ io.WriteCloser, _ io.ReadCloser, _ io.ReadCloser, err error) {
 | 
			
		||||
	operation := "hcsshim::Process::StdioLegacy"
 | 
			
		||||
	operation := "hcs::Process::StdioLegacy"
 | 
			
		||||
	ctx, span := trace.StartSpan(context.Background(), operation)
 | 
			
		||||
	defer span.End()
 | 
			
		||||
	defer func() { oc.SetSpanStatus(span, err) }()
 | 
			
		||||
@@ -327,7 +327,7 @@ func (process *Process) CloseStdin(ctx context.Context) error {
 | 
			
		||||
	process.handleLock.RLock()
 | 
			
		||||
	defer process.handleLock.RUnlock()
 | 
			
		||||
 | 
			
		||||
	operation := "hcsshim::Process::CloseStdin"
 | 
			
		||||
	operation := "hcs::Process::CloseStdin"
 | 
			
		||||
 | 
			
		||||
	if process.handle == 0 {
 | 
			
		||||
		return makeProcessError(process, operation, ErrAlreadyClosed, nil)
 | 
			
		||||
@@ -361,10 +361,59 @@ func (process *Process) CloseStdin(ctx context.Context) error {
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (process *Process) CloseStdout(ctx context.Context) (err error) {
 | 
			
		||||
	ctx, span := trace.StartSpan(ctx, "hcs::Process::CloseStdout") //nolint:ineffassign,staticcheck
 | 
			
		||||
	defer span.End()
 | 
			
		||||
	defer func() { oc.SetSpanStatus(span, err) }()
 | 
			
		||||
	span.AddAttributes(
 | 
			
		||||
		trace.StringAttribute("cid", process.SystemID()),
 | 
			
		||||
		trace.Int64Attribute("pid", int64(process.processID)))
 | 
			
		||||
 | 
			
		||||
	process.handleLock.Lock()
 | 
			
		||||
	defer process.handleLock.Unlock()
 | 
			
		||||
 | 
			
		||||
	if process.handle == 0 {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	process.stdioLock.Lock()
 | 
			
		||||
	defer process.stdioLock.Unlock()
 | 
			
		||||
	if process.stdout != nil {
 | 
			
		||||
		process.stdout.Close()
 | 
			
		||||
		process.stdout = nil
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (process *Process) CloseStderr(ctx context.Context) (err error) {
 | 
			
		||||
	ctx, span := trace.StartSpan(ctx, "hcs::Process::CloseStderr") //nolint:ineffassign,staticcheck
 | 
			
		||||
	defer span.End()
 | 
			
		||||
	defer func() { oc.SetSpanStatus(span, err) }()
 | 
			
		||||
	span.AddAttributes(
 | 
			
		||||
		trace.StringAttribute("cid", process.SystemID()),
 | 
			
		||||
		trace.Int64Attribute("pid", int64(process.processID)))
 | 
			
		||||
 | 
			
		||||
	process.handleLock.Lock()
 | 
			
		||||
	defer process.handleLock.Unlock()
 | 
			
		||||
 | 
			
		||||
	if process.handle == 0 {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	process.stdioLock.Lock()
 | 
			
		||||
	defer process.stdioLock.Unlock()
 | 
			
		||||
	if process.stderr != nil {
 | 
			
		||||
		process.stderr.Close()
 | 
			
		||||
		process.stderr = nil
 | 
			
		||||
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Close cleans up any state associated with the process but does not kill
 | 
			
		||||
// or wait on it.
 | 
			
		||||
func (process *Process) Close() (err error) {
 | 
			
		||||
	operation := "hcsshim::Process::Close"
 | 
			
		||||
	operation := "hcs::Process::Close"
 | 
			
		||||
	ctx, span := trace.StartSpan(context.Background(), operation)
 | 
			
		||||
	defer span.End()
 | 
			
		||||
	defer func() { oc.SetSpanStatus(span, err) }()
 | 
			
		||||
@@ -414,7 +463,7 @@ func (process *Process) Close() (err error) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (process *Process) registerCallback(ctx context.Context) error {
 | 
			
		||||
	callbackContext := ¬ifcationWatcherContext{
 | 
			
		||||
	callbackContext := ¬ificationWatcherContext{
 | 
			
		||||
		channels:  newProcessChannels(),
 | 
			
		||||
		systemID:  process.SystemID(),
 | 
			
		||||
		processID: process.processID,
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										250
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema1/schema1.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										250
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema1/schema1.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,250 @@
 | 
			
		||||
package schema1
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"encoding/json"
 | 
			
		||||
	"time"
 | 
			
		||||
 | 
			
		||||
	"github.com/Microsoft/go-winio/pkg/guid"
 | 
			
		||||
	hcsschema "github.com/Microsoft/hcsshim/internal/hcs/schema2"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// ProcessConfig is used as both the input of Container.CreateProcess
 | 
			
		||||
// and to convert the parameters to JSON for passing onto the HCS
 | 
			
		||||
type ProcessConfig struct {
 | 
			
		||||
	ApplicationName   string            `json:",omitempty"`
 | 
			
		||||
	CommandLine       string            `json:",omitempty"`
 | 
			
		||||
	CommandArgs       []string          `json:",omitempty"` // Used by Linux Containers on Windows
 | 
			
		||||
	User              string            `json:",omitempty"`
 | 
			
		||||
	WorkingDirectory  string            `json:",omitempty"`
 | 
			
		||||
	Environment       map[string]string `json:",omitempty"`
 | 
			
		||||
	EmulateConsole    bool              `json:",omitempty"`
 | 
			
		||||
	CreateStdInPipe   bool              `json:",omitempty"`
 | 
			
		||||
	CreateStdOutPipe  bool              `json:",omitempty"`
 | 
			
		||||
	CreateStdErrPipe  bool              `json:",omitempty"`
 | 
			
		||||
	ConsoleSize       [2]uint           `json:",omitempty"`
 | 
			
		||||
	CreateInUtilityVm bool              `json:",omitempty"` // Used by Linux Containers on Windows
 | 
			
		||||
	OCISpecification  *json.RawMessage  `json:",omitempty"` // Used by Linux Containers on Windows
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type Layer struct {
 | 
			
		||||
	ID   string
 | 
			
		||||
	Path string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type MappedDir struct {
 | 
			
		||||
	HostPath          string
 | 
			
		||||
	ContainerPath     string
 | 
			
		||||
	ReadOnly          bool
 | 
			
		||||
	BandwidthMaximum  uint64
 | 
			
		||||
	IOPSMaximum       uint64
 | 
			
		||||
	CreateInUtilityVM bool
 | 
			
		||||
	// LinuxMetadata - Support added in 1803/RS4+.
 | 
			
		||||
	LinuxMetadata bool `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type MappedPipe struct {
 | 
			
		||||
	HostPath          string
 | 
			
		||||
	ContainerPipeName string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type HvRuntime struct {
 | 
			
		||||
	ImagePath           string `json:",omitempty"`
 | 
			
		||||
	SkipTemplate        bool   `json:",omitempty"`
 | 
			
		||||
	LinuxInitrdFile     string `json:",omitempty"` // File under ImagePath on host containing an initrd image for starting a Linux utility VM
 | 
			
		||||
	LinuxKernelFile     string `json:",omitempty"` // File under ImagePath on host containing a kernel for starting a Linux utility VM
 | 
			
		||||
	LinuxBootParameters string `json:",omitempty"` // Additional boot parameters for starting a Linux Utility VM in initrd mode
 | 
			
		||||
	BootSource          string `json:",omitempty"` // "Vhd" for Linux Utility VM booting from VHD
 | 
			
		||||
	WritableBootSource  bool   `json:",omitempty"` // Linux Utility VM booting from VHD
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type MappedVirtualDisk struct {
 | 
			
		||||
	HostPath          string `json:",omitempty"` // Path to VHD on the host
 | 
			
		||||
	ContainerPath     string // Platform-specific mount point path in the container
 | 
			
		||||
	CreateInUtilityVM bool   `json:",omitempty"`
 | 
			
		||||
	ReadOnly          bool   `json:",omitempty"`
 | 
			
		||||
	Cache             string `json:",omitempty"` // "" (Unspecified); "Disabled"; "Enabled"; "Private"; "PrivateAllowSharing"
 | 
			
		||||
	AttachOnly        bool   `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// AssignedDevice represents a device that has been directly assigned to a container
 | 
			
		||||
//
 | 
			
		||||
// NOTE: Support added in RS5
 | 
			
		||||
type AssignedDevice struct {
 | 
			
		||||
	//  InterfaceClassGUID of the device to assign to container.
 | 
			
		||||
	InterfaceClassGUID string `json:"InterfaceClassGuid,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ContainerConfig is used as both the input of CreateContainer
 | 
			
		||||
// and to convert the parameters to JSON for passing onto the HCS
 | 
			
		||||
type ContainerConfig struct {
 | 
			
		||||
	SystemType                  string              // HCS requires this to be hard-coded to "Container"
 | 
			
		||||
	Name                        string              // Name of the container. We use the docker ID.
 | 
			
		||||
	Owner                       string              `json:",omitempty"` // The management platform that created this container
 | 
			
		||||
	VolumePath                  string              `json:",omitempty"` // Windows volume path for scratch space. Used by Windows Server Containers only. Format \\?\\Volume{GUID}
 | 
			
		||||
	IgnoreFlushesDuringBoot     bool                `json:",omitempty"` // Optimization hint for container startup in Windows
 | 
			
		||||
	LayerFolderPath             string              `json:",omitempty"` // Where the layer folders are located. Used by Windows Server Containers only. Format  %root%\windowsfilter\containerID
 | 
			
		||||
	Layers                      []Layer             // List of storage layers. Required for Windows Server and Hyper-V Containers. Format ID=GUID;Path=%root%\windowsfilter\layerID
 | 
			
		||||
	Credentials                 string              `json:",omitempty"` // Credentials information
 | 
			
		||||
	ProcessorCount              uint32              `json:",omitempty"` // Number of processors to assign to the container.
 | 
			
		||||
	ProcessorWeight             uint64              `json:",omitempty"` // CPU shares (relative weight to other containers with cpu shares). Range is from 1 to 10000. A value of 0 results in default shares.
 | 
			
		||||
	ProcessorMaximum            int64               `json:",omitempty"` // Specifies the portion of processor cycles that this container can use as a percentage times 100. Range is from 1 to 10000. A value of 0 results in no limit.
 | 
			
		||||
	StorageIOPSMaximum          uint64              `json:",omitempty"` // Maximum Storage IOPS
 | 
			
		||||
	StorageBandwidthMaximum     uint64              `json:",omitempty"` // Maximum Storage Bandwidth in bytes per second
 | 
			
		||||
	StorageSandboxSize          uint64              `json:",omitempty"` // Size in bytes that the container system drive should be expanded to if smaller
 | 
			
		||||
	MemoryMaximumInMB           int64               `json:",omitempty"` // Maximum memory available to the container in Megabytes
 | 
			
		||||
	HostName                    string              `json:",omitempty"` // Hostname
 | 
			
		||||
	MappedDirectories           []MappedDir         `json:",omitempty"` // List of mapped directories (volumes/mounts)
 | 
			
		||||
	MappedPipes                 []MappedPipe        `json:",omitempty"` // List of mapped Windows named pipes
 | 
			
		||||
	HvPartition                 bool                // True if it a Hyper-V Container
 | 
			
		||||
	NetworkSharedContainerName  string              `json:",omitempty"` // Name (ID) of the container that we will share the network stack with.
 | 
			
		||||
	EndpointList                []string            `json:",omitempty"` // List of networking endpoints to be attached to container
 | 
			
		||||
	HvRuntime                   *HvRuntime          `json:",omitempty"` // Hyper-V container settings. Used by Hyper-V containers only. Format ImagePath=%root%\BaseLayerID\UtilityVM
 | 
			
		||||
	Servicing                   bool                `json:",omitempty"` // True if this container is for servicing
 | 
			
		||||
	AllowUnqualifiedDNSQuery    bool                `json:",omitempty"` // True to allow unqualified DNS name resolution
 | 
			
		||||
	DNSSearchList               string              `json:",omitempty"` // Comma seperated list of DNS suffixes to use for name resolution
 | 
			
		||||
	ContainerType               string              `json:",omitempty"` // "Linux" for Linux containers on Windows. Omitted otherwise.
 | 
			
		||||
	TerminateOnLastHandleClosed bool                `json:",omitempty"` // Should HCS terminate the container once all handles have been closed
 | 
			
		||||
	MappedVirtualDisks          []MappedVirtualDisk `json:",omitempty"` // Array of virtual disks to mount at start
 | 
			
		||||
	AssignedDevices             []AssignedDevice    `json:",omitempty"` // Array of devices to assign. NOTE: Support added in RS5
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type ComputeSystemQuery struct {
 | 
			
		||||
	IDs    []string `json:"Ids,omitempty"`
 | 
			
		||||
	Types  []string `json:",omitempty"`
 | 
			
		||||
	Names  []string `json:",omitempty"`
 | 
			
		||||
	Owners []string `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type PropertyType string
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	PropertyTypeStatistics        PropertyType = "Statistics"        // V1 and V2
 | 
			
		||||
	PropertyTypeProcessList       PropertyType = "ProcessList"       // V1 and V2
 | 
			
		||||
	PropertyTypeMappedVirtualDisk PropertyType = "MappedVirtualDisk" // Not supported in V2 schema call
 | 
			
		||||
	PropertyTypeGuestConnection   PropertyType = "GuestConnection"   // V1 and V2. Nil return from HCS before RS5
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type PropertyQuery struct {
 | 
			
		||||
	PropertyTypes []PropertyType `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ContainerProperties holds the properties for a container and the processes running in that container
 | 
			
		||||
type ContainerProperties struct {
 | 
			
		||||
	ID                           string `json:"Id"`
 | 
			
		||||
	State                        string
 | 
			
		||||
	Name                         string
 | 
			
		||||
	SystemType                   string
 | 
			
		||||
	RuntimeOSType                string `json:"RuntimeOsType,omitempty"`
 | 
			
		||||
	Owner                        string
 | 
			
		||||
	SiloGUID                     string                              `json:"SiloGuid,omitempty"`
 | 
			
		||||
	RuntimeID                    guid.GUID                           `json:"RuntimeId,omitempty"`
 | 
			
		||||
	IsRuntimeTemplate            bool                                `json:",omitempty"`
 | 
			
		||||
	RuntimeImagePath             string                              `json:",omitempty"`
 | 
			
		||||
	Stopped                      bool                                `json:",omitempty"`
 | 
			
		||||
	ExitType                     string                              `json:",omitempty"`
 | 
			
		||||
	AreUpdatesPending            bool                                `json:",omitempty"`
 | 
			
		||||
	ObRoot                       string                              `json:",omitempty"`
 | 
			
		||||
	Statistics                   Statistics                          `json:",omitempty"`
 | 
			
		||||
	ProcessList                  []ProcessListItem                   `json:",omitempty"`
 | 
			
		||||
	MappedVirtualDiskControllers map[int]MappedVirtualDiskController `json:",omitempty"`
 | 
			
		||||
	GuestConnectionInfo          GuestConnectionInfo                 `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// MemoryStats holds the memory statistics for a container
 | 
			
		||||
type MemoryStats struct {
 | 
			
		||||
	UsageCommitBytes            uint64 `json:"MemoryUsageCommitBytes,omitempty"`
 | 
			
		||||
	UsageCommitPeakBytes        uint64 `json:"MemoryUsageCommitPeakBytes,omitempty"`
 | 
			
		||||
	UsagePrivateWorkingSetBytes uint64 `json:"MemoryUsagePrivateWorkingSetBytes,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ProcessorStats holds the processor statistics for a container
 | 
			
		||||
type ProcessorStats struct {
 | 
			
		||||
	TotalRuntime100ns  uint64 `json:",omitempty"`
 | 
			
		||||
	RuntimeUser100ns   uint64 `json:",omitempty"`
 | 
			
		||||
	RuntimeKernel100ns uint64 `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// StorageStats holds the storage statistics for a container
 | 
			
		||||
type StorageStats struct {
 | 
			
		||||
	ReadCountNormalized  uint64 `json:",omitempty"`
 | 
			
		||||
	ReadSizeBytes        uint64 `json:",omitempty"`
 | 
			
		||||
	WriteCountNormalized uint64 `json:",omitempty"`
 | 
			
		||||
	WriteSizeBytes       uint64 `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// NetworkStats holds the network statistics for a container
 | 
			
		||||
type NetworkStats struct {
 | 
			
		||||
	BytesReceived          uint64 `json:",omitempty"`
 | 
			
		||||
	BytesSent              uint64 `json:",omitempty"`
 | 
			
		||||
	PacketsReceived        uint64 `json:",omitempty"`
 | 
			
		||||
	PacketsSent            uint64 `json:",omitempty"`
 | 
			
		||||
	DroppedPacketsIncoming uint64 `json:",omitempty"`
 | 
			
		||||
	DroppedPacketsOutgoing uint64 `json:",omitempty"`
 | 
			
		||||
	EndpointId             string `json:",omitempty"`
 | 
			
		||||
	InstanceId             string `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Statistics is the structure returned by a statistics call on a container
 | 
			
		||||
type Statistics struct {
 | 
			
		||||
	Timestamp          time.Time      `json:",omitempty"`
 | 
			
		||||
	ContainerStartTime time.Time      `json:",omitempty"`
 | 
			
		||||
	Uptime100ns        uint64         `json:",omitempty"`
 | 
			
		||||
	Memory             MemoryStats    `json:",omitempty"`
 | 
			
		||||
	Processor          ProcessorStats `json:",omitempty"`
 | 
			
		||||
	Storage            StorageStats   `json:",omitempty"`
 | 
			
		||||
	Network            []NetworkStats `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ProcessList is the structure of an item returned by a ProcessList call on a container
 | 
			
		||||
type ProcessListItem struct {
 | 
			
		||||
	CreateTimestamp              time.Time `json:",omitempty"`
 | 
			
		||||
	ImageName                    string    `json:",omitempty"`
 | 
			
		||||
	KernelTime100ns              uint64    `json:",omitempty"`
 | 
			
		||||
	MemoryCommitBytes            uint64    `json:",omitempty"`
 | 
			
		||||
	MemoryWorkingSetPrivateBytes uint64    `json:",omitempty"`
 | 
			
		||||
	MemoryWorkingSetSharedBytes  uint64    `json:",omitempty"`
 | 
			
		||||
	ProcessId                    uint32    `json:",omitempty"`
 | 
			
		||||
	UserTime100ns                uint64    `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// MappedVirtualDiskController is the structure of an item returned by a MappedVirtualDiskList call on a container
 | 
			
		||||
type MappedVirtualDiskController struct {
 | 
			
		||||
	MappedVirtualDisks map[int]MappedVirtualDisk `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// GuestDefinedCapabilities is part of the GuestConnectionInfo returned by a GuestConnection call on a utility VM
 | 
			
		||||
type GuestDefinedCapabilities struct {
 | 
			
		||||
	NamespaceAddRequestSupported  bool `json:",omitempty"`
 | 
			
		||||
	SignalProcessSupported        bool `json:",omitempty"`
 | 
			
		||||
	DumpStacksSupported           bool `json:",omitempty"`
 | 
			
		||||
	DeleteContainerStateSupported bool `json:",omitempty"`
 | 
			
		||||
	UpdateContainerSupported      bool `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// GuestConnectionInfo is the structure of an iterm return by a GuestConnection call on a utility VM
 | 
			
		||||
type GuestConnectionInfo struct {
 | 
			
		||||
	SupportedSchemaVersions  []hcsschema.Version      `json:",omitempty"`
 | 
			
		||||
	ProtocolVersion          uint32                   `json:",omitempty"`
 | 
			
		||||
	GuestDefinedCapabilities GuestDefinedCapabilities `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Type of Request Support in ModifySystem
 | 
			
		||||
type RequestType string
 | 
			
		||||
 | 
			
		||||
// Type of Resource Support in ModifySystem
 | 
			
		||||
type ResourceType string
 | 
			
		||||
 | 
			
		||||
// RequestType const
 | 
			
		||||
const (
 | 
			
		||||
	Add     RequestType  = "Add"
 | 
			
		||||
	Remove  RequestType  = "Remove"
 | 
			
		||||
	Network ResourceType = "Network"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// ResourceModificationRequestResponse is the structure used to send request to the container to modify the system
 | 
			
		||||
// Supported resource types are Network and Request Types are Add/Remove
 | 
			
		||||
type ResourceModificationRequestResponse struct {
 | 
			
		||||
	Resource ResourceType `json:"ResourceType"`
 | 
			
		||||
	Data     interface{}  `json:"Settings"`
 | 
			
		||||
	Request  RequestType  `json:"RequestType,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										30
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/attachment.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/attachment.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Attachment struct {
 | 
			
		||||
	Type_ string `json:"Type,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Path string `json:"Path,omitempty"`
 | 
			
		||||
 | 
			
		||||
	IgnoreFlushes bool `json:"IgnoreFlushes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CachingMode string `json:"CachingMode,omitempty"`
 | 
			
		||||
 | 
			
		||||
	NoWriteHardening bool `json:"NoWriteHardening,omitempty"`
 | 
			
		||||
 | 
			
		||||
	DisableExpansionOptimization bool `json:"DisableExpansionOptimization,omitempty"`
 | 
			
		||||
 | 
			
		||||
	IgnoreRelativeLocator bool `json:"IgnoreRelativeLocator,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CaptureIoAttributionContext bool `json:"CaptureIoAttributionContext,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ReadOnly bool `json:"ReadOnly,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										13
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/battery.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/battery.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Battery struct {
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cache_query_stats_response.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cache_query_stats_response.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type CacheQueryStatsResponse struct {
 | 
			
		||||
	L3OccupancyBytes int32 `json:"L3OccupancyBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	L3TotalBwBytes int32 `json:"L3TotalBwBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	L3LocalBwBytes int32 `json:"L3LocalBwBytes,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										27
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/chipset.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/chipset.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Chipset struct {
 | 
			
		||||
	Uefi *Uefi `json:"Uefi,omitempty"`
 | 
			
		||||
 | 
			
		||||
	IsNumLockDisabled bool `json:"IsNumLockDisabled,omitempty"`
 | 
			
		||||
 | 
			
		||||
	BaseBoardSerialNumber string `json:"BaseBoardSerialNumber,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ChassisSerialNumber string `json:"ChassisSerialNumber,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ChassisAssetTag string `json:"ChassisAssetTag,omitempty"`
 | 
			
		||||
 | 
			
		||||
	UseUtc bool `json:"UseUtc,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// LinuxKernelDirect - Added in v2.2 Builds >=181117
 | 
			
		||||
	LinuxKernelDirect *LinuxKernelDirect `json:"LinuxKernelDirect,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/close_handle.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/close_handle.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type CloseHandle struct {
 | 
			
		||||
	Handle string `json:"Handle,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/com_port.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/com_port.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  ComPort specifies the named pipe that will be used for the port, with empty string indicating a disconnected port.
 | 
			
		||||
type ComPort struct {
 | 
			
		||||
	NamedPipe string `json:"NamedPipe,omitempty"`
 | 
			
		||||
 | 
			
		||||
	OptimizeForDebugger bool `json:"OptimizeForDebugger,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										26
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/compute_system.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/compute_system.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ComputeSystem struct {
 | 
			
		||||
	Owner string `json:"Owner,omitempty"`
 | 
			
		||||
 | 
			
		||||
	SchemaVersion *Version `json:"SchemaVersion,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HostingSystemId string `json:"HostingSystemId,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HostedSystem interface{} `json:"HostedSystem,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Container *Container `json:"Container,omitempty"`
 | 
			
		||||
 | 
			
		||||
	VirtualMachine *VirtualMachine `json:"VirtualMachine,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ShouldTerminateOnLastHandleClosed bool `json:"ShouldTerminateOnLastHandleClosed,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										72
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/configuration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										72
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/configuration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,72 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"net/http"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// contextKeys are used to identify the type of value in the context.
 | 
			
		||||
// Since these are string, it is possible to get a short description of the
 | 
			
		||||
// context key for logging and debugging using key.String().
 | 
			
		||||
 | 
			
		||||
type contextKey string
 | 
			
		||||
 | 
			
		||||
func (c contextKey) String() string {
 | 
			
		||||
	return "auth " + string(c)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
 | 
			
		||||
	ContextOAuth2 = contextKey("token")
 | 
			
		||||
 | 
			
		||||
	// ContextBasicAuth takes BasicAuth as authentication for the request.
 | 
			
		||||
	ContextBasicAuth = contextKey("basic")
 | 
			
		||||
 | 
			
		||||
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
 | 
			
		||||
	ContextAccessToken = contextKey("accesstoken")
 | 
			
		||||
 | 
			
		||||
	// ContextAPIKey takes an APIKey as authentication for the request
 | 
			
		||||
	ContextAPIKey = contextKey("apikey")
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
 | 
			
		||||
type BasicAuth struct {
 | 
			
		||||
	UserName string `json:"userName,omitempty"`
 | 
			
		||||
	Password string `json:"password,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// APIKey provides API key based authentication to a request passed via context using ContextAPIKey
 | 
			
		||||
type APIKey struct {
 | 
			
		||||
	Key    string
 | 
			
		||||
	Prefix string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type Configuration struct {
 | 
			
		||||
	BasePath      string            `json:"basePath,omitempty"`
 | 
			
		||||
	Host          string            `json:"host,omitempty"`
 | 
			
		||||
	Scheme        string            `json:"scheme,omitempty"`
 | 
			
		||||
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
 | 
			
		||||
	UserAgent     string            `json:"userAgent,omitempty"`
 | 
			
		||||
	HTTPClient    *http.Client
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewConfiguration() *Configuration {
 | 
			
		||||
	cfg := &Configuration{
 | 
			
		||||
		BasePath:      "https://localhost",
 | 
			
		||||
		DefaultHeader: make(map[string]string),
 | 
			
		||||
		UserAgent:     "Swagger-Codegen/2.1.0/go",
 | 
			
		||||
	}
 | 
			
		||||
	return cfg
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *Configuration) AddDefaultHeader(key string, value string) {
 | 
			
		||||
	c.DefaultHeader[key] = value
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/console_size.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/console_size.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ConsoleSize struct {
 | 
			
		||||
	Height int32 `json:"Height,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Width int32 `json:"Width,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										34
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Container struct {
 | 
			
		||||
	GuestOs *GuestOs `json:"GuestOs,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Storage *Storage `json:"Storage,omitempty"`
 | 
			
		||||
 | 
			
		||||
	MappedDirectories []MappedDirectory `json:"MappedDirectories,omitempty"`
 | 
			
		||||
 | 
			
		||||
	MappedPipes []MappedPipe `json:"MappedPipes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Memory *Memory `json:"Memory,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Processor *Processor `json:"Processor,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Networking *Networking `json:"Networking,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HvSocket *HvSocket `json:"HvSocket,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ContainerCredentialGuard *ContainerCredentialGuardState `json:"ContainerCredentialGuard,omitempty"`
 | 
			
		||||
 | 
			
		||||
	RegistryChanges *RegistryChanges `json:"RegistryChanges,omitempty"`
 | 
			
		||||
 | 
			
		||||
	AssignedDevices []Device `json:"AssignedDevices,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_add_instance_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_add_instance_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ContainerCredentialGuardAddInstanceRequest struct {
 | 
			
		||||
	Id             string `json:"Id,omitempty"`
 | 
			
		||||
	CredentialSpec string `json:"CredentialSpec,omitempty"`
 | 
			
		||||
	Transport      string `json:"Transport,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_hv_socket_service_config.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_hv_socket_service_config.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ContainerCredentialGuardHvSocketServiceConfig struct {
 | 
			
		||||
	ServiceId     string                 `json:"ServiceId,omitempty"`
 | 
			
		||||
	ServiceConfig *HvSocketServiceConfig `json:"ServiceConfig,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_instance.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_instance.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ContainerCredentialGuardInstance struct {
 | 
			
		||||
	Id              string                                         `json:"Id,omitempty"`
 | 
			
		||||
	CredentialGuard *ContainerCredentialGuardState                 `json:"CredentialGuard,omitempty"`
 | 
			
		||||
	HvSocketConfig  *ContainerCredentialGuardHvSocketServiceConfig `json:"HvSocketConfig,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_modify_operation.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_modify_operation.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ContainerCredentialGuardModifyOperation string
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	AddInstance    ContainerCredentialGuardModifyOperation = "AddInstance"
 | 
			
		||||
	RemoveInstance ContainerCredentialGuardModifyOperation = "RemoveInstance"
 | 
			
		||||
)
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_operation_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_operation_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ContainerCredentialGuardOperationRequest struct {
 | 
			
		||||
	Operation        ContainerCredentialGuardModifyOperation `json:"Operation,omitempty"`
 | 
			
		||||
	OperationDetails interface{}                             `json:"OperationDetails,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_remove_instance_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_remove_instance_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ContainerCredentialGuardRemoveInstanceRequest struct {
 | 
			
		||||
	Id string `json:"Id,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										25
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_state.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_state.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ContainerCredentialGuardState struct {
 | 
			
		||||
 | 
			
		||||
	//  Authentication cookie for calls to a Container Credential Guard instance.
 | 
			
		||||
	Cookie string `json:"Cookie,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  Name of the RPC endpoint of the Container Credential Guard instance.
 | 
			
		||||
	RpcEndpoint string `json:"RpcEndpoint,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  Transport used for the configured Container Credential Guard instance.
 | 
			
		||||
	Transport string `json:"Transport,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  Credential spec used for the configured Container Credential Guard instance.
 | 
			
		||||
	CredentialSpec string `json:"CredentialSpec,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_system_info.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_credential_guard_system_info.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ContainerCredentialGuardSystemInfo struct {
 | 
			
		||||
	Instances []ContainerCredentialGuardInstance `json:"Instances,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										25
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_memory_information.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/container_memory_information.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  memory usage as viewed from within the container
 | 
			
		||||
type ContainerMemoryInformation struct {
 | 
			
		||||
	TotalPhysicalBytes int32 `json:"TotalPhysicalBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	TotalUsage int32 `json:"TotalUsage,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CommittedBytes int32 `json:"CommittedBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	SharedCommittedBytes int32 `json:"SharedCommittedBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CommitLimitBytes int32 `json:"CommitLimitBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	PeakCommitmentBytes int32 `json:"PeakCommitmentBytes,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
// CPU groups allow Hyper-V administrators to better manage and allocate the host's CPU resources across guest virtual machines
 | 
			
		||||
type CpuGroup struct {
 | 
			
		||||
	Id string `json:"Id,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_affinity.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_affinity.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type CpuGroupAffinity struct {
 | 
			
		||||
	LogicalProcessorCount int32   `json:"LogicalProcessorCount,omitempty"`
 | 
			
		||||
	LogicalProcessors     []int32 `json:"LogicalProcessors,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_config.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_config.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type CpuGroupConfig struct {
 | 
			
		||||
	GroupId         string             `json:"GroupId,omitempty"`
 | 
			
		||||
	Affinity        *CpuGroupAffinity  `json:"Affinity,omitempty"`
 | 
			
		||||
	GroupProperties []CpuGroupProperty `json:"GroupProperties,omitempty"`
 | 
			
		||||
	// Hypervisor CPU group IDs exposed to clients
 | 
			
		||||
	HypervisorGroupId int32 `json:"HypervisorGroupId,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_configurations.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_configurations.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
// Structure used to return cpu groups for a Service property query
 | 
			
		||||
type CpuGroupConfigurations struct {
 | 
			
		||||
	CpuGroups []CpuGroupConfig `json:"CpuGroups,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_operations.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_operations.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type CPUGroupOperation string
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	CreateGroup CPUGroupOperation = "CreateGroup"
 | 
			
		||||
	DeleteGroup CPUGroupOperation = "DeleteGroup"
 | 
			
		||||
	SetProperty CPUGroupOperation = "SetProperty"
 | 
			
		||||
)
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_property.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/cpu_group_property.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type CpuGroupProperty struct {
 | 
			
		||||
	PropertyCode  uint32 `json:"PropertyCode,omitempty"`
 | 
			
		||||
	PropertyValue uint32 `json:"PropertyValue,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/create_group_operation.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/create_group_operation.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
// Create group operation settings
 | 
			
		||||
type CreateGroupOperation struct {
 | 
			
		||||
	GroupId               string   `json:"GroupId,omitempty"`
 | 
			
		||||
	LogicalProcessorCount uint32   `json:"LogicalProcessorCount,omitempty"`
 | 
			
		||||
	LogicalProcessors     []uint32 `json:"LogicalProcessors,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/delete_group_operation.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/delete_group_operation.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
// Delete group operation settings
 | 
			
		||||
type DeleteGroupOperation struct {
 | 
			
		||||
	GroupId string `json:"GroupId,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										27
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/device.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/device.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type DeviceType string
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	ClassGUID      DeviceType = "ClassGuid"
 | 
			
		||||
	DeviceInstance DeviceType = "DeviceInstance"
 | 
			
		||||
	GPUMirror      DeviceType = "GpuMirror"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type Device struct {
 | 
			
		||||
	//  The type of device to assign to the container.
 | 
			
		||||
	Type DeviceType `json:"Type,omitempty"`
 | 
			
		||||
	//  The interface class guid of the device interfaces to assign to the  container.  Only used when Type is ClassGuid.
 | 
			
		||||
	InterfaceClassGuid string `json:"InterfaceClassGuid,omitempty"`
 | 
			
		||||
	//  The location path of the device to assign to the container.  Only used when Type is DeviceInstance.
 | 
			
		||||
	LocationPath string `json:"LocationPath,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										46
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/devices.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/devices.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,46 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Devices struct {
 | 
			
		||||
	ComPorts map[string]ComPort `json:"ComPorts,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Scsi map[string]Scsi `json:"Scsi,omitempty"`
 | 
			
		||||
 | 
			
		||||
	VirtualPMem *VirtualPMemController `json:"VirtualPMem,omitempty"`
 | 
			
		||||
 | 
			
		||||
	NetworkAdapters map[string]NetworkAdapter `json:"NetworkAdapters,omitempty"`
 | 
			
		||||
 | 
			
		||||
	VideoMonitor *VideoMonitor `json:"VideoMonitor,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Keyboard *Keyboard `json:"Keyboard,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Mouse *Mouse `json:"Mouse,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HvSocket *HvSocket2 `json:"HvSocket,omitempty"`
 | 
			
		||||
 | 
			
		||||
	EnhancedModeVideo *EnhancedModeVideo `json:"EnhancedModeVideo,omitempty"`
 | 
			
		||||
 | 
			
		||||
	GuestCrashReporting *GuestCrashReporting `json:"GuestCrashReporting,omitempty"`
 | 
			
		||||
 | 
			
		||||
	VirtualSmb *VirtualSmb `json:"VirtualSmb,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Plan9 *Plan9 `json:"Plan9,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Battery *Battery `json:"Battery,omitempty"`
 | 
			
		||||
 | 
			
		||||
	FlexibleIov map[string]FlexibleIoDevice `json:"FlexibleIov,omitempty"`
 | 
			
		||||
 | 
			
		||||
	SharedMemory *SharedMemoryConfiguration `json:"SharedMemory,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// TODO: This is pre-release support in schema 2.3. Need to add build number
 | 
			
		||||
	// docs when a public build with this is out.
 | 
			
		||||
	VirtualPci map[string]VirtualPciDevice `json:",omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/enhanced_mode_video.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/enhanced_mode_video.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type EnhancedModeVideo struct {
 | 
			
		||||
	ConnectionOptions *RdpConnectionOptions `json:"ConnectionOptions,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/flexible_io_device.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/flexible_io_device.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type FlexibleIoDevice struct {
 | 
			
		||||
	EmulatorId string `json:"EmulatorId,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HostingModel string `json:"HostingModel,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Configuration []string `json:"Configuration,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type GuestConnection struct {
 | 
			
		||||
 | 
			
		||||
	//  Use Vsock rather than Hyper-V sockets to communicate with the guest service.
 | 
			
		||||
	UseVsock bool `json:"UseVsock,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  Don't disconnect the guest connection when pausing the virtual machine.
 | 
			
		||||
	UseConnectedSuspend bool `json:"UseConnectedSuspend,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection_info.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_connection_info.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  Information about the guest.
 | 
			
		||||
type GuestConnectionInfo struct {
 | 
			
		||||
 | 
			
		||||
	//  Each schema version x.y stands for the range of versions a.b where a==x  and b<=y. This list comes from the SupportedSchemaVersions field in  GcsCapabilities.
 | 
			
		||||
	SupportedSchemaVersions []Version `json:"SupportedSchemaVersions,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ProtocolVersion int32 `json:"ProtocolVersion,omitempty"`
 | 
			
		||||
 | 
			
		||||
	GuestDefinedCapabilities *interface{} `json:"GuestDefinedCapabilities,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_crash_reporting.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_crash_reporting.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type GuestCrashReporting struct {
 | 
			
		||||
	WindowsCrashSettings *WindowsCrashReporting `json:"WindowsCrashSettings,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_os.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_os.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type GuestOs struct {
 | 
			
		||||
	HostName string `json:"HostName,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_state.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/guest_state.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type GuestState struct {
 | 
			
		||||
 | 
			
		||||
	//  The path to an existing file uses for persistent guest state storage.  An empty string indicates the system should initialize new transient, in-memory guest state.
 | 
			
		||||
	GuestStateFilePath string `json:"GuestStateFilePath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  The path to an existing file for persistent runtime state storage.  An empty string indicates the system should initialize new transient, in-memory runtime state.
 | 
			
		||||
	RuntimeStateFilePath string `json:"RuntimeStateFilePath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  If true, the guest state and runtime state files will be used as templates  to populate transient, in-memory state instead of using the files as persistent backing store.
 | 
			
		||||
	ForceTransientState bool `json:"ForceTransientState,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/host_processor_modify_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/host_processor_modify_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
// Structure used to request a service processor modification
 | 
			
		||||
type HostProcessorModificationRequest struct {
 | 
			
		||||
	Operation        CPUGroupOperation `json:"Operation,omitempty"`
 | 
			
		||||
	OperationDetails interface{}       `json:"OperationDetails,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hosted_system.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hosted_system.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type HostedSystem struct {
 | 
			
		||||
	SchemaVersion *Version `json:"SchemaVersion,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Container *Container `json:"Container,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type HvSocket struct {
 | 
			
		||||
	Config *HvSocketSystemConfig `json:"Config,omitempty"`
 | 
			
		||||
 | 
			
		||||
	EnablePowerShellDirect bool `json:"EnablePowerShellDirect,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_2.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_2.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  HvSocket configuration for a VM
 | 
			
		||||
type HvSocket2 struct {
 | 
			
		||||
	HvSocketConfig *HvSocketSystemConfig `json:"HvSocketConfig,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_address.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_address.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  This class defines address settings applied to a VM
 | 
			
		||||
//  by the GCS every time a VM starts or restores.
 | 
			
		||||
type HvSocketAddress struct {
 | 
			
		||||
	LocalAddress  string `json:"LocalAddress,omitempty"`
 | 
			
		||||
	ParentAddress string `json:"ParentAddress,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										28
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_service_config.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_service_config.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type HvSocketServiceConfig struct {
 | 
			
		||||
 | 
			
		||||
	//  SDDL string that HvSocket will check before allowing a host process to bind  to this specific service.  If not specified, defaults to the system DefaultBindSecurityDescriptor, defined in  HvSocketSystemWpConfig in V1.
 | 
			
		||||
	BindSecurityDescriptor string `json:"BindSecurityDescriptor,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  SDDL string that HvSocket will check before allowing a host process to connect  to this specific service.  If not specified, defaults to the system DefaultConnectSecurityDescriptor, defined in  HvSocketSystemWpConfig in V1.
 | 
			
		||||
	ConnectSecurityDescriptor string `json:"ConnectSecurityDescriptor,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  If true, HvSocket will process wildcard binds for this service/system combination.  Wildcard binds are secured in the registry at  SOFTWARE/Microsoft/Windows NT/CurrentVersion/Virtualization/HvSocket/WildcardDescriptors
 | 
			
		||||
	AllowWildcardBinds bool `json:"AllowWildcardBinds,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// Disabled controls whether the HvSocket service is accepting connection requests.
 | 
			
		||||
	// This set to true will make the service refuse all incoming connections as well as cancel
 | 
			
		||||
	// any connections already established. The service itself will still be active however
 | 
			
		||||
	// and can be re-enabled at a future time.
 | 
			
		||||
	Disabled bool `json:"Disabled,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_system_config.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/hv_socket_system_config.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  This is the HCS Schema version of the HvSocket configuration. The VMWP version is  located in Config.Devices.IC in V1.
 | 
			
		||||
type HvSocketSystemConfig struct {
 | 
			
		||||
 | 
			
		||||
	//  SDDL string that HvSocket will check before allowing a host process to bind  to an unlisted service for this specific container/VM (not wildcard binds).
 | 
			
		||||
	DefaultBindSecurityDescriptor string `json:"DefaultBindSecurityDescriptor,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  SDDL string that HvSocket will check before allowing a host process to connect  to an unlisted service in the VM/container.
 | 
			
		||||
	DefaultConnectSecurityDescriptor string `json:"DefaultConnectSecurityDescriptor,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ServiceTable map[string]HvSocketServiceConfig `json:"ServiceTable,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										42
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/interrupt_moderation_mode.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/interrupt_moderation_mode.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type InterruptModerationName string
 | 
			
		||||
 | 
			
		||||
// The valid interrupt moderation modes for I/O virtualization (IOV) offloading.
 | 
			
		||||
const (
 | 
			
		||||
	DefaultName  InterruptModerationName = "Default"
 | 
			
		||||
	AdaptiveName InterruptModerationName = "Adaptive"
 | 
			
		||||
	OffName      InterruptModerationName = "Off"
 | 
			
		||||
	LowName      InterruptModerationName = "Low"
 | 
			
		||||
	MediumName   InterruptModerationName = "Medium"
 | 
			
		||||
	HighName     InterruptModerationName = "High"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type InterruptModerationValue uint32
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	DefaultValue InterruptModerationValue = iota
 | 
			
		||||
	AdaptiveValue
 | 
			
		||||
	OffValue
 | 
			
		||||
	LowValue    InterruptModerationValue = 100
 | 
			
		||||
	MediumValue InterruptModerationValue = 200
 | 
			
		||||
	HighValue   InterruptModerationValue = 300
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var InterruptModerationValueToName = map[InterruptModerationValue]InterruptModerationName{
 | 
			
		||||
	DefaultValue:  DefaultName,
 | 
			
		||||
	AdaptiveValue: AdaptiveName,
 | 
			
		||||
	OffValue:      OffName,
 | 
			
		||||
	LowValue:      LowName,
 | 
			
		||||
	MediumValue:   MediumName,
 | 
			
		||||
	HighValue:     HighName,
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/iov_settings.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/iov_settings.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type IovSettings struct {
 | 
			
		||||
	// The weight assigned to this port for I/O virtualization (IOV) offloading.
 | 
			
		||||
	// Setting this to 0 disables IOV offloading.
 | 
			
		||||
	OffloadWeight *uint32 `json:"OffloadWeight,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// The number of queue pairs requested for this port for I/O virtualization (IOV) offloading.
 | 
			
		||||
	QueuePairsRequested *uint32 `json:"QueuePairsRequested,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// The interrupt moderation mode for I/O virtualization (IOV) offloading.
 | 
			
		||||
	InterruptModeration *InterruptModerationName `json:"InterruptModeration,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										13
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/keyboard.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/keyboard.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Keyboard struct {
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/layer.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/layer.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Layer struct {
 | 
			
		||||
	Id string `json:"Id,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Path string `json:"Path,omitempty"`
 | 
			
		||||
 | 
			
		||||
	PathType string `json:"PathType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  Unspecified defaults to Enabled
 | 
			
		||||
	Cache string `json:"Cache,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/linux_kernel_direct.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/linux_kernel_direct.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.2
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type LinuxKernelDirect struct {
 | 
			
		||||
	KernelFilePath string `json:"KernelFilePath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	InitRdPath string `json:"InitRdPath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	KernelCmdLine string `json:"KernelCmdLine,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/logical_processor.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/logical_processor.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type LogicalProcessor struct {
 | 
			
		||||
	LpIndex     uint32 `json:"LpIndex,omitempty"`
 | 
			
		||||
	NodeNumber  uint8  `json:"NodeNumber,omitempty"`
 | 
			
		||||
	PackageId   uint32 `json:"PackageId,omitempty"`
 | 
			
		||||
	CoreId      uint32 `json:"CoreId,omitempty"`
 | 
			
		||||
	RootVpIndex int32  `json:"RootVpIndex,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										20
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_directory.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_directory.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type MappedDirectory struct {
 | 
			
		||||
	HostPath string `json:"HostPath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HostPathType string `json:"HostPathType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ContainerPath string `json:"ContainerPath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ReadOnly bool `json:"ReadOnly,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_pipe.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mapped_pipe.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type MappedPipe struct {
 | 
			
		||||
	ContainerPipeName string `json:"ContainerPipeName,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HostPath string `json:"HostPath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HostPathType string `json:"HostPathType,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Memory struct {
 | 
			
		||||
	SizeInMB uint64 `json:"SizeInMB,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										49
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_2.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_2.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,49 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Memory2 struct {
 | 
			
		||||
	SizeInMB uint64 `json:"SizeInMB,omitempty"`
 | 
			
		||||
 | 
			
		||||
	AllowOvercommit bool `json:"AllowOvercommit,omitempty"`
 | 
			
		||||
 | 
			
		||||
	EnableHotHint bool `json:"EnableHotHint,omitempty"`
 | 
			
		||||
 | 
			
		||||
	EnableColdHint bool `json:"EnableColdHint,omitempty"`
 | 
			
		||||
 | 
			
		||||
	EnableEpf bool `json:"EnableEpf,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// EnableDeferredCommit is private in the schema. If regenerated need to add back.
 | 
			
		||||
	EnableDeferredCommit bool `json:"EnableDeferredCommit,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// EnableColdDiscardHint if enabled, then the memory cold discard hint feature is exposed
 | 
			
		||||
	// to the VM, allowing it to trim non-zeroed pages from the working set (if supported by
 | 
			
		||||
	// the guest operating system).
 | 
			
		||||
	EnableColdDiscardHint bool `json:"EnableColdDiscardHint,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// LowMmioGapInMB is the low MMIO region allocated below 4GB.
 | 
			
		||||
	//
 | 
			
		||||
	// TODO: This is pre-release support in schema 2.3. Need to add build number
 | 
			
		||||
	// docs when a public build with this is out.
 | 
			
		||||
	LowMMIOGapInMB uint64 `json:"LowMmioGapInMB,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// HighMmioBaseInMB is the high MMIO region allocated above 4GB (base and
 | 
			
		||||
	// size).
 | 
			
		||||
	//
 | 
			
		||||
	// TODO: This is pre-release support in schema 2.3. Need to add build number
 | 
			
		||||
	// docs when a public build with this is out.
 | 
			
		||||
	HighMMIOBaseInMB uint64 `json:"HighMmioBaseInMB,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// HighMmioGapInMB is the high MMIO region.
 | 
			
		||||
	//
 | 
			
		||||
	// TODO: This is pre-release support in schema 2.3. Need to add build number
 | 
			
		||||
	// docs when a public build with this is out.
 | 
			
		||||
	HighMMIOGapInMB uint64 `json:"HighMmioGapInMB,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_information_for_vm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_information_for_vm.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type MemoryInformationForVm struct {
 | 
			
		||||
	VirtualNodeCount uint32 `json:"VirtualNodeCount,omitempty"`
 | 
			
		||||
 | 
			
		||||
	VirtualMachineMemory *VmMemory `json:"VirtualMachineMemory,omitempty"`
 | 
			
		||||
 | 
			
		||||
	VirtualNodes []VirtualNodeInfo `json:"VirtualNodes,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_stats.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/memory_stats.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  Memory runtime statistics
 | 
			
		||||
type MemoryStats struct {
 | 
			
		||||
	MemoryUsageCommitBytes uint64 `json:"MemoryUsageCommitBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	MemoryUsageCommitPeakBytes uint64 `json:"MemoryUsageCommitPeakBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	MemoryUsagePrivateWorkingSetBytes uint64 `json:"MemoryUsagePrivateWorkingSetBytes,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modification_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modification_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ModificationRequest struct {
 | 
			
		||||
	PropertyType PropertyType `json:"PropertyType,omitempty"`
 | 
			
		||||
	Settings     interface{}  `json:"Settings,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										20
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modify_setting_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/modify_setting_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ModifySettingRequest struct {
 | 
			
		||||
	ResourcePath string `json:"ResourcePath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	RequestType string `json:"RequestType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Settings interface{} `json:"Settings,omitempty"` // NOTE: Swagger generated as *interface{}. Locally updated
 | 
			
		||||
 | 
			
		||||
	GuestRequest interface{} `json:"GuestRequest,omitempty"` // NOTE: Swagger generated as *interface{}. Locally updated
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										13
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mouse.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/mouse.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Mouse struct {
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/network_adapter.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/network_adapter.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type NetworkAdapter struct {
 | 
			
		||||
	EndpointId string `json:"EndpointId,omitempty"`
 | 
			
		||||
	MacAddress string `json:"MacAddress,omitempty"`
 | 
			
		||||
	// The I/O virtualization (IOV) offloading configuration.
 | 
			
		||||
	IovSettings *IovSettings `json:"IovSettings,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										23
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/networking.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/networking.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Networking struct {
 | 
			
		||||
	AllowUnqualifiedDnsQuery bool `json:"AllowUnqualifiedDnsQuery,omitempty"`
 | 
			
		||||
 | 
			
		||||
	DnsSearchList string `json:"DnsSearchList,omitempty"`
 | 
			
		||||
 | 
			
		||||
	NetworkSharedContainerName string `json:"NetworkSharedContainerName,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  Guid in windows; string in linux
 | 
			
		||||
	Namespace string `json:"Namespace,omitempty"`
 | 
			
		||||
 | 
			
		||||
	NetworkAdapters []string `json:"NetworkAdapters,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_notification.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_notification.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  Notification data that is indicated to components running in the Virtual Machine.
 | 
			
		||||
type PauseNotification struct {
 | 
			
		||||
	Reason string `json:"Reason,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_options.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/pause_options.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  Options for HcsPauseComputeSystem
 | 
			
		||||
type PauseOptions struct {
 | 
			
		||||
	SuspensionLevel string `json:"SuspensionLevel,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HostedNotification *PauseNotification `json:"HostedNotification,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Plan9 struct {
 | 
			
		||||
	Shares []Plan9Share `json:"Shares,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										34
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9_share.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/plan9_share.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,34 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Plan9Share struct {
 | 
			
		||||
	Name string `json:"Name,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  The name by which the guest operation system can access this share, via  the aname parameter in the Plan9 protocol.
 | 
			
		||||
	AccessName string `json:"AccessName,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Path string `json:"Path,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Port int32 `json:"Port,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// Flags are marked private. Until they are exported correctly
 | 
			
		||||
	//
 | 
			
		||||
	// ReadOnly      0x00000001
 | 
			
		||||
	// LinuxMetadata 0x00000004
 | 
			
		||||
	// CaseSensitive 0x00000008
 | 
			
		||||
	Flags int32 `json:"Flags,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ReadOnly bool `json:"ReadOnly,omitempty"`
 | 
			
		||||
 | 
			
		||||
	UseShareRootIdentity bool `json:"UseShareRootIdentity,omitempty"`
 | 
			
		||||
 | 
			
		||||
	AllowedFiles []string `json:"AllowedFiles,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										33
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_details.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_details.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"time"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
//  Information about a process running in a container
 | 
			
		||||
type ProcessDetails struct {
 | 
			
		||||
	ProcessId int32 `json:"ProcessId,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ImageName string `json:"ImageName,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CreateTimestamp time.Time `json:"CreateTimestamp,omitempty"`
 | 
			
		||||
 | 
			
		||||
	UserTime100ns int32 `json:"UserTime100ns,omitempty"`
 | 
			
		||||
 | 
			
		||||
	KernelTime100ns int32 `json:"KernelTime100ns,omitempty"`
 | 
			
		||||
 | 
			
		||||
	MemoryCommitBytes int32 `json:"MemoryCommitBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	MemoryWorkingSetPrivateBytes int32 `json:"MemoryWorkingSetPrivateBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	MemoryWorkingSetSharedBytes int32 `json:"MemoryWorkingSetSharedBytes,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_modify_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_modify_request.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  Passed to HcsRpc_ModifyProcess
 | 
			
		||||
type ProcessModifyRequest struct {
 | 
			
		||||
	Operation string `json:"Operation,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ConsoleSize *ConsoleSize `json:"ConsoleSize,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CloseHandle *CloseHandle `json:"CloseHandle,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										46
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_parameters.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_parameters.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,46 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ProcessParameters struct {
 | 
			
		||||
	ApplicationName string `json:"ApplicationName,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CommandLine string `json:"CommandLine,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  optional alternative to CommandLine, currently only supported by Linux GCS
 | 
			
		||||
	CommandArgs []string `json:"CommandArgs,omitempty"`
 | 
			
		||||
 | 
			
		||||
	User string `json:"User,omitempty"`
 | 
			
		||||
 | 
			
		||||
	WorkingDirectory string `json:"WorkingDirectory,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Environment map[string]string `json:"Environment,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  if set, will run as low-privilege process
 | 
			
		||||
	RestrictedToken bool `json:"RestrictedToken,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  if set, ignore StdErrPipe
 | 
			
		||||
	EmulateConsole bool `json:"EmulateConsole,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CreateStdInPipe bool `json:"CreateStdInPipe,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CreateStdOutPipe bool `json:"CreateStdOutPipe,omitempty"`
 | 
			
		||||
 | 
			
		||||
	CreateStdErrPipe bool `json:"CreateStdErrPipe,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  height then width
 | 
			
		||||
	ConsoleSize []int32 `json:"ConsoleSize,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  if set, find an existing session for the user and create the process in it
 | 
			
		||||
	UseExistingLogin bool `json:"UseExistingLogin,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  if set, use the legacy console instead of conhost
 | 
			
		||||
	UseLegacyConsole bool `json:"UseLegacyConsole,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_status.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_status.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  Status of a process running in a container
 | 
			
		||||
type ProcessStatus struct {
 | 
			
		||||
	ProcessId int32 `json:"ProcessId,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Exited bool `json:"Exited,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ExitCode int32 `json:"ExitCode,omitempty"`
 | 
			
		||||
 | 
			
		||||
	LastWaitResult int32 `json:"LastWaitResult,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Processor struct {
 | 
			
		||||
	Count int32 `json:"Count,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Maximum int32 `json:"Maximum,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Weight int32 `json:"Weight,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										23
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_2.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_2.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.5
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Processor2 struct {
 | 
			
		||||
	Count int32 `json:"Count,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Limit int32 `json:"Limit,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Weight int32 `json:"Weight,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ExposeVirtualizationExtensions bool `json:"ExposeVirtualizationExtensions,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// An optional object that configures the CPU Group to which a Virtual Machine is going to bind to.
 | 
			
		||||
	CpuGroup *CpuGroup `json:"CpuGroup,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_stats.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_stats.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  CPU runtime statistics
 | 
			
		||||
type ProcessorStats struct {
 | 
			
		||||
	TotalRuntime100ns uint64 `json:"TotalRuntime100ns,omitempty"`
 | 
			
		||||
 | 
			
		||||
	RuntimeUser100ns uint64 `json:"RuntimeUser100ns,omitempty"`
 | 
			
		||||
 | 
			
		||||
	RuntimeKernel100ns uint64 `json:"RuntimeKernel100ns,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_topology.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/processor_topology.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type ProcessorTopology struct {
 | 
			
		||||
	LogicalProcessorCount uint32             `json:"LogicalProcessorCount,omitempty"`
 | 
			
		||||
	LogicalProcessors     []LogicalProcessor `json:"LogicalProcessors,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										54
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/properties.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/properties.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,54 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	v1 "github.com/containerd/cgroups/stats/v1"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type Properties struct {
 | 
			
		||||
	Id string `json:"Id,omitempty"`
 | 
			
		||||
 | 
			
		||||
	SystemType string `json:"SystemType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	RuntimeOsType string `json:"RuntimeOsType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Name string `json:"Name,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Owner string `json:"Owner,omitempty"`
 | 
			
		||||
 | 
			
		||||
	RuntimeId string `json:"RuntimeId,omitempty"`
 | 
			
		||||
 | 
			
		||||
	RuntimeTemplateId string `json:"RuntimeTemplateId,omitempty"`
 | 
			
		||||
 | 
			
		||||
	State string `json:"State,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Stopped bool `json:"Stopped,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ExitType string `json:"ExitType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Memory *MemoryInformationForVm `json:"Memory,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Statistics *Statistics `json:"Statistics,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ProcessList []ProcessDetails `json:"ProcessList,omitempty"`
 | 
			
		||||
 | 
			
		||||
	TerminateOnLastHandleClosed bool `json:"TerminateOnLastHandleClosed,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HostingSystemId string `json:"HostingSystemId,omitempty"`
 | 
			
		||||
 | 
			
		||||
	SharedMemoryRegionInfo []SharedMemoryRegionInfo `json:"SharedMemoryRegionInfo,omitempty"`
 | 
			
		||||
 | 
			
		||||
	GuestConnectionInfo *GuestConnectionInfo `json:"GuestConnectionInfo,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// Metrics is not part of the API for HCS but this is used for LCOW v2 to
 | 
			
		||||
	// return the full cgroup metrics from the guest.
 | 
			
		||||
	Metrics *v1.Metrics `json:"LCOWMetrics,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_query.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_query.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//   By default the basic properties will be returned. This query provides a way to  request specific properties.
 | 
			
		||||
type PropertyQuery struct {
 | 
			
		||||
	PropertyTypes []PropertyType `json:"PropertyTypes,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										26
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_type.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/property_type.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type PropertyType string
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	PTMemory                      PropertyType = "Memory"
 | 
			
		||||
	PTGuestMemory                 PropertyType = "GuestMemory"
 | 
			
		||||
	PTStatistics                  PropertyType = "Statistics"
 | 
			
		||||
	PTProcessList                 PropertyType = "ProcessList"
 | 
			
		||||
	PTTerminateOnLastHandleClosed PropertyType = "TerminateOnLastHandleClosed"
 | 
			
		||||
	PTSharedMemoryRegion          PropertyType = "SharedMemoryRegion"
 | 
			
		||||
	PTContainerCredentialGuard    PropertyType = "ContainerCredentialGuard" // This field is not generated by swagger. This was added manually.
 | 
			
		||||
	PTGuestConnection             PropertyType = "GuestConnection"
 | 
			
		||||
	PTICHeartbeatStatus           PropertyType = "ICHeartbeatStatus"
 | 
			
		||||
	PTProcessorTopology           PropertyType = "ProcessorTopology"
 | 
			
		||||
	PTCPUGroup                    PropertyType = "CpuGroup"
 | 
			
		||||
)
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/rdp_connection_options.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/rdp_connection_options.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type RdpConnectionOptions struct {
 | 
			
		||||
	AccessSids []string `json:"AccessSids,omitempty"`
 | 
			
		||||
 | 
			
		||||
	NamedPipe string `json:"NamedPipe,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_changes.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_changes.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type RegistryChanges struct {
 | 
			
		||||
	AddValues []RegistryValue `json:"AddValues,omitempty"`
 | 
			
		||||
 | 
			
		||||
	DeleteKeys []RegistryKey `json:"DeleteKeys,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_key.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_key.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type RegistryKey struct {
 | 
			
		||||
	Hive string `json:"Hive,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Name string `json:"Name,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Volatile bool `json:"Volatile,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										30
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_value.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/registry_value.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type RegistryValue struct {
 | 
			
		||||
	Key *RegistryKey `json:"Key,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Name string `json:"Name,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Type_ string `json:"Type,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  One and only one value type must be set.
 | 
			
		||||
	StringValue string `json:"StringValue,omitempty"`
 | 
			
		||||
 | 
			
		||||
	BinaryValue string `json:"BinaryValue,omitempty"`
 | 
			
		||||
 | 
			
		||||
	DWordValue int32 `json:"DWordValue,omitempty"`
 | 
			
		||||
 | 
			
		||||
	QWordValue int32 `json:"QWordValue,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  Only used if RegistryValueType is CustomType  The data is in BinaryValue
 | 
			
		||||
	CustomType int32 `json:"CustomType,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/restore_state.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/restore_state.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type RestoreState struct {
 | 
			
		||||
 | 
			
		||||
	//  The path to the save state file to restore the system from.
 | 
			
		||||
	SaveStateFilePath string `json:"SaveStateFilePath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  The ID of the template system to clone this new system off of. An empty  string indicates the system should not be cloned from a template.
 | 
			
		||||
	TemplateSystemId string `json:"TemplateSystemId,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/save_options.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/save_options.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type SaveOptions struct {
 | 
			
		||||
 | 
			
		||||
	//  The type of save operation to be performed.
 | 
			
		||||
	SaveType string `json:"SaveType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  The path to the file that will container the saved state.
 | 
			
		||||
	SaveStateFilePath string `json:"SaveStateFilePath,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/scsi.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/scsi.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Scsi struct {
 | 
			
		||||
 | 
			
		||||
	//  Map of attachments, where the key is the integer LUN number on the controller.
 | 
			
		||||
	Attachments map[string]Attachment `json:"Attachments,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/service_properties.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/service_properties.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.4
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
import "encoding/json"
 | 
			
		||||
 | 
			
		||||
type ServiceProperties struct {
 | 
			
		||||
	// Changed Properties field to []json.RawMessage from []interface{} to avoid having to
 | 
			
		||||
	// remarshal sp.Properties[n] and unmarshal into the type(s) we want.
 | 
			
		||||
	Properties []json.RawMessage `json:"Properties,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_configuration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_configuration.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type SharedMemoryConfiguration struct {
 | 
			
		||||
	Regions []SharedMemoryRegion `json:"Regions,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type SharedMemoryRegion struct {
 | 
			
		||||
	SectionName string `json:"SectionName,omitempty"`
 | 
			
		||||
 | 
			
		||||
	StartOffset int32 `json:"StartOffset,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Length int32 `json:"Length,omitempty"`
 | 
			
		||||
 | 
			
		||||
	AllowGuestWrite bool `json:"AllowGuestWrite,omitempty"`
 | 
			
		||||
 | 
			
		||||
	HiddenFromGuest bool `json:"HiddenFromGuest,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region_info.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/shared_memory_region_info.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type SharedMemoryRegionInfo struct {
 | 
			
		||||
	SectionName string `json:"SectionName,omitempty"`
 | 
			
		||||
 | 
			
		||||
	GuestPhysicalAddress int32 `json:"GuestPhysicalAddress,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/silo_properties.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/silo_properties.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  Silo job information
 | 
			
		||||
type SiloProperties struct {
 | 
			
		||||
	Enabled bool `json:"Enabled,omitempty"`
 | 
			
		||||
 | 
			
		||||
	JobName string `json:"JobName,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										29
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/statistics.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/statistics.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"time"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
//  Runtime statistics for a container
 | 
			
		||||
type Statistics struct {
 | 
			
		||||
	Timestamp time.Time `json:"Timestamp,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ContainerStartTime time.Time `json:"ContainerStartTime,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Uptime100ns uint64 `json:"Uptime100ns,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Processor *ProcessorStats `json:"Processor,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Memory *MemoryStats `json:"Memory,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Storage *StorageStats `json:"Storage,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Storage struct {
 | 
			
		||||
 | 
			
		||||
	//  List of layers that describe the parent hierarchy for a container's  storage. These layers combined together, presented as a disposable  and/or committable working storage, are used by the container to  record all changes done to the parent layers.
 | 
			
		||||
	Layers []Layer `json:"Layers,omitempty"`
 | 
			
		||||
 | 
			
		||||
	//  Path that points to the scratch space of a container, where parent  layers are combined together to present a new disposable and/or committable  layer with the changes done during its runtime.
 | 
			
		||||
	Path string `json:"Path,omitempty"`
 | 
			
		||||
 | 
			
		||||
	QoS *StorageQoS `json:"QoS,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_qo_s.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_qo_s.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type StorageQoS struct {
 | 
			
		||||
	IopsMaximum int32 `json:"IopsMaximum,omitempty"`
 | 
			
		||||
 | 
			
		||||
	BandwidthMaximum int32 `json:"BandwidthMaximum,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_stats.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/storage_stats.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
//  Storage runtime statistics
 | 
			
		||||
type StorageStats struct {
 | 
			
		||||
	ReadCountNormalized uint64 `json:"ReadCountNormalized,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ReadSizeBytes uint64 `json:"ReadSizeBytes,omitempty"`
 | 
			
		||||
 | 
			
		||||
	WriteCountNormalized uint64 `json:"WriteCountNormalized,omitempty"`
 | 
			
		||||
 | 
			
		||||
	WriteSizeBytes uint64 `json:"WriteSizeBytes,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/topology.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/topology.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Topology struct {
 | 
			
		||||
	Memory *Memory2 `json:"Memory,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Processor *Processor2 `json:"Processor,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										20
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Uefi struct {
 | 
			
		||||
	EnableDebugger bool `json:"EnableDebugger,omitempty"`
 | 
			
		||||
 | 
			
		||||
	SecureBootTemplateId string `json:"SecureBootTemplateId,omitempty"`
 | 
			
		||||
 | 
			
		||||
	BootThis *UefiBootEntry `json:"BootThis,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Console string `json:"Console,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi_boot_entry.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/uefi_boot_entry.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type UefiBootEntry struct {
 | 
			
		||||
	DeviceType string `json:"DeviceType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	DevicePath string `json:"DevicePath,omitempty"`
 | 
			
		||||
 | 
			
		||||
	DiskNumber int32 `json:"DiskNumber,omitempty"`
 | 
			
		||||
 | 
			
		||||
	OptionalData string `json:"OptionalData,omitempty"`
 | 
			
		||||
 | 
			
		||||
	VmbFsRootPath string `json:"VmbFsRootPath,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/version.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/version.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type Version struct {
 | 
			
		||||
	Major int32 `json:"Major,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Minor int32 `json:"Minor,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/video_monitor.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/video_monitor.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type VideoMonitor struct {
 | 
			
		||||
	HorizontalResolution int32 `json:"HorizontalResolution,omitempty"`
 | 
			
		||||
 | 
			
		||||
	VerticalResolution int32 `json:"VerticalResolution,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ConnectionOptions *RdpConnectionOptions `json:"ConnectionOptions,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										32
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_machine.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								vendor/github.com/Microsoft/hcsshim/internal/hcs/schema2/virtual_machine.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
/*
 | 
			
		||||
 * HCS API
 | 
			
		||||
 *
 | 
			
		||||
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 | 
			
		||||
 *
 | 
			
		||||
 * API version: 2.1
 | 
			
		||||
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package hcsschema
 | 
			
		||||
 | 
			
		||||
type VirtualMachine struct {
 | 
			
		||||
 | 
			
		||||
	// StopOnReset is private in the schema. If regenerated need to put back.
 | 
			
		||||
	StopOnReset bool `json:"StopOnReset,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Chipset *Chipset `json:"Chipset,omitempty"`
 | 
			
		||||
 | 
			
		||||
	ComputeTopology *Topology `json:"ComputeTopology,omitempty"`
 | 
			
		||||
 | 
			
		||||
	Devices *Devices `json:"Devices,omitempty"`
 | 
			
		||||
 | 
			
		||||
	GuestState *GuestState `json:"GuestState,omitempty"`
 | 
			
		||||
 | 
			
		||||
	RestoreState *RestoreState `json:"RestoreState,omitempty"`
 | 
			
		||||
 | 
			
		||||
	RegistryChanges *RegistryChanges `json:"RegistryChanges,omitempty"`
 | 
			
		||||
 | 
			
		||||
	StorageQoS *StorageQoS `json:"StorageQoS,omitempty"`
 | 
			
		||||
 | 
			
		||||
	GuestConnection *GuestConnection `json:"GuestConnection,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user