Versions in this module Expand all Collapse all v1 v1.8.8 Jun 18, 2024 Changes in this version + const GatewayClassName + const ProviderName + var ErrListenerNotExist = fmt.Errorf("ListenerConf not exist") + func ConvertHostnamesToV1beta1(hostnames []gatewayv1alpha2.Hostname) []gatewayv1beta1.Hostname + func ConvertParentRefsToV1beta1(parentRefs []gatewayv1alpha2.ParentReference) []gatewayv1beta1.ParentReference + type Provider struct + func NewGatewayProvider(opts *ProviderOptions) (*Provider, error) + func (p *Provider) AddGatewayClass(name string) + func (p *Provider) AddListeners(ns, name string, listeners map[string]*types.ListenerConf) error + func (p *Provider) FindListener(ns, name, sectionName string) (*types.ListenerConf, error) + func (p *Provider) HasGatewayClass(name string) bool + func (p *Provider) QueryListeners(ns, name string) (map[string]*types.ListenerConf, error) + func (p *Provider) RemoveGatewayClass(name string) + func (p *Provider) RemoveListeners(ns, name string) error + func (p *Provider) Run(ctx context.Context) + type ProviderOptions struct + APISIX apisix.APISIX + APISIXClusterName string + Cfg *config.Config + KubeClient kubernetes.Interface + KubeTranslator translation.Translator + ListerInformer *providertypes.ListerInformer + MetricsCollector metrics.Collector + NamespaceProvider namespace.WatchingNamespaceProvider + RestConfig *rest.Config + type Validator struct + func (v *Validator) ValidateCommonRoute(route any) error v1.8.5 Jun 12, 2024