Documentation
¶
Index ¶
- Constants
- Variables
- func DRPCRegisterTailnet(mux drpc.Mux, impl DRPCTailnetServer) error
- type CoordinateRequest
- func (*CoordinateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CoordinateRequest) GetAddTunnel() *CoordinateRequest_Tunnel
- func (x *CoordinateRequest) GetDisconnect() *CoordinateRequest_Disconnect
- func (x *CoordinateRequest) GetReadyForHandshake() []*CoordinateRequest_ReadyForHandshake
- func (x *CoordinateRequest) GetRemoveTunnel() *CoordinateRequest_Tunnel
- func (x *CoordinateRequest) GetUpdateSelf() *CoordinateRequest_UpdateSelf
- func (*CoordinateRequest) ProtoMessage()
- func (x *CoordinateRequest) ProtoReflect() protoreflect.Message
- func (x *CoordinateRequest) Reset()
- func (x *CoordinateRequest) String() string
- type CoordinateRequest_Disconnect
- func (*CoordinateRequest_Disconnect) Descriptor() ([]byte, []int)deprecated
- func (*CoordinateRequest_Disconnect) ProtoMessage()
- func (x *CoordinateRequest_Disconnect) ProtoReflect() protoreflect.Message
- func (x *CoordinateRequest_Disconnect) Reset()
- func (x *CoordinateRequest_Disconnect) String() string
- type CoordinateRequest_ReadyForHandshake
- func (*CoordinateRequest_ReadyForHandshake) Descriptor() ([]byte, []int)deprecated
- func (x *CoordinateRequest_ReadyForHandshake) GetId() []byte
- func (*CoordinateRequest_ReadyForHandshake) ProtoMessage()
- func (x *CoordinateRequest_ReadyForHandshake) ProtoReflect() protoreflect.Message
- func (x *CoordinateRequest_ReadyForHandshake) Reset()
- func (x *CoordinateRequest_ReadyForHandshake) String() string
- type CoordinateRequest_Tunnel
- func (*CoordinateRequest_Tunnel) Descriptor() ([]byte, []int)deprecated
- func (x *CoordinateRequest_Tunnel) GetId() []byte
- func (*CoordinateRequest_Tunnel) ProtoMessage()
- func (x *CoordinateRequest_Tunnel) ProtoReflect() protoreflect.Message
- func (x *CoordinateRequest_Tunnel) Reset()
- func (x *CoordinateRequest_Tunnel) String() string
- type CoordinateRequest_UpdateSelf
- func (*CoordinateRequest_UpdateSelf) Descriptor() ([]byte, []int)deprecated
- func (x *CoordinateRequest_UpdateSelf) GetNode() *Node
- func (*CoordinateRequest_UpdateSelf) ProtoMessage()
- func (x *CoordinateRequest_UpdateSelf) ProtoReflect() protoreflect.Message
- func (x *CoordinateRequest_UpdateSelf) Reset()
- func (x *CoordinateRequest_UpdateSelf) String() string
- type CoordinateResponse
- func (*CoordinateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CoordinateResponse) GetError() string
- func (x *CoordinateResponse) GetPeerUpdates() []*CoordinateResponse_PeerUpdate
- func (*CoordinateResponse) ProtoMessage()
- func (x *CoordinateResponse) ProtoReflect() protoreflect.Message
- func (x *CoordinateResponse) Reset()
- func (x *CoordinateResponse) String() string
- type CoordinateResponse_PeerUpdate
- func (*CoordinateResponse_PeerUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *CoordinateResponse_PeerUpdate) GetId() []byte
- func (x *CoordinateResponse_PeerUpdate) GetKind() CoordinateResponse_PeerUpdate_Kind
- func (x *CoordinateResponse_PeerUpdate) GetNode() *Node
- func (x *CoordinateResponse_PeerUpdate) GetReason() string
- func (*CoordinateResponse_PeerUpdate) ProtoMessage()
- func (x *CoordinateResponse_PeerUpdate) ProtoReflect() protoreflect.Message
- func (x *CoordinateResponse_PeerUpdate) Reset()
- func (x *CoordinateResponse_PeerUpdate) String() string
- type CoordinateResponse_PeerUpdate_Kind
- func (CoordinateResponse_PeerUpdate_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x CoordinateResponse_PeerUpdate_Kind) Enum() *CoordinateResponse_PeerUpdate_Kind
- func (CoordinateResponse_PeerUpdate_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x CoordinateResponse_PeerUpdate_Kind) Number() protoreflect.EnumNumber
- func (x CoordinateResponse_PeerUpdate_Kind) String() string
- func (CoordinateResponse_PeerUpdate_Kind) Type() protoreflect.EnumType
- type DERPMap
- func (*DERPMap) Descriptor() ([]byte, []int)deprecated
- func (x *DERPMap) GetHomeParams() *DERPMap_HomeParams
- func (x *DERPMap) GetRegions() map[int64]*DERPMap_Region
- func (*DERPMap) ProtoMessage()
- func (x *DERPMap) ProtoReflect() protoreflect.Message
- func (x *DERPMap) Reset()
- func (x *DERPMap) String() string
- type DERPMap_HomeParams
- func (*DERPMap_HomeParams) Descriptor() ([]byte, []int)deprecated
- func (x *DERPMap_HomeParams) GetRegionScore() map[int64]float64
- func (*DERPMap_HomeParams) ProtoMessage()
- func (x *DERPMap_HomeParams) ProtoReflect() protoreflect.Message
- func (x *DERPMap_HomeParams) Reset()
- func (x *DERPMap_HomeParams) String() string
- type DERPMap_Region
- func (*DERPMap_Region) Descriptor() ([]byte, []int)deprecated
- func (x *DERPMap_Region) GetAvoid() bool
- func (x *DERPMap_Region) GetEmbeddedRelay() bool
- func (x *DERPMap_Region) GetNodes() []*DERPMap_Region_Node
- func (x *DERPMap_Region) GetRegionCode() string
- func (x *DERPMap_Region) GetRegionId() int64
- func (x *DERPMap_Region) GetRegionName() string
- func (*DERPMap_Region) ProtoMessage()
- func (x *DERPMap_Region) ProtoReflect() protoreflect.Message
- func (x *DERPMap_Region) Reset()
- func (x *DERPMap_Region) String() string
- type DERPMap_Region_Node
- func (*DERPMap_Region_Node) Descriptor() ([]byte, []int)deprecated
- func (x *DERPMap_Region_Node) GetCanPort_80() bool
- func (x *DERPMap_Region_Node) GetCertName() string
- func (x *DERPMap_Region_Node) GetDerpPort() int32
- func (x *DERPMap_Region_Node) GetForceHttp() bool
- func (x *DERPMap_Region_Node) GetHostName() string
- func (x *DERPMap_Region_Node) GetInsecureForTests() bool
- func (x *DERPMap_Region_Node) GetIpv4() string
- func (x *DERPMap_Region_Node) GetIpv6() string
- func (x *DERPMap_Region_Node) GetName() string
- func (x *DERPMap_Region_Node) GetRegionId() int64
- func (x *DERPMap_Region_Node) GetStunOnly() bool
- func (x *DERPMap_Region_Node) GetStunPort() int32
- func (x *DERPMap_Region_Node) GetStunTestIp() string
- func (*DERPMap_Region_Node) ProtoMessage()
- func (x *DERPMap_Region_Node) ProtoReflect() protoreflect.Message
- func (x *DERPMap_Region_Node) Reset()
- func (x *DERPMap_Region_Node) String() string
- type DRPCTailnetClient
- type DRPCTailnetDescription
- type DRPCTailnetServer
- type DRPCTailnetUnimplementedServer
- func (s *DRPCTailnetUnimplementedServer) Coordinate(DRPCTailnet_CoordinateStream) error
- func (s *DRPCTailnetUnimplementedServer) PostTelemetry(context.Context, *TelemetryRequest) (*TelemetryResponse, error)
- func (s *DRPCTailnetUnimplementedServer) RefreshResumeToken(context.Context, *RefreshResumeTokenRequest) (*RefreshResumeTokenResponse, error)
- func (s *DRPCTailnetUnimplementedServer) StreamDERPMaps(*StreamDERPMapsRequest, DRPCTailnet_StreamDERPMapsStream) error
- type DRPCTailnet_CoordinateClient
- type DRPCTailnet_CoordinateStream
- type DRPCTailnet_PostTelemetryStream
- type DRPCTailnet_RefreshResumeTokenStream
- type DRPCTailnet_StreamDERPMapsClient
- type DRPCTailnet_StreamDERPMapsStream
- type IPFields
- type IPFields_IPClass
- func (IPFields_IPClass) Descriptor() protoreflect.EnumDescriptor
- func (x IPFields_IPClass) Enum() *IPFields_IPClass
- func (IPFields_IPClass) EnumDescriptor() ([]byte, []int)deprecated
- func (x IPFields_IPClass) Number() protoreflect.EnumNumber
- func (x IPFields_IPClass) String() string
- func (IPFields_IPClass) Type() protoreflect.EnumType
- type Netcheck
- func (*Netcheck) Descriptor() ([]byte, []int)deprecated
- func (x *Netcheck) GetGlobalV4() *Netcheck_NetcheckIP
- func (x *Netcheck) GetGlobalV6() *Netcheck_NetcheckIP
- func (x *Netcheck) GetHairPinning() *wrapperspb.BoolValue
- func (x *Netcheck) GetICMPv4() bool
- func (x *Netcheck) GetIPv4() bool
- func (x *Netcheck) GetIPv4CanSend() bool
- func (x *Netcheck) GetIPv6() bool
- func (x *Netcheck) GetIPv6CanSend() bool
- func (x *Netcheck) GetMappingVariesByDestIP() *wrapperspb.BoolValue
- func (x *Netcheck) GetOSHasIPv6() *wrapperspb.BoolValue
- func (x *Netcheck) GetPCP() *wrapperspb.BoolValue
- func (x *Netcheck) GetPMP() *wrapperspb.BoolValue
- func (x *Netcheck) GetPreferredDERP() int64
- func (x *Netcheck) GetRegionV4Latency() map[int64]*durationpb.Duration
- func (x *Netcheck) GetRegionV6Latency() map[int64]*durationpb.Duration
- func (x *Netcheck) GetUDP() bool
- func (x *Netcheck) GetUPnP() *wrapperspb.BoolValue
- func (*Netcheck) ProtoMessage()
- func (x *Netcheck) ProtoReflect() protoreflect.Message
- func (x *Netcheck) Reset()
- func (x *Netcheck) String() string
- type Netcheck_NetcheckIP
- func (*Netcheck_NetcheckIP) Descriptor() ([]byte, []int)deprecated
- func (x *Netcheck_NetcheckIP) GetFields() *IPFields
- func (x *Netcheck_NetcheckIP) GetHash() string
- func (*Netcheck_NetcheckIP) ProtoMessage()
- func (x *Netcheck_NetcheckIP) ProtoReflect() protoreflect.Message
- func (x *Netcheck_NetcheckIP) Reset()
- func (x *Netcheck_NetcheckIP) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (s *Node) Equal(o *Node) (bool, error)
- func (x *Node) GetAddresses() []string
- func (x *Node) GetAllowedIps() []string
- func (x *Node) GetAsOf() *timestamppb.Timestamp
- func (x *Node) GetDerpForcedWebsocket() map[int32]string
- func (x *Node) GetDerpLatency() map[string]float64
- func (x *Node) GetDisco() string
- func (x *Node) GetEndpoints() []string
- func (x *Node) GetId() int64
- func (x *Node) GetKey() []byte
- func (x *Node) GetPreferredDerp() int32
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type RefreshResumeTokenRequest
- type RefreshResumeTokenResponse
- func (*RefreshResumeTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshResumeTokenResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *RefreshResumeTokenResponse) GetRefreshIn() *durationpb.Duration
- func (x *RefreshResumeTokenResponse) GetToken() string
- func (*RefreshResumeTokenResponse) ProtoMessage()
- func (x *RefreshResumeTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshResumeTokenResponse) Reset()
- func (x *RefreshResumeTokenResponse) String() string
- type StreamDERPMapsRequest
- type TelemetryEvent
- func (*TelemetryEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryEvent) GetApplication() string
- func (x *TelemetryEvent) GetClientType() TelemetryEvent_ClientType
- func (x *TelemetryEvent) GetClientVersion() string
- func (x *TelemetryEvent) GetConnectionAge() *durationpb.Duration
- func (x *TelemetryEvent) GetConnectionSetup() *durationpb.Duration
- func (x *TelemetryEvent) GetDerpLatency() *durationpb.Duration
- func (x *TelemetryEvent) GetDerpMap() *DERPMap
- func (x *TelemetryEvent) GetHomeDerp() int32
- func (x *TelemetryEvent) GetId() []byte
- func (x *TelemetryEvent) GetLatestNetcheck() *Netcheck
- func (x *TelemetryEvent) GetNodeIdRemote() uint64
- func (x *TelemetryEvent) GetNodeIdSelf() uint64
- func (x *TelemetryEvent) GetP2PEndpoint() *TelemetryEvent_P2PEndpoint
- func (x *TelemetryEvent) GetP2PLatency() *durationpb.Duration
- func (x *TelemetryEvent) GetP2PSetup() *durationpb.Duration
- func (x *TelemetryEvent) GetStatus() TelemetryEvent_Status
- func (x *TelemetryEvent) GetThroughputMbits() *wrapperspb.FloatValue
- func (x *TelemetryEvent) GetTime() *timestamppb.Timestamp
- func (*TelemetryEvent) ProtoMessage()
- func (x *TelemetryEvent) ProtoReflect() protoreflect.Message
- func (x *TelemetryEvent) Reset()
- func (x *TelemetryEvent) String() string
- type TelemetryEvent_ClientType
- func (TelemetryEvent_ClientType) Descriptor() protoreflect.EnumDescriptor
- func (x TelemetryEvent_ClientType) Enum() *TelemetryEvent_ClientType
- func (TelemetryEvent_ClientType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TelemetryEvent_ClientType) Number() protoreflect.EnumNumber
- func (x TelemetryEvent_ClientType) String() string
- func (TelemetryEvent_ClientType) Type() protoreflect.EnumType
- type TelemetryEvent_P2PEndpoint
- func (*TelemetryEvent_P2PEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryEvent_P2PEndpoint) GetFields() *IPFields
- func (x *TelemetryEvent_P2PEndpoint) GetHash() string
- func (x *TelemetryEvent_P2PEndpoint) GetPort() int32
- func (*TelemetryEvent_P2PEndpoint) ProtoMessage()
- func (x *TelemetryEvent_P2PEndpoint) ProtoReflect() protoreflect.Message
- func (x *TelemetryEvent_P2PEndpoint) Reset()
- func (x *TelemetryEvent_P2PEndpoint) String() string
- type TelemetryEvent_Status
- func (TelemetryEvent_Status) Descriptor() protoreflect.EnumDescriptor
- func (x TelemetryEvent_Status) Enum() *TelemetryEvent_Status
- func (TelemetryEvent_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x TelemetryEvent_Status) Number() protoreflect.EnumNumber
- func (x TelemetryEvent_Status) String() string
- func (TelemetryEvent_Status) Type() protoreflect.EnumType
- type TelemetryRequest
- func (*TelemetryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryRequest) GetEvents() []*TelemetryEvent
- func (*TelemetryRequest) ProtoMessage()
- func (x *TelemetryRequest) ProtoReflect() protoreflect.Message
- func (x *TelemetryRequest) Reset()
- func (x *TelemetryRequest) String() string
- type TelemetryResponse
Constants ¶
const ( CurrentMajor = 2 CurrentMinor = 2 )
Variables ¶
var ( CoordinateResponse_PeerUpdate_Kind_name = map[int32]string{ 0: "KIND_UNSPECIFIED", 1: "NODE", 2: "DISCONNECTED", 3: "LOST", 4: "READY_FOR_HANDSHAKE", } CoordinateResponse_PeerUpdate_Kind_value = map[string]int32{ "KIND_UNSPECIFIED": 0, "NODE": 1, "DISCONNECTED": 2, "LOST": 3, "READY_FOR_HANDSHAKE": 4, } )
Enum value maps for CoordinateResponse_PeerUpdate_Kind.
var ( IPFields_IPClass_name = map[int32]string{ 0: "PUBLIC", 1: "PRIVATE", 2: "LINK_LOCAL", 3: "LOOPBACK", } IPFields_IPClass_value = map[string]int32{ "PUBLIC": 0, "PRIVATE": 1, "LINK_LOCAL": 2, "LOOPBACK": 3, } )
Enum value maps for IPFields_IPClass.
var ( TelemetryEvent_Status_name = map[int32]string{ 0: "CONNECTED", 1: "DISCONNECTED", } TelemetryEvent_Status_value = map[string]int32{ "CONNECTED": 0, "DISCONNECTED": 1, } )
Enum value maps for TelemetryEvent_Status.
var ( TelemetryEvent_ClientType_name = map[int32]string{ 0: "CLI", 1: "AGENT", 2: "CODERD", 3: "WSPROXY", } TelemetryEvent_ClientType_value = map[string]int32{ "CLI": 0, "AGENT": 1, "CODERD": 2, "WSPROXY": 3, } )
Enum value maps for TelemetryEvent_ClientType.
var CurrentVersion = apiversion.New(CurrentMajor, CurrentMinor).WithBackwardCompat(1)
var File_tailnet_proto_tailnet_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterTailnet ¶ added in v2.7.0
func DRPCRegisterTailnet(mux drpc.Mux, impl DRPCTailnetServer) error
Types ¶
type CoordinateRequest ¶
type CoordinateRequest struct { UpdateSelf *CoordinateRequest_UpdateSelf `protobuf:"bytes,1,opt,name=update_self,json=updateSelf,proto3" json:"update_self,omitempty"` Disconnect *CoordinateRequest_Disconnect `protobuf:"bytes,2,opt,name=disconnect,proto3" json:"disconnect,omitempty"` AddTunnel *CoordinateRequest_Tunnel `protobuf:"bytes,3,opt,name=add_tunnel,json=addTunnel,proto3" json:"add_tunnel,omitempty"` RemoveTunnel *CoordinateRequest_Tunnel `protobuf:"bytes,4,opt,name=remove_tunnel,json=removeTunnel,proto3" json:"remove_tunnel,omitempty"` ReadyForHandshake []*CoordinateRequest_ReadyForHandshake `protobuf:"bytes,5,rep,name=ready_for_handshake,json=readyForHandshake,proto3" json:"ready_for_handshake,omitempty"` // contains filtered or unexported fields }
func (*CoordinateRequest) Descriptor
deprecated
func (*CoordinateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateRequest.ProtoReflect.Descriptor instead.
func (*CoordinateRequest) GetAddTunnel ¶
func (x *CoordinateRequest) GetAddTunnel() *CoordinateRequest_Tunnel
func (*CoordinateRequest) GetDisconnect ¶
func (x *CoordinateRequest) GetDisconnect() *CoordinateRequest_Disconnect
func (*CoordinateRequest) GetReadyForHandshake ¶ added in v2.11.0
func (x *CoordinateRequest) GetReadyForHandshake() []*CoordinateRequest_ReadyForHandshake
func (*CoordinateRequest) GetRemoveTunnel ¶
func (x *CoordinateRequest) GetRemoveTunnel() *CoordinateRequest_Tunnel
func (*CoordinateRequest) GetUpdateSelf ¶
func (x *CoordinateRequest) GetUpdateSelf() *CoordinateRequest_UpdateSelf
func (*CoordinateRequest) ProtoMessage ¶
func (*CoordinateRequest) ProtoMessage()
func (*CoordinateRequest) ProtoReflect ¶
func (x *CoordinateRequest) ProtoReflect() protoreflect.Message
func (*CoordinateRequest) Reset ¶
func (x *CoordinateRequest) Reset()
func (*CoordinateRequest) String ¶
func (x *CoordinateRequest) String() string
type CoordinateRequest_Disconnect ¶
type CoordinateRequest_Disconnect struct {
// contains filtered or unexported fields
}
func (*CoordinateRequest_Disconnect) Descriptor
deprecated
func (*CoordinateRequest_Disconnect) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateRequest_Disconnect.ProtoReflect.Descriptor instead.
func (*CoordinateRequest_Disconnect) ProtoMessage ¶
func (*CoordinateRequest_Disconnect) ProtoMessage()
func (*CoordinateRequest_Disconnect) ProtoReflect ¶
func (x *CoordinateRequest_Disconnect) ProtoReflect() protoreflect.Message
func (*CoordinateRequest_Disconnect) Reset ¶
func (x *CoordinateRequest_Disconnect) Reset()
func (*CoordinateRequest_Disconnect) String ¶
func (x *CoordinateRequest_Disconnect) String() string
type CoordinateRequest_ReadyForHandshake ¶ added in v2.11.0
type CoordinateRequest_ReadyForHandshake struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
ReadyForHandskales are sent from destinations back to the source, acknowledging receipt of the source's node. If the source starts pinging before a ReadyForHandshake, the Wireguard handshake will likely be dropped.
func (*CoordinateRequest_ReadyForHandshake) Descriptor
deprecated
added in
v2.11.0
func (*CoordinateRequest_ReadyForHandshake) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateRequest_ReadyForHandshake.ProtoReflect.Descriptor instead.
func (*CoordinateRequest_ReadyForHandshake) GetId ¶ added in v2.11.0
func (x *CoordinateRequest_ReadyForHandshake) GetId() []byte
func (*CoordinateRequest_ReadyForHandshake) ProtoMessage ¶ added in v2.11.0
func (*CoordinateRequest_ReadyForHandshake) ProtoMessage()
func (*CoordinateRequest_ReadyForHandshake) ProtoReflect ¶ added in v2.11.0
func (x *CoordinateRequest_ReadyForHandshake) ProtoReflect() protoreflect.Message
func (*CoordinateRequest_ReadyForHandshake) Reset ¶ added in v2.11.0
func (x *CoordinateRequest_ReadyForHandshake) Reset()
func (*CoordinateRequest_ReadyForHandshake) String ¶ added in v2.11.0
func (x *CoordinateRequest_ReadyForHandshake) String() string
type CoordinateRequest_Tunnel ¶
type CoordinateRequest_Tunnel struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CoordinateRequest_Tunnel) Descriptor
deprecated
func (*CoordinateRequest_Tunnel) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateRequest_Tunnel.ProtoReflect.Descriptor instead.
func (*CoordinateRequest_Tunnel) GetId ¶ added in v2.6.0
func (x *CoordinateRequest_Tunnel) GetId() []byte
func (*CoordinateRequest_Tunnel) ProtoMessage ¶
func (*CoordinateRequest_Tunnel) ProtoMessage()
func (*CoordinateRequest_Tunnel) ProtoReflect ¶
func (x *CoordinateRequest_Tunnel) ProtoReflect() protoreflect.Message
func (*CoordinateRequest_Tunnel) Reset ¶
func (x *CoordinateRequest_Tunnel) Reset()
func (*CoordinateRequest_Tunnel) String ¶
func (x *CoordinateRequest_Tunnel) String() string
type CoordinateRequest_UpdateSelf ¶
type CoordinateRequest_UpdateSelf struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*CoordinateRequest_UpdateSelf) Descriptor
deprecated
func (*CoordinateRequest_UpdateSelf) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateRequest_UpdateSelf.ProtoReflect.Descriptor instead.
func (*CoordinateRequest_UpdateSelf) GetNode ¶
func (x *CoordinateRequest_UpdateSelf) GetNode() *Node
func (*CoordinateRequest_UpdateSelf) ProtoMessage ¶
func (*CoordinateRequest_UpdateSelf) ProtoMessage()
func (*CoordinateRequest_UpdateSelf) ProtoReflect ¶
func (x *CoordinateRequest_UpdateSelf) ProtoReflect() protoreflect.Message
func (*CoordinateRequest_UpdateSelf) Reset ¶
func (x *CoordinateRequest_UpdateSelf) Reset()
func (*CoordinateRequest_UpdateSelf) String ¶
func (x *CoordinateRequest_UpdateSelf) String() string
type CoordinateResponse ¶
type CoordinateResponse struct { PeerUpdates []*CoordinateResponse_PeerUpdate `protobuf:"bytes,1,rep,name=peer_updates,json=peerUpdates,proto3" json:"peer_updates,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*CoordinateResponse) Descriptor
deprecated
func (*CoordinateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateResponse.ProtoReflect.Descriptor instead.
func (*CoordinateResponse) GetError ¶ added in v2.11.0
func (x *CoordinateResponse) GetError() string
func (*CoordinateResponse) GetPeerUpdates ¶
func (x *CoordinateResponse) GetPeerUpdates() []*CoordinateResponse_PeerUpdate
func (*CoordinateResponse) ProtoMessage ¶
func (*CoordinateResponse) ProtoMessage()
func (*CoordinateResponse) ProtoReflect ¶
func (x *CoordinateResponse) ProtoReflect() protoreflect.Message
func (*CoordinateResponse) Reset ¶
func (x *CoordinateResponse) Reset()
func (*CoordinateResponse) String ¶
func (x *CoordinateResponse) String() string
type CoordinateResponse_PeerUpdate ¶
type CoordinateResponse_PeerUpdate struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Node *Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` Kind CoordinateResponse_PeerUpdate_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=coder.tailnet.v2.CoordinateResponse_PeerUpdate_Kind" json:"kind,omitempty"` Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*CoordinateResponse_PeerUpdate) Descriptor
deprecated
func (*CoordinateResponse_PeerUpdate) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateResponse_PeerUpdate.ProtoReflect.Descriptor instead.
func (*CoordinateResponse_PeerUpdate) GetId ¶ added in v2.6.0
func (x *CoordinateResponse_PeerUpdate) GetId() []byte
func (*CoordinateResponse_PeerUpdate) GetKind ¶
func (x *CoordinateResponse_PeerUpdate) GetKind() CoordinateResponse_PeerUpdate_Kind
func (*CoordinateResponse_PeerUpdate) GetNode ¶
func (x *CoordinateResponse_PeerUpdate) GetNode() *Node
func (*CoordinateResponse_PeerUpdate) GetReason ¶
func (x *CoordinateResponse_PeerUpdate) GetReason() string
func (*CoordinateResponse_PeerUpdate) ProtoMessage ¶
func (*CoordinateResponse_PeerUpdate) ProtoMessage()
func (*CoordinateResponse_PeerUpdate) ProtoReflect ¶
func (x *CoordinateResponse_PeerUpdate) ProtoReflect() protoreflect.Message
func (*CoordinateResponse_PeerUpdate) Reset ¶
func (x *CoordinateResponse_PeerUpdate) Reset()
func (*CoordinateResponse_PeerUpdate) String ¶
func (x *CoordinateResponse_PeerUpdate) String() string
type CoordinateResponse_PeerUpdate_Kind ¶
type CoordinateResponse_PeerUpdate_Kind int32
const ( CoordinateResponse_PeerUpdate_KIND_UNSPECIFIED CoordinateResponse_PeerUpdate_Kind = 0 CoordinateResponse_PeerUpdate_NODE CoordinateResponse_PeerUpdate_Kind = 1 CoordinateResponse_PeerUpdate_DISCONNECTED CoordinateResponse_PeerUpdate_Kind = 2 CoordinateResponse_PeerUpdate_LOST CoordinateResponse_PeerUpdate_Kind = 3 CoordinateResponse_PeerUpdate_READY_FOR_HANDSHAKE CoordinateResponse_PeerUpdate_Kind = 4 )
func (CoordinateResponse_PeerUpdate_Kind) Descriptor ¶
func (CoordinateResponse_PeerUpdate_Kind) Descriptor() protoreflect.EnumDescriptor
func (CoordinateResponse_PeerUpdate_Kind) Enum ¶
func (x CoordinateResponse_PeerUpdate_Kind) Enum() *CoordinateResponse_PeerUpdate_Kind
func (CoordinateResponse_PeerUpdate_Kind) EnumDescriptor
deprecated
func (CoordinateResponse_PeerUpdate_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use CoordinateResponse_PeerUpdate_Kind.Descriptor instead.
func (CoordinateResponse_PeerUpdate_Kind) Number ¶
func (x CoordinateResponse_PeerUpdate_Kind) Number() protoreflect.EnumNumber
func (CoordinateResponse_PeerUpdate_Kind) String ¶
func (x CoordinateResponse_PeerUpdate_Kind) String() string
func (CoordinateResponse_PeerUpdate_Kind) Type ¶
func (CoordinateResponse_PeerUpdate_Kind) Type() protoreflect.EnumType
type DERPMap ¶
type DERPMap struct { HomeParams *DERPMap_HomeParams `protobuf:"bytes,1,opt,name=home_params,json=homeParams,proto3" json:"home_params,omitempty"` Regions map[int64]*DERPMap_Region `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DERPMap) Descriptor
deprecated
func (*DERPMap) GetHomeParams ¶
func (x *DERPMap) GetHomeParams() *DERPMap_HomeParams
func (*DERPMap) GetRegions ¶
func (x *DERPMap) GetRegions() map[int64]*DERPMap_Region
func (*DERPMap) ProtoMessage ¶
func (*DERPMap) ProtoMessage()
func (*DERPMap) ProtoReflect ¶
func (x *DERPMap) ProtoReflect() protoreflect.Message
type DERPMap_HomeParams ¶
type DERPMap_HomeParams struct { RegionScore map[int64]float64 `` /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DERPMap_HomeParams) Descriptor
deprecated
func (*DERPMap_HomeParams) Descriptor() ([]byte, []int)
Deprecated: Use DERPMap_HomeParams.ProtoReflect.Descriptor instead.
func (*DERPMap_HomeParams) GetRegionScore ¶
func (x *DERPMap_HomeParams) GetRegionScore() map[int64]float64
func (*DERPMap_HomeParams) ProtoMessage ¶
func (*DERPMap_HomeParams) ProtoMessage()
func (*DERPMap_HomeParams) ProtoReflect ¶
func (x *DERPMap_HomeParams) ProtoReflect() protoreflect.Message
func (*DERPMap_HomeParams) Reset ¶
func (x *DERPMap_HomeParams) Reset()
func (*DERPMap_HomeParams) String ¶
func (x *DERPMap_HomeParams) String() string
type DERPMap_Region ¶
type DERPMap_Region struct { RegionId int64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` EmbeddedRelay bool `protobuf:"varint,2,opt,name=embedded_relay,json=embeddedRelay,proto3" json:"embedded_relay,omitempty"` RegionCode string `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` RegionName string `protobuf:"bytes,4,opt,name=region_name,json=regionName,proto3" json:"region_name,omitempty"` Avoid bool `protobuf:"varint,5,opt,name=avoid,proto3" json:"avoid,omitempty"` Nodes []*DERPMap_Region_Node `protobuf:"bytes,6,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*DERPMap_Region) Descriptor
deprecated
func (*DERPMap_Region) Descriptor() ([]byte, []int)
Deprecated: Use DERPMap_Region.ProtoReflect.Descriptor instead.
func (*DERPMap_Region) GetAvoid ¶
func (x *DERPMap_Region) GetAvoid() bool
func (*DERPMap_Region) GetEmbeddedRelay ¶
func (x *DERPMap_Region) GetEmbeddedRelay() bool
func (*DERPMap_Region) GetNodes ¶
func (x *DERPMap_Region) GetNodes() []*DERPMap_Region_Node
func (*DERPMap_Region) GetRegionCode ¶
func (x *DERPMap_Region) GetRegionCode() string
func (*DERPMap_Region) GetRegionId ¶
func (x *DERPMap_Region) GetRegionId() int64
func (*DERPMap_Region) GetRegionName ¶
func (x *DERPMap_Region) GetRegionName() string
func (*DERPMap_Region) ProtoMessage ¶
func (*DERPMap_Region) ProtoMessage()
func (*DERPMap_Region) ProtoReflect ¶
func (x *DERPMap_Region) ProtoReflect() protoreflect.Message
func (*DERPMap_Region) Reset ¶
func (x *DERPMap_Region) Reset()
func (*DERPMap_Region) String ¶
func (x *DERPMap_Region) String() string
type DERPMap_Region_Node ¶
type DERPMap_Region_Node struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RegionId int64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` HostName string `protobuf:"bytes,3,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` CertName string `protobuf:"bytes,4,opt,name=cert_name,json=certName,proto3" json:"cert_name,omitempty"` Ipv4 string `protobuf:"bytes,5,opt,name=ipv4,proto3" json:"ipv4,omitempty"` Ipv6 string `protobuf:"bytes,6,opt,name=ipv6,proto3" json:"ipv6,omitempty"` StunPort int32 `protobuf:"varint,7,opt,name=stun_port,json=stunPort,proto3" json:"stun_port,omitempty"` StunOnly bool `protobuf:"varint,8,opt,name=stun_only,json=stunOnly,proto3" json:"stun_only,omitempty"` DerpPort int32 `protobuf:"varint,9,opt,name=derp_port,json=derpPort,proto3" json:"derp_port,omitempty"` InsecureForTests bool `protobuf:"varint,10,opt,name=insecure_for_tests,json=insecureForTests,proto3" json:"insecure_for_tests,omitempty"` ForceHttp bool `protobuf:"varint,11,opt,name=force_http,json=forceHttp,proto3" json:"force_http,omitempty"` StunTestIp string `protobuf:"bytes,12,opt,name=stun_test_ip,json=stunTestIp,proto3" json:"stun_test_ip,omitempty"` CanPort_80 bool `protobuf:"varint,13,opt,name=can_port_80,json=canPort80,proto3" json:"can_port_80,omitempty"` // contains filtered or unexported fields }
func (*DERPMap_Region_Node) Descriptor
deprecated
func (*DERPMap_Region_Node) Descriptor() ([]byte, []int)
Deprecated: Use DERPMap_Region_Node.ProtoReflect.Descriptor instead.
func (*DERPMap_Region_Node) GetCanPort_80 ¶
func (x *DERPMap_Region_Node) GetCanPort_80() bool
func (*DERPMap_Region_Node) GetCertName ¶
func (x *DERPMap_Region_Node) GetCertName() string
func (*DERPMap_Region_Node) GetDerpPort ¶
func (x *DERPMap_Region_Node) GetDerpPort() int32
func (*DERPMap_Region_Node) GetForceHttp ¶
func (x *DERPMap_Region_Node) GetForceHttp() bool
func (*DERPMap_Region_Node) GetHostName ¶
func (x *DERPMap_Region_Node) GetHostName() string
func (*DERPMap_Region_Node) GetInsecureForTests ¶
func (x *DERPMap_Region_Node) GetInsecureForTests() bool
func (*DERPMap_Region_Node) GetIpv4 ¶
func (x *DERPMap_Region_Node) GetIpv4() string
func (*DERPMap_Region_Node) GetIpv6 ¶
func (x *DERPMap_Region_Node) GetIpv6() string
func (*DERPMap_Region_Node) GetName ¶
func (x *DERPMap_Region_Node) GetName() string
func (*DERPMap_Region_Node) GetRegionId ¶
func (x *DERPMap_Region_Node) GetRegionId() int64
func (*DERPMap_Region_Node) GetStunOnly ¶
func (x *DERPMap_Region_Node) GetStunOnly() bool
func (*DERPMap_Region_Node) GetStunPort ¶
func (x *DERPMap_Region_Node) GetStunPort() int32
func (*DERPMap_Region_Node) GetStunTestIp ¶
func (x *DERPMap_Region_Node) GetStunTestIp() string
func (*DERPMap_Region_Node) ProtoMessage ¶
func (*DERPMap_Region_Node) ProtoMessage()
func (*DERPMap_Region_Node) ProtoReflect ¶
func (x *DERPMap_Region_Node) ProtoReflect() protoreflect.Message
func (*DERPMap_Region_Node) Reset ¶
func (x *DERPMap_Region_Node) Reset()
func (*DERPMap_Region_Node) String ¶
func (x *DERPMap_Region_Node) String() string
type DRPCTailnetClient ¶ added in v2.7.0
type DRPCTailnetClient interface { DRPCConn() drpc.Conn PostTelemetry(ctx context.Context, in *TelemetryRequest) (*TelemetryResponse, error) StreamDERPMaps(ctx context.Context, in *StreamDERPMapsRequest) (DRPCTailnet_StreamDERPMapsClient, error) RefreshResumeToken(ctx context.Context, in *RefreshResumeTokenRequest) (*RefreshResumeTokenResponse, error) Coordinate(ctx context.Context) (DRPCTailnet_CoordinateClient, error) }
func NewDRPCTailnetClient ¶ added in v2.7.0
func NewDRPCTailnetClient(cc drpc.Conn) DRPCTailnetClient
type DRPCTailnetDescription ¶ added in v2.7.0
type DRPCTailnetDescription struct{}
func (DRPCTailnetDescription) NumMethods ¶ added in v2.7.0
func (DRPCTailnetDescription) NumMethods() int
type DRPCTailnetServer ¶ added in v2.7.0
type DRPCTailnetServer interface { PostTelemetry(context.Context, *TelemetryRequest) (*TelemetryResponse, error) StreamDERPMaps(*StreamDERPMapsRequest, DRPCTailnet_StreamDERPMapsStream) error RefreshResumeToken(context.Context, *RefreshResumeTokenRequest) (*RefreshResumeTokenResponse, error) Coordinate(DRPCTailnet_CoordinateStream) error }
type DRPCTailnetUnimplementedServer ¶ added in v2.7.0
type DRPCTailnetUnimplementedServer struct{}
func (*DRPCTailnetUnimplementedServer) Coordinate ¶ added in v2.7.0
func (s *DRPCTailnetUnimplementedServer) Coordinate(DRPCTailnet_CoordinateStream) error
func (*DRPCTailnetUnimplementedServer) PostTelemetry ¶ added in v2.13.0
func (s *DRPCTailnetUnimplementedServer) PostTelemetry(context.Context, *TelemetryRequest) (*TelemetryResponse, error)
func (*DRPCTailnetUnimplementedServer) RefreshResumeToken ¶ added in v2.15.0
func (s *DRPCTailnetUnimplementedServer) RefreshResumeToken(context.Context, *RefreshResumeTokenRequest) (*RefreshResumeTokenResponse, error)
func (*DRPCTailnetUnimplementedServer) StreamDERPMaps ¶ added in v2.7.0
func (s *DRPCTailnetUnimplementedServer) StreamDERPMaps(*StreamDERPMapsRequest, DRPCTailnet_StreamDERPMapsStream) error
type DRPCTailnet_CoordinateClient ¶ added in v2.7.0
type DRPCTailnet_CoordinateClient interface { drpc.Stream Send(*CoordinateRequest) error Recv() (*CoordinateResponse, error) }
type DRPCTailnet_CoordinateStream ¶ added in v2.7.0
type DRPCTailnet_CoordinateStream interface { drpc.Stream Send(*CoordinateResponse) error Recv() (*CoordinateRequest, error) }
type DRPCTailnet_PostTelemetryStream ¶ added in v2.13.0
type DRPCTailnet_PostTelemetryStream interface { drpc.Stream SendAndClose(*TelemetryResponse) error }
type DRPCTailnet_RefreshResumeTokenStream ¶ added in v2.15.0
type DRPCTailnet_RefreshResumeTokenStream interface { drpc.Stream SendAndClose(*RefreshResumeTokenResponse) error }
type DRPCTailnet_StreamDERPMapsClient ¶ added in v2.7.0
type DRPCTailnet_StreamDERPMapsStream ¶ added in v2.7.0
type IPFields ¶ added in v2.14.0
type IPFields struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Class IPFields_IPClass `protobuf:"varint,2,opt,name=class,proto3,enum=coder.tailnet.v2.IPFields_IPClass" json:"class,omitempty"` // contains filtered or unexported fields }
func (*IPFields) Descriptor
deprecated
added in
v2.14.0
func (*IPFields) GetClass ¶ added in v2.14.0
func (x *IPFields) GetClass() IPFields_IPClass
func (*IPFields) GetVersion ¶ added in v2.14.0
func (*IPFields) ProtoMessage ¶ added in v2.14.0
func (*IPFields) ProtoMessage()
func (*IPFields) ProtoReflect ¶ added in v2.14.0
func (x *IPFields) ProtoReflect() protoreflect.Message
type IPFields_IPClass ¶ added in v2.14.0
type IPFields_IPClass int32
const ( IPFields_PUBLIC IPFields_IPClass = 0 IPFields_PRIVATE IPFields_IPClass = 1 IPFields_LINK_LOCAL IPFields_IPClass = 2 IPFields_LOOPBACK IPFields_IPClass = 3 )
func (IPFields_IPClass) Descriptor ¶ added in v2.14.0
func (IPFields_IPClass) Descriptor() protoreflect.EnumDescriptor
func (IPFields_IPClass) Enum ¶ added in v2.14.0
func (x IPFields_IPClass) Enum() *IPFields_IPClass
func (IPFields_IPClass) EnumDescriptor
deprecated
added in
v2.14.0
func (IPFields_IPClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use IPFields_IPClass.Descriptor instead.
func (IPFields_IPClass) Number ¶ added in v2.14.0
func (x IPFields_IPClass) Number() protoreflect.EnumNumber
func (IPFields_IPClass) String ¶ added in v2.14.0
func (x IPFields_IPClass) String() string
func (IPFields_IPClass) Type ¶ added in v2.14.0
func (IPFields_IPClass) Type() protoreflect.EnumType
type Netcheck ¶ added in v2.13.0
type Netcheck struct { UDP bool `protobuf:"varint,1,opt,name=UDP,proto3" json:"UDP,omitempty"` IPv6 bool `protobuf:"varint,2,opt,name=IPv6,proto3" json:"IPv6,omitempty"` IPv4 bool `protobuf:"varint,3,opt,name=IPv4,proto3" json:"IPv4,omitempty"` IPv6CanSend bool `protobuf:"varint,4,opt,name=IPv6CanSend,proto3" json:"IPv6CanSend,omitempty"` IPv4CanSend bool `protobuf:"varint,5,opt,name=IPv4CanSend,proto3" json:"IPv4CanSend,omitempty"` ICMPv4 bool `protobuf:"varint,6,opt,name=ICMPv4,proto3" json:"ICMPv4,omitempty"` OSHasIPv6 *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=OSHasIPv6,proto3" json:"OSHasIPv6,omitempty"` MappingVariesByDestIP *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=MappingVariesByDestIP,proto3" json:"MappingVariesByDestIP,omitempty"` HairPinning *wrapperspb.BoolValue `protobuf:"bytes,9,opt,name=HairPinning,proto3" json:"HairPinning,omitempty"` UPnP *wrapperspb.BoolValue `protobuf:"bytes,10,opt,name=UPnP,proto3" json:"UPnP,omitempty"` PMP *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=PMP,proto3" json:"PMP,omitempty"` PCP *wrapperspb.BoolValue `protobuf:"bytes,12,opt,name=PCP,proto3" json:"PCP,omitempty"` PreferredDERP int64 `protobuf:"varint,13,opt,name=PreferredDERP,proto3" json:"PreferredDERP,omitempty"` // 0 for unknown RegionV4Latency map[int64]*durationpb.Duration `` /* 173-byte string literal not displayed */ RegionV6Latency map[int64]*durationpb.Duration `` /* 173-byte string literal not displayed */ GlobalV4 *Netcheck_NetcheckIP `protobuf:"bytes,17,opt,name=GlobalV4,proto3" json:"GlobalV4,omitempty"` GlobalV6 *Netcheck_NetcheckIP `protobuf:"bytes,18,opt,name=GlobalV6,proto3" json:"GlobalV6,omitempty"` // contains filtered or unexported fields }
func (*Netcheck) Descriptor
deprecated
added in
v2.13.0
func (*Netcheck) GetGlobalV4 ¶ added in v2.13.0
func (x *Netcheck) GetGlobalV4() *Netcheck_NetcheckIP
func (*Netcheck) GetGlobalV6 ¶ added in v2.13.0
func (x *Netcheck) GetGlobalV6() *Netcheck_NetcheckIP
func (*Netcheck) GetHairPinning ¶ added in v2.13.0
func (x *Netcheck) GetHairPinning() *wrapperspb.BoolValue
func (*Netcheck) GetIPv4CanSend ¶ added in v2.13.0
func (*Netcheck) GetIPv6CanSend ¶ added in v2.13.0
func (*Netcheck) GetMappingVariesByDestIP ¶ added in v2.13.0
func (x *Netcheck) GetMappingVariesByDestIP() *wrapperspb.BoolValue
func (*Netcheck) GetOSHasIPv6 ¶ added in v2.13.0
func (x *Netcheck) GetOSHasIPv6() *wrapperspb.BoolValue
func (*Netcheck) GetPCP ¶ added in v2.13.0
func (x *Netcheck) GetPCP() *wrapperspb.BoolValue
func (*Netcheck) GetPMP ¶ added in v2.13.0
func (x *Netcheck) GetPMP() *wrapperspb.BoolValue
func (*Netcheck) GetPreferredDERP ¶ added in v2.13.0
func (*Netcheck) GetRegionV4Latency ¶ added in v2.13.0
func (x *Netcheck) GetRegionV4Latency() map[int64]*durationpb.Duration
func (*Netcheck) GetRegionV6Latency ¶ added in v2.13.0
func (x *Netcheck) GetRegionV6Latency() map[int64]*durationpb.Duration
func (*Netcheck) GetUPnP ¶ added in v2.13.0
func (x *Netcheck) GetUPnP() *wrapperspb.BoolValue
func (*Netcheck) ProtoMessage ¶ added in v2.13.0
func (*Netcheck) ProtoMessage()
func (*Netcheck) ProtoReflect ¶ added in v2.13.0
func (x *Netcheck) ProtoReflect() protoreflect.Message
type Netcheck_NetcheckIP ¶ added in v2.14.0
type Netcheck_NetcheckIP struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Fields *IPFields `protobuf:"bytes,2,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*Netcheck_NetcheckIP) Descriptor
deprecated
added in
v2.14.0
func (*Netcheck_NetcheckIP) Descriptor() ([]byte, []int)
Deprecated: Use Netcheck_NetcheckIP.ProtoReflect.Descriptor instead.
func (*Netcheck_NetcheckIP) GetFields ¶ added in v2.14.0
func (x *Netcheck_NetcheckIP) GetFields() *IPFields
func (*Netcheck_NetcheckIP) GetHash ¶ added in v2.14.0
func (x *Netcheck_NetcheckIP) GetHash() string
func (*Netcheck_NetcheckIP) ProtoMessage ¶ added in v2.14.0
func (*Netcheck_NetcheckIP) ProtoMessage()
func (*Netcheck_NetcheckIP) ProtoReflect ¶ added in v2.14.0
func (x *Netcheck_NetcheckIP) ProtoReflect() protoreflect.Message
func (*Netcheck_NetcheckIP) Reset ¶ added in v2.14.0
func (x *Netcheck_NetcheckIP) Reset()
func (*Netcheck_NetcheckIP) String ¶ added in v2.14.0
func (x *Netcheck_NetcheckIP) String() string
type Node ¶
type Node struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` AsOf *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=as_of,json=asOf,proto3" json:"as_of,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Disco string `protobuf:"bytes,4,opt,name=disco,proto3" json:"disco,omitempty"` PreferredDerp int32 `protobuf:"varint,5,opt,name=preferred_derp,json=preferredDerp,proto3" json:"preferred_derp,omitempty"` DerpLatency map[string]float64 `` /* 184-byte string literal not displayed */ DerpForcedWebsocket map[int32]string `` /* 209-byte string literal not displayed */ Addresses []string `protobuf:"bytes,8,rep,name=addresses,proto3" json:"addresses,omitempty"` AllowedIps []string `protobuf:"bytes,9,rep,name=allowed_ips,json=allowedIps,proto3" json:"allowed_ips,omitempty"` Endpoints []string `protobuf:"bytes,10,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
defined in tailnet/coordinator.go
func (*Node) Descriptor
deprecated
func (*Node) GetAddresses ¶
func (*Node) GetAllowedIps ¶
func (*Node) GetAsOf ¶
func (x *Node) GetAsOf() *timestamppb.Timestamp
func (*Node) GetDerpForcedWebsocket ¶
func (*Node) GetDerpLatency ¶
func (*Node) GetEndpoints ¶
func (*Node) GetPreferredDerp ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type RefreshResumeTokenRequest ¶ added in v2.15.0
type RefreshResumeTokenRequest struct {
// contains filtered or unexported fields
}
func (*RefreshResumeTokenRequest) Descriptor
deprecated
added in
v2.15.0
func (*RefreshResumeTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshResumeTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshResumeTokenRequest) ProtoMessage ¶ added in v2.15.0
func (*RefreshResumeTokenRequest) ProtoMessage()
func (*RefreshResumeTokenRequest) ProtoReflect ¶ added in v2.15.0
func (x *RefreshResumeTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshResumeTokenRequest) Reset ¶ added in v2.15.0
func (x *RefreshResumeTokenRequest) Reset()
func (*RefreshResumeTokenRequest) String ¶ added in v2.15.0
func (x *RefreshResumeTokenRequest) String() string
type RefreshResumeTokenResponse ¶ added in v2.15.0
type RefreshResumeTokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` RefreshIn *durationpb.Duration `protobuf:"bytes,2,opt,name=refresh_in,json=refreshIn,proto3" json:"refresh_in,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*RefreshResumeTokenResponse) Descriptor
deprecated
added in
v2.15.0
func (*RefreshResumeTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshResumeTokenResponse.ProtoReflect.Descriptor instead.
func (*RefreshResumeTokenResponse) GetExpiresAt ¶ added in v2.15.0
func (x *RefreshResumeTokenResponse) GetExpiresAt() *timestamppb.Timestamp
func (*RefreshResumeTokenResponse) GetRefreshIn ¶ added in v2.15.0
func (x *RefreshResumeTokenResponse) GetRefreshIn() *durationpb.Duration
func (*RefreshResumeTokenResponse) GetToken ¶ added in v2.15.0
func (x *RefreshResumeTokenResponse) GetToken() string
func (*RefreshResumeTokenResponse) ProtoMessage ¶ added in v2.15.0
func (*RefreshResumeTokenResponse) ProtoMessage()
func (*RefreshResumeTokenResponse) ProtoReflect ¶ added in v2.15.0
func (x *RefreshResumeTokenResponse) ProtoReflect() protoreflect.Message
func (*RefreshResumeTokenResponse) Reset ¶ added in v2.15.0
func (x *RefreshResumeTokenResponse) Reset()
func (*RefreshResumeTokenResponse) String ¶ added in v2.15.0
func (x *RefreshResumeTokenResponse) String() string
type StreamDERPMapsRequest ¶
type StreamDERPMapsRequest struct {
// contains filtered or unexported fields
}
func (*StreamDERPMapsRequest) Descriptor
deprecated
func (*StreamDERPMapsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamDERPMapsRequest.ProtoReflect.Descriptor instead.
func (*StreamDERPMapsRequest) ProtoMessage ¶
func (*StreamDERPMapsRequest) ProtoMessage()
func (*StreamDERPMapsRequest) ProtoReflect ¶
func (x *StreamDERPMapsRequest) ProtoReflect() protoreflect.Message
func (*StreamDERPMapsRequest) Reset ¶
func (x *StreamDERPMapsRequest) Reset()
func (*StreamDERPMapsRequest) String ¶
func (x *StreamDERPMapsRequest) String() string
type TelemetryEvent ¶ added in v2.13.0
type TelemetryEvent struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"` Status TelemetryEvent_Status `protobuf:"varint,4,opt,name=status,proto3,enum=coder.tailnet.v2.TelemetryEvent_Status" json:"status,omitempty"` ClientType TelemetryEvent_ClientType `` /* 140-byte string literal not displayed */ ClientVersion string `protobuf:"bytes,19,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` NodeIdSelf uint64 `protobuf:"varint,7,opt,name=node_id_self,json=nodeIdSelf,proto3" json:"node_id_self,omitempty"` NodeIdRemote uint64 `protobuf:"varint,8,opt,name=node_id_remote,json=nodeIdRemote,proto3" json:"node_id_remote,omitempty"` P2PEndpoint *TelemetryEvent_P2PEndpoint `protobuf:"bytes,9,opt,name=p2p_endpoint,json=p2pEndpoint,proto3" json:"p2p_endpoint,omitempty"` HomeDerp int32 `protobuf:"varint,10,opt,name=home_derp,json=homeDerp,proto3" json:"home_derp,omitempty"` DerpMap *DERPMap `protobuf:"bytes,11,opt,name=derp_map,json=derpMap,proto3" json:"derp_map,omitempty"` LatestNetcheck *Netcheck `protobuf:"bytes,12,opt,name=latest_netcheck,json=latestNetcheck,proto3" json:"latest_netcheck,omitempty"` ConnectionAge *durationpb.Duration `protobuf:"bytes,13,opt,name=connection_age,json=connectionAge,proto3" json:"connection_age,omitempty"` ConnectionSetup *durationpb.Duration `protobuf:"bytes,14,opt,name=connection_setup,json=connectionSetup,proto3" json:"connection_setup,omitempty"` P2PSetup *durationpb.Duration `protobuf:"bytes,15,opt,name=p2p_setup,json=p2pSetup,proto3" json:"p2p_setup,omitempty"` DerpLatency *durationpb.Duration `protobuf:"bytes,16,opt,name=derp_latency,json=derpLatency,proto3" json:"derp_latency,omitempty"` P2PLatency *durationpb.Duration `protobuf:"bytes,17,opt,name=p2p_latency,json=p2pLatency,proto3" json:"p2p_latency,omitempty"` ThroughputMbits *wrapperspb.FloatValue `protobuf:"bytes,18,opt,name=throughput_mbits,json=throughputMbits,proto3" json:"throughput_mbits,omitempty"` // contains filtered or unexported fields }
func (*TelemetryEvent) Descriptor
deprecated
added in
v2.13.0
func (*TelemetryEvent) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryEvent.ProtoReflect.Descriptor instead.
func (*TelemetryEvent) GetApplication ¶ added in v2.13.0
func (x *TelemetryEvent) GetApplication() string
func (*TelemetryEvent) GetClientType ¶ added in v2.13.0
func (x *TelemetryEvent) GetClientType() TelemetryEvent_ClientType
func (*TelemetryEvent) GetClientVersion ¶ added in v2.14.0
func (x *TelemetryEvent) GetClientVersion() string
func (*TelemetryEvent) GetConnectionAge ¶ added in v2.13.0
func (x *TelemetryEvent) GetConnectionAge() *durationpb.Duration
func (*TelemetryEvent) GetConnectionSetup ¶ added in v2.13.0
func (x *TelemetryEvent) GetConnectionSetup() *durationpb.Duration
func (*TelemetryEvent) GetDerpLatency ¶ added in v2.13.0
func (x *TelemetryEvent) GetDerpLatency() *durationpb.Duration
func (*TelemetryEvent) GetDerpMap ¶ added in v2.13.0
func (x *TelemetryEvent) GetDerpMap() *DERPMap
func (*TelemetryEvent) GetHomeDerp ¶ added in v2.13.0
func (x *TelemetryEvent) GetHomeDerp() int32
func (*TelemetryEvent) GetId ¶ added in v2.13.0
func (x *TelemetryEvent) GetId() []byte
func (*TelemetryEvent) GetLatestNetcheck ¶ added in v2.13.0
func (x *TelemetryEvent) GetLatestNetcheck() *Netcheck
func (*TelemetryEvent) GetNodeIdRemote ¶ added in v2.13.0
func (x *TelemetryEvent) GetNodeIdRemote() uint64
func (*TelemetryEvent) GetNodeIdSelf ¶ added in v2.13.0
func (x *TelemetryEvent) GetNodeIdSelf() uint64
func (*TelemetryEvent) GetP2PEndpoint ¶ added in v2.13.0
func (x *TelemetryEvent) GetP2PEndpoint() *TelemetryEvent_P2PEndpoint
func (*TelemetryEvent) GetP2PLatency ¶ added in v2.13.0
func (x *TelemetryEvent) GetP2PLatency() *durationpb.Duration
func (*TelemetryEvent) GetP2PSetup ¶ added in v2.13.0
func (x *TelemetryEvent) GetP2PSetup() *durationpb.Duration
func (*TelemetryEvent) GetStatus ¶ added in v2.13.0
func (x *TelemetryEvent) GetStatus() TelemetryEvent_Status
func (*TelemetryEvent) GetThroughputMbits ¶ added in v2.13.0
func (x *TelemetryEvent) GetThroughputMbits() *wrapperspb.FloatValue
func (*TelemetryEvent) GetTime ¶ added in v2.13.0
func (x *TelemetryEvent) GetTime() *timestamppb.Timestamp
func (*TelemetryEvent) ProtoMessage ¶ added in v2.13.0
func (*TelemetryEvent) ProtoMessage()
func (*TelemetryEvent) ProtoReflect ¶ added in v2.13.0
func (x *TelemetryEvent) ProtoReflect() protoreflect.Message
func (*TelemetryEvent) Reset ¶ added in v2.13.0
func (x *TelemetryEvent) Reset()
func (*TelemetryEvent) String ¶ added in v2.13.0
func (x *TelemetryEvent) String() string
type TelemetryEvent_ClientType ¶ added in v2.13.0
type TelemetryEvent_ClientType int32
const ( TelemetryEvent_CLI TelemetryEvent_ClientType = 0 TelemetryEvent_AGENT TelemetryEvent_ClientType = 1 TelemetryEvent_CODERD TelemetryEvent_ClientType = 2 TelemetryEvent_WSPROXY TelemetryEvent_ClientType = 3 )
func (TelemetryEvent_ClientType) Descriptor ¶ added in v2.13.0
func (TelemetryEvent_ClientType) Descriptor() protoreflect.EnumDescriptor
func (TelemetryEvent_ClientType) Enum ¶ added in v2.13.0
func (x TelemetryEvent_ClientType) Enum() *TelemetryEvent_ClientType
func (TelemetryEvent_ClientType) EnumDescriptor
deprecated
added in
v2.13.0
func (TelemetryEvent_ClientType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TelemetryEvent_ClientType.Descriptor instead.
func (TelemetryEvent_ClientType) Number ¶ added in v2.13.0
func (x TelemetryEvent_ClientType) Number() protoreflect.EnumNumber
func (TelemetryEvent_ClientType) String ¶ added in v2.13.0
func (x TelemetryEvent_ClientType) String() string
func (TelemetryEvent_ClientType) Type ¶ added in v2.13.0
func (TelemetryEvent_ClientType) Type() protoreflect.EnumType
type TelemetryEvent_P2PEndpoint ¶ added in v2.13.0
type TelemetryEvent_P2PEndpoint struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Fields *IPFields `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*TelemetryEvent_P2PEndpoint) Descriptor
deprecated
added in
v2.13.0
func (*TelemetryEvent_P2PEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryEvent_P2PEndpoint.ProtoReflect.Descriptor instead.
func (*TelemetryEvent_P2PEndpoint) GetFields ¶ added in v2.13.0
func (x *TelemetryEvent_P2PEndpoint) GetFields() *IPFields
func (*TelemetryEvent_P2PEndpoint) GetHash ¶ added in v2.13.0
func (x *TelemetryEvent_P2PEndpoint) GetHash() string
func (*TelemetryEvent_P2PEndpoint) GetPort ¶ added in v2.13.0
func (x *TelemetryEvent_P2PEndpoint) GetPort() int32
func (*TelemetryEvent_P2PEndpoint) ProtoMessage ¶ added in v2.13.0
func (*TelemetryEvent_P2PEndpoint) ProtoMessage()
func (*TelemetryEvent_P2PEndpoint) ProtoReflect ¶ added in v2.13.0
func (x *TelemetryEvent_P2PEndpoint) ProtoReflect() protoreflect.Message
func (*TelemetryEvent_P2PEndpoint) Reset ¶ added in v2.13.0
func (x *TelemetryEvent_P2PEndpoint) Reset()
func (*TelemetryEvent_P2PEndpoint) String ¶ added in v2.13.0
func (x *TelemetryEvent_P2PEndpoint) String() string
type TelemetryEvent_Status ¶ added in v2.13.0
type TelemetryEvent_Status int32
const ( TelemetryEvent_CONNECTED TelemetryEvent_Status = 0 TelemetryEvent_DISCONNECTED TelemetryEvent_Status = 1 )
func (TelemetryEvent_Status) Descriptor ¶ added in v2.13.0
func (TelemetryEvent_Status) Descriptor() protoreflect.EnumDescriptor
func (TelemetryEvent_Status) Enum ¶ added in v2.13.0
func (x TelemetryEvent_Status) Enum() *TelemetryEvent_Status
func (TelemetryEvent_Status) EnumDescriptor
deprecated
added in
v2.13.0
func (TelemetryEvent_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use TelemetryEvent_Status.Descriptor instead.
func (TelemetryEvent_Status) Number ¶ added in v2.13.0
func (x TelemetryEvent_Status) Number() protoreflect.EnumNumber
func (TelemetryEvent_Status) String ¶ added in v2.13.0
func (x TelemetryEvent_Status) String() string
func (TelemetryEvent_Status) Type ¶ added in v2.13.0
func (TelemetryEvent_Status) Type() protoreflect.EnumType
type TelemetryRequest ¶ added in v2.13.0
type TelemetryRequest struct { Events []*TelemetryEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*TelemetryRequest) Descriptor
deprecated
added in
v2.13.0
func (*TelemetryRequest) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryRequest.ProtoReflect.Descriptor instead.
func (*TelemetryRequest) GetEvents ¶ added in v2.13.0
func (x *TelemetryRequest) GetEvents() []*TelemetryEvent
func (*TelemetryRequest) ProtoMessage ¶ added in v2.13.0
func (*TelemetryRequest) ProtoMessage()
func (*TelemetryRequest) ProtoReflect ¶ added in v2.13.0
func (x *TelemetryRequest) ProtoReflect() protoreflect.Message
func (*TelemetryRequest) Reset ¶ added in v2.13.0
func (x *TelemetryRequest) Reset()
func (*TelemetryRequest) String ¶ added in v2.13.0
func (x *TelemetryRequest) String() string
type TelemetryResponse ¶ added in v2.13.0
type TelemetryResponse struct {
// contains filtered or unexported fields
}
func (*TelemetryResponse) Descriptor
deprecated
added in
v2.13.0
func (*TelemetryResponse) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryResponse.ProtoReflect.Descriptor instead.
func (*TelemetryResponse) ProtoMessage ¶ added in v2.13.0
func (*TelemetryResponse) ProtoMessage()
func (*TelemetryResponse) ProtoReflect ¶ added in v2.13.0
func (x *TelemetryResponse) ProtoReflect() protoreflect.Message
func (*TelemetryResponse) Reset ¶ added in v2.13.0
func (x *TelemetryResponse) Reset()
func (*TelemetryResponse) String ¶ added in v2.13.0
func (x *TelemetryResponse) String() string