Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { // GetEndpointsForService list all endpoints by service selector GetEndpointsForService(namespace, name string) (*corev1.Endpoints, error) GetService(namespace, name string) (*corev1.Service, error) ListServices(namespace string, label map[string]string) ([]*corev1.Service, error) GetManbaIngress(namespace, name string) (*configurationv1beta1.ManbaIngress, error) GetManbaCluster(namespace, name string) (*configurationv1beta1.ManbaCluster, error) ListManbaIngresses() []*configurationv1beta1.ManbaIngress GetSecret(namespace, name string) (*corev1.Secret, error) }
Store is the interface that wraps the required methods to gather information about ingresses, services, secrets and ingress annotations.
func New ¶
func New(kc kubernetes.Interface, factory informers.SharedInformerFactory, manbaFactory externalversions.SharedInformerFactory, isValidIngresClassFunc func(objectMeta *metav1.ObjectMeta) bool) Store
New creates a new object store to be used in the ingress controller
Click to show internal directories.
Click to hide internal directories.