proto
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- Constants
- Variables
- func DRPCRegisterTailnet(mux drpc.Mux, impl DRPCTailnetServer) error
- type Agent
- 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 DRPCTailnetClient20
- type DRPCTailnetClient21
- type DRPCTailnetClient22
- type DRPCTailnetClient23
- type DRPCTailnetClient24
- type DRPCTailnetClient25
- 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
- func (s *DRPCTailnetUnimplementedServer) WorkspaceUpdates(*WorkspaceUpdatesRequest, DRPCTailnet_WorkspaceUpdatesStream) error
- type DRPCTailnet_CoordinateClient
- type DRPCTailnet_CoordinateStream
- type DRPCTailnet_PostTelemetryStream
- type DRPCTailnet_RefreshResumeTokenStream
- type DRPCTailnet_StreamDERPMapsClient
- type DRPCTailnet_StreamDERPMapsStream
- type DRPCTailnet_WorkspaceUpdatesClient
- type DRPCTailnet_WorkspaceUpdatesStream
- 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
- type TelemetryResponse
- type Workspace
- func (*Workspace) Descriptor() ([]byte, []int)deprecated
- func (x *Workspace) GetId() []byte
- func (x *Workspace) GetName() string
- func (x *Workspace) GetStatus() Workspace_Status
- func (*Workspace) ProtoMessage()
- func (x *Workspace) ProtoReflect() protoreflect.Message
- func (x *Workspace) Reset()
- func (x *Workspace) String() string
- type WorkspaceUpdate
- func (*WorkspaceUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceUpdate) GetDeletedAgents() []*Agent
- func (x *WorkspaceUpdate) GetDeletedWorkspaces() []*Workspace
- func (x *WorkspaceUpdate) GetUpsertedAgents() []*Agent
- func (x *WorkspaceUpdate) GetUpsertedWorkspaces() []*Workspace
- func (*WorkspaceUpdate) ProtoMessage()
- func (x *WorkspaceUpdate) ProtoReflect() protoreflect.Message
- func (x *WorkspaceUpdate) Reset()
- func (x *WorkspaceUpdate) String() string
- type WorkspaceUpdatesRequest
- func (*WorkspaceUpdatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceUpdatesRequest) GetWorkspaceOwnerId() []byte
- func (*WorkspaceUpdatesRequest) ProtoMessage()
- func (x *WorkspaceUpdatesRequest) ProtoReflect() protoreflect.Message
- func (x *WorkspaceUpdatesRequest) Reset()
- func (x *WorkspaceUpdatesRequest) String() string
- type Workspace_Status
- func (Workspace_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Workspace_Status) Enum() *Workspace_Status
- func (Workspace_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Workspace_Status) Number() protoreflect.EnumNumber
- func (x Workspace_Status) String() string
- func (Workspace_Status) Type() protoreflect.EnumType
Constants¶
const (CurrentMajor = 2CurrentMinor = 5)
Version history:
API v1:
- retroactively applied name for the HTTP Rest APIs for the Agent and theJSON over websocket coordination and DERP Map APIs for Tailnet
API v2.0:
- Shipped in Coder v2.8.0
- first dRPC over yamux over websocket APIs for tailnet and agent
API v2.1:
- Shipped in Coder v2.12.0
- Added support for multiple banners via the GetAnnouncementBanners RPC onthe Agent API.
- No changes to the Tailnet API.
API v2.2:
- Shipped in Coder v2.13.0
- Added support for network telemetry via the PostTelemetry RPC on theTailnet API.
- No changes to the Agent API.
API v2.3:
- Shipped in Coder v2.18.0
- Added support for client Resume Tokens on the Tailnet API via theRefreshResumeToken RPC. (This actually shipped in Coder v2.15.0, but weforgot to increment the API version. If you dial for API v2.2, you MAYbe connected to a server that supports RefreshResumeToken, but beprepared to process "unsupported" errors.)
- Added support for WorkspaceUpdates RPC on the Tailnet API.
- Added support for ScriptCompleted RPC on the Agent API. (This actuallyshipped in Coder v2.16.0, but we forgot to increment the API version. Ifyou dial for API v2.2, you MAY be connected to a server that supportsScriptCompleted, but be prepared to process "unsupported" errors.)
API v2.4:
- Shipped in Coder v2.20.0
- Added support for GetResourcesMonitoringConfiguration andPushResourcesMonitoringUsage RPCs on the Agent API.
- Added support for reporting connection events for auditing via theReportConnection RPC on the Agent API.
API v2.5:
- Shipped in Coder v2.xx.x // TODO(DanielleMaywood): Update version
- Added `ParentId` to the agent manifest.
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 (Workspace_Status_name = map[int32]string{0: "UNKNOWN",1: "PENDING",2: "STARTING",3: "RUNNING",4: "STOPPING",5: "STOPPED",6: "FAILED",7: "CANCELING",8: "CANCELED",9: "DELETING",10: "DELETED",}Workspace_Status_value = map[string]int32{"UNKNOWN": 0,"PENDING": 1,"STARTING": 2,"RUNNING": 3,"STOPPING": 4,"STOPPED": 5,"FAILED": 6,"CANCELING": 7,"CANCELED": 8,"DELETING": 9,"DELETED": 10,})
Enum value maps for Workspace_Status.
var CurrentVersion =apiversion.New(CurrentMajor,CurrentMinor)
var File_tailnet_proto_tailnet_protoprotoreflect.FileDescriptor
Functions¶
funcDRPCRegisterTailnet¶added inv2.7.0
func DRPCRegisterTailnet(muxdrpc.Mux, implDRPCTailnetServer)error
Types¶
typeAgent¶added inv2.18.0
type Agent struct {Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`// UUIDNamestring `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`WorkspaceId []byte `protobuf:"bytes,3,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`// UUID// contains filtered or unexported fields}
func (*Agent)Descriptordeprecatedadded inv2.18.0
func (*Agent)GetWorkspaceId¶added inv2.18.0
func (*Agent)ProtoMessage¶added inv2.18.0
func (*Agent) ProtoMessage()
func (*Agent)ProtoReflect¶added inv2.18.0
func (x *Agent) ProtoReflect()protoreflect.Message
typeCoordinateRequest¶
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)Descriptordeprecated
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 inv2.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
typeCoordinateRequest_Disconnect¶
type CoordinateRequest_Disconnect struct {// contains filtered or unexported fields}
func (*CoordinateRequest_Disconnect)Descriptordeprecated
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
typeCoordinateRequest_ReadyForHandshake¶added inv2.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 pingingbefore a ReadyForHandshake, the Wireguard handshake will likely bedropped.
func (*CoordinateRequest_ReadyForHandshake)Descriptordeprecatedadded inv2.11.0
func (*CoordinateRequest_ReadyForHandshake) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateRequest_ReadyForHandshake.ProtoReflect.Descriptor instead.
func (*CoordinateRequest_ReadyForHandshake)GetId¶added inv2.11.0
func (x *CoordinateRequest_ReadyForHandshake) GetId() []byte
func (*CoordinateRequest_ReadyForHandshake)ProtoMessage¶added inv2.11.0
func (*CoordinateRequest_ReadyForHandshake) ProtoMessage()
func (*CoordinateRequest_ReadyForHandshake)ProtoReflect¶added inv2.11.0
func (x *CoordinateRequest_ReadyForHandshake) ProtoReflect()protoreflect.Message
func (*CoordinateRequest_ReadyForHandshake)Reset¶added inv2.11.0
func (x *CoordinateRequest_ReadyForHandshake) Reset()
func (*CoordinateRequest_ReadyForHandshake)String¶added inv2.11.0
func (x *CoordinateRequest_ReadyForHandshake) String()string
typeCoordinateRequest_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)Descriptordeprecated
func (*CoordinateRequest_Tunnel) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateRequest_Tunnel.ProtoReflect.Descriptor instead.
func (*CoordinateRequest_Tunnel)GetId¶added inv2.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
typeCoordinateRequest_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)Descriptordeprecated
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
typeCoordinateResponse¶
type CoordinateResponse struct {PeerUpdates []*CoordinateResponse_PeerUpdate `protobuf:"bytes,1,rep,name=peer_updates,json=peerUpdates,proto3" json:"peer_updates,omitempty"`Errorstring `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`// contains filtered or unexported fields}
func (*CoordinateResponse)Descriptordeprecated
func (*CoordinateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateResponse.ProtoReflect.Descriptor instead.
func (*CoordinateResponse)GetError¶added inv2.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
typeCoordinateResponse_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"`KindCoordinateResponse_PeerUpdate_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=coder.tailnet.v2.CoordinateResponse_PeerUpdate_Kind" json:"kind,omitempty"`Reasonstring `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`// contains filtered or unexported fields}
func (*CoordinateResponse_PeerUpdate)Descriptordeprecated
func (*CoordinateResponse_PeerUpdate) Descriptor() ([]byte, []int)
Deprecated: Use CoordinateResponse_PeerUpdate.ProtoReflect.Descriptor instead.
func (*CoordinateResponse_PeerUpdate)GetId¶added inv2.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
typeCoordinateResponse_PeerUpdate_Kind¶
type CoordinateResponse_PeerUpdate_Kindint32
const (CoordinateResponse_PeerUpdate_KIND_UNSPECIFIEDCoordinateResponse_PeerUpdate_Kind = 0CoordinateResponse_PeerUpdate_NODECoordinateResponse_PeerUpdate_Kind = 1CoordinateResponse_PeerUpdate_DISCONNECTEDCoordinateResponse_PeerUpdate_Kind = 2CoordinateResponse_PeerUpdate_LOSTCoordinateResponse_PeerUpdate_Kind = 3CoordinateResponse_PeerUpdate_READY_FOR_HANDSHAKECoordinateResponse_PeerUpdate_Kind = 4)
func (CoordinateResponse_PeerUpdate_Kind)Descriptor¶
func (CoordinateResponse_PeerUpdate_Kind) Descriptor()protoreflect.EnumDescriptor
func (CoordinateResponse_PeerUpdate_Kind)Enum¶
func (xCoordinateResponse_PeerUpdate_Kind) Enum() *CoordinateResponse_PeerUpdate_Kind
func (CoordinateResponse_PeerUpdate_Kind)EnumDescriptordeprecated
func (CoordinateResponse_PeerUpdate_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use CoordinateResponse_PeerUpdate_Kind.Descriptor instead.
func (CoordinateResponse_PeerUpdate_Kind)Number¶
func (xCoordinateResponse_PeerUpdate_Kind) Number()protoreflect.EnumNumber
func (CoordinateResponse_PeerUpdate_Kind)String¶
func (xCoordinateResponse_PeerUpdate_Kind) String()string
func (CoordinateResponse_PeerUpdate_Kind)Type¶
func (CoordinateResponse_PeerUpdate_Kind) Type()protoreflect.EnumType
typeDERPMap¶
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)Descriptordeprecated
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
typeDERPMap_HomeParams¶
type DERPMap_HomeParams struct {RegionScore map[int64]float64 ``/* 185-byte string literal not displayed */// contains filtered or unexported fields}
func (*DERPMap_HomeParams)Descriptordeprecated
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
typeDERPMap_Region¶
type DERPMap_Region struct {RegionIdint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`EmbeddedRelaybool `protobuf:"varint,2,opt,name=embedded_relay,json=embeddedRelay,proto3" json:"embedded_relay,omitempty"`RegionCodestring `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`RegionNamestring `protobuf:"bytes,4,opt,name=region_name,json=regionName,proto3" json:"region_name,omitempty"`Avoidbool `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)Descriptordeprecated
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
typeDERPMap_Region_Node¶
type DERPMap_Region_Node struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`RegionIdint64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`HostNamestring `protobuf:"bytes,3,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`CertNamestring `protobuf:"bytes,4,opt,name=cert_name,json=certName,proto3" json:"cert_name,omitempty"`Ipv4string `protobuf:"bytes,5,opt,name=ipv4,proto3" json:"ipv4,omitempty"`Ipv6string `protobuf:"bytes,6,opt,name=ipv6,proto3" json:"ipv6,omitempty"`StunPortint32 `protobuf:"varint,7,opt,name=stun_port,json=stunPort,proto3" json:"stun_port,omitempty"`StunOnlybool `protobuf:"varint,8,opt,name=stun_only,json=stunOnly,proto3" json:"stun_only,omitempty"`DerpPortint32 `protobuf:"varint,9,opt,name=derp_port,json=derpPort,proto3" json:"derp_port,omitempty"`InsecureForTestsbool `protobuf:"varint,10,opt,name=insecure_for_tests,json=insecureForTests,proto3" json:"insecure_for_tests,omitempty"`ForceHttpbool `protobuf:"varint,11,opt,name=force_http,json=forceHttp,proto3" json:"force_http,omitempty"`StunTestIpstring `protobuf:"bytes,12,opt,name=stun_test_ip,json=stunTestIp,proto3" json:"stun_test_ip,omitempty"`CanPort_80bool `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)Descriptordeprecated
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
typeDRPCTailnetClient¶added inv2.7.0
type DRPCTailnetClient interface {DRPCConn()drpc.ConnPostTelemetry(ctxcontext.Context, in *TelemetryRequest) (*TelemetryResponse,error)StreamDERPMaps(ctxcontext.Context, in *StreamDERPMapsRequest) (DRPCTailnet_StreamDERPMapsClient,error)RefreshResumeToken(ctxcontext.Context, in *RefreshResumeTokenRequest) (*RefreshResumeTokenResponse,error)Coordinate(ctxcontext.Context) (DRPCTailnet_CoordinateClient,error)WorkspaceUpdates(ctxcontext.Context, in *WorkspaceUpdatesRequest) (DRPCTailnet_WorkspaceUpdatesClient,error)}
funcNewDRPCTailnetClient¶added inv2.7.0
func NewDRPCTailnetClient(ccdrpc.Conn)DRPCTailnetClient
typeDRPCTailnetClient20¶added inv2.18.0
type DRPCTailnetClient20 interface {DRPCConn()drpc.ConnStreamDERPMaps(ctxcontext.Context, in *StreamDERPMapsRequest) (DRPCTailnet_StreamDERPMapsClient,error)Coordinate(ctxcontext.Context) (DRPCTailnet_CoordinateClient,error)}
DRPCTailnetClient20 is the Tailnet API at v2.0.
typeDRPCTailnetClient21¶added inv2.18.0
type DRPCTailnetClient21 interface {DRPCTailnetClient20}
DRPCTailnetClient21 is the Tailnet API at v2.1. It is functionally identical to 2.0, because thechange was to the Agent API (GetAnnouncementBanners).
typeDRPCTailnetClient22¶added inv2.18.0
type DRPCTailnetClient22 interface {DRPCTailnetClient21PostTelemetry(ctxcontext.Context, in *TelemetryRequest) (*TelemetryResponse,error)}
DRPCTailnetClient22 is the Tailnet API at v2.2. It adds telemetry support. Compatible with Coderv2.13+
typeDRPCTailnetClient23¶added inv2.18.0
type DRPCTailnetClient23 interface {DRPCTailnetClient22RefreshResumeToken(ctxcontext.Context, in *RefreshResumeTokenRequest) (*RefreshResumeTokenResponse,error)WorkspaceUpdates(ctxcontext.Context, in *WorkspaceUpdatesRequest) (DRPCTailnet_WorkspaceUpdatesClient,error)}
DRPCTailnetClient23 is the Tailnet API at v2.3. It adds resume token and workspace updatessupport. Compatible with Coder v2.18+.
typeDRPCTailnetClient24¶added inv2.20.0
type DRPCTailnetClient24 interface {DRPCTailnetClient23}
DRPCTailnetClient24 is the Tailnet API at v2.4. It is functionally identical to 2.3, because thechange was to the Agent API (ResourcesMonitoring and ReportConnection methods).
typeDRPCTailnetClient25¶added inv2.23.0
type DRPCTailnetClient25 interface {DRPCTailnetClient24}
DRPCTailnetClient25 is the Tailnet API at v2.5.
typeDRPCTailnetDescription¶added inv2.7.0
type DRPCTailnetDescription struct{}
func (DRPCTailnetDescription)NumMethods¶added inv2.7.0
func (DRPCTailnetDescription) NumMethods()int
typeDRPCTailnetServer¶added inv2.7.0
type DRPCTailnetServer interface {PostTelemetry(context.Context, *TelemetryRequest) (*TelemetryResponse,error)StreamDERPMaps(*StreamDERPMapsRequest,DRPCTailnet_StreamDERPMapsStream)errorRefreshResumeToken(context.Context, *RefreshResumeTokenRequest) (*RefreshResumeTokenResponse,error)Coordinate(DRPCTailnet_CoordinateStream)errorWorkspaceUpdates(*WorkspaceUpdatesRequest,DRPCTailnet_WorkspaceUpdatesStream)error}
typeDRPCTailnetUnimplementedServer¶added inv2.7.0
type DRPCTailnetUnimplementedServer struct{}
func (*DRPCTailnetUnimplementedServer)Coordinate¶added inv2.7.0
func (s *DRPCTailnetUnimplementedServer) Coordinate(DRPCTailnet_CoordinateStream)error
func (*DRPCTailnetUnimplementedServer)PostTelemetry¶added inv2.13.0
func (s *DRPCTailnetUnimplementedServer) PostTelemetry(context.Context, *TelemetryRequest) (*TelemetryResponse,error)
func (*DRPCTailnetUnimplementedServer)RefreshResumeToken¶added inv2.15.0
func (s *DRPCTailnetUnimplementedServer) RefreshResumeToken(context.Context, *RefreshResumeTokenRequest) (*RefreshResumeTokenResponse,error)
func (*DRPCTailnetUnimplementedServer)StreamDERPMaps¶added inv2.7.0
func (s *DRPCTailnetUnimplementedServer) StreamDERPMaps(*StreamDERPMapsRequest,DRPCTailnet_StreamDERPMapsStream)error
func (*DRPCTailnetUnimplementedServer)WorkspaceUpdates¶added inv2.18.0
func (s *DRPCTailnetUnimplementedServer) WorkspaceUpdates(*WorkspaceUpdatesRequest,DRPCTailnet_WorkspaceUpdatesStream)error
typeDRPCTailnet_CoordinateClient¶added inv2.7.0
type DRPCTailnet_CoordinateClient interface {drpc.StreamSend(*CoordinateRequest)errorRecv() (*CoordinateResponse,error)}
typeDRPCTailnet_CoordinateStream¶added inv2.7.0
type DRPCTailnet_CoordinateStream interface {drpc.StreamSend(*CoordinateResponse)errorRecv() (*CoordinateRequest,error)}
typeDRPCTailnet_PostTelemetryStream¶added inv2.13.0
type DRPCTailnet_PostTelemetryStream interface {drpc.StreamSendAndClose(*TelemetryResponse)error}
typeDRPCTailnet_RefreshResumeTokenStream¶added inv2.15.0
type DRPCTailnet_RefreshResumeTokenStream interface {drpc.StreamSendAndClose(*RefreshResumeTokenResponse)error}
typeDRPCTailnet_StreamDERPMapsClient¶added inv2.7.0
typeDRPCTailnet_StreamDERPMapsStream¶added inv2.7.0
typeDRPCTailnet_WorkspaceUpdatesClient¶added inv2.18.0
type DRPCTailnet_WorkspaceUpdatesClient interface {drpc.StreamRecv() (*WorkspaceUpdate,error)}
typeDRPCTailnet_WorkspaceUpdatesStream¶added inv2.18.0
type DRPCTailnet_WorkspaceUpdatesStream interface {drpc.StreamSend(*WorkspaceUpdate)error}
typeIPFields¶added inv2.14.0
type IPFields struct {Versionint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`ClassIPFields_IPClass `protobuf:"varint,2,opt,name=class,proto3,enum=coder.tailnet.v2.IPFields_IPClass" json:"class,omitempty"`// contains filtered or unexported fields}
func (*IPFields)Descriptordeprecatedadded inv2.14.0
func (*IPFields)GetClass¶added inv2.14.0
func (x *IPFields) GetClass()IPFields_IPClass
func (*IPFields)GetVersion¶added inv2.14.0
func (*IPFields)ProtoMessage¶added inv2.14.0
func (*IPFields) ProtoMessage()
func (*IPFields)ProtoReflect¶added inv2.14.0
func (x *IPFields) ProtoReflect()protoreflect.Message
typeIPFields_IPClass¶added inv2.14.0
type IPFields_IPClassint32
const (IPFields_PUBLICIPFields_IPClass = 0IPFields_PRIVATEIPFields_IPClass = 1IPFields_LINK_LOCALIPFields_IPClass = 2IPFields_LOOPBACKIPFields_IPClass = 3)
func (IPFields_IPClass)Descriptor¶added inv2.14.0
func (IPFields_IPClass) Descriptor()protoreflect.EnumDescriptor
func (IPFields_IPClass)Enum¶added inv2.14.0
func (xIPFields_IPClass) Enum() *IPFields_IPClass
func (IPFields_IPClass)EnumDescriptordeprecatedadded inv2.14.0
func (IPFields_IPClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use IPFields_IPClass.Descriptor instead.
func (IPFields_IPClass)Number¶added inv2.14.0
func (xIPFields_IPClass) Number()protoreflect.EnumNumber
func (IPFields_IPClass)String¶added inv2.14.0
func (xIPFields_IPClass) String()string
func (IPFields_IPClass)Type¶added inv2.14.0
func (IPFields_IPClass) Type()protoreflect.EnumType
typeNetcheck¶added inv2.13.0
type Netcheck struct {UDPbool `protobuf:"varint,1,opt,name=UDP,proto3" json:"UDP,omitempty"`IPv6bool `protobuf:"varint,2,opt,name=IPv6,proto3" json:"IPv6,omitempty"`IPv4bool `protobuf:"varint,3,opt,name=IPv4,proto3" json:"IPv4,omitempty"`IPv6CanSendbool `protobuf:"varint,4,opt,name=IPv6CanSend,proto3" json:"IPv6CanSend,omitempty"`IPv4CanSendbool `protobuf:"varint,5,opt,name=IPv4CanSend,proto3" json:"IPv4CanSend,omitempty"`ICMPv4bool `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"`PreferredDERPint64 `protobuf:"varint,13,opt,name=PreferredDERP,proto3" json:"PreferredDERP,omitempty"`// 0 for unknownRegionV4Latency 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)Descriptordeprecatedadded inv2.13.0
func (*Netcheck)GetGlobalV4¶added inv2.13.0
func (x *Netcheck) GetGlobalV4() *Netcheck_NetcheckIP
func (*Netcheck)GetGlobalV6¶added inv2.13.0
func (x *Netcheck) GetGlobalV6() *Netcheck_NetcheckIP
func (*Netcheck)GetHairPinning¶added inv2.13.0
func (x *Netcheck) GetHairPinning() *wrapperspb.BoolValue
func (*Netcheck)GetIPv4CanSend¶added inv2.13.0
func (*Netcheck)GetIPv6CanSend¶added inv2.13.0
func (*Netcheck)GetMappingVariesByDestIP¶added inv2.13.0
func (x *Netcheck) GetMappingVariesByDestIP() *wrapperspb.BoolValue
func (*Netcheck)GetOSHasIPv6¶added inv2.13.0
func (x *Netcheck) GetOSHasIPv6() *wrapperspb.BoolValue
func (*Netcheck)GetPCP¶added inv2.13.0
func (x *Netcheck) GetPCP() *wrapperspb.BoolValue
func (*Netcheck)GetPMP¶added inv2.13.0
func (x *Netcheck) GetPMP() *wrapperspb.BoolValue
func (*Netcheck)GetPreferredDERP¶added inv2.13.0
func (*Netcheck)GetRegionV4Latency¶added inv2.13.0
func (x *Netcheck) GetRegionV4Latency() map[int64]*durationpb.Duration
func (*Netcheck)GetRegionV6Latency¶added inv2.13.0
func (x *Netcheck) GetRegionV6Latency() map[int64]*durationpb.Duration
func (*Netcheck)GetUPnP¶added inv2.13.0
func (x *Netcheck) GetUPnP() *wrapperspb.BoolValue
func (*Netcheck)ProtoMessage¶added inv2.13.0
func (*Netcheck) ProtoMessage()
func (*Netcheck)ProtoReflect¶added inv2.13.0
func (x *Netcheck) ProtoReflect()protoreflect.Message
typeNetcheck_NetcheckIP¶added inv2.14.0
type Netcheck_NetcheckIP struct {Hashstring `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)Descriptordeprecatedadded inv2.14.0
func (*Netcheck_NetcheckIP) Descriptor() ([]byte, []int)
Deprecated: Use Netcheck_NetcheckIP.ProtoReflect.Descriptor instead.
func (*Netcheck_NetcheckIP)GetFields¶added inv2.14.0
func (x *Netcheck_NetcheckIP) GetFields() *IPFields
func (*Netcheck_NetcheckIP)GetHash¶added inv2.14.0
func (x *Netcheck_NetcheckIP) GetHash()string
func (*Netcheck_NetcheckIP)ProtoMessage¶added inv2.14.0
func (*Netcheck_NetcheckIP) ProtoMessage()
func (*Netcheck_NetcheckIP)ProtoReflect¶added inv2.14.0
func (x *Netcheck_NetcheckIP) ProtoReflect()protoreflect.Message
func (*Netcheck_NetcheckIP)Reset¶added inv2.14.0
func (x *Netcheck_NetcheckIP) Reset()
func (*Netcheck_NetcheckIP)String¶added inv2.14.0
func (x *Netcheck_NetcheckIP) String()string
typeNode¶
type Node struct {Idint64 `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"`Discostring `protobuf:"bytes,4,opt,name=disco,proto3" json:"disco,omitempty"`PreferredDerpint32 `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)Descriptordeprecated
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
typeRefreshResumeTokenRequest¶added inv2.15.0
type RefreshResumeTokenRequest struct {// contains filtered or unexported fields}
func (*RefreshResumeTokenRequest)Descriptordeprecatedadded inv2.15.0
func (*RefreshResumeTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshResumeTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshResumeTokenRequest)ProtoMessage¶added inv2.15.0
func (*RefreshResumeTokenRequest) ProtoMessage()
func (*RefreshResumeTokenRequest)ProtoReflect¶added inv2.15.0
func (x *RefreshResumeTokenRequest) ProtoReflect()protoreflect.Message
func (*RefreshResumeTokenRequest)Reset¶added inv2.15.0
func (x *RefreshResumeTokenRequest) Reset()
func (*RefreshResumeTokenRequest)String¶added inv2.15.0
func (x *RefreshResumeTokenRequest) String()string
typeRefreshResumeTokenResponse¶added inv2.15.0
type RefreshResumeTokenResponse struct {Tokenstring `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)Descriptordeprecatedadded inv2.15.0
func (*RefreshResumeTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshResumeTokenResponse.ProtoReflect.Descriptor instead.
func (*RefreshResumeTokenResponse)GetExpiresAt¶added inv2.15.0
func (x *RefreshResumeTokenResponse) GetExpiresAt() *timestamppb.Timestamp
func (*RefreshResumeTokenResponse)GetRefreshIn¶added inv2.15.0
func (x *RefreshResumeTokenResponse) GetRefreshIn() *durationpb.Duration
func (*RefreshResumeTokenResponse)GetToken¶added inv2.15.0
func (x *RefreshResumeTokenResponse) GetToken()string
func (*RefreshResumeTokenResponse)ProtoMessage¶added inv2.15.0
func (*RefreshResumeTokenResponse) ProtoMessage()
func (*RefreshResumeTokenResponse)ProtoReflect¶added inv2.15.0
func (x *RefreshResumeTokenResponse) ProtoReflect()protoreflect.Message
func (*RefreshResumeTokenResponse)Reset¶added inv2.15.0
func (x *RefreshResumeTokenResponse) Reset()
func (*RefreshResumeTokenResponse)String¶added inv2.15.0
func (x *RefreshResumeTokenResponse) String()string
typeStreamDERPMapsRequest¶
type StreamDERPMapsRequest struct {// contains filtered or unexported fields}
func (*StreamDERPMapsRequest)Descriptordeprecated
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
typeTelemetryEvent¶added inv2.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"`Applicationstring `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"`StatusTelemetryEvent_Status `protobuf:"varint,4,opt,name=status,proto3,enum=coder.tailnet.v2.TelemetryEvent_Status" json:"status,omitempty"`ClientTypeTelemetryEvent_ClientType ``/* 140-byte string literal not displayed */ClientVersionstring `protobuf:"bytes,19,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`NodeIdSelfuint64 `protobuf:"varint,7,opt,name=node_id_self,json=nodeIdSelf,proto3" json:"node_id_self,omitempty"`NodeIdRemoteuint64 `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"`HomeDerpint32 `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)Descriptordeprecatedadded inv2.13.0
func (*TelemetryEvent) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryEvent.ProtoReflect.Descriptor instead.
func (*TelemetryEvent)GetApplication¶added inv2.13.0
func (x *TelemetryEvent) GetApplication()string
func (*TelemetryEvent)GetClientType¶added inv2.13.0
func (x *TelemetryEvent) GetClientType()TelemetryEvent_ClientType
func (*TelemetryEvent)GetClientVersion¶added inv2.14.0
func (x *TelemetryEvent) GetClientVersion()string
func (*TelemetryEvent)GetConnectionAge¶added inv2.13.0
func (x *TelemetryEvent) GetConnectionAge() *durationpb.Duration
func (*TelemetryEvent)GetConnectionSetup¶added inv2.13.0
func (x *TelemetryEvent) GetConnectionSetup() *durationpb.Duration
func (*TelemetryEvent)GetDerpLatency¶added inv2.13.0
func (x *TelemetryEvent) GetDerpLatency() *durationpb.Duration
func (*TelemetryEvent)GetDerpMap¶added inv2.13.0
func (x *TelemetryEvent) GetDerpMap() *DERPMap
func (*TelemetryEvent)GetHomeDerp¶added inv2.13.0
func (x *TelemetryEvent) GetHomeDerp()int32
func (*TelemetryEvent)GetId¶added inv2.13.0
func (x *TelemetryEvent) GetId() []byte
func (*TelemetryEvent)GetLatestNetcheck¶added inv2.13.0
func (x *TelemetryEvent) GetLatestNetcheck() *Netcheck
func (*TelemetryEvent)GetNodeIdRemote¶added inv2.13.0
func (x *TelemetryEvent) GetNodeIdRemote()uint64
func (*TelemetryEvent)GetNodeIdSelf¶added inv2.13.0
func (x *TelemetryEvent) GetNodeIdSelf()uint64
func (*TelemetryEvent)GetP2PEndpoint¶added inv2.13.0
func (x *TelemetryEvent) GetP2PEndpoint() *TelemetryEvent_P2PEndpoint
func (*TelemetryEvent)GetP2PLatency¶added inv2.13.0
func (x *TelemetryEvent) GetP2PLatency() *durationpb.Duration
func (*TelemetryEvent)GetP2PSetup¶added inv2.13.0
func (x *TelemetryEvent) GetP2PSetup() *durationpb.Duration
func (*TelemetryEvent)GetStatus¶added inv2.13.0
func (x *TelemetryEvent) GetStatus()TelemetryEvent_Status
func (*TelemetryEvent)GetThroughputMbits¶added inv2.13.0
func (x *TelemetryEvent) GetThroughputMbits() *wrapperspb.FloatValue
func (*TelemetryEvent)GetTime¶added inv2.13.0
func (x *TelemetryEvent) GetTime() *timestamppb.Timestamp
func (*TelemetryEvent)ProtoMessage¶added inv2.13.0
func (*TelemetryEvent) ProtoMessage()
func (*TelemetryEvent)ProtoReflect¶added inv2.13.0
func (x *TelemetryEvent) ProtoReflect()protoreflect.Message
func (*TelemetryEvent)Reset¶added inv2.13.0
func (x *TelemetryEvent) Reset()
func (*TelemetryEvent)String¶added inv2.13.0
func (x *TelemetryEvent) String()string
typeTelemetryEvent_ClientType¶added inv2.13.0
type TelemetryEvent_ClientTypeint32
const (TelemetryEvent_CLITelemetryEvent_ClientType = 0TelemetryEvent_AGENTTelemetryEvent_ClientType = 1TelemetryEvent_CODERDTelemetryEvent_ClientType = 2TelemetryEvent_WSPROXYTelemetryEvent_ClientType = 3)
func (TelemetryEvent_ClientType)Descriptor¶added inv2.13.0
func (TelemetryEvent_ClientType) Descriptor()protoreflect.EnumDescriptor
func (TelemetryEvent_ClientType)Enum¶added inv2.13.0
func (xTelemetryEvent_ClientType) Enum() *TelemetryEvent_ClientType
func (TelemetryEvent_ClientType)EnumDescriptordeprecatedadded inv2.13.0
func (TelemetryEvent_ClientType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TelemetryEvent_ClientType.Descriptor instead.
func (TelemetryEvent_ClientType)Number¶added inv2.13.0
func (xTelemetryEvent_ClientType) Number()protoreflect.EnumNumber
func (TelemetryEvent_ClientType)String¶added inv2.13.0
func (xTelemetryEvent_ClientType) String()string
func (TelemetryEvent_ClientType)Type¶added inv2.13.0
func (TelemetryEvent_ClientType) Type()protoreflect.EnumType
typeTelemetryEvent_P2PEndpoint¶added inv2.13.0
type TelemetryEvent_P2PEndpoint struct {Hashstring `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`Portint32 `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)Descriptordeprecatedadded inv2.13.0
func (*TelemetryEvent_P2PEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryEvent_P2PEndpoint.ProtoReflect.Descriptor instead.
func (*TelemetryEvent_P2PEndpoint)GetFields¶added inv2.13.0
func (x *TelemetryEvent_P2PEndpoint) GetFields() *IPFields
func (*TelemetryEvent_P2PEndpoint)GetHash¶added inv2.13.0
func (x *TelemetryEvent_P2PEndpoint) GetHash()string
func (*TelemetryEvent_P2PEndpoint)GetPort¶added inv2.13.0
func (x *TelemetryEvent_P2PEndpoint) GetPort()int32
func (*TelemetryEvent_P2PEndpoint)ProtoMessage¶added inv2.13.0
func (*TelemetryEvent_P2PEndpoint) ProtoMessage()
func (*TelemetryEvent_P2PEndpoint)ProtoReflect¶added inv2.13.0
func (x *TelemetryEvent_P2PEndpoint) ProtoReflect()protoreflect.Message
func (*TelemetryEvent_P2PEndpoint)Reset¶added inv2.13.0
func (x *TelemetryEvent_P2PEndpoint) Reset()
func (*TelemetryEvent_P2PEndpoint)String¶added inv2.13.0
func (x *TelemetryEvent_P2PEndpoint) String()string
typeTelemetryEvent_Status¶added inv2.13.0
type TelemetryEvent_Statusint32
const (TelemetryEvent_CONNECTEDTelemetryEvent_Status = 0TelemetryEvent_DISCONNECTEDTelemetryEvent_Status = 1)
func (TelemetryEvent_Status)Descriptor¶added inv2.13.0
func (TelemetryEvent_Status) Descriptor()protoreflect.EnumDescriptor
func (TelemetryEvent_Status)Enum¶added inv2.13.0
func (xTelemetryEvent_Status) Enum() *TelemetryEvent_Status
func (TelemetryEvent_Status)EnumDescriptordeprecatedadded inv2.13.0
func (TelemetryEvent_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use TelemetryEvent_Status.Descriptor instead.
func (TelemetryEvent_Status)Number¶added inv2.13.0
func (xTelemetryEvent_Status) Number()protoreflect.EnumNumber
func (TelemetryEvent_Status)String¶added inv2.13.0
func (xTelemetryEvent_Status) String()string
func (TelemetryEvent_Status)Type¶added inv2.13.0
func (TelemetryEvent_Status) Type()protoreflect.EnumType
typeTelemetryRequest¶added inv2.13.0
type TelemetryRequest struct {Events []*TelemetryEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`// contains filtered or unexported fields}
func (*TelemetryRequest)Descriptordeprecatedadded inv2.13.0
func (*TelemetryRequest) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryRequest.ProtoReflect.Descriptor instead.
func (*TelemetryRequest)GetEvents¶added inv2.13.0
func (x *TelemetryRequest) GetEvents() []*TelemetryEvent
func (*TelemetryRequest)ProtoMessage¶added inv2.13.0
func (*TelemetryRequest) ProtoMessage()
func (*TelemetryRequest)ProtoReflect¶added inv2.13.0
func (x *TelemetryRequest) ProtoReflect()protoreflect.Message
func (*TelemetryRequest)Reset¶added inv2.13.0
func (x *TelemetryRequest) Reset()
func (*TelemetryRequest)String¶added inv2.13.0
func (x *TelemetryRequest) String()string
typeTelemetryResponse¶added inv2.13.0
type TelemetryResponse struct {// contains filtered or unexported fields}
func (*TelemetryResponse)Descriptordeprecatedadded inv2.13.0
func (*TelemetryResponse) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryResponse.ProtoReflect.Descriptor instead.
func (*TelemetryResponse)ProtoMessage¶added inv2.13.0
func (*TelemetryResponse) ProtoMessage()
func (*TelemetryResponse)ProtoReflect¶added inv2.13.0
func (x *TelemetryResponse) ProtoReflect()protoreflect.Message
func (*TelemetryResponse)Reset¶added inv2.13.0
func (x *TelemetryResponse) Reset()
func (*TelemetryResponse)String¶added inv2.13.0
func (x *TelemetryResponse) String()string
typeWorkspace¶added inv2.18.0
type Workspace struct {Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`// UUIDNamestring `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`StatusWorkspace_Status `protobuf:"varint,3,opt,name=status,proto3,enum=coder.tailnet.v2.Workspace_Status" json:"status,omitempty"`// contains filtered or unexported fields}
func (*Workspace)Descriptordeprecatedadded inv2.18.0
func (*Workspace)GetStatus¶added inv2.18.0
func (x *Workspace) GetStatus()Workspace_Status
func (*Workspace)ProtoMessage¶added inv2.18.0
func (*Workspace) ProtoMessage()
func (*Workspace)ProtoReflect¶added inv2.18.0
func (x *Workspace) ProtoReflect()protoreflect.Message
typeWorkspaceUpdate¶added inv2.18.0
type WorkspaceUpdate struct {UpsertedWorkspaces []*Workspace `protobuf:"bytes,1,rep,name=upserted_workspaces,json=upsertedWorkspaces,proto3" json:"upserted_workspaces,omitempty"`UpsertedAgents []*Agent `protobuf:"bytes,2,rep,name=upserted_agents,json=upsertedAgents,proto3" json:"upserted_agents,omitempty"`DeletedWorkspaces []*Workspace `protobuf:"bytes,3,rep,name=deleted_workspaces,json=deletedWorkspaces,proto3" json:"deleted_workspaces,omitempty"`DeletedAgents []*Agent `protobuf:"bytes,4,rep,name=deleted_agents,json=deletedAgents,proto3" json:"deleted_agents,omitempty"`// contains filtered or unexported fields}
func (*WorkspaceUpdate)Descriptordeprecatedadded inv2.18.0
func (*WorkspaceUpdate) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceUpdate.ProtoReflect.Descriptor instead.
func (*WorkspaceUpdate)GetDeletedAgents¶added inv2.18.0
func (x *WorkspaceUpdate) GetDeletedAgents() []*Agent
func (*WorkspaceUpdate)GetDeletedWorkspaces¶added inv2.18.0
func (x *WorkspaceUpdate) GetDeletedWorkspaces() []*Workspace
func (*WorkspaceUpdate)GetUpsertedAgents¶added inv2.18.0
func (x *WorkspaceUpdate) GetUpsertedAgents() []*Agent
func (*WorkspaceUpdate)GetUpsertedWorkspaces¶added inv2.18.0
func (x *WorkspaceUpdate) GetUpsertedWorkspaces() []*Workspace
func (*WorkspaceUpdate)ProtoMessage¶added inv2.18.0
func (*WorkspaceUpdate) ProtoMessage()
func (*WorkspaceUpdate)ProtoReflect¶added inv2.18.0
func (x *WorkspaceUpdate) ProtoReflect()protoreflect.Message
func (*WorkspaceUpdate)Reset¶added inv2.18.0
func (x *WorkspaceUpdate) Reset()
func (*WorkspaceUpdate)String¶added inv2.18.0
func (x *WorkspaceUpdate) String()string
typeWorkspaceUpdatesRequest¶added inv2.18.0
type WorkspaceUpdatesRequest struct {WorkspaceOwnerId []byte `protobuf:"bytes,1,opt,name=workspace_owner_id,json=workspaceOwnerId,proto3" json:"workspace_owner_id,omitempty"`// UUID// contains filtered or unexported fields}
func (*WorkspaceUpdatesRequest)Descriptordeprecatedadded inv2.18.0
func (*WorkspaceUpdatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceUpdatesRequest.ProtoReflect.Descriptor instead.
func (*WorkspaceUpdatesRequest)GetWorkspaceOwnerId¶added inv2.18.0
func (x *WorkspaceUpdatesRequest) GetWorkspaceOwnerId() []byte
func (*WorkspaceUpdatesRequest)ProtoMessage¶added inv2.18.0
func (*WorkspaceUpdatesRequest) ProtoMessage()
func (*WorkspaceUpdatesRequest)ProtoReflect¶added inv2.18.0
func (x *WorkspaceUpdatesRequest) ProtoReflect()protoreflect.Message
func (*WorkspaceUpdatesRequest)Reset¶added inv2.18.0
func (x *WorkspaceUpdatesRequest) Reset()
func (*WorkspaceUpdatesRequest)String¶added inv2.18.0
func (x *WorkspaceUpdatesRequest) String()string
typeWorkspace_Status¶added inv2.18.0
type Workspace_Statusint32
const (Workspace_UNKNOWNWorkspace_Status = 0Workspace_PENDINGWorkspace_Status = 1Workspace_STARTINGWorkspace_Status = 2Workspace_RUNNINGWorkspace_Status = 3Workspace_STOPPINGWorkspace_Status = 4Workspace_STOPPEDWorkspace_Status = 5Workspace_FAILEDWorkspace_Status = 6Workspace_CANCELINGWorkspace_Status = 7Workspace_CANCELEDWorkspace_Status = 8Workspace_DELETINGWorkspace_Status = 9Workspace_DELETEDWorkspace_Status = 10)
func (Workspace_Status)Descriptor¶added inv2.18.0
func (Workspace_Status) Descriptor()protoreflect.EnumDescriptor
func (Workspace_Status)Enum¶added inv2.18.0
func (xWorkspace_Status) Enum() *Workspace_Status
func (Workspace_Status)EnumDescriptordeprecatedadded inv2.18.0
func (Workspace_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Workspace_Status.Descriptor instead.
func (Workspace_Status)Number¶added inv2.18.0
func (xWorkspace_Status) Number()protoreflect.EnumNumber
func (Workspace_Status)String¶added inv2.18.0
func (xWorkspace_Status) String()string
func (Workspace_Status)Type¶added inv2.18.0
func (Workspace_Status) Type()protoreflect.EnumType