kube

package
v0.22.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKubeRegistry

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL