|
@@ -1,9 +1,3 @@
|
|
|
-// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
-// versions:
|
|
|
|
|
-// protoc-gen-go v1.27.1
|
|
|
|
|
-// protoc v3.17.3
|
|
|
|
|
-// source: app/observatory/config.proto
|
|
|
|
|
-
|
|
|
|
|
package observatory
|
|
package observatory
|
|
|
|
|
|
|
|
import (
|
|
import (
|
|
@@ -161,23 +155,23 @@ type OutboundStatus struct {
|
|
|
unknownFields protoimpl.UnknownFields
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// @Document Whether this outbound is usable
|
|
// @Document Whether this outbound is usable
|
|
|
- //@Restriction ReadOnlyForUser
|
|
|
|
|
|
|
+ // @Restriction ReadOnlyForUser
|
|
|
Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"`
|
|
Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"`
|
|
|
// @Document The time for probe request to finish.
|
|
// @Document The time for probe request to finish.
|
|
|
- //@Type time.ms
|
|
|
|
|
- //@Restriction ReadOnlyForUser
|
|
|
|
|
|
|
+ // @Type time.ms
|
|
|
|
|
+ // @Restriction ReadOnlyForUser
|
|
|
Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"`
|
|
Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"`
|
|
|
// @Document The last error caused this outbound failed to relay probe request
|
|
// @Document The last error caused this outbound failed to relay probe request
|
|
|
- //@Restriction NotMachineReadable
|
|
|
|
|
|
|
+ // @Restriction NotMachineReadable
|
|
|
LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"`
|
|
LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"`
|
|
|
// @Document The outbound tag for this Server
|
|
// @Document The outbound tag for this Server
|
|
|
- //@Type id.outboundTag
|
|
|
|
|
|
|
+ // @Type id.outboundTag
|
|
|
OutboundTag string `protobuf:"bytes,4,opt,name=outbound_tag,json=outboundTag,proto3" json:"outbound_tag,omitempty"`
|
|
OutboundTag string `protobuf:"bytes,4,opt,name=outbound_tag,json=outboundTag,proto3" json:"outbound_tag,omitempty"`
|
|
|
// @Document The time this outbound is known to be alive
|
|
// @Document The time this outbound is known to be alive
|
|
|
- //@Type id.outboundTag
|
|
|
|
|
|
|
+ // @Type id.outboundTag
|
|
|
LastSeenTime int64 `protobuf:"varint,5,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"`
|
|
LastSeenTime int64 `protobuf:"varint,5,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"`
|
|
|
// @Document The time this outbound is tried
|
|
// @Document The time this outbound is tried
|
|
|
- //@Type id.outboundTag
|
|
|
|
|
|
|
+ // @Type id.outboundTag
|
|
|
LastTryTime int64 `protobuf:"varint,6,opt,name=last_try_time,json=lastTryTime,proto3" json:"last_try_time,omitempty"`
|
|
LastTryTime int64 `protobuf:"varint,6,opt,name=last_try_time,json=lastTryTime,proto3" json:"last_try_time,omitempty"`
|
|
|
HealthPing *HealthPingMeasurementResult `protobuf:"bytes,7,opt,name=health_ping,json=healthPing,proto3" json:"health_ping,omitempty"`
|
|
HealthPing *HealthPingMeasurementResult `protobuf:"bytes,7,opt,name=health_ping,json=healthPing,proto3" json:"health_ping,omitempty"`
|
|
|
}
|
|
}
|
|
@@ -269,14 +263,14 @@ type ProbeResult struct {
|
|
|
unknownFields protoimpl.UnknownFields
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// @Document Whether this outbound is usable
|
|
// @Document Whether this outbound is usable
|
|
|
- //@Restriction ReadOnlyForUser
|
|
|
|
|
|
|
+ // @Restriction ReadOnlyForUser
|
|
|
Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"`
|
|
Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"`
|
|
|
// @Document The time for probe request to finish.
|
|
// @Document The time for probe request to finish.
|
|
|
- //@Type time.ms
|
|
|
|
|
- //@Restriction ReadOnlyForUser
|
|
|
|
|
|
|
+ // @Type time.ms
|
|
|
|
|
+ // @Restriction ReadOnlyForUser
|
|
|
Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"`
|
|
Delay int64 `protobuf:"varint,2,opt,name=delay,proto3" json:"delay,omitempty"`
|
|
|
// @Document The error caused this outbound failed to relay probe request
|
|
// @Document The error caused this outbound failed to relay probe request
|
|
|
- //@Restriction NotMachineReadable
|
|
|
|
|
|
|
+ // @Restriction NotMachineReadable
|
|
|
LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"`
|
|
LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -339,7 +333,7 @@ type Intensity struct {
|
|
|
unknownFields protoimpl.UnknownFields
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// @Document The time interval for a probe request in ms.
|
|
// @Document The time interval for a probe request in ms.
|
|
|
- //@Type time.ms
|
|
|
|
|
|
|
+ // @Type time.ms
|
|
|
ProbeInterval uint32 `protobuf:"varint,1,opt,name=probe_interval,json=probeInterval,proto3" json:"probe_interval,omitempty"`
|
|
ProbeInterval uint32 `protobuf:"varint,1,opt,name=probe_interval,json=probeInterval,proto3" json:"probe_interval,omitempty"`
|
|
|
}
|
|
}
|
|
|
|
|
|