Documentation ¶
Index ¶
- Variables
- type Controller
- func (c *Controller) FindIngress(matchFn IngressMatcher) (crdv1alpha1.IngressHTTP, error)
- func (c *Controller) ListIngresses() ([]crdv1alpha1.IngressHTTP, error)
- func (c *Controller) Run(ctx context.Context) error
- func (c *Controller) UpdateIngressStatus(ctx context.Context, ingress crdv1alpha1.IngressHTTP, healthy bool) error
- type IngressMatcher
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrIngressNotFound = errors.New("ingress not found")
)
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New( options Options, ingresshttpClientSet clientsetv1alpha1.Interface, logger log.Logger, ) *Controller
func (*Controller) FindIngress ¶
func (c *Controller) FindIngress(matchFn IngressMatcher) (crdv1alpha1.IngressHTTP, error)
func (*Controller) ListIngresses ¶
func (c *Controller) ListIngresses() ([]crdv1alpha1.IngressHTTP, error)
func (*Controller) UpdateIngressStatus ¶
func (c *Controller) UpdateIngressStatus( ctx context.Context, ingress crdv1alpha1.IngressHTTP, healthy bool, ) error
type IngressMatcher ¶
type IngressMatcher = func(*crdv1alpha1.IngressHTTP) bool
Click to show internal directories.
Click to hide internal directories.