# Functions
GetResponseIdentifier returns the response version of the given request identifier.
UnmarshalContainerModifySettings unmarshals the given bytes into a ContainerModifySettings message.
# Constants
AoConstruct indicates a construct active operation.
AoNone indicates no active operation.
AoPause indicates a pause active operation.
AoResume indicates a resume active operation.
AoShutdown indicates a shutdown active operation.
AoStart indicates a start active operation.
AoTerminate indicates a terminate active operation.
ComputeSystemCreateV1 is the create container request.
ComputeSystemDeleteContainerStateV1 is the delete container request.
ComputeSystemDumpStacksV1 is the dump stack request.
ComputeSystemExecuteProcessV1 is the execute process request.
ComputeSystemGetPropertiesV1 is the list process properties request.
ComputeSystemModifySettingsV1 is the modify container request.
ComputeSystemNegotiateProtocolV1 is the protocol negotiation request.
ComputeSystemNotificationV1 is the notification identifier.
ComputeSystemResizeConsoleV1 is the resize console tty request.
ComputeSystemResponseCreateV1 is the create container response.
ComputeSystemResponseDumpStacksV1 is the dump stack response.
ComputeSystemResponseExecuteProcessV1 is the execute process response.
ComputeSystemResponseGetPropertiesV1 is the list process properties response.
ComputeSystemResponseModifySettingsV1 is the modify container response.
ComputeSystemResponseNegotiateProtocolV1 is the protocol negotiation response.
ComputeSystemResponseResizeConsoleV1 is the resize console tty response.
ComputeSystemResponseShutdownForcedV1 is the forceful shutdown container response.
ComputeSystemResponseShutdownGracefulV1 is the graceful shutdown container response.
ComputeSystemResponseSignalProcessV1 is the signal process response.
ComputeSystemResponseStartV1 is the start container response.
ComputeSystemResponseWaitForProcessV1 is the wait for process exit response.
ComputeSystemShutdownForcedV1 is the forceful shutdown container request.
ComputeSystemShutdownGracefulV1 is the graceful shutdown container request.
ComputeSystemSignalProcessV1 is the signal process request.
ComputeSystemStartV1 is the start container request.
ComputeSystemWaitForProcessV1 is the wait for process exit request.
InfiniteWaitTimeout is the value for ContainerWaitForProcess.TimeoutInMs that indicates that no timeout should be in effect.
McComputeSystem is the category to define message types for compute systems.
McNone is the default category.
MessageHeaderSize is the size in bytes of the MessageHeader struct.
MiNone is the unknown identifier.
MtNone is the default MessageType.
MtNotification is the MessageType used to send a notification not initiated by a request.
MtRequest is the MessageType when a request is received.
MtResponse is the MessageType used to send a response.
NtConstructed indicates a constructed notification to be sent back to the HCS.
NtForcedExit indicates a forced exit notification to be sent back to the HCS.
NtGracefulExit indicates a graceful exit notification to be sent back to the HCS.
NtNone indicates nothing to be sent back to the HCS.
NtPaused indicates a paused notification to be sent back to the HCS.
NtReboot indicates a reboot notification to be sent back to the HCS.
NtStarted indicates a started notification to be sent back to the HCS.
NtUnexpectedExit indicates an unexpected exit notification to be sent back to the HCS.
NtUnknown indicates an unknown notification to be sent back to the HCS.
OsTypeLinux is the OS type the HCS expects for a Linux GCS.
PtCPUGroup is the property type for CPU group.
PtMappedDirectory is the property type for mapped directories.
PtMappedPipe is the property type for mapped pipes.
PtMappedVirtualDisk is the property type for mapped virtual disks.
PtMemory is the property type for memory.
PtNetwork is the property type for networking.
PtPendingUpdates is the property type for determining if there are pending updates.
PtProcessList is the property type for a process list.
PtStatistics is the property type for statistics.
PtSystemGUID is the property type for the system GUID.
PtTerminateOnLastHandleClosed is the property type for exiting when the last handle is closed.
Protocol versions.
Protocol versions.
Protocol versions.
RtAdd is the "Add" request type of operation.
RtRemove is the "Remove" request type of operation.
RtUpdate is the "Update" request type of operation.
# Structs
ContainerCreate is the message from the HCS specifying to create a container in the utility VM.
ContainerCreateResponse is the message to the HCS responding to a ContainerCreate message.
ContainerExecuteProcess is the message from the HCS specifying to execute a process either inside or outside the container namespace.
ContainerExecuteProcessResponse is the message to the HCS responding to a ContainerExecuteProcess message.
ContainerGetProperties is the message from the HCS requesting certain properties of the container, such as a list of its processes.
ContainerGetPropertiesResponse is the message to the HCS responding to a ContainerGetProperties message.
ContainerModifySettings is the message from the HCS specifying how a certain container resource should be modified.
ContainerNotification is a message sent from the GCS to the HCS to indicate some kind of event.
ContainerResizeConsole is the message from the HCS specifying to change the console size for the given process.
ContainerSignalProcess is the message from the HCS specifying to send a signal to the given process.
ContainerWaitForProcess is the message from the HCS specifying to wait until the given process exits.
ContainerWaitForProcessResponse is the message to the HCS responding to a ContainerWaitForProcess message.
No description provided by the author
ErrorRecord represents a single error to be reported back to the HCS.
ExecuteProcessSettings defines the settings for a single process to be executed either inside or outside the container namespace.
ExecuteProcessVsockStdioRelaySettings defines the port numbers for each stdio socket for a process.
GcsCapabilities specifies the abilities and scenarios supported by this GCS.
GcsGuestCapabilities represents the customized guest capabilities supported by this GCS.
MappedDirectory represents a directory on the host which is mapped to a directory on the guest through a technology such as Plan9.
MappedVirtualDisk represents a disk on the host which is mapped into a directory in the guest.
MessageBase is the base type embedded in all messages sent from the HCS to the GCS, as well as ContainerNotification which is sent from GCS to HCS.
MessageHeader is the common header present in all communications messages.
MessageResponseBase is the base type embedded in all messages sent from the GCS to the HCS except for ContainerNotification.
NegotiateProtocol is the message from the HCS used to determine the protocol version that will be used for future communication.
NegotiateProtocolResponse is the message to the HCS responding to a NegotiateProtocol message.
NetworkAdapter represents a network interface and its associated configuration.
ProcessDetails represents information about a given process.
ProcessParameters represents any process which may be started in the utility VM.
Properties represents the properties of a compute system.
No description provided by the author
PropertyQuery is a query to specify which properties are requested.
ProtocolSupport specifies the protocol versions to be used for HCS-GCS communication.
ResourceModificationRequestResponse details a container resource which should be modified, how, and with what parameters.
SchemaVersion defines the version of the schema that should be deserialized.
SignalProcessOptions represents the options for signaling a process.
VMHostedContainerSettings is the set of settings used to specify the initial configuration of a container.
VMHostedContainerSettingsV2 defines the portion of the ContainerCreate.ContainerConfig that is sent via a V2 call.
# Type aliases
ActiveOperation defines an operation to be associated with a notification sent back to the HCS.
MessageCategory allows splitting the identifier namespace to easily route similar messages for common processing.
MessageIdentifier describes the Type field of a MessageHeader struct.
MessageType is the type of the message.
NotificationType defines a type of notification to be sent back to the HCS.
OsType defines the operating system type identifier of the guest hosting the GCS.
PropertyType is the type of property, such as memory or virtual disk, which is to be modified for the container.
ProtocolVersion is a type for the selected HCS<->GCS protocol version of messages.
RequestType is the type of operation to perform on a given property type.
SequenceID is used to correlate requests and responses.