Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DeleteGatewayCacheEventType = "DeleteGatewayCacheEvent" InvalidateGatewayDataEventType = "InvalidateGatewayDataEvent" InvalidateRegistryCacheEventType = "InvalidateRegistryCacheEvent" )
Functions ¶
func GetEventsRegistry ¶
Types ¶
type DeleteGatewayCacheEvent ¶
type DeleteGatewayCacheEvent struct {
GatewayID string `json:"gateway_id"`
}
func (DeleteGatewayCacheEvent) Type ¶
func (e DeleteGatewayCacheEvent) Type() string
type InvalidateGatewayDataEvent ¶
type InvalidateGatewayDataEvent struct {
GatewayID string `json:"gateway_id"`
}
InvalidateGatewayDataEvent signals that gateway-scoped data (the gateway entity, its consumers, policies or auths) changed and any aggregated view cached under that gateway must be dropped across every process.
func (InvalidateGatewayDataEvent) Type ¶
func (e InvalidateGatewayDataEvent) Type() string
type InvalidateRegistryCacheEvent ¶
type InvalidateRegistryCacheEvent struct {
GatewayID string `json:"gateway_id"`
RegistryID string `json:"registry_id"`
}
InvalidateRegistryCacheEvent signals that a backend changed and both its cached entity and the load balancer instance derived from it must be dropped across every process.
func (InvalidateRegistryCacheEvent) Type ¶
func (e InvalidateRegistryCacheEvent) Type() string
Click to show internal directories.
Click to hide internal directories.