Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKubeRegistry ¶
func NewKubeRegistry( clbname string, informer informerv1.ClbIngressInformer, lister listerv1.ClbIngressLister, client ingressClientV1.ClbV1Interface) (clbingress.Registry, error)
NewKubeRegistry create new registry for clb ingress
Types ¶
type KubeRegistry ¶
type KubeRegistry struct {
// contains filtered or unexported fields
}
KubeRegistry clb ingress kube registry
func (*KubeRegistry) AddIngressHandler ¶
func (kr *KubeRegistry) AddIngressHandler(handler model.EventHandler)
AddIngressHandler add ingress handler
func (*KubeRegistry) GetIngress ¶
func (kr *KubeRegistry) GetIngress(name string) (*ingressv1.ClbIngress, error)
GetIngress implement Registry interface
func (*KubeRegistry) ListIngresses ¶
func (kr *KubeRegistry) ListIngresses() ([]*ingressv1.ClbIngress, error)
ListIngresses implements clbingress interface
func (*KubeRegistry) SetIngress ¶
func (kr *KubeRegistry) SetIngress(ingress *ingressv1.ClbIngress) error
SetIngress implement Registry interface
Click to show internal directories.
Click to hide internal directories.