Documentation ¶
Overview ¶
Copyright 2018 Microsoft. All rights reserved. MIT License
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type NetworkPolicyServer ¶
type NetworkPolicyServer struct { // Informers are the Kubernetes Informer // https://pkg.go.dev/k8s.io/client-go/informers models.Informers // Controllers for handling Kubernetes resource watcher events models.K8SControllersV2 // Azure-specific variables models.AzureConfig // contains filtered or unexported fields }
func NewNetworkPolicyServer ¶
func NewNetworkPolicyServer( config npmconfig.Config, informerFactory informers.SharedInformerFactory, mgr *transport.EventsServer, dp dataplane.GenericDataplane, npmVersion string, k8sServerVersion *version.Info, ) (*NetworkPolicyServer, error)
func (*NetworkPolicyServer) GetAppVersion ¶
func (n *NetworkPolicyServer) GetAppVersion() string
func (*NetworkPolicyServer) MarshalJSON ¶
func (n *NetworkPolicyServer) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.