Documentation ¶
Overview ¶
Package npm Copyright 2018 Microsoft. All rights reserved. MIT License
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheEncoder ¶
CacheEncoder is used only for unit tests to test encoding and decoding Cache.
func GetNodeName ¶ added in v1.4.15
func GetNodeName() string
Types ¶
type NetworkPolicyManager ¶
type NetworkPolicyManager struct { NodeName string TelemetryEnabled bool // contains filtered or unexported fields }
NetworkPolicyManager contains informers for pod, namespace and networkpolicy.
func NewNetworkPolicyManager ¶
func NewNetworkPolicyManager(config npmconfig.Config, informerFactory informers.SharedInformerFactory, dp dataplane.GenericDataplane, exec utilexec.Interface, npmVersion string, k8sServerVersion *version.Info) *NetworkPolicyManager
NewNetworkPolicyManager creates a NetworkPolicyManager
func (*NetworkPolicyManager) GetAppVersion ¶
func (npMgr *NetworkPolicyManager) GetAppVersion() string
GetAppVersion returns network policy manager app version
func (*NetworkPolicyManager) MarshalJSON ¶
func (npMgr *NetworkPolicyManager) MarshalJSON() ([]byte, error)
Directories ¶
Path | Synopsis |
---|---|
http
|
|
Package ipsm focus on ip set operation Copyright 2018 Microsoft.
|
Package ipsm focus on ip set operation Copyright 2018 Microsoft. |
pkg
|
|
controlplane/translation
Package translation converts NetworkPolicy object to policies.NPMNetworkPolicy object which contains necessary information to program dataplanes.
|
Package translation converts NetworkPolicy object to policies.NPMNetworkPolicy object which contains necessary information to program dataplanes. |
dataplane/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.