types

package
v0.0.0-...-39db037 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

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.

type EventType

type EventType string

EventType is the kind of event.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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