v1beta1

package
v0.2.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT 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 *gwv1alpha2.GatewayClass)
	OnGatewayClassUpdate(oldGatewayClass, gatewayClass *gwv1alpha2.GatewayClass)
	OnGatewayClassDelete(gatewayClass *gwv1alpha2.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 *gwv1alpha2.Gateway)
	OnGatewayUpdate(oldGateway, gateway *gwv1alpha2.Gateway)
	OnGatewayDelete(gateway *gwv1alpha2.Gateway)
	OnGatewaySynced()
}

type GatewayStore

type GatewayStore struct {
	cache.Store
}

func (*GatewayStore) ByKey

func (l *GatewayStore) ByKey(key string) (*gwv1alpha2.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 *gwv1alpha2.HTTPRoute)
	OnHTTPRouteUpdate(oldHttpRoute, httpRoute *gwv1alpha2.HTTPRoute)
	OnHTTPRouteDelete(httpRoute *gwv1alpha2.HTTPRoute)
	OnHTTPRouteSynced()
}

type HTTPRouteStore

type HTTPRouteStore struct {
	cache.Store
}

func (*HTTPRouteStore) ByKey

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

Jump to

Keyboard shortcuts

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