Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesResourceCache ¶
type KubernetesResourceCache interface { // HasSynced returns a value indicating whether the cache is synced. HasSynced() bool // GetIngress returns the Ingress resource with the specified namespace and name. GetIngress(string, string) (*extsv1beta1.Ingress, error) // GetIngresses returns a list of all Ingress resources in the specified namespace. GetIngresses(string) ([]*extsv1beta1.Ingress, error) // GetSecret returns the Secret resource with the specified namespace and name. GetSecret(namespace, name string) (*corev1.Secret, error) // GetService returns the Service resource with the specified namespace and name. GetService(string, string) (*corev1.Service, error) // GetServices returns a list of all Service resources in the specified namespace. GetServices(string) ([]*corev1.Service, error) }
KubernetesResourceCache knows how to list Kubernetes resources.
func NewInformerBackedResourceCache ¶
func NewInformerBackedResourceCache(factory kubeinformers.SharedInformerFactory) KubernetesResourceCache
NewInformerBackedResourceCache returns a new cache that reads resources using listers obtained from the provided shared informer factory..
Click to show internal directories.
Click to hide internal directories.