hcnshim

package module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 1 Imported by: 0

README

hcnshim

This package provides the Golang interface for accessing Windows HCN APIs to manage entities within the Host Network Service (HNS), which serves as the server container networking component in Windows. While it is mainly utilized by the Windows Kube Proxy component in Kubernetes, it is also available for use in other projects, such as Azure CNI, Windows CNI, Calico CNI, Flannel CNI, Azure NPM, and more.

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

View Source
const (
	Allow = hns.Allow
	Block = hns.Block

	In  = hns.In
	Out = hns.Out

	Host   = hns.Host
	Switch = hns.Switch
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLPolicy

type ACLPolicy = hns.ACLPolicy

type ActionType

type ActionType = hns.ActionType

type DirectionType

type DirectionType = hns.DirectionType

type IsolationPolicy

type IsolationPolicy = hns.IsolationPolicy

type NatPolicy

type NatPolicy = hns.NatPolicy

type OutboundNatPolicy

type OutboundNatPolicy = hns.OutboundNatPolicy

type PaPolicy

type PaPolicy = hns.PaPolicy

type Policy

type Policy = hns.Policy

type PolicyType

type PolicyType = hns.PolicyType

Type of Request Support in ModifySystem

type ProxyPolicy

type ProxyPolicy = hns.ProxyPolicy

type QosPolicy

type QosPolicy = hns.QosPolicy

type RuleType

type RuleType = hns.RuleType

type VlanPolicy

type VlanPolicy = hns.VlanPolicy

type VsidPolicy

type VsidPolicy = hns.VsidPolicy

Directories

Path Synopsis
Package computestorage is a wrapper around the HCS storage APIs.
Package computestorage is a wrapper around the HCS storage APIs.
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
cni
cow
hcs
hns
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.
log
oc
winapi
Package winapi contains various low-level bindings to Windows APIs.
Package winapi contains various low-level bindings to Windows APIs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL