Documentation
¶
Index ¶
Constants ¶
View Source
const ( Nat = hns.Nat ACL = hns.ACL PA = hns.PA VLAN = hns.VLAN VSID = hns.VSID VNet = hns.VNet L2Driver = hns.L2Driver Isolation = hns.Isolation QOS = hns.QOS OutboundNat = hns.OutboundNat ExternalLoadBalancer = hns.ExternalLoadBalancer Route = hns.Route Proxy = hns.Proxy )
RequestType const
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionType ¶ added in v0.5.27
type ActionType = hns.ActionType
type DirectionType ¶ added in v0.5.27
type DirectionType = hns.DirectionType
type IsolationPolicy ¶ added in v0.5.27
type IsolationPolicy = hns.IsolationPolicy
type OutboundNatPolicy ¶ added in v0.5.27
type OutboundNatPolicy = hns.OutboundNatPolicy
type PolicyType ¶ added in v0.5.27
type PolicyType = hns.PolicyType
Type of Request Support in ModifySystem
type ProxyPolicy ¶ added in v0.8.8
type ProxyPolicy = hns.ProxyPolicy
type VlanPolicy ¶ added in v0.3.2
type VlanPolicy = hns.VlanPolicy
type VsidPolicy ¶ added in v0.3.2
type VsidPolicy = hns.VsidPolicy
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
containerd-shim-lcow-v2
command
containerd-shim-lcow-v2 is a containerd shim implementation for Linux Containers on Windows (LCOW).
|
containerd-shim-lcow-v2 is a containerd shim implementation for Linux Containers on Windows (LCOW). |
|
containerd-shim-runhcs-v1
command
|
|
|
device-util
command
|
|
|
gcs
command
|
|
|
gcs-sidecar
command
|
|
|
gcstools
command
|
|
|
hooks/wait-paths
command
|
|
|
jobobject-util
command
|
|
|
mkuvmcim
command
|
|
|
ncproxy
command
|
|
|
runhcs
command
|
|
|
shimdiag
command
|
|
|
tar2ext4
command
|
|
|
wclayer
command
|
|
|
Package computestorage is a wrapper around the HCS storage APIs.
|
Package computestorage is a wrapper around the HCS storage APIs. |
|
ext4
|
|
|
Package hcn is a shim for the Host Compute Networking (HCN) service, which manages networking for Windows Server containers and Hyper-V containers.
|
Package hcn is a shim for the Host Compute Networking (HCN) service, which manages networking for Windows Server containers and Hyper-V containers. |
|
internal
|
|
|
annotations
This package contains annotations that are not exposed to end users and are either:
|
This package contains annotations that are not exposed to end users and are either: |
|
appargs
Package appargs provides argument validation routines for use with github.com/urfave/cli.
|
Package appargs provides argument validation routines for use with github.com/urfave/cli. |
|
builder/vm/lcow
Package lcow encapsulates the business logic to parse annotations, devices, and runhcs options into an hcsschema.ComputeSystem document which will be used by the shim to create UVMs (Utility VMs) via the Host Compute Service (HCS).
|
Package lcow encapsulates the business logic to parse annotations, devices, and runhcs options into an hcsschema.ComputeSystem document which will be used by the shim to create UVMs (Utility VMs) via the Host Compute Service (HCS). |
|
cmd
Package cmd provides functionality used to execute commands inside of containers or UVMs, and to connect an upstream client to those commands for handling in/out/err IO.
|
Package cmd provides functionality used to execute commands inside of containers or UVMs, and to connect an upstream client to those commands for handling in/out/err IO. |
|
computeagent
Code generated by protoc-gen-go-ttrpc.
|
Code generated by protoc-gen-go-ttrpc. |
|
computeagent/mock
Package computeagent_mock is a generated GoMock package.
|
Package computeagent_mock is a generated GoMock package. |
|
controller/vm
Package vm provides a controller for managing the lifecycle of a Utility VM (UVM).
|
Package vm provides a controller for managing the lifecycle of a Utility VM (UVM). |
|
credentials
Package credentials holds the necessary structs and functions for adding and removing Container Credential Guard instances (shortened to CCG normally) for V2 HCS schema containers.
|
Package credentials holds the necessary structs and functions for adding and removing Container Credential Guard instances (shortened to CCG normally) for V2 HCS schema containers. |
|
exec
Package exec implements a minimalized external process launcher.
|
Package exec implements a minimalized external process launcher. |
|
extendedtask
Code generated by protoc-gen-go-ttrpc.
|
Code generated by protoc-gen-go-ttrpc. |
|
guest/bridge
Package bridge defines the bridge struct, which implements the control loop and functions of the GCS's bridge client.
|
Package bridge defines the bridge struct, which implements the control loop and functions of the GCS's bridge client. |
|
guest/kmsg
Package kmsg contains support for parsing Linux kernel log entries read from /dev/kmsg.
|
Package kmsg contains support for parsing Linux kernel log entries read from /dev/kmsg. |
|
guest/linux
Package linux contains definitions required for making a linux ioctl.
|
Package linux contains definitions required for making a linux ioctl. |
|
guest/prot
Package prot defines any structures used in the communication between the HCS and the GCS.
|
Package prot defines any structures used in the communication between the HCS and the GCS. |
|
guest/runtime
Package runtime defines the interface between the GCS and an OCI container runtime.
|
Package runtime defines the interface between the GCS and an OCI container runtime. |
|
guest/runtime/runc
Package runc defines an implementation of the Runtime interface which uses runC as the container runtime.
|
Package runc defines an implementation of the Runtime interface which uses runC as the container runtime. |
|
guest/spec
Package spec encapsulates a number of GCS specific oci spec modifications, e.g., networking mounts, sandbox path substitutions in guest etc.
|
Package spec encapsulates a number of GCS specific oci spec modifications, e.g., networking mounts, sandbox path substitutions in guest etc. |
|
guest/transport
Package transport defines the interfaces describing a connection-like data transport mechanism.
|
Package transport defines the interfaces describing a connection-like data transport mechanism. |
|
jobobject
This package provides higher level constructs for the win32 job object API.
|
This package provides higher level constructs for the win32 job object API. |
|
layers
Package layers deals with container layer mounting/unmounting for LCOW and WCOW
|
Package layers deals with container layer mounting/unmounting for LCOW and WCOW |
|
ncproxyttrpc
Code generated by protoc-gen-go-ttrpc.
|
Code generated by protoc-gen-go-ttrpc. |
|
resources
Package resources handles creating, updating, and releasing resources on a container
|
Package resources handles creating, updating, and releasing resources on a container |
|
shimdiag
Code generated by protoc-gen-go-ttrpc.
|
Code generated by protoc-gen-go-ttrpc. |
|
tools/extendedtask
command
|
|
|
tools/grantvmgroupaccess
command
|
|
|
tools/hvsocketaddr
command
|
|
|
tools/networkagent
command
|
|
|
tools/policyenginesimulator
command
|
|
|
tools/rootfs
command
|
|
|
tools/securitypolicy
command
|
|
|
tools/snp-report
command
|
|
|
tools/uvmboot
command
|
|
|
tools/zapdir
command
|
|
|
uvm
This package describes the external interface for utility VMs.
|
This package describes the external interface for utility VMs. |
|
uvm/scsi
Package scsi handles SCSI device attachment and mounting for VMs.
|
Package scsi handles SCSI device attachment and mounting for VMs. |
|
vhdx
vhdx package adds the utility methods necessary to deal with the vhdx that are used as the scratch space for the containers and the uvm.
|
vhdx package adds the utility methods necessary to deal with the vhdx that are used as the scratch space for the containers and the uvm. |
|
vm/guestmanager
Package guestmanager manages guest-side operations for utility VMs (UVMs) via the GCS (Guest Compute Service) connection.
|
Package guestmanager manages guest-side operations for utility VMs (UVMs) via the GCS (Guest Compute Service) connection. |
|
vm/vmmanager
Package vmmanager manages host-side VM configuration and lifecycle for utility VMs (UVMs).
|
Package vmmanager manages host-side VM configuration and lifecycle for utility VMs (UVMs). |
|
vm/vmutils
Package vmutils provides shared utility functions for working with Utility VMs.
|
Package vmutils provides shared utility functions for working with Utility VMs. |
|
wclayer
Package wclayer provides bindings to HCS's legacy layer management API and provides a higher level interface around these calls for container layer management.
|
Package wclayer provides bindings to HCS's legacy layer management API and provides a higher level interface around these calls for container layer management. |
|
wclayer/cim
This package provides utilities for working with container image layers in the cim format via the wclayer APIs.
|
This package provides utilities for working with container image layers in the cim format via the wclayer APIs. |
|
winapi
Package winapi contains various low-level bindings to Windows APIs.
|
Package winapi contains various low-level bindings to Windows APIs. |
|
windows
Package windows provides an abstraction layer over Windows API calls to enable better testability.
|
Package windows provides an abstraction layer over Windows API calls to enable better testability. |
|
windows/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
|
pkg
|
|
|
amdsevsnp
Package amdsevsnp contains minimal functionality required to fetch attestation reports inside an enlightened guest.
|
Package amdsevsnp contains minimal functionality required to fetch attestation reports inside an enlightened guest. |
|
cimfs
This package provides simple go wrappers on top of the win32 CIMFS APIs.
|
This package provides simple go wrappers on top of the win32 CIMFS APIs. |
|
cimfs/format
format package maintains some basic structures to allows us to read header of a cim file.
|
format package maintains some basic structures to allows us to read header of a cim file. |
|
ncproxy/nodenetsvc/v0/mock
Package nodenetsvc_v0_mock is a generated GoMock package.
|
Package nodenetsvc_v0_mock is a generated GoMock package. |
|
ncproxy/nodenetsvc/v1
Package v1 contains the proto and compiled go files for the node network service v1 implementation.
|
Package v1 contains the proto and compiled go files for the node network service v1 implementation. |
|
ncproxy/nodenetsvc/v1/mock
Package nodenetsvc_v1_mock is a generated GoMock package.
|
Package nodenetsvc_v1_mock is a generated GoMock package. |
|
ociwclayer
Package ociwclayer provides functions for importing and exporting Windows container layers from and to their OCI tar representation.
|
Package ociwclayer provides functions for importing and exporting Windows container layers from and to their OCI tar representation. |
|
sandbox-spec
|
|
|
test
module
|
Click to show internal directories.
Click to hide internal directories.