Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CreateOption is the option of create CreateOption = iota // DeleteOption is the option of delete DeleteOption // UpdateOption is the option of update UpdateOption )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { ResourceType ResourceType `json:"resource_type"` Option int `json:"option"` OldValue interface{} `json:"old_value"` Value interface{} `json:"value"` }
Event is the event of adc
type ResourceType ¶
type ResourceType string
ResourceType is the type of resource
var ( // ServiceResourceType is the resource type of service ServiceResourceType ResourceType = "service" // RouteResourceType is the resource type of route RouteResourceType ResourceType = "route" )
Click to show internal directories.
Click to hide internal directories.