Documentation ¶
Overview ¶
This package contains algorithmic support code for Windows. I.e. code that is used on Windows but can be UTed on any platform.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateEndpointPolicies ¶
func CalculateEndpointPolicies( n PolicyMarshaller, extraNATExceptions []*net.IPNet, natOutgoing bool, mgmtIP net.IP, logger *logrus.Entry, ) ([]json.RawMessage, []hcn.EndpointPolicy, error)
CalculateEndpointPolicies augments the hns.Netconf policies with NAT exceptions for our IPAM blocks.
Types ¶
type PolicyMarshaller ¶
type PolicyMarshaller interface {
GetHNSEndpointPolicies() []json.RawMessage
}
Click to show internal directories.
Click to hide internal directories.