Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromIngressHandlerToHandler ¶
func FromIngressHandlerToHandler(sync IngressHandler) generic.Handler
Types ¶
type IngressCache ¶
type IngressClient ¶
type IngressClient interface { Create(*v1beta1.Ingress) (*v1beta1.Ingress, error) Update(*v1beta1.Ingress) (*v1beta1.Ingress, error) UpdateStatus(*v1beta1.Ingress) (*v1beta1.Ingress, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1beta1.Ingress, error) List(namespace string, opts metav1.ListOptions) (*v1beta1.IngressList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Ingress, err error) }
type IngressController ¶
type IngressController interface { IngressClient OnChange(ctx context.Context, name string, sync IngressHandler) OnRemove(ctx context.Context, name string, sync IngressHandler) Enqueue(namespace, name string) Cache() IngressCache Informer() cache.SharedIndexInformer GroupVersionKind() schema.GroupVersionKind AddGenericHandler(ctx context.Context, name string, handler generic.Handler) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler) Updater() generic.Updater }
func NewIngressController ¶
func NewIngressController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.IngressesGetter, informer informers.IngressInformer) IngressController
type IngressHandler ¶
func UpdateIngressOnChange ¶
func UpdateIngressOnChange(updater generic.Updater, handler IngressHandler) IngressHandler
type Interface ¶
type Interface interface {
Ingress() IngressController
}
func New ¶
func New(controllerManager *generic.ControllerManager, client clientset.ExtensionsV1beta1Interface, informers informers.Interface) Interface
Click to show internal directories.
Click to hide internal directories.