Movatterモバイル変換


[0]ホーム

URL:


proto

package
v2.23.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:15Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_tailnet_proto_tailnet_protoprotoreflect.FileDescriptor

Functions

funcDRPCRegisterTailnetadded inv2.7.0

func DRPCRegisterTailnet(muxdrpc.Mux, implDRPCTailnetServer)error

Types

typeAgentadded 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) Descriptor() ([]byte, []int)

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent)GetIdadded inv2.18.0

func (x *Agent) GetId() []byte

func (*Agent)GetNameadded inv2.18.0

func (x *Agent) GetName()string

func (*Agent)GetWorkspaceIdadded inv2.18.0

func (x *Agent) GetWorkspaceId() []byte

func (*Agent)ProtoMessageadded inv2.18.0

func (*Agent) ProtoMessage()

func (*Agent)ProtoReflectadded inv2.18.0

func (x *Agent) ProtoReflect()protoreflect.Message

func (*Agent)Resetadded inv2.18.0

func (x *Agent) Reset()

func (*Agent)Stringadded inv2.18.0

func (x *Agent) String()string

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 (*CoordinateRequest)GetDisconnect

func (*CoordinateRequest)GetReadyForHandshakeadded inv2.11.0

func (x *CoordinateRequest) GetReadyForHandshake() []*CoordinateRequest_ReadyForHandshake

func (*CoordinateRequest)GetRemoveTunnel

func (x *CoordinateRequest) GetRemoveTunnel() *CoordinateRequest_Tunnel

func (*CoordinateRequest)GetUpdateSelf

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 (*CoordinateRequest_Disconnect)Reset

func (*CoordinateRequest_Disconnect)String

typeCoordinateRequest_ReadyForHandshakeadded 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)GetIdadded inv2.11.0

func (*CoordinateRequest_ReadyForHandshake)ProtoMessageadded inv2.11.0

func (*CoordinateRequest_ReadyForHandshake)ProtoReflectadded inv2.11.0

func (*CoordinateRequest_ReadyForHandshake)Resetadded inv2.11.0

func (*CoordinateRequest_ReadyForHandshake)Stringadded inv2.11.0

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)GetIdadded inv2.6.0

func (x *CoordinateRequest_Tunnel) GetId() []byte

func (*CoordinateRequest_Tunnel)ProtoMessage

func (*CoordinateRequest_Tunnel) ProtoMessage()

func (*CoordinateRequest_Tunnel)ProtoReflect

func (*CoordinateRequest_Tunnel)Reset

func (x *CoordinateRequest_Tunnel) Reset()

func (*CoordinateRequest_Tunnel)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 (*CoordinateRequest_UpdateSelf)Reset

func (*CoordinateRequest_UpdateSelf)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)GetErroradded inv2.11.0

func (x *CoordinateResponse) GetError()string

func (*CoordinateResponse)GetPeerUpdates

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)GetIdadded inv2.6.0

func (*CoordinateResponse_PeerUpdate)GetKind

func (*CoordinateResponse_PeerUpdate)GetNode

func (x *CoordinateResponse_PeerUpdate) GetNode() *Node

func (*CoordinateResponse_PeerUpdate)GetReason

func (*CoordinateResponse_PeerUpdate)ProtoMessage

func (*CoordinateResponse_PeerUpdate) ProtoMessage()

func (*CoordinateResponse_PeerUpdate)ProtoReflect

func (*CoordinateResponse_PeerUpdate)Reset

func (*CoordinateResponse_PeerUpdate)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)Enum

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 (CoordinateResponse_PeerUpdate_Kind)String

func (CoordinateResponse_PeerUpdate_Kind)Type

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) Descriptor() ([]byte, []int)

Deprecated: Use DERPMap.ProtoReflect.Descriptor instead.

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

func (*DERPMap)Reset

func (x *DERPMap) Reset()

func (*DERPMap)String

func (x *DERPMap) String()string

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

typeDRPCTailnetClient20added 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.

typeDRPCTailnetClient21added 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).

typeDRPCTailnetClient22added 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+

typeDRPCTailnetClient23added inv2.18.0

DRPCTailnetClient23 is the Tailnet API at v2.3. It adds resume token and workspace updatessupport. Compatible with Coder v2.18+.

typeDRPCTailnetClient24added 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).

typeDRPCTailnetClient25added inv2.23.0

type DRPCTailnetClient25 interface {DRPCTailnetClient24}

DRPCTailnetClient25 is the Tailnet API at v2.5.

typeDRPCTailnetDescriptionadded inv2.7.0

type DRPCTailnetDescription struct{}

func (DRPCTailnetDescription)Methodadded inv2.7.0

func (DRPCTailnetDescription)NumMethodsadded inv2.7.0

func (DRPCTailnetDescription) NumMethods()int

typeDRPCTailnetUnimplementedServeradded inv2.7.0

type DRPCTailnetUnimplementedServer struct{}

func (*DRPCTailnetUnimplementedServer)Coordinateadded inv2.7.0

func (*DRPCTailnetUnimplementedServer)PostTelemetryadded inv2.13.0

func (*DRPCTailnetUnimplementedServer)RefreshResumeTokenadded inv2.15.0

func (*DRPCTailnetUnimplementedServer)StreamDERPMapsadded inv2.7.0

func (*DRPCTailnetUnimplementedServer)WorkspaceUpdatesadded inv2.18.0

typeDRPCTailnet_CoordinateClientadded inv2.7.0

type DRPCTailnet_CoordinateClient interface {drpc.StreamSend(*CoordinateRequest)errorRecv() (*CoordinateResponse,error)}

typeDRPCTailnet_CoordinateStreamadded inv2.7.0

type DRPCTailnet_CoordinateStream interface {drpc.StreamSend(*CoordinateResponse)errorRecv() (*CoordinateRequest,error)}

typeDRPCTailnet_PostTelemetryStreamadded inv2.13.0

type DRPCTailnet_PostTelemetryStream interface {drpc.StreamSendAndClose(*TelemetryResponse)error}

typeDRPCTailnet_RefreshResumeTokenStreamadded inv2.15.0

type DRPCTailnet_RefreshResumeTokenStream interface {drpc.StreamSendAndClose(*RefreshResumeTokenResponse)error}

typeDRPCTailnet_StreamDERPMapsClientadded inv2.7.0

type DRPCTailnet_StreamDERPMapsClient interface {drpc.StreamRecv() (*DERPMap,error)}

typeDRPCTailnet_StreamDERPMapsStreamadded inv2.7.0

type DRPCTailnet_StreamDERPMapsStream interface {drpc.StreamSend(*DERPMap)error}

typeDRPCTailnet_WorkspaceUpdatesClientadded inv2.18.0

type DRPCTailnet_WorkspaceUpdatesClient interface {drpc.StreamRecv() (*WorkspaceUpdate,error)}

typeDRPCTailnet_WorkspaceUpdatesStreamadded inv2.18.0

type DRPCTailnet_WorkspaceUpdatesStream interface {drpc.StreamSend(*WorkspaceUpdate)error}

typeIPFieldsadded 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) Descriptor() ([]byte, []int)

Deprecated: Use IPFields.ProtoReflect.Descriptor instead.

func (*IPFields)GetClassadded inv2.14.0

func (x *IPFields) GetClass()IPFields_IPClass

func (*IPFields)GetVersionadded inv2.14.0

func (x *IPFields) GetVersion()int32

func (*IPFields)ProtoMessageadded inv2.14.0

func (*IPFields) ProtoMessage()

func (*IPFields)ProtoReflectadded inv2.14.0

func (x *IPFields) ProtoReflect()protoreflect.Message

func (*IPFields)Resetadded inv2.14.0

func (x *IPFields) Reset()

func (*IPFields)Stringadded inv2.14.0

func (x *IPFields) String()string

typeIPFields_IPClassadded inv2.14.0

type IPFields_IPClassint32
const (IPFields_PUBLICIPFields_IPClass = 0IPFields_PRIVATEIPFields_IPClass = 1IPFields_LINK_LOCALIPFields_IPClass = 2IPFields_LOOPBACKIPFields_IPClass = 3)

func (IPFields_IPClass)Descriptoradded inv2.14.0

func (IPFields_IPClass)Enumadded inv2.14.0

func (IPFields_IPClass)EnumDescriptordeprecatedadded inv2.14.0

func (IPFields_IPClass) EnumDescriptor() ([]byte, []int)

Deprecated: Use IPFields_IPClass.Descriptor instead.

func (IPFields_IPClass)Numberadded inv2.14.0

func (IPFields_IPClass)Stringadded inv2.14.0

func (xIPFields_IPClass) String()string

func (IPFields_IPClass)Typeadded inv2.14.0

typeNetcheckadded 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) Descriptor() ([]byte, []int)

Deprecated: Use Netcheck.ProtoReflect.Descriptor instead.

func (*Netcheck)GetGlobalV4added inv2.13.0

func (x *Netcheck) GetGlobalV4() *Netcheck_NetcheckIP

func (*Netcheck)GetGlobalV6added inv2.13.0

func (x *Netcheck) GetGlobalV6() *Netcheck_NetcheckIP

func (*Netcheck)GetHairPinningadded inv2.13.0

func (x *Netcheck) GetHairPinning() *wrapperspb.BoolValue

func (*Netcheck)GetICMPv4added inv2.13.0

func (x *Netcheck) GetICMPv4()bool

func (*Netcheck)GetIPv4added inv2.13.0

func (x *Netcheck) GetIPv4()bool

func (*Netcheck)GetIPv4CanSendadded inv2.13.0

func (x *Netcheck) GetIPv4CanSend()bool

func (*Netcheck)GetIPv6added inv2.13.0

func (x *Netcheck) GetIPv6()bool

func (*Netcheck)GetIPv6CanSendadded inv2.13.0

func (x *Netcheck) GetIPv6CanSend()bool

func (*Netcheck)GetMappingVariesByDestIPadded inv2.13.0

func (x *Netcheck) GetMappingVariesByDestIP() *wrapperspb.BoolValue

func (*Netcheck)GetOSHasIPv6added inv2.13.0

func (x *Netcheck) GetOSHasIPv6() *wrapperspb.BoolValue

func (*Netcheck)GetPCPadded inv2.13.0

func (x *Netcheck) GetPCP() *wrapperspb.BoolValue

func (*Netcheck)GetPMPadded inv2.13.0

func (x *Netcheck) GetPMP() *wrapperspb.BoolValue

func (*Netcheck)GetPreferredDERPadded inv2.13.0

func (x *Netcheck) GetPreferredDERP()int64

func (*Netcheck)GetRegionV4Latencyadded inv2.13.0

func (x *Netcheck) GetRegionV4Latency() map[int64]*durationpb.Duration

func (*Netcheck)GetRegionV6Latencyadded inv2.13.0

func (x *Netcheck) GetRegionV6Latency() map[int64]*durationpb.Duration

func (*Netcheck)GetUDPadded inv2.13.0

func (x *Netcheck) GetUDP()bool

func (*Netcheck)GetUPnPadded inv2.13.0

func (x *Netcheck) GetUPnP() *wrapperspb.BoolValue

func (*Netcheck)ProtoMessageadded inv2.13.0

func (*Netcheck) ProtoMessage()

func (*Netcheck)ProtoReflectadded inv2.13.0

func (x *Netcheck) ProtoReflect()protoreflect.Message

func (*Netcheck)Resetadded inv2.13.0

func (x *Netcheck) Reset()

func (*Netcheck)Stringadded inv2.13.0

func (x *Netcheck) String()string

typeNetcheck_NetcheckIPadded 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)GetFieldsadded inv2.14.0

func (x *Netcheck_NetcheckIP) GetFields() *IPFields

func (*Netcheck_NetcheckIP)GetHashadded inv2.14.0

func (x *Netcheck_NetcheckIP) GetHash()string

func (*Netcheck_NetcheckIP)ProtoMessageadded inv2.14.0

func (*Netcheck_NetcheckIP) ProtoMessage()

func (*Netcheck_NetcheckIP)ProtoReflectadded inv2.14.0

func (x *Netcheck_NetcheckIP) ProtoReflect()protoreflect.Message

func (*Netcheck_NetcheckIP)Resetadded inv2.14.0

func (x *Netcheck_NetcheckIP) Reset()

func (*Netcheck_NetcheckIP)Stringadded 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) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node)Equaladded inv2.5.0

func (s *Node) Equal(o *Node) (bool,error)

Equal returns true if the nodes have the same contents

func (*Node)GetAddresses

func (x *Node) GetAddresses() []string

func (*Node)GetAllowedIps

func (x *Node) GetAllowedIps() []string

func (*Node)GetAsOf

func (x *Node) GetAsOf() *timestamppb.Timestamp

func (*Node)GetDerpForcedWebsocket

func (x *Node) GetDerpForcedWebsocket() map[int32]string

func (*Node)GetDerpLatency

func (x *Node) GetDerpLatency() map[string]float64

func (*Node)GetDisco

func (x *Node) GetDisco()string

func (*Node)GetEndpoints

func (x *Node) GetEndpoints() []string

func (*Node)GetId

func (x *Node) GetId()int64

func (*Node)GetKey

func (x *Node) GetKey() []byte

func (*Node)GetPreferredDerp

func (x *Node) GetPreferredDerp()int32

func (*Node)ProtoMessage

func (*Node) ProtoMessage()

func (*Node)ProtoReflect

func (x *Node) ProtoReflect()protoreflect.Message

func (*Node)Reset

func (x *Node) Reset()

func (*Node)String

func (x *Node) String()string

typeRefreshResumeTokenRequestadded 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)ProtoMessageadded inv2.15.0

func (*RefreshResumeTokenRequest) ProtoMessage()

func (*RefreshResumeTokenRequest)ProtoReflectadded inv2.15.0

func (*RefreshResumeTokenRequest)Resetadded inv2.15.0

func (x *RefreshResumeTokenRequest) Reset()

func (*RefreshResumeTokenRequest)Stringadded inv2.15.0

typeRefreshResumeTokenResponseadded 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)GetExpiresAtadded inv2.15.0

func (*RefreshResumeTokenResponse)GetRefreshInadded inv2.15.0

func (*RefreshResumeTokenResponse)GetTokenadded inv2.15.0

func (*RefreshResumeTokenResponse)ProtoMessageadded inv2.15.0

func (*RefreshResumeTokenResponse) ProtoMessage()

func (*RefreshResumeTokenResponse)ProtoReflectadded inv2.15.0

func (*RefreshResumeTokenResponse)Resetadded inv2.15.0

func (x *RefreshResumeTokenResponse) Reset()

func (*RefreshResumeTokenResponse)Stringadded inv2.15.0

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 (*StreamDERPMapsRequest)Reset

func (x *StreamDERPMapsRequest) Reset()

func (*StreamDERPMapsRequest)String

func (x *StreamDERPMapsRequest) String()string

typeTelemetryEventadded 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)GetApplicationadded inv2.13.0

func (x *TelemetryEvent) GetApplication()string

func (*TelemetryEvent)GetClientTypeadded inv2.13.0

func (x *TelemetryEvent) GetClientType()TelemetryEvent_ClientType

func (*TelemetryEvent)GetClientVersionadded inv2.14.0

func (x *TelemetryEvent) GetClientVersion()string

func (*TelemetryEvent)GetConnectionAgeadded inv2.13.0

func (x *TelemetryEvent) GetConnectionAge() *durationpb.Duration

func (*TelemetryEvent)GetConnectionSetupadded inv2.13.0

func (x *TelemetryEvent) GetConnectionSetup() *durationpb.Duration

func (*TelemetryEvent)GetDerpLatencyadded inv2.13.0

func (x *TelemetryEvent) GetDerpLatency() *durationpb.Duration

func (*TelemetryEvent)GetDerpMapadded inv2.13.0

func (x *TelemetryEvent) GetDerpMap() *DERPMap

func (*TelemetryEvent)GetHomeDerpadded inv2.13.0

func (x *TelemetryEvent) GetHomeDerp()int32

func (*TelemetryEvent)GetIdadded inv2.13.0

func (x *TelemetryEvent) GetId() []byte

func (*TelemetryEvent)GetLatestNetcheckadded inv2.13.0

func (x *TelemetryEvent) GetLatestNetcheck() *Netcheck

func (*TelemetryEvent)GetNodeIdRemoteadded inv2.13.0

func (x *TelemetryEvent) GetNodeIdRemote()uint64

func (*TelemetryEvent)GetNodeIdSelfadded inv2.13.0

func (x *TelemetryEvent) GetNodeIdSelf()uint64

func (*TelemetryEvent)GetP2PEndpointadded inv2.13.0

func (x *TelemetryEvent) GetP2PEndpoint() *TelemetryEvent_P2PEndpoint

func (*TelemetryEvent)GetP2PLatencyadded inv2.13.0

func (x *TelemetryEvent) GetP2PLatency() *durationpb.Duration

func (*TelemetryEvent)GetP2PSetupadded inv2.13.0

func (x *TelemetryEvent) GetP2PSetup() *durationpb.Duration

func (*TelemetryEvent)GetStatusadded inv2.13.0

func (*TelemetryEvent)GetThroughputMbitsadded inv2.13.0

func (x *TelemetryEvent) GetThroughputMbits() *wrapperspb.FloatValue

func (*TelemetryEvent)GetTimeadded inv2.13.0

func (x *TelemetryEvent) GetTime() *timestamppb.Timestamp

func (*TelemetryEvent)ProtoMessageadded inv2.13.0

func (*TelemetryEvent) ProtoMessage()

func (*TelemetryEvent)ProtoReflectadded inv2.13.0

func (x *TelemetryEvent) ProtoReflect()protoreflect.Message

func (*TelemetryEvent)Resetadded inv2.13.0

func (x *TelemetryEvent) Reset()

func (*TelemetryEvent)Stringadded inv2.13.0

func (x *TelemetryEvent) String()string

typeTelemetryEvent_ClientTypeadded inv2.13.0

type TelemetryEvent_ClientTypeint32
const (TelemetryEvent_CLITelemetryEvent_ClientType = 0TelemetryEvent_AGENTTelemetryEvent_ClientType = 1TelemetryEvent_CODERDTelemetryEvent_ClientType = 2TelemetryEvent_WSPROXYTelemetryEvent_ClientType = 3)

func (TelemetryEvent_ClientType)Descriptoradded inv2.13.0

func (TelemetryEvent_ClientType)Enumadded inv2.13.0

func (TelemetryEvent_ClientType)EnumDescriptordeprecatedadded inv2.13.0

func (TelemetryEvent_ClientType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TelemetryEvent_ClientType.Descriptor instead.

func (TelemetryEvent_ClientType)Numberadded inv2.13.0

func (TelemetryEvent_ClientType)Stringadded inv2.13.0

func (TelemetryEvent_ClientType)Typeadded inv2.13.0

typeTelemetryEvent_P2PEndpointadded 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)GetFieldsadded inv2.13.0

func (x *TelemetryEvent_P2PEndpoint) GetFields() *IPFields

func (*TelemetryEvent_P2PEndpoint)GetHashadded inv2.13.0

func (*TelemetryEvent_P2PEndpoint)GetPortadded inv2.13.0

func (*TelemetryEvent_P2PEndpoint)ProtoMessageadded inv2.13.0

func (*TelemetryEvent_P2PEndpoint) ProtoMessage()

func (*TelemetryEvent_P2PEndpoint)ProtoReflectadded inv2.13.0

func (*TelemetryEvent_P2PEndpoint)Resetadded inv2.13.0

func (x *TelemetryEvent_P2PEndpoint) Reset()

func (*TelemetryEvent_P2PEndpoint)Stringadded inv2.13.0

typeTelemetryEvent_Statusadded inv2.13.0

type TelemetryEvent_Statusint32
const (TelemetryEvent_CONNECTEDTelemetryEvent_Status = 0TelemetryEvent_DISCONNECTEDTelemetryEvent_Status = 1)

func (TelemetryEvent_Status)Descriptoradded inv2.13.0

func (TelemetryEvent_Status)Enumadded inv2.13.0

func (TelemetryEvent_Status)EnumDescriptordeprecatedadded inv2.13.0

func (TelemetryEvent_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use TelemetryEvent_Status.Descriptor instead.

func (TelemetryEvent_Status)Numberadded inv2.13.0

func (TelemetryEvent_Status)Stringadded inv2.13.0

func (TelemetryEvent_Status)Typeadded inv2.13.0

typeTelemetryRequestadded 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)GetEventsadded inv2.13.0

func (x *TelemetryRequest) GetEvents() []*TelemetryEvent

func (*TelemetryRequest)ProtoMessageadded inv2.13.0

func (*TelemetryRequest) ProtoMessage()

func (*TelemetryRequest)ProtoReflectadded inv2.13.0

func (x *TelemetryRequest) ProtoReflect()protoreflect.Message

func (*TelemetryRequest)Resetadded inv2.13.0

func (x *TelemetryRequest) Reset()

func (*TelemetryRequest)Stringadded inv2.13.0

func (x *TelemetryRequest) String()string

typeTelemetryResponseadded 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)ProtoMessageadded inv2.13.0

func (*TelemetryResponse) ProtoMessage()

func (*TelemetryResponse)ProtoReflectadded inv2.13.0

func (x *TelemetryResponse) ProtoReflect()protoreflect.Message

func (*TelemetryResponse)Resetadded inv2.13.0

func (x *TelemetryResponse) Reset()

func (*TelemetryResponse)Stringadded inv2.13.0

func (x *TelemetryResponse) String()string

typeWorkspaceadded 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) Descriptor() ([]byte, []int)

Deprecated: Use Workspace.ProtoReflect.Descriptor instead.

func (*Workspace)GetIdadded inv2.18.0

func (x *Workspace) GetId() []byte

func (*Workspace)GetNameadded inv2.18.0

func (x *Workspace) GetName()string

func (*Workspace)GetStatusadded inv2.18.0

func (x *Workspace) GetStatus()Workspace_Status

func (*Workspace)ProtoMessageadded inv2.18.0

func (*Workspace) ProtoMessage()

func (*Workspace)ProtoReflectadded inv2.18.0

func (x *Workspace) ProtoReflect()protoreflect.Message

func (*Workspace)Resetadded inv2.18.0

func (x *Workspace) Reset()

func (*Workspace)Stringadded inv2.18.0

func (x *Workspace) String()string

typeWorkspaceUpdateadded 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)GetDeletedAgentsadded inv2.18.0

func (x *WorkspaceUpdate) GetDeletedAgents() []*Agent

func (*WorkspaceUpdate)GetDeletedWorkspacesadded inv2.18.0

func (x *WorkspaceUpdate) GetDeletedWorkspaces() []*Workspace

func (*WorkspaceUpdate)GetUpsertedAgentsadded inv2.18.0

func (x *WorkspaceUpdate) GetUpsertedAgents() []*Agent

func (*WorkspaceUpdate)GetUpsertedWorkspacesadded inv2.18.0

func (x *WorkspaceUpdate) GetUpsertedWorkspaces() []*Workspace

func (*WorkspaceUpdate)ProtoMessageadded inv2.18.0

func (*WorkspaceUpdate) ProtoMessage()

func (*WorkspaceUpdate)ProtoReflectadded inv2.18.0

func (x *WorkspaceUpdate) ProtoReflect()protoreflect.Message

func (*WorkspaceUpdate)Resetadded inv2.18.0

func (x *WorkspaceUpdate) Reset()

func (*WorkspaceUpdate)Stringadded inv2.18.0

func (x *WorkspaceUpdate) String()string

typeWorkspaceUpdatesRequestadded 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)GetWorkspaceOwnerIdadded inv2.18.0

func (x *WorkspaceUpdatesRequest) GetWorkspaceOwnerId() []byte

func (*WorkspaceUpdatesRequest)ProtoMessageadded inv2.18.0

func (*WorkspaceUpdatesRequest) ProtoMessage()

func (*WorkspaceUpdatesRequest)ProtoReflectadded inv2.18.0

func (*WorkspaceUpdatesRequest)Resetadded inv2.18.0

func (x *WorkspaceUpdatesRequest) Reset()

func (*WorkspaceUpdatesRequest)Stringadded inv2.18.0

typeWorkspace_Statusadded 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)Descriptoradded inv2.18.0

func (Workspace_Status)Enumadded inv2.18.0

func (Workspace_Status)EnumDescriptordeprecatedadded inv2.18.0

func (Workspace_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Workspace_Status.Descriptor instead.

func (Workspace_Status)Numberadded inv2.18.0

func (Workspace_Status)Stringadded inv2.18.0

func (xWorkspace_Status) String()string

func (Workspace_Status)Typeadded inv2.18.0

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp