package
0.0.0-20211117040345-58a12be05581
Repository: https://github.com/microsoft/hcnproxyctrl.git
Documentation: pkg.go.dev

# Functions

AddPolicy adds a layer-4 proxy policy to HNS.
ClearPolicies removes all the proxy policies from the specified endpoint.
GetEndpointFromContainer takes a container ID as argument and returns the ID of the HNS endpoint to which it is attached.
ListPolicies returns the proxy policies that are currently active on the given endpoint.

# Constants

LocalSystemSID defines the SID of the permission set known in Windows as "Local System".

# Structs

Policy specifies the proxy and the kind of traffic that will be intercepted by the proxy.