...

Source file src/github.com/Microsoft/hcsshim/internal/hcs/schema2/properties.go

Documentation: github.com/Microsoft/hcsshim/internal/hcs/schema2

     1  /*
     2   * HCS API
     3   *
     4   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
     5   *
     6   * API version: 2.1
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package hcsschema
    11  
    12  import (
    13  	v1 "github.com/containerd/cgroups/stats/v1"
    14  )
    15  
    16  type Properties struct {
    17  	Id string `json:"Id,omitempty"`
    18  
    19  	SystemType string `json:"SystemType,omitempty"`
    20  
    21  	RuntimeOsType string `json:"RuntimeOsType,omitempty"`
    22  
    23  	Name string `json:"Name,omitempty"`
    24  
    25  	Owner string `json:"Owner,omitempty"`
    26  
    27  	RuntimeId string `json:"RuntimeId,omitempty"`
    28  
    29  	RuntimeTemplateId string `json:"RuntimeTemplateId,omitempty"`
    30  
    31  	State string `json:"State,omitempty"`
    32  
    33  	Stopped bool `json:"Stopped,omitempty"`
    34  
    35  	ExitType string `json:"ExitType,omitempty"`
    36  
    37  	Memory *MemoryInformationForVm `json:"Memory,omitempty"`
    38  
    39  	Statistics *Statistics `json:"Statistics,omitempty"`
    40  
    41  	ProcessList []ProcessDetails `json:"ProcessList,omitempty"`
    42  
    43  	TerminateOnLastHandleClosed bool `json:"TerminateOnLastHandleClosed,omitempty"`
    44  
    45  	HostingSystemId string `json:"HostingSystemId,omitempty"`
    46  
    47  	SharedMemoryRegionInfo []SharedMemoryRegionInfo `json:"SharedMemoryRegionInfo,omitempty"`
    48  
    49  	GuestConnectionInfo *GuestConnectionInfo `json:"GuestConnectionInfo,omitempty"`
    50  
    51  	// Metrics is not part of the API for HCS but this is used for LCOW v2 to
    52  	// return the full cgroup metrics from the guest.
    53  	Metrics *v1.Metrics `json:"LCOWMetrics,omitempty"`
    54  }
    55  

View as plain text