...

Source file src/github.com/Microsoft/hcsshim/internal/hcs/schema2/process_parameters.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  type ProcessParameters struct {
    13  	ApplicationName string `json:"ApplicationName,omitempty"`
    14  
    15  	CommandLine string `json:"CommandLine,omitempty"`
    16  
    17  	//  optional alternative to CommandLine, currently only supported by Linux GCS
    18  	CommandArgs []string `json:"CommandArgs,omitempty"`
    19  
    20  	User string `json:"User,omitempty"`
    21  
    22  	WorkingDirectory string `json:"WorkingDirectory,omitempty"`
    23  
    24  	Environment map[string]string `json:"Environment,omitempty"`
    25  
    26  	//  if set, will run as low-privilege process
    27  	RestrictedToken bool `json:"RestrictedToken,omitempty"`
    28  
    29  	//  if set, ignore StdErrPipe
    30  	EmulateConsole bool `json:"EmulateConsole,omitempty"`
    31  
    32  	CreateStdInPipe bool `json:"CreateStdInPipe,omitempty"`
    33  
    34  	CreateStdOutPipe bool `json:"CreateStdOutPipe,omitempty"`
    35  
    36  	CreateStdErrPipe bool `json:"CreateStdErrPipe,omitempty"`
    37  
    38  	//  height then width
    39  	ConsoleSize []int32 `json:"ConsoleSize,omitempty"`
    40  
    41  	//  if set, find an existing session for the user and create the process in it
    42  	UseExistingLogin bool `json:"UseExistingLogin,omitempty"`
    43  
    44  	//  if set, use the legacy console instead of conhost
    45  	UseLegacyConsole bool `json:"UseLegacyConsole,omitempty"`
    46  }
    47  

View as plain text