Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // EventAdd represents the add event. EventAdd = EventType("add") // EventUpdate represents the update event. EventUpdate = EventType("update") // EventDelete represents the delete event. EventDelete = EventType("delete") )
View Source
var ( // The inbound chain. InboundChain = "APISIX_INBOUND" RedirectChain = "APISIX_REDIRECT" InboundRedirectChain = "APISIX_INBOUND_REDIRECT" OutputChain = "OUTPUT" PreRoutingChain = "PREROUTING" )
View Source
var ( // RouteConfigurationUrl is the RDS type url. RouteConfigurationUrl = "type.googleapis.com/envoy.config.route.v3.RouteConfiguration" // ClusterUrl is the Cluster type url. ClusterUrl = "type.googleapis.com/envoy.config.cluster.v3.Cluster" // ClusterLoadAssignmentUrl is the Cluster type url. ClusterLoadAssignmentUrl = "type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment" // ListenerUrl is the Listener type url. ListenerUrl = "type.googleapis.com/envoy.config.listener.v3.Listener" )
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Type EventType
Object interface{}
// Tombstone is only valid for delete event,
// in such a case it stands for the final state
// of the object.
Tombstone interface{}
// Revision is the revision that the event happened
Revision int64
}
Event describes a specific event generated from the provisioner.
Click to show internal directories.
Click to hide internal directories.