Documentation ¶
Overview ¶
Package meta provides access to kubernetes objects via informers
Index ¶
- Constants
- type Informers
- func (s *Informers) DebugInfo(out io.Writer)
- func (s *Informers) PodByIP(ip string) *corev1.Pod
- func (s *Informers) ReplicaSet(namespace, name string) *appsv1.ReplicaSet
- func (s *Informers) ServiceByIP(ip string) *corev1.Service
- func (s *Informers) Start(stopCh <-chan struct{}) error
- func (s *Informers) WaitForCacheSync(stopCh <-chan struct{})
- type InformersInterface
Constants ¶
View Source
const ( // NamespaceSeparator used by the K8s informers library to create indices // that are composed as namespace/name NamespaceSeparator = "/" IndexIP = "IP" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Informers ¶
type Informers struct { InformersInterface // contains filtered or unexported fields }
func NewInformers ¶
func NewInformers(client kubernetes.Interface) Informers
func (*Informers) ReplicaSet ¶
func (s *Informers) ReplicaSet(namespace, name string) *appsv1.ReplicaSet
func (*Informers) WaitForCacheSync ¶
func (s *Informers) WaitForCacheSync(stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.