Documentation
¶
Index ¶
- func Transform(obj interface{}) (interface{}, error)
- func TransformEndpointSliceFunc(obj interface{}) (interface{}, error)
- func TransformPodFunc(obj interface{}) (interface{}, error)
- func TransformServiceFunc(obj interface{}) (interface{}, error)
- type IPCache
- func (c *IPCache) CleanupStaleEntries(svcLister corelisters.ServiceLister, ...) error
- func (c *IPCache) Delete(uid string)
- func (c *IPCache) Get(uid string) ([]string, bool)
- func (c *IPCache) GetAllEntries() map[string][]string
- func (c *IPCache) SyncCache(ec map[string]varmortypes.EgressInfo, svcLister corelisters.ServiceLister, ...)
- func (c *IPCache) Update(uid string, ips []string)
- type IPWatcher
- type SlimObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TransformEndpointSliceFunc ¶
func TransformEndpointSliceFunc(obj interface{}) (interface{}, error)
func TransformPodFunc ¶
func TransformPodFunc(obj interface{}) (interface{}, error)
func TransformServiceFunc ¶
func TransformServiceFunc(obj interface{}) (interface{}, error)
Types ¶
type IPCache ¶
type IPCache struct {
// contains filtered or unexported fields
}
func (*IPCache) CleanupStaleEntries ¶
func (c *IPCache) CleanupStaleEntries(svcLister corelisters.ServiceLister, epsLister discoverylisters.EndpointSliceLister) error
func (*IPCache) GetAllEntries ¶
func (*IPCache) SyncCache ¶
func (c *IPCache) SyncCache(ec map[string]varmortypes.EgressInfo, svcLister corelisters.ServiceLister, epsLister discoverylisters.EndpointSliceLister)
type IPWatcher ¶
type IPWatcher struct {
// contains filtered or unexported fields
}
func NewIPWatcher ¶
func NewIPWatcher( varmorInterface varmorinterface.CrdV1beta1Interface, podInterface typedcore.PodInterface, serviceInterface typedcore.ServiceInterface, podinformer coreinformers.PodInformer, serviceinformer coreinformers.ServiceInformer, nsinformer coreinformers.NamespaceInformer, epsinformer discoveryinformers.EndpointSliceInformer, statusManager *statusmanager.StatusManager, egressCache map[string]varmortypes.EgressInfo, egressCacheMutex *sync.RWMutex, log logr.Logger, ) (*IPWatcher, error)
type SlimObject ¶
Click to show internal directories.
Click to hide internal directories.