Documentation ¶
Index ¶
- Variables
- func AS3Deployer(stopCh chan struct{}, bigips []*f5_bigip.BIGIP)
- func DeployForEvent(ctx context.Context, impactedClasses []string) error
- func HandleBackends(ctx context.Context, namespace string) error
- func NewContext() context.Context
- func ParseAllForClass(className string) (map[string]interface{}, error)
- func ParseClassRelatedServices(gwc []string) (map[string]interface{}, error)
- func ParseServices(svcs []string) (map[string]interface{}, error)
- func RespHandler(stopCh chan struct{})
- func RestToAS3(cfgs map[string]interface{}) map[string]interface{}
- func RouteMatches(gwNamespace string, listener *gatewayapi.Listener, ...) bool
- type BIGIPConfig
- type BIGIPConfigs
- type CtxKeyType
- type ReferenceGrantFromTo
- type SIGCache
- func (c *SIGCache) AllHTTPRoutes() []*gatewayapi.HTTPRoute
- func (c *SIGCache) AttachedGateways(gwc *gatewayapi.GatewayClass) []*gatewayapi.Gateway
- func (c *SIGCache) AttachedHTTPRoutes(gw *gatewayapi.Gateway) []*gatewayapi.HTTPRoute
- func (c *SIGCache) AttachedSecrets(gw *gatewayapi.Gateway) (map[string][]*v1.Secret, error)
- func (c *SIGCache) AttachedServices(hr *gatewayapi.HTTPRoute) []*v1.Service
- func (c *SIGCache) CanRefer(from, to client.Object) bool
- func (c *SIGCache) GatewayRefsOfHR(hr *gatewayapi.HTTPRoute) []*gatewayapi.Gateway
- func (c *SIGCache) GatewayRefsOfSecret(scrt *v1.Secret) ([]*gatewayapi.Gateway, error)
- func (c *SIGCache) GetEndpoints(keyname string) *v1.Endpoints
- func (c *SIGCache) GetGateway(keyname string) *gatewayapi.Gateway
- func (c *SIGCache) GetGatewayClass(keyname string) *gatewayapi.GatewayClass
- func (c *SIGCache) GetHTTPRoute(keyname string) *gatewayapi.HTTPRoute
- func (c *SIGCache) GetNamespace(keyname string) *v1.Namespace
- func (c *SIGCache) GetNeighborGateways(gw *gatewayapi.Gateway) []*gatewayapi.Gateway
- func (c *SIGCache) GetReferenceGrant(keyname string) *gatewayv1beta1.ReferenceGrant
- func (c *SIGCache) GetRootGateways(svcs []*v1.Service) []*gatewayapi.Gateway
- func (c *SIGCache) GetSecret(keyname string) *v1.Secret
- func (c *SIGCache) GetService(keyname string) *v1.Service
- func (c *SIGCache) GetServicesWithNamespace(namespace string) []*v1.Service
- func (c *SIGCache) HTTPRoutesRefsOf(svc *v1.Service) []*gatewayapi.HTTPRoute
- func (c *SIGCache) NSImpactedGatewayClasses(ns *v1.Namespace) []string
- func (c *SIGCache) RGImpactedGatewayClasses(rg *gatewayv1beta1.ReferenceGrant) []string
- func (c *SIGCache) RelatedServices(gwc *gatewayapi.GatewayClass) []*v1.Service
- func (c *SIGCache) SetEndpoints(eps *v1.Endpoints)
- func (c *SIGCache) SetGateway(obj *gatewayapi.Gateway)
- func (c *SIGCache) SetGatewayClass(obj *gatewayapi.GatewayClass)
- func (c *SIGCache) SetHTTPRoute(obj *gatewayapi.HTTPRoute)
- func (c *SIGCache) SetNamespace(obj *v1.Namespace)
- func (c *SIGCache) SetReferenceGrant(rg *gatewayv1beta1.ReferenceGrant)
- func (c *SIGCache) SetSecret(scrt *v1.Secret)
- func (c *SIGCache) SetService(svc *v1.Service)
- func (c *SIGCache) SyncAllResources(mgr manager.Manager)
- func (c *SIGCache) UnsetEndpoints(keyname string)
- func (c *SIGCache) UnsetGateway(keyname string)
- func (c *SIGCache) UnsetGatewayClass(keyname string)
- func (c *SIGCache) UnsetHTTPRoute(keyname string)
- func (c *SIGCache) UnsetNamespace(keyname string)
- func (c *SIGCache) UnsetReferenceGrant(keyname string)
- func (c *SIGCache) UnsetSerect(keyname string)
- func (c *SIGCache) UnsetService(keyname string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PendingDeploys *utils.DeployQueue DoneDeploys *utils.DeployQueue ActiveSIGs *SIGCache BIGIPs []*f5_bigip.BIGIP BIPConfigs BIGIPConfigs BIPPassword string LogLevel string )
Functions ¶
func AS3Deployer ¶ added in v0.3.0
AS3Deployer starts a goroutine for accepting DeployRequests and deploy them via AS3.
func DeployForEvent ¶ added in v0.3.0
func HandleBackends ¶ added in v0.3.0
func NewContext ¶ added in v0.3.0
func ParseAllForClass ¶ added in v0.3.0
func ParseClassRelatedServices ¶ added in v0.3.0
ParseRelatedServices parse all refered services
func ParseServices ¶ added in v0.3.0
func RespHandler ¶ added in v0.3.0
func RespHandler(stopCh chan struct{})
func RouteMatches ¶
Types ¶
type BIGIPConfig ¶
type BIGIPConfigs ¶
type BIGIPConfigs []BIGIPConfig
type CtxKeyType ¶
type CtxKeyType string
type ReferenceGrantFromTo ¶
type SIGCache ¶
type SIGCache struct { SyncedAtStart bool ControllerName string Gateway map[string]*gatewayapi.Gateway HTTPRoute map[string]*gatewayapi.HTTPRoute Endpoints map[string]*v1.Endpoints Service map[string]*v1.Service GatewayClass map[string]*gatewayapi.GatewayClass Namespace map[string]*v1.Namespace ReferenceGrant map[string]*gatewayv1beta1.ReferenceGrant Secret map[string]*v1.Secret // contains filtered or unexported fields }
func (*SIGCache) AllHTTPRoutes ¶
func (c *SIGCache) AllHTTPRoutes() []*gatewayapi.HTTPRoute
func (*SIGCache) AttachedGateways ¶
func (c *SIGCache) AttachedGateways(gwc *gatewayapi.GatewayClass) []*gatewayapi.Gateway
func (*SIGCache) AttachedHTTPRoutes ¶
func (c *SIGCache) AttachedHTTPRoutes(gw *gatewayapi.Gateway) []*gatewayapi.HTTPRoute
func (*SIGCache) AttachedSecrets ¶ added in v0.3.0
func (*SIGCache) AttachedServices ¶
func (c *SIGCache) AttachedServices(hr *gatewayapi.HTTPRoute) []*v1.Service
func (*SIGCache) GatewayRefsOfHR ¶ added in v0.3.0
func (c *SIGCache) GatewayRefsOfHR(hr *gatewayapi.HTTPRoute) []*gatewayapi.Gateway
func (*SIGCache) GatewayRefsOfSecret ¶ added in v0.3.0
func (*SIGCache) GetGateway ¶
func (c *SIGCache) GetGateway(keyname string) *gatewayapi.Gateway
func (*SIGCache) GetGatewayClass ¶
func (c *SIGCache) GetGatewayClass(keyname string) *gatewayapi.GatewayClass
func (*SIGCache) GetHTTPRoute ¶
func (c *SIGCache) GetHTTPRoute(keyname string) *gatewayapi.HTTPRoute
func (*SIGCache) GetNeighborGateways ¶
func (c *SIGCache) GetNeighborGateways(gw *gatewayapi.Gateway) []*gatewayapi.Gateway
GetNeighborGateways get neighbor gateways(itself is not included) for all gateway class.
func (*SIGCache) GetReferenceGrant ¶ added in v0.3.0
func (c *SIGCache) GetReferenceGrant(keyname string) *gatewayv1beta1.ReferenceGrant
func (*SIGCache) GetRootGateways ¶
func (c *SIGCache) GetRootGateways(svcs []*v1.Service) []*gatewayapi.Gateway
func (*SIGCache) GetServicesWithNamespace ¶ added in v0.3.0
func (*SIGCache) HTTPRoutesRefsOf ¶
func (c *SIGCache) HTTPRoutesRefsOf(svc *v1.Service) []*gatewayapi.HTTPRoute
func (*SIGCache) NSImpactedGatewayClasses ¶ added in v0.3.0
func (*SIGCache) RGImpactedGatewayClasses ¶ added in v0.3.0
func (c *SIGCache) RGImpactedGatewayClasses(rg *gatewayv1beta1.ReferenceGrant) []string
func (*SIGCache) RelatedServices ¶ added in v0.3.0
func (c *SIGCache) RelatedServices(gwc *gatewayapi.GatewayClass) []*v1.Service
func (*SIGCache) SetEndpoints ¶
func (*SIGCache) SetGateway ¶
func (c *SIGCache) SetGateway(obj *gatewayapi.Gateway)
func (*SIGCache) SetGatewayClass ¶
func (c *SIGCache) SetGatewayClass(obj *gatewayapi.GatewayClass)
func (*SIGCache) SetHTTPRoute ¶
func (c *SIGCache) SetHTTPRoute(obj *gatewayapi.HTTPRoute)
func (*SIGCache) SetNamespace ¶
func (*SIGCache) SetReferenceGrant ¶
func (c *SIGCache) SetReferenceGrant(rg *gatewayv1beta1.ReferenceGrant)
func (*SIGCache) SetService ¶
func (*SIGCache) SyncAllResources ¶
func (*SIGCache) UnsetEndpoints ¶
func (*SIGCache) UnsetGateway ¶
func (*SIGCache) UnsetGatewayClass ¶
func (*SIGCache) UnsetHTTPRoute ¶
func (*SIGCache) UnsetNamespace ¶
func (*SIGCache) UnsetReferenceGrant ¶
func (*SIGCache) UnsetSerect ¶
func (*SIGCache) UnsetService ¶
Click to show internal directories.
Click to hide internal directories.