forked from vulcand/vulcand
/
change.go
95 lines (76 loc) · 1.38 KB
/
change.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
package backend
type HostAdded struct {
Host *Host
}
type HostDeleted struct {
Name string
}
type HostKeyPairUpdated struct {
Host *Host
}
type HostListenerAdded struct {
Host *Host
Listener *Listener
}
type HostListenerDeleted struct {
Host *Host
ListenerId string
}
type LocationAdded struct {
Host *Host
Location *Location
}
type LocationDeleted struct {
Host *Host
LocationId string
}
type LocationUpstreamUpdated struct {
Host *Host
Location *Location
}
type LocationPathUpdated struct {
Host *Host
Location *Location
Path string
}
type LocationOptionsUpdated struct {
Host *Host
Location *Location
}
type LocationMiddlewareAdded struct {
Host *Host
Location *Location
Middleware *MiddlewareInstance
}
type LocationMiddlewareUpdated struct {
Host *Host
Location *Location
Middleware *MiddlewareInstance
}
type LocationMiddlewareDeleted struct {
Host *Host
Location *Location
MiddlewareId string
MiddlewareType string
}
type UpstreamAdded struct {
Upstream *Upstream
}
type UpstreamDeleted struct {
UpstreamId string
}
type UpstreamOptionsUpdated struct {
Upstream *Upstream
}
type EndpointAdded struct {
Upstream *Upstream
Endpoint *Endpoint
}
type EndpointUpdated struct {
Upstream *Upstream
Endpoint *Endpoint
}
type EndpointDeleted struct {
Upstream *Upstream
EndpointId string
}