v1beta1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayClassController

type GatewayClassController struct {
	Informer  cache.SharedIndexInformer
	Store     GatewayClassStore
	HasSynced cache.InformerSynced
	Lister    gwlisterv1beta1.GatewayClassLister
	// contains filtered or unexported fields
}

func NewGatewayClassControllerWithEventHandler

func NewGatewayClassControllerWithEventHandler(gatewayClassInformer gwinformerv1beta1.GatewayClassInformer, resyncPeriod time.Duration, handler GatewayClassHandler) *GatewayClassController

func (*GatewayClassController) Run

func (c *GatewayClassController) Run(stopCh <-chan struct{})

type GatewayClassHandler

type GatewayClassHandler interface {
	OnGatewayClassAdd(gatewayClass *gwv1beta1.GatewayClass)
	OnGatewayClassUpdate(oldGatewayClass, gatewayClass *gwv1beta1.GatewayClass)
	OnGatewayClassDelete(gatewayClass *gwv1beta1.GatewayClass)
	OnGatewayClassSynced()
}

type GatewayClassStore

type GatewayClassStore struct {
	cache.Store
}

func (*GatewayClassStore) ByKey

type GatewayController

type GatewayController struct {
	Informer  cache.SharedIndexInformer
	Store     GatewayStore
	HasSynced cache.InformerSynced
	Lister    gwlisterv1beta1.GatewayLister
	// contains filtered or unexported fields
}

func NewGatewayControllerWithEventHandler

func NewGatewayControllerWithEventHandler(gatewayInformer gwinformerv1beta1.GatewayInformer, resyncPeriod time.Duration, handler GatewayHandler) *GatewayController

func (*GatewayController) Run

func (c *GatewayController) Run(stopCh <-chan struct{})

type GatewayHandler

type GatewayHandler interface {
	OnGatewayAdd(gateway *gwv1beta1.Gateway)
	OnGatewayUpdate(oldGateway, gateway *gwv1beta1.Gateway)
	OnGatewayDelete(gateway *gwv1beta1.Gateway)
	OnGatewaySynced()
}

type GatewayStore

type GatewayStore struct {
	cache.Store
}

func (*GatewayStore) ByKey

func (l *GatewayStore) ByKey(key string) (*gwv1beta1.Gateway, error)

type HTTPRouteController

type HTTPRouteController struct {
	Informer  cache.SharedIndexInformer
	Store     HTTPRouteStore
	HasSynced cache.InformerSynced
	Lister    gwlisterv1beta1.HTTPRouteLister
	// contains filtered or unexported fields
}

func NewHTTPRouteControllerWithEventHandler

func NewHTTPRouteControllerWithEventHandler(httpRouteInformer gwinformerv1beta1.HTTPRouteInformer, resyncPeriod time.Duration, handler HTTPRouteHandler) *HTTPRouteController

func (*HTTPRouteController) Run

func (c *HTTPRouteController) Run(stopCh <-chan struct{})

type HTTPRouteHandler

type HTTPRouteHandler interface {
	OnHTTPRouteAdd(httpRoute *gwv1beta1.HTTPRoute)
	OnHTTPRouteUpdate(oldHttpRoute, httpRoute *gwv1beta1.HTTPRoute)
	OnHTTPRouteDelete(httpRoute *gwv1beta1.HTTPRoute)
	OnHTTPRouteSynced()
}

type HTTPRouteStore

type HTTPRouteStore struct {
	cache.Store
}

func (*HTTPRouteStore) ByKey

func (l *HTTPRouteStore) ByKey(key string) (*gwv1beta1.HTTPRoute, error)

Jump to

Keyboard shortcuts

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