 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Copyright 2018 Microsoft. All rights reserved. MIT License
Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ( ErrMarshalNPMCache = errors.New("failed to marshal NPM Cache") ErrInformerSyncFailure = errors.New("informer sync failure") )
Functions ¶
func GetNodeName ¶
func GetNodeName() string
Types ¶
type AzureConfig ¶
type AzureConfig struct {
	K8sServerVersion *version.Info
	NodeName         string
	Version          string
	TelemetryEnabled bool
}
    AzureConfig captures the Azure specific configurations and fields
type Informers ¶
type Informers struct {
	InformerFactory informers.SharedInformerFactory           //nolint:structcheck //ignore this error
	PodInformer     coreinformers.PodInformer                 //nolint:structcheck // false lint error
	NsInformer      coreinformers.NamespaceInformer           //nolint:structcheck // false lint error
	NpInformer      networkinginformers.NetworkPolicyInformer //nolint:structcheck // false lint error
}
    Informers are the informers for the k8s controllers
type K8SControllersV1 ¶
type K8SControllersV1 struct {
	PodControllerV1       *controllersv1.PodController           //nolint:structcheck //ignore this error
	NamespaceControllerV1 *controllersv1.NamespaceController     //nolint:structcheck // false lint error
	NpmNamespaceCacheV1   *controllersv1.NpmNamespaceCache       //nolint:structcheck // false lint error
	NetPolControllerV1    *controllersv1.NetworkPolicyController //nolint:structcheck // false lint error
}
    K8SControllerV1 are the legacy k8s controllers
type K8SControllersV2 ¶
type K8SControllersV2 struct {
	PodControllerV2       *controllersv2.PodController           //nolint:structcheck //ignore this error
	NamespaceControllerV2 *controllersv2.NamespaceController     //nolint:structcheck // false lint error
	NpmNamespaceCacheV2   *controllersv2.NpmNamespaceCache       //nolint:structcheck // false lint error
	NetPolControllerV2    *controllersv2.NetworkPolicyController //nolint:structcheck // false lint error
}
    K8SControllerV2 are the optimized k8s controllers that replace the legacy controllers
 Click to show internal directories. 
   Click to hide internal directories.