Documentation
¶
Index ¶
- Variables
- type Advertisement
- func (*Advertisement) Descriptor() ([]byte, []int)deprecated
- func (x *Advertisement) GetExpiryUnix() int64
- func (x *Advertisement) GetMetric() uint32
- func (x *Advertisement) GetNodeId() string
- func (x *Advertisement) GetPassiveHold() bool
- func (x *Advertisement) GetPrefix() string
- func (*Advertisement) ProtoMessage()
- func (x *Advertisement) ProtoReflect() protoreflect.Message
- func (x *Advertisement) Reset()
- func (x *Advertisement) String() string
- type EndpointInfo
- func (*EndpointInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointInfo) GetActive() bool
- func (x *EndpointInfo) GetAddress() string
- func (x *EndpointInfo) GetFilteredRttNs() int64
- func (x *EndpointInfo) GetMetric() uint32
- func (x *EndpointInfo) GetRemoteInit() bool
- func (x *EndpointInfo) GetResolved() string
- func (x *EndpointInfo) GetStabilizedRttNs() int64
- func (*EndpointInfo) ProtoMessage()
- func (x *EndpointInfo) ProtoReflect() protoreflect.Message
- func (x *EndpointInfo) Reset()
- func (x *EndpointInfo) String() string
- type EndpointProbeResult
- func (*EndpointProbeResult) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointProbeResult) GetAddress() string
- func (x *EndpointProbeResult) GetLatencyNs() int64
- func (x *EndpointProbeResult) GetResolved() string
- func (x *EndpointProbeResult) GetStatus() EndpointProbeStatus
- func (*EndpointProbeResult) ProtoMessage()
- func (x *EndpointProbeResult) ProtoReflect() protoreflect.Message
- func (x *EndpointProbeResult) Reset()
- func (x *EndpointProbeResult) String() string
- type EndpointProbeStatus
- func (EndpointProbeStatus) Descriptor() protoreflect.EnumDescriptor
- func (x EndpointProbeStatus) Enum() *EndpointProbeStatus
- func (EndpointProbeStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x EndpointProbeStatus) Number() protoreflect.EnumNumber
- func (x EndpointProbeStatus) String() string
- func (EndpointProbeStatus) Type() protoreflect.EnumType
- type FD
- type FeasibilityDistance
- func (*FeasibilityDistance) Descriptor() ([]byte, []int)deprecated
- func (x *FeasibilityDistance) GetFd() *FD
- func (x *FeasibilityDistance) GetSource() *Source
- func (*FeasibilityDistance) ProtoMessage()
- func (x *FeasibilityDistance) ProtoReflect() protoreflect.Message
- func (x *FeasibilityDistance) Reset()
- func (x *FeasibilityDistance) String() string
- type IpcRequest
- func (*IpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IpcRequest) GetProbe() *ProbeRequest
- func (x *IpcRequest) GetReload() *ReloadRequest
- func (x *IpcRequest) GetRequest() isIpcRequest_Request
- func (x *IpcRequest) GetStatus() *StatusRequest
- func (x *IpcRequest) GetTrace() *TraceRequest
- func (*IpcRequest) ProtoMessage()
- func (x *IpcRequest) ProtoReflect() protoreflect.Message
- func (x *IpcRequest) Reset()
- func (x *IpcRequest) String() string
- type IpcRequest_Probe
- type IpcRequest_Reload
- type IpcRequest_Status
- type IpcRequest_Trace
- type IpcResponse
- func (*IpcResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IpcResponse) GetError() string
- func (x *IpcResponse) GetOk() bool
- func (x *IpcResponse) GetProbe() *ProbeResponse
- func (x *IpcResponse) GetReload() *ReloadResponse
- func (x *IpcResponse) GetResponse() isIpcResponse_Response
- func (x *IpcResponse) GetStatus() *StatusResponse
- func (x *IpcResponse) GetTrace() *TraceEvent
- func (*IpcResponse) ProtoMessage()
- func (x *IpcResponse) ProtoReflect() protoreflect.Message
- func (x *IpcResponse) Reset()
- func (x *IpcResponse) String() string
- type IpcResponse_Probe
- type IpcResponse_Reload
- type IpcResponse_Status
- type IpcResponse_Trace
- type NeighRoute
- func (*NeighRoute) Descriptor() ([]byte, []int)deprecated
- func (x *NeighRoute) GetExpireAtUnix() int64
- func (x *NeighRoute) GetPubRoute() *PubRoute
- func (*NeighRoute) ProtoMessage()
- func (x *NeighRoute) ProtoReflect() protoreflect.Message
- func (x *NeighRoute) Reset()
- func (x *NeighRoute) String() string
- type NeighbourInfo
- func (*NeighbourInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NeighbourInfo) GetAdvertised() []*Advertisement
- func (x *NeighbourInfo) GetEndpoints() []*EndpointInfo
- func (x *NeighbourInfo) GetPassiveClient() bool
- func (x *NeighbourInfo) GetPeerId() string
- func (x *NeighbourInfo) GetPublicKey() string
- func (x *NeighbourInfo) GetRoutes() []*NeighRoute
- func (x *NeighbourInfo) GetWireguard() *WireGuardPeerStats
- func (*NeighbourInfo) ProtoMessage()
- func (x *NeighbourInfo) ProtoReflect() protoreflect.Message
- func (x *NeighbourInfo) Reset()
- func (x *NeighbourInfo) String() string
- type NodeStats
- func (*NodeStats) Descriptor() ([]byte, []int)deprecated
- func (x *NodeStats) GetActiveEndpointCount() int32
- func (x *NodeStats) GetAdvertisedPrefixCount() int32
- func (x *NodeStats) GetNeighbourCount() int32
- func (x *NodeStats) GetRxBytes() uint64
- func (x *NodeStats) GetSelectedRouteCount() int32
- func (x *NodeStats) GetTxBytes() uint64
- func (*NodeStats) ProtoMessage()
- func (x *NodeStats) ProtoReflect() protoreflect.Message
- func (x *NodeStats) Reset()
- func (x *NodeStats) String() string
- type NodeStatus
- func (*NodeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NodeStatus) GetAdvertised() []*Advertisement
- func (x *NodeStatus) GetConfigTimestamp() int64
- func (x *NodeStatus) GetInterface() string
- func (x *NodeStatus) GetListenPort() uint32
- func (x *NodeStatus) GetNodeId() string
- func (x *NodeStatus) GetPublicKey() string
- func (x *NodeStatus) GetSeqnos() []*SeqnoEntry
- func (x *NodeStatus) GetStats() *NodeStats
- func (x *NodeStatus) GetTraceEnabled() bool
- func (*NodeStatus) ProtoMessage()
- func (x *NodeStatus) ProtoReflect() protoreflect.Message
- func (x *NodeStatus) Reset()
- func (x *NodeStatus) String() string
- type Ny
- func (*Ny) Descriptor() ([]byte, []int)deprecated
- func (x *Ny) GetAckRetractOp() *Ny_AckRetract
- func (x *Ny) GetProbeOp() *Ny_Probe
- func (x *Ny) GetRouteOp() *Ny_Update
- func (x *Ny) GetSeqnoRequestOp() *Ny_SeqnoRequest
- func (x *Ny) GetType() isNy_Type
- func (*Ny) ProtoMessage()
- func (x *Ny) ProtoReflect() protoreflect.Message
- func (x *Ny) Reset()
- func (x *Ny) String() string
- type Ny_AckRetract
- type Ny_AckRetractOp
- type Ny_Probe
- type Ny_ProbeOp
- type Ny_RouteOp
- type Ny_SeqnoRequest
- func (*Ny_SeqnoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *Ny_SeqnoRequest) GetHopCount() uint32
- func (x *Ny_SeqnoRequest) GetPrefix() []byte
- func (x *Ny_SeqnoRequest) GetRouterId() string
- func (x *Ny_SeqnoRequest) GetSeqno() uint32
- func (*Ny_SeqnoRequest) ProtoMessage()
- func (x *Ny_SeqnoRequest) ProtoReflect() protoreflect.Message
- func (x *Ny_SeqnoRequest) Reset()
- func (x *Ny_SeqnoRequest) String() string
- type Ny_SeqnoRequestOp
- type Ny_Update
- func (*Ny_Update) Descriptor() ([]byte, []int)deprecated
- func (x *Ny_Update) GetMetric() uint32
- func (x *Ny_Update) GetPrefix() []byte
- func (x *Ny_Update) GetRouterId() string
- func (x *Ny_Update) GetSeqno() uint32
- func (*Ny_Update) ProtoMessage()
- func (x *Ny_Update) ProtoReflect() protoreflect.Message
- func (x *Ny_Update) Reset()
- func (x *Ny_Update) String() string
- type ProbeRequest
- func (*ProbeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeRequest) GetPeerId() string
- func (x *ProbeRequest) GetTimeoutMs() uint32
- func (*ProbeRequest) ProtoMessage()
- func (x *ProbeRequest) ProtoReflect() protoreflect.Message
- func (x *ProbeRequest) Reset()
- func (x *ProbeRequest) String() string
- type ProbeResponse
- type PubRoute
- type ReloadRequest
- type ReloadResponse
- func (*ReloadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReloadResponse) GetMessage() string
- func (x *ReloadResponse) GetResult() ReloadResult
- func (*ReloadResponse) ProtoMessage()
- func (x *ReloadResponse) ProtoReflect() protoreflect.Message
- func (x *ReloadResponse) Reset()
- func (x *ReloadResponse) String() string
- type ReloadResult
- func (ReloadResult) Descriptor() protoreflect.EnumDescriptor
- func (x ReloadResult) Enum() *ReloadResult
- func (ReloadResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReloadResult) Number() protoreflect.EnumNumber
- func (x ReloadResult) String() string
- func (ReloadResult) Type() protoreflect.EnumType
- type RouteTableEntry
- func (*RouteTableEntry) Descriptor() ([]byte, []int)deprecated
- func (x *RouteTableEntry) GetBlackhole() bool
- func (x *RouteTableEntry) GetNh() string
- func (x *RouteTableEntry) GetPrefix() string
- func (*RouteTableEntry) ProtoMessage()
- func (x *RouteTableEntry) ProtoReflect() protoreflect.Message
- func (x *RouteTableEntry) Reset()
- func (x *RouteTableEntry) String() string
- type RouteTables
- func (*RouteTables) Descriptor() ([]byte, []int)deprecated
- func (x *RouteTables) GetExit() []*RouteTableEntry
- func (x *RouteTables) GetForward() []*RouteTableEntry
- func (x *RouteTables) GetSelected() []*SelRoute
- func (*RouteTables) ProtoMessage()
- func (x *RouteTables) ProtoReflect() protoreflect.Message
- func (x *RouteTables) Reset()
- func (x *RouteTables) String() string
- type SelRoute
- func (*SelRoute) Descriptor() ([]byte, []int)deprecated
- func (x *SelRoute) GetExpireAtUnix() int64
- func (x *SelRoute) GetNh() string
- func (x *SelRoute) GetPubRoute() *PubRoute
- func (x *SelRoute) GetRetractedBy() []string
- func (*SelRoute) ProtoMessage()
- func (x *SelRoute) ProtoReflect() protoreflect.Message
- func (x *SelRoute) Reset()
- func (x *SelRoute) String() string
- type SeqnoEntry
- type Source
- type StatusRequest
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetFeasibilityDistances() []*FeasibilityDistance
- func (x *StatusResponse) GetNeighbours() []*NeighbourInfo
- func (x *StatusResponse) GetNode() *NodeStatus
- func (x *StatusResponse) GetRoutes() *RouteTables
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type TraceEvent
- type TraceRequest
- type TransportBundle
- type WireGuardPeerStats
- func (*WireGuardPeerStats) Descriptor() ([]byte, []int)deprecated
- func (x *WireGuardPeerStats) GetEndpoint() string
- func (x *WireGuardPeerStats) GetLatestHandshakeUnix() int64
- func (x *WireGuardPeerStats) GetPersistentKeepaliveInterval() uint32
- func (x *WireGuardPeerStats) GetRxBytes() uint64
- func (x *WireGuardPeerStats) GetTxBytes() uint64
- func (*WireGuardPeerStats) ProtoMessage()
- func (x *WireGuardPeerStats) ProtoReflect() protoreflect.Message
- func (x *WireGuardPeerStats) Reset()
- func (x *WireGuardPeerStats) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ReloadResult_name = map[int32]string{ 0: "NOOP", 1: "APPLIED", 2: "REJECTED", 3: "RESTART_REQUIRED", } ReloadResult_value = map[string]int32{ "NOOP": 0, "APPLIED": 1, "REJECTED": 2, "RESTART_REQUIRED": 3, } )
Enum value maps for ReloadResult.
var ( EndpointProbeStatus_name = map[int32]string{ 0: "ENDPOINT_PROBE_STATUS_UNSPECIFIED", 1: "ENDPOINT_PROBE_REPLIED", 2: "ENDPOINT_PROBE_TIMEOUT", 3: "ENDPOINT_PROBE_SEND_ERROR", 4: "ENDPOINT_PROBE_RESOLVE_ERROR", } EndpointProbeStatus_value = map[string]int32{ "ENDPOINT_PROBE_STATUS_UNSPECIFIED": 0, "ENDPOINT_PROBE_REPLIED": 1, "ENDPOINT_PROBE_TIMEOUT": 2, "ENDPOINT_PROBE_SEND_ERROR": 3, "ENDPOINT_PROBE_RESOLVE_ERROR": 4, } )
Enum value maps for EndpointProbeStatus.
var File_protocol_nylon_ipc_proto protoreflect.FileDescriptor
var File_protocol_nylon_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Advertisement ¶ added in v0.4.0
type Advertisement struct {
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
Metric uint32 `protobuf:"varint,3,opt,name=metric,proto3" json:"metric,omitempty"`
ExpiryUnix int64 `protobuf:"varint,4,opt,name=expiry_unix,json=expiryUnix,proto3" json:"expiry_unix,omitempty"`
PassiveHold bool `protobuf:"varint,5,opt,name=passive_hold,json=passiveHold,proto3" json:"passive_hold,omitempty"`
// contains filtered or unexported fields
}
func (*Advertisement) Descriptor
deprecated
added in
v0.4.0
func (*Advertisement) Descriptor() ([]byte, []int)
Deprecated: Use Advertisement.ProtoReflect.Descriptor instead.
func (*Advertisement) GetExpiryUnix ¶ added in v0.4.0
func (x *Advertisement) GetExpiryUnix() int64
func (*Advertisement) GetMetric ¶ added in v0.4.0
func (x *Advertisement) GetMetric() uint32
func (*Advertisement) GetNodeId ¶ added in v0.4.0
func (x *Advertisement) GetNodeId() string
func (*Advertisement) GetPassiveHold ¶ added in v0.4.0
func (x *Advertisement) GetPassiveHold() bool
func (*Advertisement) GetPrefix ¶ added in v0.4.0
func (x *Advertisement) GetPrefix() string
func (*Advertisement) ProtoMessage ¶ added in v0.4.0
func (*Advertisement) ProtoMessage()
func (*Advertisement) ProtoReflect ¶ added in v0.4.0
func (x *Advertisement) ProtoReflect() protoreflect.Message
func (*Advertisement) Reset ¶ added in v0.4.0
func (x *Advertisement) Reset()
func (*Advertisement) String ¶ added in v0.4.0
func (x *Advertisement) String() string
type EndpointInfo ¶ added in v0.4.0
type EndpointInfo struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Resolved *string `protobuf:"bytes,2,opt,name=resolved,proto3,oneof" json:"resolved,omitempty"`
Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
RemoteInit bool `protobuf:"varint,4,opt,name=remote_init,json=remoteInit,proto3" json:"remote_init,omitempty"`
Metric uint32 `protobuf:"varint,5,opt,name=metric,proto3" json:"metric,omitempty"`
FilteredRttNs int64 `protobuf:"varint,7,opt,name=filtered_rtt_ns,json=filteredRttNs,proto3" json:"filtered_rtt_ns,omitempty"`
StabilizedRttNs int64 `protobuf:"varint,8,opt,name=stabilized_rtt_ns,json=stabilizedRttNs,proto3" json:"stabilized_rtt_ns,omitempty"`
// contains filtered or unexported fields
}
func (*EndpointInfo) Descriptor
deprecated
added in
v0.4.0
func (*EndpointInfo) Descriptor() ([]byte, []int)
Deprecated: Use EndpointInfo.ProtoReflect.Descriptor instead.
func (*EndpointInfo) GetActive ¶ added in v0.4.0
func (x *EndpointInfo) GetActive() bool
func (*EndpointInfo) GetAddress ¶ added in v0.4.0
func (x *EndpointInfo) GetAddress() string
func (*EndpointInfo) GetFilteredRttNs ¶ added in v0.4.0
func (x *EndpointInfo) GetFilteredRttNs() int64
func (*EndpointInfo) GetMetric ¶ added in v0.4.0
func (x *EndpointInfo) GetMetric() uint32
func (*EndpointInfo) GetRemoteInit ¶ added in v0.4.0
func (x *EndpointInfo) GetRemoteInit() bool
func (*EndpointInfo) GetResolved ¶ added in v0.4.0
func (x *EndpointInfo) GetResolved() string
func (*EndpointInfo) GetStabilizedRttNs ¶ added in v0.4.0
func (x *EndpointInfo) GetStabilizedRttNs() int64
func (*EndpointInfo) ProtoMessage ¶ added in v0.4.0
func (*EndpointInfo) ProtoMessage()
func (*EndpointInfo) ProtoReflect ¶ added in v0.4.0
func (x *EndpointInfo) ProtoReflect() protoreflect.Message
func (*EndpointInfo) Reset ¶ added in v0.4.0
func (x *EndpointInfo) Reset()
func (*EndpointInfo) String ¶ added in v0.4.0
func (x *EndpointInfo) String() string
type EndpointProbeResult ¶ added in v0.4.0
type EndpointProbeResult struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Resolved *string `protobuf:"bytes,4,opt,name=resolved,proto3,oneof" json:"resolved,omitempty"`
Status EndpointProbeStatus `protobuf:"varint,5,opt,name=status,proto3,enum=proto.EndpointProbeStatus" json:"status,omitempty"`
LatencyNs int64 `protobuf:"varint,6,opt,name=latency_ns,json=latencyNs,proto3" json:"latency_ns,omitempty"`
// contains filtered or unexported fields
}
func (*EndpointProbeResult) Descriptor
deprecated
added in
v0.4.0
func (*EndpointProbeResult) Descriptor() ([]byte, []int)
Deprecated: Use EndpointProbeResult.ProtoReflect.Descriptor instead.
func (*EndpointProbeResult) GetAddress ¶ added in v0.4.0
func (x *EndpointProbeResult) GetAddress() string
func (*EndpointProbeResult) GetLatencyNs ¶ added in v0.4.4
func (x *EndpointProbeResult) GetLatencyNs() int64
func (*EndpointProbeResult) GetResolved ¶ added in v0.4.4
func (x *EndpointProbeResult) GetResolved() string
func (*EndpointProbeResult) GetStatus ¶ added in v0.4.4
func (x *EndpointProbeResult) GetStatus() EndpointProbeStatus
func (*EndpointProbeResult) ProtoMessage ¶ added in v0.4.0
func (*EndpointProbeResult) ProtoMessage()
func (*EndpointProbeResult) ProtoReflect ¶ added in v0.4.0
func (x *EndpointProbeResult) ProtoReflect() protoreflect.Message
func (*EndpointProbeResult) Reset ¶ added in v0.4.0
func (x *EndpointProbeResult) Reset()
func (*EndpointProbeResult) String ¶ added in v0.4.0
func (x *EndpointProbeResult) String() string
type EndpointProbeStatus ¶ added in v0.4.4
type EndpointProbeStatus int32
const ( EndpointProbeStatus_ENDPOINT_PROBE_STATUS_UNSPECIFIED EndpointProbeStatus = 0 EndpointProbeStatus_ENDPOINT_PROBE_REPLIED EndpointProbeStatus = 1 EndpointProbeStatus_ENDPOINT_PROBE_TIMEOUT EndpointProbeStatus = 2 EndpointProbeStatus_ENDPOINT_PROBE_SEND_ERROR EndpointProbeStatus = 3 EndpointProbeStatus_ENDPOINT_PROBE_RESOLVE_ERROR EndpointProbeStatus = 4 )
func (EndpointProbeStatus) Descriptor ¶ added in v0.4.4
func (EndpointProbeStatus) Descriptor() protoreflect.EnumDescriptor
func (EndpointProbeStatus) Enum ¶ added in v0.4.4
func (x EndpointProbeStatus) Enum() *EndpointProbeStatus
func (EndpointProbeStatus) EnumDescriptor
deprecated
added in
v0.4.4
func (EndpointProbeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use EndpointProbeStatus.Descriptor instead.
func (EndpointProbeStatus) Number ¶ added in v0.4.4
func (x EndpointProbeStatus) Number() protoreflect.EnumNumber
func (EndpointProbeStatus) String ¶ added in v0.4.4
func (x EndpointProbeStatus) String() string
func (EndpointProbeStatus) Type ¶ added in v0.4.4
func (EndpointProbeStatus) Type() protoreflect.EnumType
type FD ¶ added in v0.4.0
type FD struct {
Seqno uint32 `protobuf:"varint,1,opt,name=seqno,proto3" json:"seqno,omitempty"`
Metric uint32 `protobuf:"varint,2,opt,name=metric,proto3" json:"metric,omitempty"`
// contains filtered or unexported fields
}
func (*FD) Descriptor
deprecated
added in
v0.4.0
func (*FD) ProtoMessage ¶ added in v0.4.0
func (*FD) ProtoMessage()
func (*FD) ProtoReflect ¶ added in v0.4.0
func (x *FD) ProtoReflect() protoreflect.Message
type FeasibilityDistance ¶ added in v0.4.0
type FeasibilityDistance struct {
Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Fd *FD `protobuf:"bytes,2,opt,name=fd,proto3" json:"fd,omitempty"`
// contains filtered or unexported fields
}
func (*FeasibilityDistance) Descriptor
deprecated
added in
v0.4.0
func (*FeasibilityDistance) Descriptor() ([]byte, []int)
Deprecated: Use FeasibilityDistance.ProtoReflect.Descriptor instead.
func (*FeasibilityDistance) GetFd ¶ added in v0.4.0
func (x *FeasibilityDistance) GetFd() *FD
func (*FeasibilityDistance) GetSource ¶ added in v0.4.0
func (x *FeasibilityDistance) GetSource() *Source
func (*FeasibilityDistance) ProtoMessage ¶ added in v0.4.0
func (*FeasibilityDistance) ProtoMessage()
func (*FeasibilityDistance) ProtoReflect ¶ added in v0.4.0
func (x *FeasibilityDistance) ProtoReflect() protoreflect.Message
func (*FeasibilityDistance) Reset ¶ added in v0.4.0
func (x *FeasibilityDistance) Reset()
func (*FeasibilityDistance) String ¶ added in v0.4.0
func (x *FeasibilityDistance) String() string
type IpcRequest ¶ added in v0.4.0
type IpcRequest struct {
// Types that are valid to be assigned to Request:
//
// *IpcRequest_Status
// *IpcRequest_Probe
// *IpcRequest_Reload
// *IpcRequest_Trace
Request isIpcRequest_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
func (*IpcRequest) Descriptor
deprecated
added in
v0.4.0
func (*IpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use IpcRequest.ProtoReflect.Descriptor instead.
func (*IpcRequest) GetProbe ¶ added in v0.4.0
func (x *IpcRequest) GetProbe() *ProbeRequest
func (*IpcRequest) GetReload ¶ added in v0.4.0
func (x *IpcRequest) GetReload() *ReloadRequest
func (*IpcRequest) GetRequest ¶ added in v0.4.0
func (x *IpcRequest) GetRequest() isIpcRequest_Request
func (*IpcRequest) GetStatus ¶ added in v0.4.0
func (x *IpcRequest) GetStatus() *StatusRequest
func (*IpcRequest) GetTrace ¶ added in v0.4.0
func (x *IpcRequest) GetTrace() *TraceRequest
func (*IpcRequest) ProtoMessage ¶ added in v0.4.0
func (*IpcRequest) ProtoMessage()
func (*IpcRequest) ProtoReflect ¶ added in v0.4.0
func (x *IpcRequest) ProtoReflect() protoreflect.Message
func (*IpcRequest) Reset ¶ added in v0.4.0
func (x *IpcRequest) Reset()
func (*IpcRequest) String ¶ added in v0.4.0
func (x *IpcRequest) String() string
type IpcRequest_Probe ¶ added in v0.4.0
type IpcRequest_Probe struct {
Probe *ProbeRequest `protobuf:"bytes,2,opt,name=probe,proto3,oneof"`
}
type IpcRequest_Reload ¶ added in v0.4.0
type IpcRequest_Reload struct {
Reload *ReloadRequest `protobuf:"bytes,3,opt,name=reload,proto3,oneof"`
}
type IpcRequest_Status ¶ added in v0.4.0
type IpcRequest_Status struct {
Status *StatusRequest `protobuf:"bytes,1,opt,name=status,proto3,oneof"`
}
type IpcRequest_Trace ¶ added in v0.4.0
type IpcRequest_Trace struct {
Trace *TraceRequest `protobuf:"bytes,4,opt,name=trace,proto3,oneof"`
}
type IpcResponse ¶ added in v0.4.0
type IpcResponse struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// Types that are valid to be assigned to Response:
//
// *IpcResponse_Status
// *IpcResponse_Probe
// *IpcResponse_Reload
// *IpcResponse_Trace
Response isIpcResponse_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
func (*IpcResponse) Descriptor
deprecated
added in
v0.4.0
func (*IpcResponse) Descriptor() ([]byte, []int)
Deprecated: Use IpcResponse.ProtoReflect.Descriptor instead.
func (*IpcResponse) GetError ¶ added in v0.4.0
func (x *IpcResponse) GetError() string
func (*IpcResponse) GetOk ¶ added in v0.4.0
func (x *IpcResponse) GetOk() bool
func (*IpcResponse) GetProbe ¶ added in v0.4.0
func (x *IpcResponse) GetProbe() *ProbeResponse
func (*IpcResponse) GetReload ¶ added in v0.4.0
func (x *IpcResponse) GetReload() *ReloadResponse
func (*IpcResponse) GetResponse ¶ added in v0.4.0
func (x *IpcResponse) GetResponse() isIpcResponse_Response
func (*IpcResponse) GetStatus ¶ added in v0.4.0
func (x *IpcResponse) GetStatus() *StatusResponse
func (*IpcResponse) GetTrace ¶ added in v0.4.0
func (x *IpcResponse) GetTrace() *TraceEvent
func (*IpcResponse) ProtoMessage ¶ added in v0.4.0
func (*IpcResponse) ProtoMessage()
func (*IpcResponse) ProtoReflect ¶ added in v0.4.0
func (x *IpcResponse) ProtoReflect() protoreflect.Message
func (*IpcResponse) Reset ¶ added in v0.4.0
func (x *IpcResponse) Reset()
func (*IpcResponse) String ¶ added in v0.4.0
func (x *IpcResponse) String() string
type IpcResponse_Probe ¶ added in v0.4.0
type IpcResponse_Probe struct {
Probe *ProbeResponse `protobuf:"bytes,4,opt,name=probe,proto3,oneof"`
}
type IpcResponse_Reload ¶ added in v0.4.0
type IpcResponse_Reload struct {
Reload *ReloadResponse `protobuf:"bytes,5,opt,name=reload,proto3,oneof"`
}
type IpcResponse_Status ¶ added in v0.4.0
type IpcResponse_Status struct {
Status *StatusResponse `protobuf:"bytes,3,opt,name=status,proto3,oneof"`
}
type IpcResponse_Trace ¶ added in v0.4.0
type IpcResponse_Trace struct {
Trace *TraceEvent `protobuf:"bytes,6,opt,name=trace,proto3,oneof"`
}
type NeighRoute ¶ added in v0.4.0
type NeighRoute struct {
PubRoute *PubRoute `protobuf:"bytes,1,opt,name=pub_route,json=pubRoute,proto3" json:"pub_route,omitempty"`
ExpireAtUnix int64 `protobuf:"varint,2,opt,name=expire_at_unix,json=expireAtUnix,proto3" json:"expire_at_unix,omitempty"`
// contains filtered or unexported fields
}
func (*NeighRoute) Descriptor
deprecated
added in
v0.4.0
func (*NeighRoute) Descriptor() ([]byte, []int)
Deprecated: Use NeighRoute.ProtoReflect.Descriptor instead.
func (*NeighRoute) GetExpireAtUnix ¶ added in v0.4.0
func (x *NeighRoute) GetExpireAtUnix() int64
func (*NeighRoute) GetPubRoute ¶ added in v0.4.0
func (x *NeighRoute) GetPubRoute() *PubRoute
func (*NeighRoute) ProtoMessage ¶ added in v0.4.0
func (*NeighRoute) ProtoMessage()
func (*NeighRoute) ProtoReflect ¶ added in v0.4.0
func (x *NeighRoute) ProtoReflect() protoreflect.Message
func (*NeighRoute) Reset ¶ added in v0.4.0
func (x *NeighRoute) Reset()
func (*NeighRoute) String ¶ added in v0.4.0
func (x *NeighRoute) String() string
type NeighbourInfo ¶ added in v0.4.0
type NeighbourInfo struct {
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
PassiveClient bool `protobuf:"varint,3,opt,name=passive_client,json=passiveClient,proto3" json:"passive_client,omitempty"`
Endpoints []*EndpointInfo `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
Routes []*NeighRoute `protobuf:"bytes,5,rep,name=routes,proto3" json:"routes,omitempty"`
Advertised []*Advertisement `protobuf:"bytes,6,rep,name=advertised,proto3" json:"advertised,omitempty"`
Wireguard *WireGuardPeerStats `protobuf:"bytes,7,opt,name=wireguard,proto3" json:"wireguard,omitempty"`
// contains filtered or unexported fields
}
func (*NeighbourInfo) Descriptor
deprecated
added in
v0.4.0
func (*NeighbourInfo) Descriptor() ([]byte, []int)
Deprecated: Use NeighbourInfo.ProtoReflect.Descriptor instead.
func (*NeighbourInfo) GetAdvertised ¶ added in v0.4.0
func (x *NeighbourInfo) GetAdvertised() []*Advertisement
func (*NeighbourInfo) GetEndpoints ¶ added in v0.4.0
func (x *NeighbourInfo) GetEndpoints() []*EndpointInfo
func (*NeighbourInfo) GetPassiveClient ¶ added in v0.4.0
func (x *NeighbourInfo) GetPassiveClient() bool
func (*NeighbourInfo) GetPeerId ¶ added in v0.4.0
func (x *NeighbourInfo) GetPeerId() string
func (*NeighbourInfo) GetPublicKey ¶ added in v0.4.0
func (x *NeighbourInfo) GetPublicKey() string
func (*NeighbourInfo) GetRoutes ¶ added in v0.4.0
func (x *NeighbourInfo) GetRoutes() []*NeighRoute
func (*NeighbourInfo) GetWireguard ¶ added in v0.4.0
func (x *NeighbourInfo) GetWireguard() *WireGuardPeerStats
func (*NeighbourInfo) ProtoMessage ¶ added in v0.4.0
func (*NeighbourInfo) ProtoMessage()
func (*NeighbourInfo) ProtoReflect ¶ added in v0.4.0
func (x *NeighbourInfo) ProtoReflect() protoreflect.Message
func (*NeighbourInfo) Reset ¶ added in v0.4.0
func (x *NeighbourInfo) Reset()
func (*NeighbourInfo) String ¶ added in v0.4.0
func (x *NeighbourInfo) String() string
type NodeStats ¶ added in v0.4.0
type NodeStats struct {
NeighbourCount int32 `protobuf:"varint,1,opt,name=neighbour_count,json=neighbourCount,proto3" json:"neighbour_count,omitempty"`
ActiveEndpointCount int32 `protobuf:"varint,2,opt,name=active_endpoint_count,json=activeEndpointCount,proto3" json:"active_endpoint_count,omitempty"`
SelectedRouteCount int32 `protobuf:"varint,3,opt,name=selected_route_count,json=selectedRouteCount,proto3" json:"selected_route_count,omitempty"`
AdvertisedPrefixCount int32 `` /* 127-byte string literal not displayed */
TxBytes uint64 `protobuf:"varint,5,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
RxBytes uint64 `protobuf:"varint,6,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*NodeStats) Descriptor
deprecated
added in
v0.4.0
func (*NodeStats) GetActiveEndpointCount ¶ added in v0.4.0
func (*NodeStats) GetAdvertisedPrefixCount ¶ added in v0.4.0
func (*NodeStats) GetNeighbourCount ¶ added in v0.4.0
func (*NodeStats) GetRxBytes ¶ added in v0.4.0
func (*NodeStats) GetSelectedRouteCount ¶ added in v0.4.0
func (*NodeStats) GetTxBytes ¶ added in v0.4.0
func (*NodeStats) ProtoMessage ¶ added in v0.4.0
func (*NodeStats) ProtoMessage()
func (*NodeStats) ProtoReflect ¶ added in v0.4.0
func (x *NodeStats) ProtoReflect() protoreflect.Message
type NodeStatus ¶ added in v0.4.0
type NodeStatus struct {
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
Interface string `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"`
PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
ListenPort uint32 `protobuf:"varint,4,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"`
ConfigTimestamp int64 `protobuf:"varint,5,opt,name=config_timestamp,json=configTimestamp,proto3" json:"config_timestamp,omitempty"`
TraceEnabled bool `protobuf:"varint,6,opt,name=trace_enabled,json=traceEnabled,proto3" json:"trace_enabled,omitempty"`
Advertised []*Advertisement `protobuf:"bytes,7,rep,name=advertised,proto3" json:"advertised,omitempty"`
Seqnos []*SeqnoEntry `protobuf:"bytes,8,rep,name=seqnos,proto3" json:"seqnos,omitempty"`
Stats *NodeStats `protobuf:"bytes,9,opt,name=stats,proto3" json:"stats,omitempty"`
// contains filtered or unexported fields
}
func (*NodeStatus) Descriptor
deprecated
added in
v0.4.0
func (*NodeStatus) Descriptor() ([]byte, []int)
Deprecated: Use NodeStatus.ProtoReflect.Descriptor instead.
func (*NodeStatus) GetAdvertised ¶ added in v0.4.0
func (x *NodeStatus) GetAdvertised() []*Advertisement
func (*NodeStatus) GetConfigTimestamp ¶ added in v0.4.0
func (x *NodeStatus) GetConfigTimestamp() int64
func (*NodeStatus) GetInterface ¶ added in v0.4.0
func (x *NodeStatus) GetInterface() string
func (*NodeStatus) GetListenPort ¶ added in v0.4.0
func (x *NodeStatus) GetListenPort() uint32
func (*NodeStatus) GetNodeId ¶ added in v0.4.0
func (x *NodeStatus) GetNodeId() string
func (*NodeStatus) GetPublicKey ¶ added in v0.4.0
func (x *NodeStatus) GetPublicKey() string
func (*NodeStatus) GetSeqnos ¶ added in v0.4.0
func (x *NodeStatus) GetSeqnos() []*SeqnoEntry
func (*NodeStatus) GetStats ¶ added in v0.4.0
func (x *NodeStatus) GetStats() *NodeStats
func (*NodeStatus) GetTraceEnabled ¶ added in v0.4.0
func (x *NodeStatus) GetTraceEnabled() bool
func (*NodeStatus) ProtoMessage ¶ added in v0.4.0
func (*NodeStatus) ProtoMessage()
func (*NodeStatus) ProtoReflect ¶ added in v0.4.0
func (x *NodeStatus) ProtoReflect() protoreflect.Message
func (*NodeStatus) Reset ¶ added in v0.4.0
func (x *NodeStatus) Reset()
func (*NodeStatus) String ¶ added in v0.4.0
func (x *NodeStatus) String() string
type Ny ¶
type Ny struct {
// Types that are valid to be assigned to Type:
//
// *Ny_RouteOp
// *Ny_SeqnoRequestOp
// *Ny_ProbeOp
// *Ny_AckRetractOp
Type isNy_Type `protobuf_oneof:"type"`
// contains filtered or unexported fields
}
func (*Ny) Descriptor
deprecated
func (*Ny) GetAckRetractOp ¶
func (x *Ny) GetAckRetractOp() *Ny_AckRetract
func (*Ny) GetProbeOp ¶
func (*Ny) GetRouteOp ¶
func (*Ny) GetSeqnoRequestOp ¶
func (x *Ny) GetSeqnoRequestOp() *Ny_SeqnoRequest
func (*Ny) ProtoMessage ¶
func (*Ny) ProtoMessage()
func (*Ny) ProtoReflect ¶
func (x *Ny) ProtoReflect() protoreflect.Message
type Ny_AckRetract ¶
type Ny_AckRetract struct {
Prefix []byte `protobuf:"bytes,1,opt,name=Prefix,proto3" json:"Prefix,omitempty"`
// contains filtered or unexported fields
}
func (*Ny_AckRetract) Descriptor
deprecated
func (*Ny_AckRetract) Descriptor() ([]byte, []int)
Deprecated: Use Ny_AckRetract.ProtoReflect.Descriptor instead.
func (*Ny_AckRetract) GetPrefix ¶ added in v0.4.0
func (x *Ny_AckRetract) GetPrefix() []byte
func (*Ny_AckRetract) ProtoMessage ¶
func (*Ny_AckRetract) ProtoMessage()
func (*Ny_AckRetract) ProtoReflect ¶
func (x *Ny_AckRetract) ProtoReflect() protoreflect.Message
func (*Ny_AckRetract) Reset ¶
func (x *Ny_AckRetract) Reset()
func (*Ny_AckRetract) String ¶
func (x *Ny_AckRetract) String() string
type Ny_AckRetractOp ¶
type Ny_AckRetractOp struct {
AckRetractOp *Ny_AckRetract `protobuf:"bytes,4,opt,name=AckRetractOp,proto3,oneof"`
}
type Ny_Probe ¶
type Ny_Probe struct {
Token uint64 `protobuf:"varint,1,opt,name=Token,proto3" json:"Token,omitempty"`
ResponseToken *uint64 `protobuf:"varint,2,opt,name=ResponseToken,proto3,oneof" json:"ResponseToken,omitempty"`
// contains filtered or unexported fields
}
func (*Ny_Probe) Descriptor
deprecated
func (*Ny_Probe) GetResponseToken ¶
func (*Ny_Probe) ProtoMessage ¶
func (*Ny_Probe) ProtoMessage()
func (*Ny_Probe) ProtoReflect ¶
func (x *Ny_Probe) ProtoReflect() protoreflect.Message
type Ny_ProbeOp ¶
type Ny_ProbeOp struct {
ProbeOp *Ny_Probe `protobuf:"bytes,3,opt,name=ProbeOp,proto3,oneof"`
}
type Ny_RouteOp ¶
type Ny_RouteOp struct {
RouteOp *Ny_Update `protobuf:"bytes,1,opt,name=RouteOp,proto3,oneof"`
}
type Ny_SeqnoRequest ¶
type Ny_SeqnoRequest struct {
RouterId string `protobuf:"bytes,1,opt,name=RouterId,proto3" json:"RouterId,omitempty"`
Prefix []byte `protobuf:"bytes,2,opt,name=Prefix,proto3" json:"Prefix,omitempty"`
Seqno uint32 `protobuf:"varint,3,opt,name=Seqno,proto3" json:"Seqno,omitempty"`
HopCount uint32 `protobuf:"varint,4,opt,name=HopCount,proto3" json:"HopCount,omitempty"`
// contains filtered or unexported fields
}
func (*Ny_SeqnoRequest) Descriptor
deprecated
func (*Ny_SeqnoRequest) Descriptor() ([]byte, []int)
Deprecated: Use Ny_SeqnoRequest.ProtoReflect.Descriptor instead.
func (*Ny_SeqnoRequest) GetHopCount ¶
func (x *Ny_SeqnoRequest) GetHopCount() uint32
func (*Ny_SeqnoRequest) GetPrefix ¶ added in v0.4.0
func (x *Ny_SeqnoRequest) GetPrefix() []byte
func (*Ny_SeqnoRequest) GetRouterId ¶
func (x *Ny_SeqnoRequest) GetRouterId() string
func (*Ny_SeqnoRequest) GetSeqno ¶
func (x *Ny_SeqnoRequest) GetSeqno() uint32
func (*Ny_SeqnoRequest) ProtoMessage ¶
func (*Ny_SeqnoRequest) ProtoMessage()
func (*Ny_SeqnoRequest) ProtoReflect ¶
func (x *Ny_SeqnoRequest) ProtoReflect() protoreflect.Message
func (*Ny_SeqnoRequest) Reset ¶
func (x *Ny_SeqnoRequest) Reset()
func (*Ny_SeqnoRequest) String ¶
func (x *Ny_SeqnoRequest) String() string
type Ny_SeqnoRequestOp ¶
type Ny_SeqnoRequestOp struct {
SeqnoRequestOp *Ny_SeqnoRequest `protobuf:"bytes,2,opt,name=SeqnoRequestOp,proto3,oneof"`
}
type Ny_Update ¶
type Ny_Update struct {
RouterId string `protobuf:"bytes,1,opt,name=RouterId,proto3" json:"RouterId,omitempty"`
Prefix []byte `protobuf:"bytes,2,opt,name=Prefix,proto3" json:"Prefix,omitempty"`
Seqno uint32 `protobuf:"varint,3,opt,name=Seqno,proto3" json:"Seqno,omitempty"`
Metric uint32 `protobuf:"varint,4,opt,name=Metric,proto3" json:"Metric,omitempty"`
// contains filtered or unexported fields
}
func (*Ny_Update) Descriptor
deprecated
func (*Ny_Update) GetRouterId ¶
func (*Ny_Update) ProtoMessage ¶
func (*Ny_Update) ProtoMessage()
func (*Ny_Update) ProtoReflect ¶
func (x *Ny_Update) ProtoReflect() protoreflect.Message
type ProbeRequest ¶ added in v0.4.0
type ProbeRequest struct {
PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
TimeoutMs uint32 `protobuf:"varint,2,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"`
// contains filtered or unexported fields
}
func (*ProbeRequest) Descriptor
deprecated
added in
v0.4.0
func (*ProbeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProbeRequest.ProtoReflect.Descriptor instead.
func (*ProbeRequest) GetPeerId ¶ added in v0.4.0
func (x *ProbeRequest) GetPeerId() string
func (*ProbeRequest) GetTimeoutMs ¶ added in v0.4.4
func (x *ProbeRequest) GetTimeoutMs() uint32
func (*ProbeRequest) ProtoMessage ¶ added in v0.4.0
func (*ProbeRequest) ProtoMessage()
func (*ProbeRequest) ProtoReflect ¶ added in v0.4.0
func (x *ProbeRequest) ProtoReflect() protoreflect.Message
func (*ProbeRequest) Reset ¶ added in v0.4.0
func (x *ProbeRequest) Reset()
func (*ProbeRequest) String ¶ added in v0.4.0
func (x *ProbeRequest) String() string
type ProbeResponse ¶ added in v0.4.0
type ProbeResponse struct {
Results []*EndpointProbeResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
func (*ProbeResponse) Descriptor
deprecated
added in
v0.4.0
func (*ProbeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProbeResponse.ProtoReflect.Descriptor instead.
func (*ProbeResponse) GetResults ¶ added in v0.4.0
func (x *ProbeResponse) GetResults() []*EndpointProbeResult
func (*ProbeResponse) ProtoMessage ¶ added in v0.4.0
func (*ProbeResponse) ProtoMessage()
func (*ProbeResponse) ProtoReflect ¶ added in v0.4.0
func (x *ProbeResponse) ProtoReflect() protoreflect.Message
func (*ProbeResponse) Reset ¶ added in v0.4.0
func (x *ProbeResponse) Reset()
func (*ProbeResponse) String ¶ added in v0.4.0
func (x *ProbeResponse) String() string
type PubRoute ¶ added in v0.4.0
type PubRoute struct {
Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Fd *FD `protobuf:"bytes,2,opt,name=fd,proto3" json:"fd,omitempty"`
// contains filtered or unexported fields
}
func (*PubRoute) Descriptor
deprecated
added in
v0.4.0
func (*PubRoute) ProtoMessage ¶ added in v0.4.0
func (*PubRoute) ProtoMessage()
func (*PubRoute) ProtoReflect ¶ added in v0.4.0
func (x *PubRoute) ProtoReflect() protoreflect.Message
type ReloadRequest ¶ added in v0.4.0
type ReloadRequest struct {
// contains filtered or unexported fields
}
func (*ReloadRequest) Descriptor
deprecated
added in
v0.4.0
func (*ReloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReloadRequest.ProtoReflect.Descriptor instead.
func (*ReloadRequest) ProtoMessage ¶ added in v0.4.0
func (*ReloadRequest) ProtoMessage()
func (*ReloadRequest) ProtoReflect ¶ added in v0.4.0
func (x *ReloadRequest) ProtoReflect() protoreflect.Message
func (*ReloadRequest) Reset ¶ added in v0.4.0
func (x *ReloadRequest) Reset()
func (*ReloadRequest) String ¶ added in v0.4.0
func (x *ReloadRequest) String() string
type ReloadResponse ¶ added in v0.4.0
type ReloadResponse struct {
Result ReloadResult `protobuf:"varint,1,opt,name=result,proto3,enum=proto.ReloadResult" json:"result,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ReloadResponse) Descriptor
deprecated
added in
v0.4.0
func (*ReloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReloadResponse.ProtoReflect.Descriptor instead.
func (*ReloadResponse) GetMessage ¶ added in v0.4.0
func (x *ReloadResponse) GetMessage() string
func (*ReloadResponse) GetResult ¶ added in v0.4.0
func (x *ReloadResponse) GetResult() ReloadResult
func (*ReloadResponse) ProtoMessage ¶ added in v0.4.0
func (*ReloadResponse) ProtoMessage()
func (*ReloadResponse) ProtoReflect ¶ added in v0.4.0
func (x *ReloadResponse) ProtoReflect() protoreflect.Message
func (*ReloadResponse) Reset ¶ added in v0.4.0
func (x *ReloadResponse) Reset()
func (*ReloadResponse) String ¶ added in v0.4.0
func (x *ReloadResponse) String() string
type ReloadResult ¶ added in v0.4.0
type ReloadResult int32
const ( ReloadResult_NOOP ReloadResult = 0 ReloadResult_APPLIED ReloadResult = 1 ReloadResult_REJECTED ReloadResult = 2 ReloadResult_RESTART_REQUIRED ReloadResult = 3 )
func (ReloadResult) Descriptor ¶ added in v0.4.0
func (ReloadResult) Descriptor() protoreflect.EnumDescriptor
func (ReloadResult) Enum ¶ added in v0.4.0
func (x ReloadResult) Enum() *ReloadResult
func (ReloadResult) EnumDescriptor
deprecated
added in
v0.4.0
func (ReloadResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReloadResult.Descriptor instead.
func (ReloadResult) Number ¶ added in v0.4.0
func (x ReloadResult) Number() protoreflect.EnumNumber
func (ReloadResult) String ¶ added in v0.4.0
func (x ReloadResult) String() string
func (ReloadResult) Type ¶ added in v0.4.0
func (ReloadResult) Type() protoreflect.EnumType
type RouteTableEntry ¶ added in v0.4.0
type RouteTableEntry struct {
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
Nh string `protobuf:"bytes,2,opt,name=nh,proto3" json:"nh,omitempty"`
Blackhole bool `protobuf:"varint,3,opt,name=blackhole,proto3" json:"blackhole,omitempty"`
// contains filtered or unexported fields
}
func (*RouteTableEntry) Descriptor
deprecated
added in
v0.4.0
func (*RouteTableEntry) Descriptor() ([]byte, []int)
Deprecated: Use RouteTableEntry.ProtoReflect.Descriptor instead.
func (*RouteTableEntry) GetBlackhole ¶ added in v0.4.0
func (x *RouteTableEntry) GetBlackhole() bool
func (*RouteTableEntry) GetNh ¶ added in v0.4.0
func (x *RouteTableEntry) GetNh() string
func (*RouteTableEntry) GetPrefix ¶ added in v0.4.0
func (x *RouteTableEntry) GetPrefix() string
func (*RouteTableEntry) ProtoMessage ¶ added in v0.4.0
func (*RouteTableEntry) ProtoMessage()
func (*RouteTableEntry) ProtoReflect ¶ added in v0.4.0
func (x *RouteTableEntry) ProtoReflect() protoreflect.Message
func (*RouteTableEntry) Reset ¶ added in v0.4.0
func (x *RouteTableEntry) Reset()
func (*RouteTableEntry) String ¶ added in v0.4.0
func (x *RouteTableEntry) String() string
type RouteTables ¶ added in v0.4.0
type RouteTables struct {
Selected []*SelRoute `protobuf:"bytes,1,rep,name=selected,proto3" json:"selected,omitempty"`
Forward []*RouteTableEntry `protobuf:"bytes,2,rep,name=forward,proto3" json:"forward,omitempty"`
Exit []*RouteTableEntry `protobuf:"bytes,3,rep,name=exit,proto3" json:"exit,omitempty"`
// contains filtered or unexported fields
}
func (*RouteTables) Descriptor
deprecated
added in
v0.4.0
func (*RouteTables) Descriptor() ([]byte, []int)
Deprecated: Use RouteTables.ProtoReflect.Descriptor instead.
func (*RouteTables) GetExit ¶ added in v0.4.0
func (x *RouteTables) GetExit() []*RouteTableEntry
func (*RouteTables) GetForward ¶ added in v0.4.0
func (x *RouteTables) GetForward() []*RouteTableEntry
func (*RouteTables) GetSelected ¶ added in v0.4.0
func (x *RouteTables) GetSelected() []*SelRoute
func (*RouteTables) ProtoMessage ¶ added in v0.4.0
func (*RouteTables) ProtoMessage()
func (*RouteTables) ProtoReflect ¶ added in v0.4.0
func (x *RouteTables) ProtoReflect() protoreflect.Message
func (*RouteTables) Reset ¶ added in v0.4.0
func (x *RouteTables) Reset()
func (*RouteTables) String ¶ added in v0.4.0
func (x *RouteTables) String() string
type SelRoute ¶ added in v0.4.0
type SelRoute struct {
PubRoute *PubRoute `protobuf:"bytes,1,opt,name=pub_route,json=pubRoute,proto3" json:"pub_route,omitempty"`
Nh string `protobuf:"bytes,2,opt,name=nh,proto3" json:"nh,omitempty"`
ExpireAtUnix int64 `protobuf:"varint,3,opt,name=expire_at_unix,json=expireAtUnix,proto3" json:"expire_at_unix,omitempty"`
RetractedBy []string `protobuf:"bytes,4,rep,name=retracted_by,json=retractedBy,proto3" json:"retracted_by,omitempty"`
// contains filtered or unexported fields
}
func (*SelRoute) Descriptor
deprecated
added in
v0.4.0
func (*SelRoute) GetExpireAtUnix ¶ added in v0.4.0
func (*SelRoute) GetPubRoute ¶ added in v0.4.0
func (*SelRoute) GetRetractedBy ¶ added in v0.4.0
func (*SelRoute) ProtoMessage ¶ added in v0.4.0
func (*SelRoute) ProtoMessage()
func (*SelRoute) ProtoReflect ¶ added in v0.4.0
func (x *SelRoute) ProtoReflect() protoreflect.Message
type SeqnoEntry ¶ added in v0.4.0
type SeqnoEntry struct {
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
Seqno uint32 `protobuf:"varint,2,opt,name=seqno,proto3" json:"seqno,omitempty"`
// contains filtered or unexported fields
}
func (*SeqnoEntry) Descriptor
deprecated
added in
v0.4.0
func (*SeqnoEntry) Descriptor() ([]byte, []int)
Deprecated: Use SeqnoEntry.ProtoReflect.Descriptor instead.
func (*SeqnoEntry) GetPrefix ¶ added in v0.4.0
func (x *SeqnoEntry) GetPrefix() string
func (*SeqnoEntry) GetSeqno ¶ added in v0.4.0
func (x *SeqnoEntry) GetSeqno() uint32
func (*SeqnoEntry) ProtoMessage ¶ added in v0.4.0
func (*SeqnoEntry) ProtoMessage()
func (*SeqnoEntry) ProtoReflect ¶ added in v0.4.0
func (x *SeqnoEntry) ProtoReflect() protoreflect.Message
func (*SeqnoEntry) Reset ¶ added in v0.4.0
func (x *SeqnoEntry) Reset()
func (*SeqnoEntry) String ¶ added in v0.4.0
func (x *SeqnoEntry) String() string
type Source ¶ added in v0.4.0
type Source struct {
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
// contains filtered or unexported fields
}
func (*Source) Descriptor
deprecated
added in
v0.4.0
func (*Source) ProtoMessage ¶ added in v0.4.0
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶ added in v0.4.0
func (x *Source) ProtoReflect() protoreflect.Message
type StatusRequest ¶ added in v0.4.0
type StatusRequest struct {
// contains filtered or unexported fields
}
func (*StatusRequest) Descriptor
deprecated
added in
v0.4.0
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) ProtoMessage ¶ added in v0.4.0
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶ added in v0.4.0
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶ added in v0.4.0
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶ added in v0.4.0
func (x *StatusRequest) String() string
type StatusResponse ¶ added in v0.4.0
type StatusResponse struct {
Node *NodeStatus `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
Neighbours []*NeighbourInfo `protobuf:"bytes,2,rep,name=neighbours,proto3" json:"neighbours,omitempty"`
Routes *RouteTables `protobuf:"bytes,3,opt,name=routes,proto3" json:"routes,omitempty"`
FeasibilityDistances []*FeasibilityDistance `protobuf:"bytes,4,rep,name=feasibility_distances,json=feasibilityDistances,proto3" json:"feasibility_distances,omitempty"`
// contains filtered or unexported fields
}
func (*StatusResponse) Descriptor
deprecated
added in
v0.4.0
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetFeasibilityDistances ¶ added in v0.4.0
func (x *StatusResponse) GetFeasibilityDistances() []*FeasibilityDistance
func (*StatusResponse) GetNeighbours ¶ added in v0.4.0
func (x *StatusResponse) GetNeighbours() []*NeighbourInfo
func (*StatusResponse) GetNode ¶ added in v0.4.0
func (x *StatusResponse) GetNode() *NodeStatus
func (*StatusResponse) GetRoutes ¶ added in v0.4.0
func (x *StatusResponse) GetRoutes() *RouteTables
func (*StatusResponse) ProtoMessage ¶ added in v0.4.0
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶ added in v0.4.0
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶ added in v0.4.0
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶ added in v0.4.0
func (x *StatusResponse) String() string
type TraceEvent ¶ added in v0.4.0
type TraceEvent struct {
Line string `protobuf:"bytes,1,opt,name=line,proto3" json:"line,omitempty"`
// contains filtered or unexported fields
}
func (*TraceEvent) Descriptor
deprecated
added in
v0.4.0
func (*TraceEvent) Descriptor() ([]byte, []int)
Deprecated: Use TraceEvent.ProtoReflect.Descriptor instead.
func (*TraceEvent) GetLine ¶ added in v0.4.0
func (x *TraceEvent) GetLine() string
func (*TraceEvent) ProtoMessage ¶ added in v0.4.0
func (*TraceEvent) ProtoMessage()
func (*TraceEvent) ProtoReflect ¶ added in v0.4.0
func (x *TraceEvent) ProtoReflect() protoreflect.Message
func (*TraceEvent) Reset ¶ added in v0.4.0
func (x *TraceEvent) Reset()
func (*TraceEvent) String ¶ added in v0.4.0
func (x *TraceEvent) String() string
type TraceRequest ¶ added in v0.4.0
type TraceRequest struct {
// contains filtered or unexported fields
}
func (*TraceRequest) Descriptor
deprecated
added in
v0.4.0
func (*TraceRequest) Descriptor() ([]byte, []int)
Deprecated: Use TraceRequest.ProtoReflect.Descriptor instead.
func (*TraceRequest) ProtoMessage ¶ added in v0.4.0
func (*TraceRequest) ProtoMessage()
func (*TraceRequest) ProtoReflect ¶ added in v0.4.0
func (x *TraceRequest) ProtoReflect() protoreflect.Message
func (*TraceRequest) Reset ¶ added in v0.4.0
func (x *TraceRequest) Reset()
func (*TraceRequest) String ¶ added in v0.4.0
func (x *TraceRequest) String() string
type TransportBundle ¶
type TransportBundle struct {
Packets []*Ny `protobuf:"bytes,1,rep,name=Packets,proto3" json:"Packets,omitempty"`
// contains filtered or unexported fields
}
func (*TransportBundle) Descriptor
deprecated
func (*TransportBundle) Descriptor() ([]byte, []int)
Deprecated: Use TransportBundle.ProtoReflect.Descriptor instead.
func (*TransportBundle) GetPackets ¶
func (x *TransportBundle) GetPackets() []*Ny
func (*TransportBundle) ProtoMessage ¶
func (*TransportBundle) ProtoMessage()
func (*TransportBundle) ProtoReflect ¶
func (x *TransportBundle) ProtoReflect() protoreflect.Message
func (*TransportBundle) Reset ¶
func (x *TransportBundle) Reset()
func (*TransportBundle) String ¶
func (x *TransportBundle) String() string
type WireGuardPeerStats ¶ added in v0.4.0
type WireGuardPeerStats struct {
LatestHandshakeUnix int64 `protobuf:"varint,1,opt,name=latest_handshake_unix,json=latestHandshakeUnix,proto3" json:"latest_handshake_unix,omitempty"`
TxBytes uint64 `protobuf:"varint,2,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
RxBytes uint64 `protobuf:"varint,3,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
PersistentKeepaliveInterval uint32 `` /* 145-byte string literal not displayed */
Endpoint *string `protobuf:"bytes,5,opt,name=endpoint,proto3,oneof" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
func (*WireGuardPeerStats) Descriptor
deprecated
added in
v0.4.0
func (*WireGuardPeerStats) Descriptor() ([]byte, []int)
Deprecated: Use WireGuardPeerStats.ProtoReflect.Descriptor instead.
func (*WireGuardPeerStats) GetEndpoint ¶ added in v0.4.0
func (x *WireGuardPeerStats) GetEndpoint() string
func (*WireGuardPeerStats) GetLatestHandshakeUnix ¶ added in v0.4.0
func (x *WireGuardPeerStats) GetLatestHandshakeUnix() int64
func (*WireGuardPeerStats) GetPersistentKeepaliveInterval ¶ added in v0.4.0
func (x *WireGuardPeerStats) GetPersistentKeepaliveInterval() uint32
func (*WireGuardPeerStats) GetRxBytes ¶ added in v0.4.0
func (x *WireGuardPeerStats) GetRxBytes() uint64
func (*WireGuardPeerStats) GetTxBytes ¶ added in v0.4.0
func (x *WireGuardPeerStats) GetTxBytes() uint64
func (*WireGuardPeerStats) ProtoMessage ¶ added in v0.4.0
func (*WireGuardPeerStats) ProtoMessage()
func (*WireGuardPeerStats) ProtoReflect ¶ added in v0.4.0
func (x *WireGuardPeerStats) ProtoReflect() protoreflect.Message
func (*WireGuardPeerStats) Reset ¶ added in v0.4.0
func (x *WireGuardPeerStats) Reset()
func (*WireGuardPeerStats) String ¶ added in v0.4.0
func (x *WireGuardPeerStats) String() string