Documentation
¶
Index ¶
- Constants
- Variables
- func NewClientAuthStreamInterceptor(secret string) grpc.StreamClientInterceptor
- func NewClientAuthUnaryInterceptor(secret string) grpc.UnaryClientInterceptor
- func NewRemoteClient(options RemoteClientOptions) (*grpc.ClientConn, error)
- func NewServer(startedService *StartedService, secret string) *grpc.Server
- func RegisterManagedServiceServer(s grpc.ServiceRegistrar, srv ManagedServiceServer)
- func RegisterStartedServiceServer(s grpc.ServiceRegistrar, srv StartedServiceServer)
- func StreamErrorInterceptor(server any, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) error
- func UnaryErrorInterceptor(ctx context.Context, request any, info *grpc.UnaryServerInfo, ...) (any, error)
- type ClashMode
- type ClashModeStatus
- func (*ClashModeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ClashModeStatus) GetCurrentMode() string
- func (x *ClashModeStatus) GetModeList() []string
- func (*ClashModeStatus) ProtoMessage()
- func (x *ClashModeStatus) ProtoReflect() protoreflect.Message
- func (x *ClashModeStatus) Reset()
- func (x *ClashModeStatus) String() string
- type CloseConnectionRequest
- func (*CloseConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseConnectionRequest) GetId() string
- func (*CloseConnectionRequest) ProtoMessage()
- func (x *CloseConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *CloseConnectionRequest) Reset()
- func (x *CloseConnectionRequest) String() string
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetChainList() []string
- func (x *Connection) GetClosedAt() int64
- func (x *Connection) GetCreatedAt() int64
- func (x *Connection) GetDestination() string
- func (x *Connection) GetDomain() string
- func (x *Connection) GetDownlink() int64
- func (x *Connection) GetDownlinkTotal() int64
- func (x *Connection) GetFromOutbound() string
- func (x *Connection) GetId() string
- func (x *Connection) GetInbound() string
- func (x *Connection) GetInboundType() string
- func (x *Connection) GetIpVersion() int32
- func (x *Connection) GetNetwork() string
- func (x *Connection) GetOutbound() string
- func (x *Connection) GetOutboundType() string
- func (x *Connection) GetProcessInfo() *ProcessInfo
- func (x *Connection) GetProtocol() string
- func (x *Connection) GetRule() string
- func (x *Connection) GetSource() string
- func (x *Connection) GetUplink() int64
- func (x *Connection) GetUplinkTotal() int64
- func (x *Connection) GetUser() string
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type ConnectionEvent
- func (*ConnectionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionEvent) GetClosedAt() int64
- func (x *ConnectionEvent) GetConnection() *Connection
- func (x *ConnectionEvent) GetDownlinkDelta() int64
- func (x *ConnectionEvent) GetId() string
- func (x *ConnectionEvent) GetType() ConnectionEventType
- func (x *ConnectionEvent) GetUplinkDelta() int64
- func (*ConnectionEvent) ProtoMessage()
- func (x *ConnectionEvent) ProtoReflect() protoreflect.Message
- func (x *ConnectionEvent) Reset()
- func (x *ConnectionEvent) String() string
- type ConnectionEventType
- func (ConnectionEventType) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectionEventType) Enum() *ConnectionEventType
- func (ConnectionEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectionEventType) Number() protoreflect.EnumNumber
- func (x ConnectionEventType) String() string
- func (ConnectionEventType) Type() protoreflect.EnumType
- type ConnectionEvents
- func (*ConnectionEvents) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionEvents) GetEvents() []*ConnectionEvent
- func (x *ConnectionEvents) GetReset_() bool
- func (*ConnectionEvents) ProtoMessage()
- func (x *ConnectionEvents) ProtoReflect() protoreflect.Message
- func (x *ConnectionEvents) Reset()
- func (x *ConnectionEvents) String() string
- type DebugCrashRequest
- func (*DebugCrashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugCrashRequest) GetType() DebugCrashRequest_Type
- func (*DebugCrashRequest) ProtoMessage()
- func (x *DebugCrashRequest) ProtoReflect() protoreflect.Message
- func (x *DebugCrashRequest) Reset()
- func (x *DebugCrashRequest) String() string
- type DebugCrashRequest_Type
- func (DebugCrashRequest_Type) Descriptor() protoreflect.EnumDescriptor
- func (x DebugCrashRequest_Type) Enum() *DebugCrashRequest_Type
- func (DebugCrashRequest_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x DebugCrashRequest_Type) Number() protoreflect.EnumNumber
- func (x DebugCrashRequest_Type) String() string
- func (DebugCrashRequest_Type) Type() protoreflect.EnumType
- type DefaultLogLevel
- type DeprecatedWarning
- func (*DeprecatedWarning) Descriptor() ([]byte, []int)deprecated
- func (x *DeprecatedWarning) GetDeprecatedVersion() string
- func (x *DeprecatedWarning) GetDescription() string
- func (x *DeprecatedWarning) GetImpending() bool
- func (x *DeprecatedWarning) GetMessage() string
- func (x *DeprecatedWarning) GetMigrationLink() string
- func (x *DeprecatedWarning) GetScheduledVersion() string
- func (*DeprecatedWarning) ProtoMessage()
- func (x *DeprecatedWarning) ProtoReflect() protoreflect.Message
- func (x *DeprecatedWarning) Reset()
- func (x *DeprecatedWarning) String() string
- type DeprecatedWarnings
- func (*DeprecatedWarnings) Descriptor() ([]byte, []int)deprecated
- func (x *DeprecatedWarnings) GetWarnings() []*DeprecatedWarning
- func (*DeprecatedWarnings) ProtoMessage()
- func (x *DeprecatedWarnings) ProtoReflect() protoreflect.Message
- func (x *DeprecatedWarnings) Reset()
- func (x *DeprecatedWarnings) String() string
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetIsExpand() bool
- func (x *Group) GetItems() []*GroupItem
- func (x *Group) GetSelectable() bool
- func (x *Group) GetSelected() string
- func (x *Group) GetTag() string
- func (x *Group) GetType() string
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- type GroupItem
- func (*GroupItem) Descriptor() ([]byte, []int)deprecated
- func (x *GroupItem) GetTag() string
- func (x *GroupItem) GetType() string
- func (x *GroupItem) GetUrlTestDelay() int32
- func (x *GroupItem) GetUrlTestTime() int64
- func (*GroupItem) ProtoMessage()
- func (x *GroupItem) ProtoReflect() protoreflect.Message
- func (x *GroupItem) Reset()
- func (x *GroupItem) String() string
- type Groups
- type Instance
- type Log
- type LogLevel
- type Log_Message
- func (*Log_Message) Descriptor() ([]byte, []int)deprecated
- func (x *Log_Message) GetLevel() LogLevel
- func (x *Log_Message) GetMessage() string
- func (*Log_Message) ProtoMessage()
- func (x *Log_Message) ProtoReflect() protoreflect.Message
- func (x *Log_Message) Reset()
- func (x *Log_Message) String() string
- type ManagedHandler
- type ManagedService
- func (s *ManagedService) GetSystemProxyStatus(ctx context.Context, empty *emptypb.Empty) (*SystemProxyStatus, error)
- func (s *ManagedService) ReloadService(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *ManagedService) SetSystemProxyEnabled(ctx context.Context, request *SetSystemProxyEnabledRequest) (*emptypb.Empty, error)
- func (s *ManagedService) StopService(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *ManagedService) TriggerDebugCrash(ctx context.Context, request *DebugCrashRequest) (*emptypb.Empty, error)
- func (s *ManagedService) TriggerOOMReport(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- type ManagedServiceClient
- type ManagedServiceOptions
- type ManagedServiceServer
- type NetworkQualityTestProgress
- func (*NetworkQualityTestProgress) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkQualityTestProgress) GetDownloadCapacity() int64
- func (x *NetworkQualityTestProgress) GetDownloadCapacityAccuracy() int32
- func (x *NetworkQualityTestProgress) GetDownloadRPM() int32
- func (x *NetworkQualityTestProgress) GetDownloadRPMAccuracy() int32
- func (x *NetworkQualityTestProgress) GetElapsedMs() int64
- func (x *NetworkQualityTestProgress) GetError() string
- func (x *NetworkQualityTestProgress) GetIdleLatencyMs() int32
- func (x *NetworkQualityTestProgress) GetIsFinal() bool
- func (x *NetworkQualityTestProgress) GetPhase() int32
- func (x *NetworkQualityTestProgress) GetUploadCapacity() int64
- func (x *NetworkQualityTestProgress) GetUploadCapacityAccuracy() int32
- func (x *NetworkQualityTestProgress) GetUploadRPM() int32
- func (x *NetworkQualityTestProgress) GetUploadRPMAccuracy() int32
- func (*NetworkQualityTestProgress) ProtoMessage()
- func (x *NetworkQualityTestProgress) ProtoReflect() protoreflect.Message
- func (x *NetworkQualityTestProgress) Reset()
- func (x *NetworkQualityTestProgress) String() string
- type NetworkQualityTestRequest
- func (*NetworkQualityTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkQualityTestRequest) GetConfigURL() string
- func (x *NetworkQualityTestRequest) GetHttp3() bool
- func (x *NetworkQualityTestRequest) GetMaxRuntimeSeconds() int32
- func (x *NetworkQualityTestRequest) GetOutboundTag() string
- func (x *NetworkQualityTestRequest) GetSerial() bool
- func (*NetworkQualityTestRequest) ProtoMessage()
- func (x *NetworkQualityTestRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkQualityTestRequest) Reset()
- func (x *NetworkQualityTestRequest) String() string
- type OutboundList
- type OverrideOptions
- type PlatformHandler
- type ProcessInfo
- func (*ProcessInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessInfo) GetPackageNames() []string
- func (x *ProcessInfo) GetProcessId() uint32
- func (x *ProcessInfo) GetProcessPath() string
- func (x *ProcessInfo) GetUserId() int32
- func (x *ProcessInfo) GetUserName() string
- func (*ProcessInfo) ProtoMessage()
- func (x *ProcessInfo) ProtoReflect() protoreflect.Message
- func (x *ProcessInfo) Reset()
- func (x *ProcessInfo) String() string
- type RemoteClientOptions
- type STUNTestProgress
- func (*STUNTestProgress) Descriptor() ([]byte, []int)deprecated
- func (x *STUNTestProgress) GetError() string
- func (x *STUNTestProgress) GetExternalAddr() string
- func (x *STUNTestProgress) GetIsFinal() bool
- func (x *STUNTestProgress) GetLatencyMs() int32
- func (x *STUNTestProgress) GetNatFiltering() int32
- func (x *STUNTestProgress) GetNatMapping() int32
- func (x *STUNTestProgress) GetNatTypeSupported() bool
- func (x *STUNTestProgress) GetPhase() int32
- func (*STUNTestProgress) ProtoMessage()
- func (x *STUNTestProgress) ProtoReflect() protoreflect.Message
- func (x *STUNTestProgress) Reset()
- func (x *STUNTestProgress) String() string
- type STUNTestRequest
- func (*STUNTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *STUNTestRequest) GetOutboundTag() string
- func (x *STUNTestRequest) GetServer() string
- func (*STUNTestRequest) ProtoMessage()
- func (x *STUNTestRequest) ProtoReflect() protoreflect.Message
- func (x *STUNTestRequest) Reset()
- func (x *STUNTestRequest) String() string
- type SelectOutboundRequest
- func (*SelectOutboundRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectOutboundRequest) GetGroupTag() string
- func (x *SelectOutboundRequest) GetOutboundTag() string
- func (*SelectOutboundRequest) ProtoMessage()
- func (x *SelectOutboundRequest) ProtoReflect() protoreflect.Message
- func (x *SelectOutboundRequest) Reset()
- func (x *SelectOutboundRequest) String() string
- type ServiceOptions
- type ServiceStatus
- func (*ServiceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceStatus) GetErrorMessage() string
- func (x *ServiceStatus) GetStatus() ServiceStatus_Type
- func (*ServiceStatus) ProtoMessage()
- func (x *ServiceStatus) ProtoReflect() protoreflect.Message
- func (x *ServiceStatus) Reset()
- func (x *ServiceStatus) String() string
- type ServiceStatus_Type
- func (ServiceStatus_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceStatus_Type) Enum() *ServiceStatus_Type
- func (ServiceStatus_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServiceStatus_Type) Number() protoreflect.EnumNumber
- func (x ServiceStatus_Type) String() string
- func (ServiceStatus_Type) Type() protoreflect.EnumType
- type SetGroupExpandRequest
- func (*SetGroupExpandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetGroupExpandRequest) GetGroupTag() string
- func (x *SetGroupExpandRequest) GetIsExpand() bool
- func (*SetGroupExpandRequest) ProtoMessage()
- func (x *SetGroupExpandRequest) ProtoReflect() protoreflect.Message
- func (x *SetGroupExpandRequest) Reset()
- func (x *SetGroupExpandRequest) String() string
- type SetSystemProxyEnabledRequest
- func (*SetSystemProxyEnabledRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSystemProxyEnabledRequest) GetEnabled() bool
- func (*SetSystemProxyEnabledRequest) ProtoMessage()
- func (x *SetSystemProxyEnabledRequest) ProtoReflect() protoreflect.Message
- func (x *SetSystemProxyEnabledRequest) Reset()
- func (x *SetSystemProxyEnabledRequest) String() string
- type SetTailscaleExitNodeRequest
- func (*SetTailscaleExitNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetTailscaleExitNodeRequest) GetEndpointTag() string
- func (x *SetTailscaleExitNodeRequest) GetStableID() string
- func (*SetTailscaleExitNodeRequest) ProtoMessage()
- func (x *SetTailscaleExitNodeRequest) ProtoReflect() protoreflect.Message
- func (x *SetTailscaleExitNodeRequest) Reset()
- func (x *SetTailscaleExitNodeRequest) String() string
- type StartedAt
- type StartedService
- func (s *StartedService) CheckConfig(configContent string) error
- func (s *StartedService) ClearLogs(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *StartedService) Close()
- func (s *StartedService) CloseAllConnections(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *StartedService) CloseConnection(ctx context.Context, request *CloseConnectionRequest) (*emptypb.Empty, error)
- func (s *StartedService) CloseService() error
- func (s *StartedService) FormatConfig(configContent string) (string, error)
- func (s *StartedService) GetClashModeStatus(ctx context.Context, empty *emptypb.Empty) (*ClashModeStatus, error)
- func (s *StartedService) GetDefaultLogLevel(ctx context.Context, empty *emptypb.Empty) (*DefaultLogLevel, error)
- func (s *StartedService) GetDeprecatedWarnings(ctx context.Context, empty *emptypb.Empty) (*DeprecatedWarnings, error)
- func (s *StartedService) GetStartedAt(ctx context.Context, empty *emptypb.Empty) (*StartedAt, error)
- func (s *StartedService) GetVersion(ctx context.Context, empty *emptypb.Empty) (*Version, error)
- func (s *StartedService) Instance() *Instance
- func (s *StartedService) ProvideUSBDevices(server grpc.BidiStreamingServer[USBProviderMessage, USBServerMessage]) error
- func (s *StartedService) SelectOutbound(ctx context.Context, request *SelectOutboundRequest) (*emptypb.Empty, error)
- func (s *StartedService) SetClashMode(ctx context.Context, request *ClashMode) (*emptypb.Empty, error)
- func (s *StartedService) SetError(err error)
- func (s *StartedService) SetGroupExpand(ctx context.Context, request *SetGroupExpandRequest) (*emptypb.Empty, error)
- func (s *StartedService) SetTailscaleExitNode(ctx context.Context, request *SetTailscaleExitNodeRequest) (*emptypb.Empty, error)
- func (s *StartedService) StartNetworkQualityTest(request *NetworkQualityTestRequest, ...) error
- func (s *StartedService) StartOrReloadService(profileContent string, options *OverrideOptions) error
- func (s *StartedService) StartSTUNTest(request *STUNTestRequest, server grpc.ServerStreamingServer[STUNTestProgress]) error
- func (s *StartedService) StartTailscalePing(request *TailscalePingRequest, ...) error
- func (s *StartedService) StartTailscaleSSHSession(...) error
- func (s *StartedService) SubscribeClashMode(empty *emptypb.Empty, server grpc.ServerStreamingServer[ClashMode]) error
- func (s *StartedService) SubscribeConnections(request *SubscribeConnectionsRequest, ...) error
- func (s *StartedService) SubscribeGroups(empty *emptypb.Empty, server grpc.ServerStreamingServer[Groups]) error
- func (s *StartedService) SubscribeLog(empty *emptypb.Empty, server grpc.ServerStreamingServer[Log]) error
- func (s *StartedService) SubscribeOutbounds(_ *emptypb.Empty, server grpc.ServerStreamingServer[OutboundList]) error
- func (s *StartedService) SubscribeServiceStatus(empty *emptypb.Empty, server grpc.ServerStreamingServer[ServiceStatus]) error
- func (s *StartedService) SubscribeStatus(request *SubscribeStatusRequest, server grpc.ServerStreamingServer[Status]) error
- func (s *StartedService) SubscribeTailscaleStatus(_ *emptypb.Empty, server grpc.ServerStreamingServer[TailscaleStatusUpdate]) error
- func (s *StartedService) SubscribeUSBIPServerStatus(_ *emptypb.Empty, server grpc.ServerStreamingServer[USBIPServerStatusUpdate]) error
- func (s *StartedService) TailscaleLogout(ctx context.Context, request *TailscaleLogoutRequest) (*emptypb.Empty, error)
- func (s *StartedService) URLTest(ctx context.Context, request *URLTestRequest) (*emptypb.Empty, error)
- func (s *StartedService) WriteMessage(level log.Level, message string)
- type StartedServiceClient
- type StartedServiceServer
- type StartedService_ProvideUSBDevicesClient
- type StartedService_ProvideUSBDevicesServer
- type StartedService_StartNetworkQualityTestClient
- type StartedService_StartNetworkQualityTestServer
- type StartedService_StartSTUNTestClient
- type StartedService_StartSTUNTestServer
- type StartedService_StartTailscalePingClient
- type StartedService_StartTailscalePingServer
- type StartedService_StartTailscaleSSHSessionClient
- type StartedService_StartTailscaleSSHSessionServer
- type StartedService_SubscribeClashModeClient
- type StartedService_SubscribeClashModeServer
- type StartedService_SubscribeConnectionsClient
- type StartedService_SubscribeConnectionsServer
- type StartedService_SubscribeGroupsClient
- type StartedService_SubscribeGroupsServer
- type StartedService_SubscribeLogClient
- type StartedService_SubscribeLogServer
- type StartedService_SubscribeOutboundsClient
- type StartedService_SubscribeOutboundsServer
- type StartedService_SubscribeServiceStatusClient
- type StartedService_SubscribeServiceStatusServer
- type StartedService_SubscribeStatusClient
- type StartedService_SubscribeStatusServer
- type StartedService_SubscribeTailscaleStatusClient
- type StartedService_SubscribeTailscaleStatusServer
- type StartedService_SubscribeUSBIPServerStatusClient
- type StartedService_SubscribeUSBIPServerStatusServer
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetConnectionsIn() int32
- func (x *Status) GetConnectionsOut() int32
- func (x *Status) GetDownlink() int64
- func (x *Status) GetDownlinkTotal() int64
- func (x *Status) GetGoroutines() int32
- func (x *Status) GetMemory() uint64
- func (x *Status) GetTrafficAvailable() bool
- func (x *Status) GetUplink() int64
- func (x *Status) GetUplinkTotal() int64
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type SubscribeConnectionsRequest
- func (*SubscribeConnectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeConnectionsRequest) GetInterval() int64
- func (*SubscribeConnectionsRequest) ProtoMessage()
- func (x *SubscribeConnectionsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeConnectionsRequest) Reset()
- func (x *SubscribeConnectionsRequest) String() string
- type SubscribeStatusRequest
- func (*SubscribeStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeStatusRequest) GetInterval() int64
- func (*SubscribeStatusRequest) ProtoMessage()
- func (x *SubscribeStatusRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeStatusRequest) Reset()
- func (x *SubscribeStatusRequest) String() string
- type SystemProxyStatus
- func (*SystemProxyStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SystemProxyStatus) GetAvailable() bool
- func (x *SystemProxyStatus) GetEnabled() bool
- func (*SystemProxyStatus) ProtoMessage()
- func (x *SystemProxyStatus) ProtoReflect() protoreflect.Message
- func (x *SystemProxyStatus) Reset()
- func (x *SystemProxyStatus) String() string
- type TailscaleEndpointStatus
- func (*TailscaleEndpointStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleEndpointStatus) GetAuthURL() string
- func (x *TailscaleEndpointStatus) GetBackendState() string
- func (x *TailscaleEndpointStatus) GetEndpointTag() string
- func (x *TailscaleEndpointStatus) GetExitNode() *TailscalePeer
- func (x *TailscaleEndpointStatus) GetKeyAuth() bool
- func (x *TailscaleEndpointStatus) GetMagicDNSSuffix() string
- func (x *TailscaleEndpointStatus) GetNetworkName() string
- func (x *TailscaleEndpointStatus) GetSelf() *TailscalePeer
- func (x *TailscaleEndpointStatus) GetUserGroups() []*TailscaleUserGroup
- func (*TailscaleEndpointStatus) ProtoMessage()
- func (x *TailscaleEndpointStatus) ProtoReflect() protoreflect.Message
- func (x *TailscaleEndpointStatus) Reset()
- func (x *TailscaleEndpointStatus) String() string
- type TailscaleLogoutRequest
- func (*TailscaleLogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleLogoutRequest) GetEndpointTag() string
- func (*TailscaleLogoutRequest) ProtoMessage()
- func (x *TailscaleLogoutRequest) ProtoReflect() protoreflect.Message
- func (x *TailscaleLogoutRequest) Reset()
- func (x *TailscaleLogoutRequest) String() string
- type TailscalePeer
- func (*TailscalePeer) Descriptor() ([]byte, []int)deprecated
- func (x *TailscalePeer) GetActive() bool
- func (x *TailscalePeer) GetDnsName() string
- func (x *TailscalePeer) GetExitNode() bool
- func (x *TailscalePeer) GetExitNodeOption() bool
- func (x *TailscalePeer) GetExpired() bool
- func (x *TailscalePeer) GetHostName() string
- func (x *TailscalePeer) GetKeyExpiry() int64
- func (x *TailscalePeer) GetLastSeen() int64
- func (x *TailscalePeer) GetOnline() bool
- func (x *TailscalePeer) GetOs() string
- func (x *TailscalePeer) GetRxBytes() int64
- func (x *TailscalePeer) GetShareeNode() bool
- func (x *TailscalePeer) GetSshHostKeys() []string
- func (x *TailscalePeer) GetStableID() string
- func (x *TailscalePeer) GetTailscaleIPs() []string
- func (x *TailscalePeer) GetTxBytes() int64
- func (*TailscalePeer) ProtoMessage()
- func (x *TailscalePeer) ProtoReflect() protoreflect.Message
- func (x *TailscalePeer) Reset()
- func (x *TailscalePeer) String() string
- type TailscalePingRequest
- func (*TailscalePingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TailscalePingRequest) GetEndpointTag() string
- func (x *TailscalePingRequest) GetPeerIP() string
- func (*TailscalePingRequest) ProtoMessage()
- func (x *TailscalePingRequest) ProtoReflect() protoreflect.Message
- func (x *TailscalePingRequest) Reset()
- func (x *TailscalePingRequest) String() string
- type TailscalePingResponse
- func (*TailscalePingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TailscalePingResponse) GetDerpRegionCode() string
- func (x *TailscalePingResponse) GetDerpRegionID() int32
- func (x *TailscalePingResponse) GetEndpoint() string
- func (x *TailscalePingResponse) GetError() string
- func (x *TailscalePingResponse) GetIsDirect() bool
- func (x *TailscalePingResponse) GetLatencyMs() float64
- func (*TailscalePingResponse) ProtoMessage()
- func (x *TailscalePingResponse) ProtoReflect() protoreflect.Message
- func (x *TailscalePingResponse) Reset()
- func (x *TailscalePingResponse) String() string
- type TailscaleSSHAuthBanner
- func (*TailscaleSSHAuthBanner) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleSSHAuthBanner) GetMessage() string
- func (*TailscaleSSHAuthBanner) ProtoMessage()
- func (x *TailscaleSSHAuthBanner) ProtoReflect() protoreflect.Message
- func (x *TailscaleSSHAuthBanner) Reset()
- func (x *TailscaleSSHAuthBanner) String() string
- type TailscaleSSHClientMessage
- func (*TailscaleSSHClientMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleSSHClientMessage) GetInput() *TailscaleSSHInput
- func (x *TailscaleSSHClientMessage) GetMessage() isTailscaleSSHClientMessage_Message
- func (x *TailscaleSSHClientMessage) GetResize() *TailscaleSSHResize
- func (x *TailscaleSSHClientMessage) GetStart() *TailscaleSSHStart
- func (*TailscaleSSHClientMessage) ProtoMessage()
- func (x *TailscaleSSHClientMessage) ProtoReflect() protoreflect.Message
- func (x *TailscaleSSHClientMessage) Reset()
- func (x *TailscaleSSHClientMessage) String() string
- type TailscaleSSHClientMessage_Input
- type TailscaleSSHClientMessage_Resize
- type TailscaleSSHClientMessage_Start
- type TailscaleSSHError
- type TailscaleSSHExit
- func (*TailscaleSSHExit) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleSSHExit) GetErrorMessage() string
- func (x *TailscaleSSHExit) GetExitCode() int32
- func (x *TailscaleSSHExit) GetSignal() string
- func (*TailscaleSSHExit) ProtoMessage()
- func (x *TailscaleSSHExit) ProtoReflect() protoreflect.Message
- func (x *TailscaleSSHExit) Reset()
- func (x *TailscaleSSHExit) String() string
- type TailscaleSSHInput
- type TailscaleSSHOutput
- func (*TailscaleSSHOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleSSHOutput) GetData() []byte
- func (*TailscaleSSHOutput) ProtoMessage()
- func (x *TailscaleSSHOutput) ProtoReflect() protoreflect.Message
- func (x *TailscaleSSHOutput) Reset()
- func (x *TailscaleSSHOutput) String() string
- type TailscaleSSHReady
- type TailscaleSSHResize
- func (*TailscaleSSHResize) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleSSHResize) GetColumns() int32
- func (x *TailscaleSSHResize) GetHeightPixels() int32
- func (x *TailscaleSSHResize) GetRows() int32
- func (x *TailscaleSSHResize) GetWidthPixels() int32
- func (*TailscaleSSHResize) ProtoMessage()
- func (x *TailscaleSSHResize) ProtoReflect() protoreflect.Message
- func (x *TailscaleSSHResize) Reset()
- func (x *TailscaleSSHResize) String() string
- type TailscaleSSHServerMessage
- func (*TailscaleSSHServerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleSSHServerMessage) GetAuthBanner() *TailscaleSSHAuthBanner
- func (x *TailscaleSSHServerMessage) GetError() *TailscaleSSHError
- func (x *TailscaleSSHServerMessage) GetExit() *TailscaleSSHExit
- func (x *TailscaleSSHServerMessage) GetMessage() isTailscaleSSHServerMessage_Message
- func (x *TailscaleSSHServerMessage) GetOutput() *TailscaleSSHOutput
- func (x *TailscaleSSHServerMessage) GetReady() *TailscaleSSHReady
- func (*TailscaleSSHServerMessage) ProtoMessage()
- func (x *TailscaleSSHServerMessage) ProtoReflect() protoreflect.Message
- func (x *TailscaleSSHServerMessage) Reset()
- func (x *TailscaleSSHServerMessage) String() string
- type TailscaleSSHServerMessage_AuthBanner
- type TailscaleSSHServerMessage_Error
- type TailscaleSSHServerMessage_Exit
- type TailscaleSSHServerMessage_Output
- type TailscaleSSHServerMessage_Ready
- type TailscaleSSHStart
- func (*TailscaleSSHStart) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleSSHStart) GetColumns() int32
- func (x *TailscaleSSHStart) GetEndpointTag() string
- func (x *TailscaleSSHStart) GetForwardAgent() bool
- func (x *TailscaleSSHStart) GetHeightPixels() int32
- func (x *TailscaleSSHStart) GetHostKeys() []string
- func (x *TailscaleSSHStart) GetPeerAddress() string
- func (x *TailscaleSSHStart) GetRows() int32
- func (x *TailscaleSSHStart) GetTerminalType() string
- func (x *TailscaleSSHStart) GetUsername() string
- func (x *TailscaleSSHStart) GetWidthPixels() int32
- func (*TailscaleSSHStart) ProtoMessage()
- func (x *TailscaleSSHStart) ProtoReflect() protoreflect.Message
- func (x *TailscaleSSHStart) Reset()
- func (x *TailscaleSSHStart) String() string
- type TailscaleStatusUpdate
- func (*TailscaleStatusUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleStatusUpdate) GetEndpoints() []*TailscaleEndpointStatus
- func (*TailscaleStatusUpdate) ProtoMessage()
- func (x *TailscaleStatusUpdate) ProtoReflect() protoreflect.Message
- func (x *TailscaleStatusUpdate) Reset()
- func (x *TailscaleStatusUpdate) String() string
- type TailscaleUserGroup
- func (*TailscaleUserGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TailscaleUserGroup) GetDisplayName() string
- func (x *TailscaleUserGroup) GetLoginName() string
- func (x *TailscaleUserGroup) GetPeers() []*TailscalePeer
- func (x *TailscaleUserGroup) GetProfilePicURL() string
- func (x *TailscaleUserGroup) GetUserID() int64
- func (*TailscaleUserGroup) ProtoMessage()
- func (x *TailscaleUserGroup) ProtoReflect() protoreflect.Message
- func (x *TailscaleUserGroup) Reset()
- func (x *TailscaleUserGroup) String() string
- type URLTestRequest
- type USBBackend
- type USBDeviceAttach
- func (*USBDeviceAttach) Descriptor() ([]byte, []int)deprecated
- func (x *USBDeviceAttach) GetDescriptor_() *USBDeviceDescriptor
- func (x *USBDeviceAttach) GetServerTag() string
- func (*USBDeviceAttach) ProtoMessage()
- func (x *USBDeviceAttach) ProtoReflect() protoreflect.Message
- func (x *USBDeviceAttach) Reset()
- func (x *USBDeviceAttach) String() string
- type USBDeviceDescriptor
- func (*USBDeviceDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *USBDeviceDescriptor) GetBcdDevice() uint32
- func (x *USBDeviceDescriptor) GetBusNum() uint32
- func (x *USBDeviceDescriptor) GetConfigurationValue() uint32
- func (x *USBDeviceDescriptor) GetDevNum() uint32
- func (x *USBDeviceDescriptor) GetDeviceClass() uint32
- func (x *USBDeviceDescriptor) GetDeviceId() string
- func (x *USBDeviceDescriptor) GetDeviceProtocol() uint32
- func (x *USBDeviceDescriptor) GetDeviceSubClass() uint32
- func (x *USBDeviceDescriptor) GetInterfaces() []*USBInterface
- func (x *USBDeviceDescriptor) GetNumConfigurations() uint32
- func (x *USBDeviceDescriptor) GetProduct() string
- func (x *USBDeviceDescriptor) GetProductId() uint32
- func (x *USBDeviceDescriptor) GetSerial() string
- func (x *USBDeviceDescriptor) GetSpeed() uint32
- func (x *USBDeviceDescriptor) GetVendorId() uint32
- func (*USBDeviceDescriptor) ProtoMessage()
- func (x *USBDeviceDescriptor) ProtoReflect() protoreflect.Message
- func (x *USBDeviceDescriptor) Reset()
- func (x *USBDeviceDescriptor) String() string
- type USBDeviceDetach
- type USBDeviceReady
- func (*USBDeviceReady) Descriptor() ([]byte, []int)deprecated
- func (x *USBDeviceReady) GetBusId() string
- func (x *USBDeviceReady) GetDeviceId() string
- func (*USBDeviceReady) ProtoMessage()
- func (x *USBDeviceReady) ProtoReflect() protoreflect.Message
- func (x *USBDeviceReady) Reset()
- func (x *USBDeviceReady) String() string
- type USBDeviceState
- func (USBDeviceState) Descriptor() protoreflect.EnumDescriptor
- func (x USBDeviceState) Enum() *USBDeviceState
- func (USBDeviceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x USBDeviceState) Number() protoreflect.EnumNumber
- func (x USBDeviceState) String() string
- func (USBDeviceState) Type() protoreflect.EnumType
- type USBEndpointAbort
- func (*USBEndpointAbort) Descriptor() ([]byte, []int)deprecated
- func (x *USBEndpointAbort) GetDeviceId() string
- func (x *USBEndpointAbort) GetEndpoint() uint32
- func (*USBEndpointAbort) ProtoMessage()
- func (x *USBEndpointAbort) ProtoReflect() protoreflect.Message
- func (x *USBEndpointAbort) Reset()
- func (x *USBEndpointAbort) String() string
- type USBError
- type USBIPServerStatus
- func (*USBIPServerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *USBIPServerStatus) GetDevices() []*USBSharedDevice
- func (x *USBIPServerStatus) GetServerTag() string
- func (*USBIPServerStatus) ProtoMessage()
- func (x *USBIPServerStatus) ProtoReflect() protoreflect.Message
- func (x *USBIPServerStatus) Reset()
- func (x *USBIPServerStatus) String() string
- type USBIPServerStatusUpdate
- func (*USBIPServerStatusUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *USBIPServerStatusUpdate) GetServers() []*USBIPServerStatus
- func (*USBIPServerStatusUpdate) ProtoMessage()
- func (x *USBIPServerStatusUpdate) ProtoReflect() protoreflect.Message
- func (x *USBIPServerStatusUpdate) Reset()
- func (x *USBIPServerStatusUpdate) String() string
- type USBInterface
- func (*USBInterface) Descriptor() ([]byte, []int)deprecated
- func (x *USBInterface) GetInterfaceClass() uint32
- func (x *USBInterface) GetInterfaceProtocol() uint32
- func (x *USBInterface) GetInterfaceSubClass() uint32
- func (*USBInterface) ProtoMessage()
- func (x *USBInterface) ProtoReflect() protoreflect.Message
- func (x *USBInterface) Reset()
- func (x *USBInterface) String() string
- type USBIsoPacket
- func (*USBIsoPacket) Descriptor() ([]byte, []int)deprecated
- func (x *USBIsoPacket) GetActualLength() int32
- func (x *USBIsoPacket) GetLength() int32
- func (x *USBIsoPacket) GetOffset() int32
- func (x *USBIsoPacket) GetStatus() int32
- func (*USBIsoPacket) ProtoMessage()
- func (x *USBIsoPacket) ProtoReflect() protoreflect.Message
- func (x *USBIsoPacket) Reset()
- func (x *USBIsoPacket) String() string
- type USBProviderMessage
- func (*USBProviderMessage) Descriptor() ([]byte, []int)deprecated
- func (x *USBProviderMessage) GetAttach() *USBDeviceAttach
- func (x *USBProviderMessage) GetDetach() *USBDeviceDetach
- func (x *USBProviderMessage) GetMessage() isUSBProviderMessage_Message
- func (x *USBProviderMessage) GetUrbResponse() *USBURBResponse
- func (*USBProviderMessage) ProtoMessage()
- func (x *USBProviderMessage) ProtoReflect() protoreflect.Message
- func (x *USBProviderMessage) Reset()
- func (x *USBProviderMessage) String() string
- type USBProviderMessage_Attach
- type USBProviderMessage_Detach
- type USBProviderMessage_UrbResponse
- type USBServerMessage
- func (*USBServerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *USBServerMessage) GetAbort() *USBEndpointAbort
- func (x *USBServerMessage) GetError() *USBError
- func (x *USBServerMessage) GetMessage() isUSBServerMessage_Message
- func (x *USBServerMessage) GetReady() *USBDeviceReady
- func (x *USBServerMessage) GetUrbRequest() *USBURBRequest
- func (*USBServerMessage) ProtoMessage()
- func (x *USBServerMessage) ProtoReflect() protoreflect.Message
- func (x *USBServerMessage) Reset()
- func (x *USBServerMessage) String() string
- type USBServerMessage_Abort
- type USBServerMessage_Error
- type USBServerMessage_Ready
- type USBServerMessage_UrbRequest
- type USBSharedDevice
- func (*USBSharedDevice) Descriptor() ([]byte, []int)deprecated
- func (x *USBSharedDevice) GetBackend() USBBackend
- func (x *USBSharedDevice) GetBusId() string
- func (x *USBSharedDevice) GetDescriptor_() *USBDeviceDescriptor
- func (x *USBSharedDevice) GetStableId() string
- func (x *USBSharedDevice) GetState() USBDeviceState
- func (*USBSharedDevice) ProtoMessage()
- func (x *USBSharedDevice) ProtoReflect() protoreflect.Message
- func (x *USBSharedDevice) Reset()
- func (x *USBSharedDevice) String() string
- type USBURBRequest
- func (*USBURBRequest) Descriptor() ([]byte, []int)deprecated
- func (x *USBURBRequest) GetDeviceId() string
- func (x *USBURBRequest) GetDirectionIn() bool
- func (x *USBURBRequest) GetEndpoint() uint32
- func (x *USBURBRequest) GetInterval() int32
- func (x *USBURBRequest) GetIsoPackets() []*USBIsoPacket
- func (x *USBURBRequest) GetNumberOfPackets() int32
- func (x *USBURBRequest) GetOutData() []byte
- func (x *USBURBRequest) GetSeq() uint64
- func (x *USBURBRequest) GetSetup() []byte
- func (x *USBURBRequest) GetStartFrame() int32
- func (x *USBURBRequest) GetTransferBufferLength() uint32
- func (x *USBURBRequest) GetTransferFlags() uint32
- func (*USBURBRequest) ProtoMessage()
- func (x *USBURBRequest) ProtoReflect() protoreflect.Message
- func (x *USBURBRequest) Reset()
- func (x *USBURBRequest) String() string
- type USBURBResponse
- func (*USBURBResponse) Descriptor() ([]byte, []int)deprecated
- func (x *USBURBResponse) GetActualLength() int32
- func (x *USBURBResponse) GetDeviceId() string
- func (x *USBURBResponse) GetInData() []byte
- func (x *USBURBResponse) GetIsoPackets() []*USBIsoPacket
- func (x *USBURBResponse) GetSeq() uint64
- func (x *USBURBResponse) GetStatus() int32
- func (*USBURBResponse) ProtoMessage()
- func (x *USBURBResponse) ProtoReflect() protoreflect.Message
- func (x *USBURBResponse) Reset()
- func (x *USBURBResponse) String() string
- type UnimplementedManagedServiceServer
- func (UnimplementedManagedServiceServer) GetSystemProxyStatus(context.Context, *emptypb.Empty) (*SystemProxyStatus, error)
- func (UnimplementedManagedServiceServer) ReloadService(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedManagedServiceServer) SetSystemProxyEnabled(context.Context, *SetSystemProxyEnabledRequest) (*emptypb.Empty, error)
- func (UnimplementedManagedServiceServer) StopService(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedManagedServiceServer) TriggerDebugCrash(context.Context, *DebugCrashRequest) (*emptypb.Empty, error)
- func (UnimplementedManagedServiceServer) TriggerOOMReport(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- type UnimplementedStartedServiceServer
- func (UnimplementedStartedServiceServer) ClearLogs(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedStartedServiceServer) CloseAllConnections(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedStartedServiceServer) CloseConnection(context.Context, *CloseConnectionRequest) (*emptypb.Empty, error)
- func (UnimplementedStartedServiceServer) GetClashModeStatus(context.Context, *emptypb.Empty) (*ClashModeStatus, error)
- func (UnimplementedStartedServiceServer) GetDefaultLogLevel(context.Context, *emptypb.Empty) (*DefaultLogLevel, error)
- func (UnimplementedStartedServiceServer) GetDeprecatedWarnings(context.Context, *emptypb.Empty) (*DeprecatedWarnings, error)
- func (UnimplementedStartedServiceServer) GetStartedAt(context.Context, *emptypb.Empty) (*StartedAt, error)
- func (UnimplementedStartedServiceServer) GetVersion(context.Context, *emptypb.Empty) (*Version, error)
- func (UnimplementedStartedServiceServer) ProvideUSBDevices(grpc.BidiStreamingServer[USBProviderMessage, USBServerMessage]) error
- func (UnimplementedStartedServiceServer) SelectOutbound(context.Context, *SelectOutboundRequest) (*emptypb.Empty, error)
- func (UnimplementedStartedServiceServer) SetClashMode(context.Context, *ClashMode) (*emptypb.Empty, error)
- func (UnimplementedStartedServiceServer) SetGroupExpand(context.Context, *SetGroupExpandRequest) (*emptypb.Empty, error)
- func (UnimplementedStartedServiceServer) SetTailscaleExitNode(context.Context, *SetTailscaleExitNodeRequest) (*emptypb.Empty, error)
- func (UnimplementedStartedServiceServer) StartNetworkQualityTest(*NetworkQualityTestRequest, ...) error
- func (UnimplementedStartedServiceServer) StartSTUNTest(*STUNTestRequest, grpc.ServerStreamingServer[STUNTestProgress]) error
- func (UnimplementedStartedServiceServer) StartTailscalePing(*TailscalePingRequest, grpc.ServerStreamingServer[TailscalePingResponse]) error
- func (UnimplementedStartedServiceServer) StartTailscaleSSHSession(grpc.BidiStreamingServer[TailscaleSSHClientMessage, TailscaleSSHServerMessage]) error
- func (UnimplementedStartedServiceServer) SubscribeClashMode(*emptypb.Empty, grpc.ServerStreamingServer[ClashMode]) error
- func (UnimplementedStartedServiceServer) SubscribeConnections(*SubscribeConnectionsRequest, grpc.ServerStreamingServer[ConnectionEvents]) error
- func (UnimplementedStartedServiceServer) SubscribeGroups(*emptypb.Empty, grpc.ServerStreamingServer[Groups]) error
- func (UnimplementedStartedServiceServer) SubscribeLog(*emptypb.Empty, grpc.ServerStreamingServer[Log]) error
- func (UnimplementedStartedServiceServer) SubscribeOutbounds(*emptypb.Empty, grpc.ServerStreamingServer[OutboundList]) error
- func (UnimplementedStartedServiceServer) SubscribeServiceStatus(*emptypb.Empty, grpc.ServerStreamingServer[ServiceStatus]) error
- func (UnimplementedStartedServiceServer) SubscribeStatus(*SubscribeStatusRequest, grpc.ServerStreamingServer[Status]) error
- func (UnimplementedStartedServiceServer) SubscribeTailscaleStatus(*emptypb.Empty, grpc.ServerStreamingServer[TailscaleStatusUpdate]) error
- func (UnimplementedStartedServiceServer) SubscribeUSBIPServerStatus(*emptypb.Empty, grpc.ServerStreamingServer[USBIPServerStatusUpdate]) error
- func (UnimplementedStartedServiceServer) TailscaleLogout(context.Context, *TailscaleLogoutRequest) (*emptypb.Empty, error)
- func (UnimplementedStartedServiceServer) URLTest(context.Context, *URLTestRequest) (*emptypb.Empty, error)
- type UnsafeManagedServiceServer
- type UnsafeStartedServiceServer
- type Version
Constants ¶
const ( ManagedService_StopService_FullMethodName = "/daemon.ManagedService/StopService" ManagedService_ReloadService_FullMethodName = "/daemon.ManagedService/ReloadService" ManagedService_GetSystemProxyStatus_FullMethodName = "/daemon.ManagedService/GetSystemProxyStatus" ManagedService_SetSystemProxyEnabled_FullMethodName = "/daemon.ManagedService/SetSystemProxyEnabled" ManagedService_TriggerDebugCrash_FullMethodName = "/daemon.ManagedService/TriggerDebugCrash" ManagedService_TriggerOOMReport_FullMethodName = "/daemon.ManagedService/TriggerOOMReport" )
const ( StartedService_GetVersion_FullMethodName = "/daemon.StartedService/GetVersion" StartedService_SubscribeServiceStatus_FullMethodName = "/daemon.StartedService/SubscribeServiceStatus" StartedService_SubscribeLog_FullMethodName = "/daemon.StartedService/SubscribeLog" StartedService_GetDefaultLogLevel_FullMethodName = "/daemon.StartedService/GetDefaultLogLevel" StartedService_ClearLogs_FullMethodName = "/daemon.StartedService/ClearLogs" StartedService_SubscribeStatus_FullMethodName = "/daemon.StartedService/SubscribeStatus" StartedService_SubscribeGroups_FullMethodName = "/daemon.StartedService/SubscribeGroups" StartedService_GetClashModeStatus_FullMethodName = "/daemon.StartedService/GetClashModeStatus" StartedService_SubscribeClashMode_FullMethodName = "/daemon.StartedService/SubscribeClashMode" StartedService_SetClashMode_FullMethodName = "/daemon.StartedService/SetClashMode" StartedService_URLTest_FullMethodName = "/daemon.StartedService/URLTest" StartedService_SelectOutbound_FullMethodName = "/daemon.StartedService/SelectOutbound" StartedService_SetGroupExpand_FullMethodName = "/daemon.StartedService/SetGroupExpand" StartedService_SubscribeConnections_FullMethodName = "/daemon.StartedService/SubscribeConnections" StartedService_CloseConnection_FullMethodName = "/daemon.StartedService/CloseConnection" StartedService_CloseAllConnections_FullMethodName = "/daemon.StartedService/CloseAllConnections" StartedService_GetDeprecatedWarnings_FullMethodName = "/daemon.StartedService/GetDeprecatedWarnings" StartedService_GetStartedAt_FullMethodName = "/daemon.StartedService/GetStartedAt" StartedService_SubscribeOutbounds_FullMethodName = "/daemon.StartedService/SubscribeOutbounds" StartedService_StartNetworkQualityTest_FullMethodName = "/daemon.StartedService/StartNetworkQualityTest" StartedService_StartSTUNTest_FullMethodName = "/daemon.StartedService/StartSTUNTest" StartedService_SubscribeTailscaleStatus_FullMethodName = "/daemon.StartedService/SubscribeTailscaleStatus" StartedService_StartTailscalePing_FullMethodName = "/daemon.StartedService/StartTailscalePing" StartedService_SetTailscaleExitNode_FullMethodName = "/daemon.StartedService/SetTailscaleExitNode" StartedService_TailscaleLogout_FullMethodName = "/daemon.StartedService/TailscaleLogout" StartedService_StartTailscaleSSHSession_FullMethodName = "/daemon.StartedService/StartTailscaleSSHSession" StartedService_ProvideUSBDevices_FullMethodName = "/daemon.StartedService/ProvideUSBDevices" StartedService_SubscribeUSBIPServerStatus_FullMethodName = "/daemon.StartedService/SubscribeUSBIPServerStatus" )
const APIVersion = 2
Variables ¶
var ( DebugCrashRequest_Type_name = map[int32]string{ 0: "GO", 1: "NATIVE", } DebugCrashRequest_Type_value = map[string]int32{ "GO": 0, "NATIVE": 1, } )
Enum value maps for DebugCrashRequest_Type.
var ( LogLevel_name = map[int32]string{ 0: "PANIC", 1: "FATAL", 2: "ERROR", 3: "WARN", 4: "INFO", 5: "DEBUG", 6: "TRACE", } LogLevel_value = map[string]int32{ "PANIC": 0, "FATAL": 1, "ERROR": 2, "WARN": 3, "INFO": 4, "DEBUG": 5, "TRACE": 6, } )
Enum value maps for LogLevel.
var ( ConnectionEventType_name = map[int32]string{ 0: "CONNECTION_EVENT_NEW", 1: "CONNECTION_EVENT_UPDATE", 2: "CONNECTION_EVENT_CLOSED", } ConnectionEventType_value = map[string]int32{ "CONNECTION_EVENT_NEW": 0, "CONNECTION_EVENT_UPDATE": 1, "CONNECTION_EVENT_CLOSED": 2, } )
Enum value maps for ConnectionEventType.
var ( USBDeviceState_name = map[int32]string{ 0: "USB_DEVICE_STATE_IDLE", 1: "USB_DEVICE_STATE_ATTACHED", 2: "USB_DEVICE_STATE_UNAVAILABLE", } USBDeviceState_value = map[string]int32{ "USB_DEVICE_STATE_IDLE": 0, "USB_DEVICE_STATE_ATTACHED": 1, "USB_DEVICE_STATE_UNAVAILABLE": 2, } )
Enum value maps for USBDeviceState.
var ( USBBackend_name = map[int32]string{ 0: "USB_BACKEND_UNSPECIFIED", 1: "USB_BACKEND_LINUX_SYSFS", 2: "USB_BACKEND_DYNAMIC", 3: "USB_BACKEND_DARWIN_IOKIT", 4: "USB_BACKEND_WINDOWS_VBOXUSB", } USBBackend_value = map[string]int32{ "USB_BACKEND_UNSPECIFIED": 0, "USB_BACKEND_LINUX_SYSFS": 1, "USB_BACKEND_DYNAMIC": 2, "USB_BACKEND_DARWIN_IOKIT": 3, "USB_BACKEND_WINDOWS_VBOXUSB": 4, } )
Enum value maps for USBBackend.
var ( ServiceStatus_Type_name = map[int32]string{ 0: "IDLE", 1: "STARTING", 2: "STARTED", 3: "STOPPING", 4: "FATAL", } ServiceStatus_Type_value = map[string]int32{ "IDLE": 0, "STARTING": 1, "STARTED": 2, "STOPPING": 3, "FATAL": 4, } )
Enum value maps for ServiceStatus_Type.
var File_daemon_managed_service_proto protoreflect.FileDescriptor
var File_daemon_started_service_proto protoreflect.FileDescriptor
var ManagedService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "daemon.ManagedService", HandlerType: (*ManagedServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "StopService", Handler: _ManagedService_StopService_Handler, }, { MethodName: "ReloadService", Handler: _ManagedService_ReloadService_Handler, }, { MethodName: "GetSystemProxyStatus", Handler: _ManagedService_GetSystemProxyStatus_Handler, }, { MethodName: "SetSystemProxyEnabled", Handler: _ManagedService_SetSystemProxyEnabled_Handler, }, { MethodName: "TriggerDebugCrash", Handler: _ManagedService_TriggerDebugCrash_Handler, }, { MethodName: "TriggerOOMReport", Handler: _ManagedService_TriggerOOMReport_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "daemon/managed_service.proto", }
ManagedService_ServiceDesc is the grpc.ServiceDesc for ManagedService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var StartedService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "daemon.StartedService", HandlerType: (*StartedServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVersion", Handler: _StartedService_GetVersion_Handler, }, { MethodName: "GetDefaultLogLevel", Handler: _StartedService_GetDefaultLogLevel_Handler, }, { MethodName: "ClearLogs", Handler: _StartedService_ClearLogs_Handler, }, { MethodName: "GetClashModeStatus", Handler: _StartedService_GetClashModeStatus_Handler, }, { MethodName: "SetClashMode", Handler: _StartedService_SetClashMode_Handler, }, { MethodName: "URLTest", Handler: _StartedService_URLTest_Handler, }, { MethodName: "SelectOutbound", Handler: _StartedService_SelectOutbound_Handler, }, { MethodName: "SetGroupExpand", Handler: _StartedService_SetGroupExpand_Handler, }, { MethodName: "CloseConnection", Handler: _StartedService_CloseConnection_Handler, }, { MethodName: "CloseAllConnections", Handler: _StartedService_CloseAllConnections_Handler, }, { MethodName: "GetDeprecatedWarnings", Handler: _StartedService_GetDeprecatedWarnings_Handler, }, { MethodName: "GetStartedAt", Handler: _StartedService_GetStartedAt_Handler, }, { MethodName: "SetTailscaleExitNode", Handler: _StartedService_SetTailscaleExitNode_Handler, }, { MethodName: "TailscaleLogout", Handler: _StartedService_TailscaleLogout_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeServiceStatus", Handler: _StartedService_SubscribeServiceStatus_Handler, ServerStreams: true, }, { StreamName: "SubscribeLog", Handler: _StartedService_SubscribeLog_Handler, ServerStreams: true, }, { StreamName: "SubscribeStatus", Handler: _StartedService_SubscribeStatus_Handler, ServerStreams: true, }, { StreamName: "SubscribeGroups", Handler: _StartedService_SubscribeGroups_Handler, ServerStreams: true, }, { StreamName: "SubscribeClashMode", Handler: _StartedService_SubscribeClashMode_Handler, ServerStreams: true, }, { StreamName: "SubscribeConnections", Handler: _StartedService_SubscribeConnections_Handler, ServerStreams: true, }, { StreamName: "SubscribeOutbounds", Handler: _StartedService_SubscribeOutbounds_Handler, ServerStreams: true, }, { StreamName: "StartNetworkQualityTest", Handler: _StartedService_StartNetworkQualityTest_Handler, ServerStreams: true, }, { StreamName: "StartSTUNTest", Handler: _StartedService_StartSTUNTest_Handler, ServerStreams: true, }, { StreamName: "SubscribeTailscaleStatus", Handler: _StartedService_SubscribeTailscaleStatus_Handler, ServerStreams: true, }, { StreamName: "StartTailscalePing", Handler: _StartedService_StartTailscalePing_Handler, ServerStreams: true, }, { StreamName: "StartTailscaleSSHSession", Handler: _StartedService_StartTailscaleSSHSession_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "ProvideUSBDevices", Handler: _StartedService_ProvideUSBDevices_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "SubscribeUSBIPServerStatus", Handler: _StartedService_SubscribeUSBIPServerStatus_Handler, ServerStreams: true, }, }, Metadata: "daemon/started_service.proto", }
StartedService_ServiceDesc is the grpc.ServiceDesc for StartedService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func NewClientAuthStreamInterceptor ¶
func NewClientAuthStreamInterceptor(secret string) grpc.StreamClientInterceptor
func NewClientAuthUnaryInterceptor ¶
func NewClientAuthUnaryInterceptor(secret string) grpc.UnaryClientInterceptor
func NewRemoteClient ¶
func NewRemoteClient(options RemoteClientOptions) (*grpc.ClientConn, error)
func RegisterManagedServiceServer ¶
func RegisterManagedServiceServer(s grpc.ServiceRegistrar, srv ManagedServiceServer)
func RegisterStartedServiceServer ¶
func RegisterStartedServiceServer(s grpc.ServiceRegistrar, srv StartedServiceServer)
func StreamErrorInterceptor ¶
func StreamErrorInterceptor(server any, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func UnaryErrorInterceptor ¶
func UnaryErrorInterceptor(ctx context.Context, request any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (any, error)
Types ¶
type ClashMode ¶
type ClashMode struct {
Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
// contains filtered or unexported fields
}
func (*ClashMode) Descriptor
deprecated
func (*ClashMode) ProtoMessage ¶
func (*ClashMode) ProtoMessage()
func (*ClashMode) ProtoReflect ¶
func (x *ClashMode) ProtoReflect() protoreflect.Message
type ClashModeStatus ¶
type ClashModeStatus struct {
ModeList []string `protobuf:"bytes,1,rep,name=modeList,proto3" json:"modeList,omitempty"`
CurrentMode string `protobuf:"bytes,2,opt,name=currentMode,proto3" json:"currentMode,omitempty"`
// contains filtered or unexported fields
}
func (*ClashModeStatus) Descriptor
deprecated
func (*ClashModeStatus) Descriptor() ([]byte, []int)
Deprecated: Use ClashModeStatus.ProtoReflect.Descriptor instead.
func (*ClashModeStatus) GetCurrentMode ¶
func (x *ClashModeStatus) GetCurrentMode() string
func (*ClashModeStatus) GetModeList ¶
func (x *ClashModeStatus) GetModeList() []string
func (*ClashModeStatus) ProtoMessage ¶
func (*ClashModeStatus) ProtoMessage()
func (*ClashModeStatus) ProtoReflect ¶
func (x *ClashModeStatus) ProtoReflect() protoreflect.Message
func (*ClashModeStatus) Reset ¶
func (x *ClashModeStatus) Reset()
func (*ClashModeStatus) String ¶
func (x *ClashModeStatus) String() string
type CloseConnectionRequest ¶
type CloseConnectionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CloseConnectionRequest) Descriptor
deprecated
func (*CloseConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseConnectionRequest.ProtoReflect.Descriptor instead.
func (*CloseConnectionRequest) GetId ¶
func (x *CloseConnectionRequest) GetId() string
func (*CloseConnectionRequest) ProtoMessage ¶
func (*CloseConnectionRequest) ProtoMessage()
func (*CloseConnectionRequest) ProtoReflect ¶
func (x *CloseConnectionRequest) ProtoReflect() protoreflect.Message
func (*CloseConnectionRequest) Reset ¶
func (x *CloseConnectionRequest) Reset()
func (*CloseConnectionRequest) String ¶
func (x *CloseConnectionRequest) String() string
type Connection ¶
type Connection struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Inbound string `protobuf:"bytes,2,opt,name=inbound,proto3" json:"inbound,omitempty"`
InboundType string `protobuf:"bytes,3,opt,name=inboundType,proto3" json:"inboundType,omitempty"`
IpVersion int32 `protobuf:"varint,4,opt,name=ipVersion,proto3" json:"ipVersion,omitempty"`
Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
Destination string `protobuf:"bytes,7,opt,name=destination,proto3" json:"destination,omitempty"`
Domain string `protobuf:"bytes,8,opt,name=domain,proto3" json:"domain,omitempty"`
Protocol string `protobuf:"bytes,9,opt,name=protocol,proto3" json:"protocol,omitempty"`
User string `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
FromOutbound string `protobuf:"bytes,11,opt,name=fromOutbound,proto3" json:"fromOutbound,omitempty"`
CreatedAt int64 `protobuf:"varint,12,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
ClosedAt int64 `protobuf:"varint,13,opt,name=closedAt,proto3" json:"closedAt,omitempty"`
Uplink int64 `protobuf:"varint,14,opt,name=uplink,proto3" json:"uplink,omitempty"`
Downlink int64 `protobuf:"varint,15,opt,name=downlink,proto3" json:"downlink,omitempty"`
UplinkTotal int64 `protobuf:"varint,16,opt,name=uplinkTotal,proto3" json:"uplinkTotal,omitempty"`
DownlinkTotal int64 `protobuf:"varint,17,opt,name=downlinkTotal,proto3" json:"downlinkTotal,omitempty"`
Rule string `protobuf:"bytes,18,opt,name=rule,proto3" json:"rule,omitempty"`
Outbound string `protobuf:"bytes,19,opt,name=outbound,proto3" json:"outbound,omitempty"`
OutboundType string `protobuf:"bytes,20,opt,name=outboundType,proto3" json:"outboundType,omitempty"`
ChainList []string `protobuf:"bytes,21,rep,name=chainList,proto3" json:"chainList,omitempty"`
ProcessInfo *ProcessInfo `protobuf:"bytes,22,opt,name=processInfo,proto3" json:"processInfo,omitempty"`
// contains filtered or unexported fields
}
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetChainList ¶
func (x *Connection) GetChainList() []string
func (*Connection) GetClosedAt ¶
func (x *Connection) GetClosedAt() int64
func (*Connection) GetCreatedAt ¶
func (x *Connection) GetCreatedAt() int64
func (*Connection) GetDestination ¶
func (x *Connection) GetDestination() string
func (*Connection) GetDomain ¶
func (x *Connection) GetDomain() string
func (*Connection) GetDownlink ¶
func (x *Connection) GetDownlink() int64
func (*Connection) GetDownlinkTotal ¶
func (x *Connection) GetDownlinkTotal() int64
func (*Connection) GetFromOutbound ¶
func (x *Connection) GetFromOutbound() string
func (*Connection) GetId ¶
func (x *Connection) GetId() string
func (*Connection) GetInbound ¶
func (x *Connection) GetInbound() string
func (*Connection) GetInboundType ¶
func (x *Connection) GetInboundType() string
func (*Connection) GetIpVersion ¶
func (x *Connection) GetIpVersion() int32
func (*Connection) GetNetwork ¶
func (x *Connection) GetNetwork() string
func (*Connection) GetOutbound ¶
func (x *Connection) GetOutbound() string
func (*Connection) GetOutboundType ¶
func (x *Connection) GetOutboundType() string
func (*Connection) GetProcessInfo ¶
func (x *Connection) GetProcessInfo() *ProcessInfo
func (*Connection) GetProtocol ¶
func (x *Connection) GetProtocol() string
func (*Connection) GetRule ¶
func (x *Connection) GetRule() string
func (*Connection) GetSource ¶
func (x *Connection) GetSource() string
func (*Connection) GetUplink ¶
func (x *Connection) GetUplink() int64
func (*Connection) GetUplinkTotal ¶
func (x *Connection) GetUplinkTotal() int64
func (*Connection) GetUser ¶
func (x *Connection) GetUser() string
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type ConnectionEvent ¶
type ConnectionEvent struct {
Type ConnectionEventType `protobuf:"varint,1,opt,name=type,proto3,enum=daemon.ConnectionEventType" json:"type,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Connection *Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"`
UplinkDelta int64 `protobuf:"varint,4,opt,name=uplinkDelta,proto3" json:"uplinkDelta,omitempty"`
DownlinkDelta int64 `protobuf:"varint,5,opt,name=downlinkDelta,proto3" json:"downlinkDelta,omitempty"`
ClosedAt int64 `protobuf:"varint,6,opt,name=closedAt,proto3" json:"closedAt,omitempty"`
// contains filtered or unexported fields
}
func (*ConnectionEvent) Descriptor
deprecated
func (*ConnectionEvent) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionEvent.ProtoReflect.Descriptor instead.
func (*ConnectionEvent) GetClosedAt ¶
func (x *ConnectionEvent) GetClosedAt() int64
func (*ConnectionEvent) GetConnection ¶
func (x *ConnectionEvent) GetConnection() *Connection
func (*ConnectionEvent) GetDownlinkDelta ¶
func (x *ConnectionEvent) GetDownlinkDelta() int64
func (*ConnectionEvent) GetId ¶
func (x *ConnectionEvent) GetId() string
func (*ConnectionEvent) GetType ¶
func (x *ConnectionEvent) GetType() ConnectionEventType
func (*ConnectionEvent) GetUplinkDelta ¶
func (x *ConnectionEvent) GetUplinkDelta() int64
func (*ConnectionEvent) ProtoMessage ¶
func (*ConnectionEvent) ProtoMessage()
func (*ConnectionEvent) ProtoReflect ¶
func (x *ConnectionEvent) ProtoReflect() protoreflect.Message
func (*ConnectionEvent) Reset ¶
func (x *ConnectionEvent) Reset()
func (*ConnectionEvent) String ¶
func (x *ConnectionEvent) String() string
type ConnectionEventType ¶
type ConnectionEventType int32
const ( ConnectionEventType_CONNECTION_EVENT_NEW ConnectionEventType = 0 ConnectionEventType_CONNECTION_EVENT_UPDATE ConnectionEventType = 1 ConnectionEventType_CONNECTION_EVENT_CLOSED ConnectionEventType = 2 )
func (ConnectionEventType) Descriptor ¶
func (ConnectionEventType) Descriptor() protoreflect.EnumDescriptor
func (ConnectionEventType) Enum ¶
func (x ConnectionEventType) Enum() *ConnectionEventType
func (ConnectionEventType) EnumDescriptor
deprecated
func (ConnectionEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionEventType.Descriptor instead.
func (ConnectionEventType) Number ¶
func (x ConnectionEventType) Number() protoreflect.EnumNumber
func (ConnectionEventType) String ¶
func (x ConnectionEventType) String() string
func (ConnectionEventType) Type ¶
func (ConnectionEventType) Type() protoreflect.EnumType
type ConnectionEvents ¶
type ConnectionEvents struct {
Events []*ConnectionEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
// contains filtered or unexported fields
}
func (*ConnectionEvents) Descriptor
deprecated
func (*ConnectionEvents) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionEvents.ProtoReflect.Descriptor instead.
func (*ConnectionEvents) GetEvents ¶
func (x *ConnectionEvents) GetEvents() []*ConnectionEvent
func (*ConnectionEvents) GetReset_ ¶
func (x *ConnectionEvents) GetReset_() bool
func (*ConnectionEvents) ProtoMessage ¶
func (*ConnectionEvents) ProtoMessage()
func (*ConnectionEvents) ProtoReflect ¶
func (x *ConnectionEvents) ProtoReflect() protoreflect.Message
func (*ConnectionEvents) Reset ¶
func (x *ConnectionEvents) Reset()
func (*ConnectionEvents) String ¶
func (x *ConnectionEvents) String() string
type DebugCrashRequest ¶
type DebugCrashRequest struct {
Type DebugCrashRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=daemon.DebugCrashRequest_Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*DebugCrashRequest) Descriptor
deprecated
func (*DebugCrashRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugCrashRequest.ProtoReflect.Descriptor instead.
func (*DebugCrashRequest) GetType ¶
func (x *DebugCrashRequest) GetType() DebugCrashRequest_Type
func (*DebugCrashRequest) ProtoMessage ¶
func (*DebugCrashRequest) ProtoMessage()
func (*DebugCrashRequest) ProtoReflect ¶
func (x *DebugCrashRequest) ProtoReflect() protoreflect.Message
func (*DebugCrashRequest) Reset ¶
func (x *DebugCrashRequest) Reset()
func (*DebugCrashRequest) String ¶
func (x *DebugCrashRequest) String() string
type DebugCrashRequest_Type ¶
type DebugCrashRequest_Type int32
const ( DebugCrashRequest_GO DebugCrashRequest_Type = 0 DebugCrashRequest_NATIVE DebugCrashRequest_Type = 1 )
func (DebugCrashRequest_Type) Descriptor ¶
func (DebugCrashRequest_Type) Descriptor() protoreflect.EnumDescriptor
func (DebugCrashRequest_Type) Enum ¶
func (x DebugCrashRequest_Type) Enum() *DebugCrashRequest_Type
func (DebugCrashRequest_Type) EnumDescriptor
deprecated
func (DebugCrashRequest_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use DebugCrashRequest_Type.Descriptor instead.
func (DebugCrashRequest_Type) Number ¶
func (x DebugCrashRequest_Type) Number() protoreflect.EnumNumber
func (DebugCrashRequest_Type) String ¶
func (x DebugCrashRequest_Type) String() string
func (DebugCrashRequest_Type) Type ¶
func (DebugCrashRequest_Type) Type() protoreflect.EnumType
type DefaultLogLevel ¶
type DefaultLogLevel struct {
Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=daemon.LogLevel" json:"level,omitempty"`
// contains filtered or unexported fields
}
func (*DefaultLogLevel) Descriptor
deprecated
func (*DefaultLogLevel) Descriptor() ([]byte, []int)
Deprecated: Use DefaultLogLevel.ProtoReflect.Descriptor instead.
func (*DefaultLogLevel) GetLevel ¶
func (x *DefaultLogLevel) GetLevel() LogLevel
func (*DefaultLogLevel) ProtoMessage ¶
func (*DefaultLogLevel) ProtoMessage()
func (*DefaultLogLevel) ProtoReflect ¶
func (x *DefaultLogLevel) ProtoReflect() protoreflect.Message
func (*DefaultLogLevel) Reset ¶
func (x *DefaultLogLevel) Reset()
func (*DefaultLogLevel) String ¶
func (x *DefaultLogLevel) String() string
type DeprecatedWarning ¶
type DeprecatedWarning struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
Impending bool `protobuf:"varint,2,opt,name=impending,proto3" json:"impending,omitempty"`
MigrationLink string `protobuf:"bytes,3,opt,name=migrationLink,proto3" json:"migrationLink,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
DeprecatedVersion string `protobuf:"bytes,5,opt,name=deprecatedVersion,proto3" json:"deprecatedVersion,omitempty"`
ScheduledVersion string `protobuf:"bytes,6,opt,name=scheduledVersion,proto3" json:"scheduledVersion,omitempty"`
// contains filtered or unexported fields
}
func (*DeprecatedWarning) Descriptor
deprecated
func (*DeprecatedWarning) Descriptor() ([]byte, []int)
Deprecated: Use DeprecatedWarning.ProtoReflect.Descriptor instead.
func (*DeprecatedWarning) GetDeprecatedVersion ¶
func (x *DeprecatedWarning) GetDeprecatedVersion() string
func (*DeprecatedWarning) GetDescription ¶
func (x *DeprecatedWarning) GetDescription() string
func (*DeprecatedWarning) GetImpending ¶
func (x *DeprecatedWarning) GetImpending() bool
func (*DeprecatedWarning) GetMessage ¶
func (x *DeprecatedWarning) GetMessage() string
func (*DeprecatedWarning) GetMigrationLink ¶
func (x *DeprecatedWarning) GetMigrationLink() string
func (*DeprecatedWarning) GetScheduledVersion ¶
func (x *DeprecatedWarning) GetScheduledVersion() string
func (*DeprecatedWarning) ProtoMessage ¶
func (*DeprecatedWarning) ProtoMessage()
func (*DeprecatedWarning) ProtoReflect ¶
func (x *DeprecatedWarning) ProtoReflect() protoreflect.Message
func (*DeprecatedWarning) Reset ¶
func (x *DeprecatedWarning) Reset()
func (*DeprecatedWarning) String ¶
func (x *DeprecatedWarning) String() string
type DeprecatedWarnings ¶
type DeprecatedWarnings struct {
Warnings []*DeprecatedWarning `protobuf:"bytes,1,rep,name=warnings,proto3" json:"warnings,omitempty"`
// contains filtered or unexported fields
}
func (*DeprecatedWarnings) Descriptor
deprecated
func (*DeprecatedWarnings) Descriptor() ([]byte, []int)
Deprecated: Use DeprecatedWarnings.ProtoReflect.Descriptor instead.
func (*DeprecatedWarnings) GetWarnings ¶
func (x *DeprecatedWarnings) GetWarnings() []*DeprecatedWarning
func (*DeprecatedWarnings) ProtoMessage ¶
func (*DeprecatedWarnings) ProtoMessage()
func (*DeprecatedWarnings) ProtoReflect ¶
func (x *DeprecatedWarnings) ProtoReflect() protoreflect.Message
func (*DeprecatedWarnings) Reset ¶
func (x *DeprecatedWarnings) Reset()
func (*DeprecatedWarnings) String ¶
func (x *DeprecatedWarnings) String() string
type Group ¶
type Group struct {
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Selectable bool `protobuf:"varint,3,opt,name=selectable,proto3" json:"selectable,omitempty"`
Selected string `protobuf:"bytes,4,opt,name=selected,proto3" json:"selected,omitempty"`
IsExpand bool `protobuf:"varint,5,opt,name=isExpand,proto3" json:"isExpand,omitempty"`
Items []*GroupItem `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*Group) Descriptor
deprecated
func (*Group) GetIsExpand ¶
func (*Group) GetSelectable ¶
func (*Group) GetSelected ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type GroupItem ¶
type GroupItem struct {
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
UrlTestTime int64 `protobuf:"varint,3,opt,name=urlTestTime,proto3" json:"urlTestTime,omitempty"`
UrlTestDelay int32 `protobuf:"varint,4,opt,name=urlTestDelay,proto3" json:"urlTestDelay,omitempty"`
// contains filtered or unexported fields
}
func (*GroupItem) Descriptor
deprecated
func (*GroupItem) GetUrlTestDelay ¶
func (*GroupItem) GetUrlTestTime ¶
func (*GroupItem) ProtoMessage ¶
func (*GroupItem) ProtoMessage()
func (*GroupItem) ProtoReflect ¶
func (x *GroupItem) ProtoReflect() protoreflect.Message
type Groups ¶
type Groups struct {
Group []*Group `protobuf:"bytes,1,rep,name=group,proto3" json:"group,omitempty"`
// contains filtered or unexported fields
}
func (*Groups) Descriptor
deprecated
func (*Groups) ProtoMessage ¶
func (*Groups) ProtoMessage()
func (*Groups) ProtoReflect ¶
func (x *Groups) ProtoReflect() protoreflect.Message
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func (*Instance) PauseManager ¶
type Log ¶
type Log struct {
Messages []*Log_Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
// contains filtered or unexported fields
}
func (*Log) Descriptor
deprecated
func (*Log) GetMessages ¶
func (x *Log) GetMessages() []*Log_Message
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type LogLevel ¶
type LogLevel int32
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
type Log_Message ¶
type Log_Message struct {
Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=daemon.LogLevel" json:"level,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*Log_Message) Descriptor
deprecated
func (*Log_Message) Descriptor() ([]byte, []int)
Deprecated: Use Log_Message.ProtoReflect.Descriptor instead.
func (*Log_Message) GetLevel ¶
func (x *Log_Message) GetLevel() LogLevel
func (*Log_Message) GetMessage ¶
func (x *Log_Message) GetMessage() string
func (*Log_Message) ProtoMessage ¶
func (*Log_Message) ProtoMessage()
func (*Log_Message) ProtoReflect ¶
func (x *Log_Message) ProtoReflect() protoreflect.Message
func (*Log_Message) Reset ¶
func (x *Log_Message) Reset()
func (*Log_Message) String ¶
func (x *Log_Message) String() string
type ManagedHandler ¶
type ManagedService ¶
type ManagedService struct {
// contains filtered or unexported fields
}
func NewManagedService ¶
func NewManagedService(options ManagedServiceOptions) *ManagedService
func (*ManagedService) GetSystemProxyStatus ¶
func (s *ManagedService) GetSystemProxyStatus(ctx context.Context, empty *emptypb.Empty) (*SystemProxyStatus, error)
func (*ManagedService) ReloadService ¶
func (*ManagedService) SetSystemProxyEnabled ¶
func (s *ManagedService) SetSystemProxyEnabled(ctx context.Context, request *SetSystemProxyEnabledRequest) (*emptypb.Empty, error)
func (*ManagedService) StopService ¶
func (*ManagedService) TriggerDebugCrash ¶
func (s *ManagedService) TriggerDebugCrash(ctx context.Context, request *DebugCrashRequest) (*emptypb.Empty, error)
func (*ManagedService) TriggerOOMReport ¶
type ManagedServiceClient ¶
type ManagedServiceClient interface {
StopService(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
ReloadService(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetSystemProxyStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SystemProxyStatus, error)
SetSystemProxyEnabled(ctx context.Context, in *SetSystemProxyEnabledRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
TriggerDebugCrash(ctx context.Context, in *DebugCrashRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
TriggerOOMReport(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
ManagedServiceClient is the client API for ManagedService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewManagedServiceClient ¶
func NewManagedServiceClient(cc grpc.ClientConnInterface) ManagedServiceClient
type ManagedServiceOptions ¶
type ManagedServiceOptions struct {
Handler ManagedHandler
Debug bool
OOMReporter oomkiller.OOMReporter
}
type ManagedServiceServer ¶
type ManagedServiceServer interface {
StopService(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
ReloadService(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
GetSystemProxyStatus(context.Context, *emptypb.Empty) (*SystemProxyStatus, error)
SetSystemProxyEnabled(context.Context, *SetSystemProxyEnabledRequest) (*emptypb.Empty, error)
TriggerDebugCrash(context.Context, *DebugCrashRequest) (*emptypb.Empty, error)
TriggerOOMReport(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
ManagedServiceServer is the server API for ManagedService service. All implementations must embed UnimplementedManagedServiceServer for forward compatibility.
type NetworkQualityTestProgress ¶
type NetworkQualityTestProgress struct {
Phase int32 `protobuf:"varint,1,opt,name=phase,proto3" json:"phase,omitempty"`
DownloadCapacity int64 `protobuf:"varint,2,opt,name=downloadCapacity,proto3" json:"downloadCapacity,omitempty"`
UploadCapacity int64 `protobuf:"varint,3,opt,name=uploadCapacity,proto3" json:"uploadCapacity,omitempty"`
DownloadRPM int32 `protobuf:"varint,4,opt,name=downloadRPM,proto3" json:"downloadRPM,omitempty"`
UploadRPM int32 `protobuf:"varint,5,opt,name=uploadRPM,proto3" json:"uploadRPM,omitempty"`
IdleLatencyMs int32 `protobuf:"varint,6,opt,name=idleLatencyMs,proto3" json:"idleLatencyMs,omitempty"`
ElapsedMs int64 `protobuf:"varint,7,opt,name=elapsedMs,proto3" json:"elapsedMs,omitempty"`
IsFinal bool `protobuf:"varint,8,opt,name=isFinal,proto3" json:"isFinal,omitempty"`
Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
DownloadCapacityAccuracy int32 `protobuf:"varint,10,opt,name=downloadCapacityAccuracy,proto3" json:"downloadCapacityAccuracy,omitempty"`
UploadCapacityAccuracy int32 `protobuf:"varint,11,opt,name=uploadCapacityAccuracy,proto3" json:"uploadCapacityAccuracy,omitempty"`
DownloadRPMAccuracy int32 `protobuf:"varint,12,opt,name=downloadRPMAccuracy,proto3" json:"downloadRPMAccuracy,omitempty"`
UploadRPMAccuracy int32 `protobuf:"varint,13,opt,name=uploadRPMAccuracy,proto3" json:"uploadRPMAccuracy,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkQualityTestProgress) Descriptor
deprecated
func (*NetworkQualityTestProgress) Descriptor() ([]byte, []int)
Deprecated: Use NetworkQualityTestProgress.ProtoReflect.Descriptor instead.
func (*NetworkQualityTestProgress) GetDownloadCapacity ¶
func (x *NetworkQualityTestProgress) GetDownloadCapacity() int64
func (*NetworkQualityTestProgress) GetDownloadCapacityAccuracy ¶
func (x *NetworkQualityTestProgress) GetDownloadCapacityAccuracy() int32
func (*NetworkQualityTestProgress) GetDownloadRPM ¶
func (x *NetworkQualityTestProgress) GetDownloadRPM() int32
func (*NetworkQualityTestProgress) GetDownloadRPMAccuracy ¶
func (x *NetworkQualityTestProgress) GetDownloadRPMAccuracy() int32
func (*NetworkQualityTestProgress) GetElapsedMs ¶
func (x *NetworkQualityTestProgress) GetElapsedMs() int64
func (*NetworkQualityTestProgress) GetError ¶
func (x *NetworkQualityTestProgress) GetError() string
func (*NetworkQualityTestProgress) GetIdleLatencyMs ¶
func (x *NetworkQualityTestProgress) GetIdleLatencyMs() int32
func (*NetworkQualityTestProgress) GetIsFinal ¶
func (x *NetworkQualityTestProgress) GetIsFinal() bool
func (*NetworkQualityTestProgress) GetPhase ¶
func (x *NetworkQualityTestProgress) GetPhase() int32
func (*NetworkQualityTestProgress) GetUploadCapacity ¶
func (x *NetworkQualityTestProgress) GetUploadCapacity() int64
func (*NetworkQualityTestProgress) GetUploadCapacityAccuracy ¶
func (x *NetworkQualityTestProgress) GetUploadCapacityAccuracy() int32
func (*NetworkQualityTestProgress) GetUploadRPM ¶
func (x *NetworkQualityTestProgress) GetUploadRPM() int32
func (*NetworkQualityTestProgress) GetUploadRPMAccuracy ¶
func (x *NetworkQualityTestProgress) GetUploadRPMAccuracy() int32
func (*NetworkQualityTestProgress) ProtoMessage ¶
func (*NetworkQualityTestProgress) ProtoMessage()
func (*NetworkQualityTestProgress) ProtoReflect ¶
func (x *NetworkQualityTestProgress) ProtoReflect() protoreflect.Message
func (*NetworkQualityTestProgress) Reset ¶
func (x *NetworkQualityTestProgress) Reset()
func (*NetworkQualityTestProgress) String ¶
func (x *NetworkQualityTestProgress) String() string
type NetworkQualityTestRequest ¶
type NetworkQualityTestRequest struct {
ConfigURL string `protobuf:"bytes,1,opt,name=configURL,proto3" json:"configURL,omitempty"`
OutboundTag string `protobuf:"bytes,2,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
Serial bool `protobuf:"varint,3,opt,name=serial,proto3" json:"serial,omitempty"`
MaxRuntimeSeconds int32 `protobuf:"varint,4,opt,name=maxRuntimeSeconds,proto3" json:"maxRuntimeSeconds,omitempty"`
Http3 bool `protobuf:"varint,5,opt,name=http3,proto3" json:"http3,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkQualityTestRequest) Descriptor
deprecated
func (*NetworkQualityTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkQualityTestRequest.ProtoReflect.Descriptor instead.
func (*NetworkQualityTestRequest) GetConfigURL ¶
func (x *NetworkQualityTestRequest) GetConfigURL() string
func (*NetworkQualityTestRequest) GetHttp3 ¶
func (x *NetworkQualityTestRequest) GetHttp3() bool
func (*NetworkQualityTestRequest) GetMaxRuntimeSeconds ¶
func (x *NetworkQualityTestRequest) GetMaxRuntimeSeconds() int32
func (*NetworkQualityTestRequest) GetOutboundTag ¶
func (x *NetworkQualityTestRequest) GetOutboundTag() string
func (*NetworkQualityTestRequest) GetSerial ¶
func (x *NetworkQualityTestRequest) GetSerial() bool
func (*NetworkQualityTestRequest) ProtoMessage ¶
func (*NetworkQualityTestRequest) ProtoMessage()
func (*NetworkQualityTestRequest) ProtoReflect ¶
func (x *NetworkQualityTestRequest) ProtoReflect() protoreflect.Message
func (*NetworkQualityTestRequest) Reset ¶
func (x *NetworkQualityTestRequest) Reset()
func (*NetworkQualityTestRequest) String ¶
func (x *NetworkQualityTestRequest) String() string
type OutboundList ¶
type OutboundList struct {
Outbounds []*GroupItem `protobuf:"bytes,1,rep,name=outbounds,proto3" json:"outbounds,omitempty"`
// contains filtered or unexported fields
}
func (*OutboundList) Descriptor
deprecated
func (*OutboundList) Descriptor() ([]byte, []int)
Deprecated: Use OutboundList.ProtoReflect.Descriptor instead.
func (*OutboundList) GetOutbounds ¶
func (x *OutboundList) GetOutbounds() []*GroupItem
func (*OutboundList) ProtoMessage ¶
func (*OutboundList) ProtoMessage()
func (*OutboundList) ProtoReflect ¶
func (x *OutboundList) ProtoReflect() protoreflect.Message
func (*OutboundList) Reset ¶
func (x *OutboundList) Reset()
func (*OutboundList) String ¶
func (x *OutboundList) String() string
type OverrideOptions ¶
type PlatformHandler ¶
type ProcessInfo ¶
type ProcessInfo struct {
ProcessId uint32 `protobuf:"varint,1,opt,name=processId,proto3" json:"processId,omitempty"`
UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"`
ProcessPath string `protobuf:"bytes,4,opt,name=processPath,proto3" json:"processPath,omitempty"`
PackageNames []string `protobuf:"bytes,5,rep,name=packageNames,proto3" json:"packageNames,omitempty"`
// contains filtered or unexported fields
}
func (*ProcessInfo) Descriptor
deprecated
func (*ProcessInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead.
func (*ProcessInfo) GetPackageNames ¶ added in v1.13.4
func (x *ProcessInfo) GetPackageNames() []string
func (*ProcessInfo) GetProcessId ¶
func (x *ProcessInfo) GetProcessId() uint32
func (*ProcessInfo) GetProcessPath ¶
func (x *ProcessInfo) GetProcessPath() string
func (*ProcessInfo) GetUserId ¶
func (x *ProcessInfo) GetUserId() int32
func (*ProcessInfo) GetUserName ¶
func (x *ProcessInfo) GetUserName() string
func (*ProcessInfo) ProtoMessage ¶
func (*ProcessInfo) ProtoMessage()
func (*ProcessInfo) ProtoReflect ¶
func (x *ProcessInfo) ProtoReflect() protoreflect.Message
func (*ProcessInfo) Reset ¶
func (x *ProcessInfo) Reset()
func (*ProcessInfo) String ¶
func (x *ProcessInfo) String() string
type RemoteClientOptions ¶
func (RemoteClientOptions) ServerTarget ¶
func (o RemoteClientOptions) ServerTarget() (string, credentials.TransportCredentials, error)
type STUNTestProgress ¶
type STUNTestProgress struct {
Phase int32 `protobuf:"varint,1,opt,name=phase,proto3" json:"phase,omitempty"`
ExternalAddr string `protobuf:"bytes,2,opt,name=externalAddr,proto3" json:"externalAddr,omitempty"`
LatencyMs int32 `protobuf:"varint,3,opt,name=latencyMs,proto3" json:"latencyMs,omitempty"`
NatMapping int32 `protobuf:"varint,4,opt,name=natMapping,proto3" json:"natMapping,omitempty"`
NatFiltering int32 `protobuf:"varint,5,opt,name=natFiltering,proto3" json:"natFiltering,omitempty"`
IsFinal bool `protobuf:"varint,6,opt,name=isFinal,proto3" json:"isFinal,omitempty"`
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
NatTypeSupported bool `protobuf:"varint,8,opt,name=natTypeSupported,proto3" json:"natTypeSupported,omitempty"`
// contains filtered or unexported fields
}
func (*STUNTestProgress) Descriptor
deprecated
func (*STUNTestProgress) Descriptor() ([]byte, []int)
Deprecated: Use STUNTestProgress.ProtoReflect.Descriptor instead.
func (*STUNTestProgress) GetError ¶
func (x *STUNTestProgress) GetError() string
func (*STUNTestProgress) GetExternalAddr ¶
func (x *STUNTestProgress) GetExternalAddr() string
func (*STUNTestProgress) GetIsFinal ¶
func (x *STUNTestProgress) GetIsFinal() bool
func (*STUNTestProgress) GetLatencyMs ¶
func (x *STUNTestProgress) GetLatencyMs() int32
func (*STUNTestProgress) GetNatFiltering ¶
func (x *STUNTestProgress) GetNatFiltering() int32
func (*STUNTestProgress) GetNatMapping ¶
func (x *STUNTestProgress) GetNatMapping() int32
func (*STUNTestProgress) GetNatTypeSupported ¶
func (x *STUNTestProgress) GetNatTypeSupported() bool
func (*STUNTestProgress) GetPhase ¶
func (x *STUNTestProgress) GetPhase() int32
func (*STUNTestProgress) ProtoMessage ¶
func (*STUNTestProgress) ProtoMessage()
func (*STUNTestProgress) ProtoReflect ¶
func (x *STUNTestProgress) ProtoReflect() protoreflect.Message
func (*STUNTestProgress) Reset ¶
func (x *STUNTestProgress) Reset()
func (*STUNTestProgress) String ¶
func (x *STUNTestProgress) String() string
type STUNTestRequest ¶
type STUNTestRequest struct {
Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
OutboundTag string `protobuf:"bytes,2,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
// contains filtered or unexported fields
}
func (*STUNTestRequest) Descriptor
deprecated
func (*STUNTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use STUNTestRequest.ProtoReflect.Descriptor instead.
func (*STUNTestRequest) GetOutboundTag ¶
func (x *STUNTestRequest) GetOutboundTag() string
func (*STUNTestRequest) GetServer ¶
func (x *STUNTestRequest) GetServer() string
func (*STUNTestRequest) ProtoMessage ¶
func (*STUNTestRequest) ProtoMessage()
func (*STUNTestRequest) ProtoReflect ¶
func (x *STUNTestRequest) ProtoReflect() protoreflect.Message
func (*STUNTestRequest) Reset ¶
func (x *STUNTestRequest) Reset()
func (*STUNTestRequest) String ¶
func (x *STUNTestRequest) String() string
type SelectOutboundRequest ¶
type SelectOutboundRequest struct {
GroupTag string `protobuf:"bytes,1,opt,name=groupTag,proto3" json:"groupTag,omitempty"`
OutboundTag string `protobuf:"bytes,2,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
// contains filtered or unexported fields
}
func (*SelectOutboundRequest) Descriptor
deprecated
func (*SelectOutboundRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectOutboundRequest.ProtoReflect.Descriptor instead.
func (*SelectOutboundRequest) GetGroupTag ¶
func (x *SelectOutboundRequest) GetGroupTag() string
func (*SelectOutboundRequest) GetOutboundTag ¶
func (x *SelectOutboundRequest) GetOutboundTag() string
func (*SelectOutboundRequest) ProtoMessage ¶
func (*SelectOutboundRequest) ProtoMessage()
func (*SelectOutboundRequest) ProtoReflect ¶
func (x *SelectOutboundRequest) ProtoReflect() protoreflect.Message
func (*SelectOutboundRequest) Reset ¶
func (x *SelectOutboundRequest) Reset()
func (*SelectOutboundRequest) String ¶
func (x *SelectOutboundRequest) String() string
type ServiceOptions ¶
type ServiceStatus ¶
type ServiceStatus struct {
Status ServiceStatus_Type `protobuf:"varint,1,opt,name=status,proto3,enum=daemon.ServiceStatus_Type" json:"status,omitempty"`
ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceStatus) Descriptor
deprecated
func (*ServiceStatus) Descriptor() ([]byte, []int)
Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead.
func (*ServiceStatus) GetErrorMessage ¶
func (x *ServiceStatus) GetErrorMessage() string
func (*ServiceStatus) GetStatus ¶
func (x *ServiceStatus) GetStatus() ServiceStatus_Type
func (*ServiceStatus) ProtoMessage ¶
func (*ServiceStatus) ProtoMessage()
func (*ServiceStatus) ProtoReflect ¶
func (x *ServiceStatus) ProtoReflect() protoreflect.Message
func (*ServiceStatus) Reset ¶
func (x *ServiceStatus) Reset()
func (*ServiceStatus) String ¶
func (x *ServiceStatus) String() string
type ServiceStatus_Type ¶
type ServiceStatus_Type int32
const ( ServiceStatus_IDLE ServiceStatus_Type = 0 ServiceStatus_STARTING ServiceStatus_Type = 1 ServiceStatus_STARTED ServiceStatus_Type = 2 ServiceStatus_STOPPING ServiceStatus_Type = 3 ServiceStatus_FATAL ServiceStatus_Type = 4 )
func (ServiceStatus_Type) Descriptor ¶
func (ServiceStatus_Type) Descriptor() protoreflect.EnumDescriptor
func (ServiceStatus_Type) Enum ¶
func (x ServiceStatus_Type) Enum() *ServiceStatus_Type
func (ServiceStatus_Type) EnumDescriptor
deprecated
func (ServiceStatus_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServiceStatus_Type.Descriptor instead.
func (ServiceStatus_Type) Number ¶
func (x ServiceStatus_Type) Number() protoreflect.EnumNumber
func (ServiceStatus_Type) String ¶
func (x ServiceStatus_Type) String() string
func (ServiceStatus_Type) Type ¶
func (ServiceStatus_Type) Type() protoreflect.EnumType
type SetGroupExpandRequest ¶
type SetGroupExpandRequest struct {
GroupTag string `protobuf:"bytes,1,opt,name=groupTag,proto3" json:"groupTag,omitempty"`
IsExpand bool `protobuf:"varint,2,opt,name=isExpand,proto3" json:"isExpand,omitempty"`
// contains filtered or unexported fields
}
func (*SetGroupExpandRequest) Descriptor
deprecated
func (*SetGroupExpandRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetGroupExpandRequest.ProtoReflect.Descriptor instead.
func (*SetGroupExpandRequest) GetGroupTag ¶
func (x *SetGroupExpandRequest) GetGroupTag() string
func (*SetGroupExpandRequest) GetIsExpand ¶
func (x *SetGroupExpandRequest) GetIsExpand() bool
func (*SetGroupExpandRequest) ProtoMessage ¶
func (*SetGroupExpandRequest) ProtoMessage()
func (*SetGroupExpandRequest) ProtoReflect ¶
func (x *SetGroupExpandRequest) ProtoReflect() protoreflect.Message
func (*SetGroupExpandRequest) Reset ¶
func (x *SetGroupExpandRequest) Reset()
func (*SetGroupExpandRequest) String ¶
func (x *SetGroupExpandRequest) String() string
type SetSystemProxyEnabledRequest ¶
type SetSystemProxyEnabledRequest struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
func (*SetSystemProxyEnabledRequest) Descriptor
deprecated
func (*SetSystemProxyEnabledRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSystemProxyEnabledRequest.ProtoReflect.Descriptor instead.
func (*SetSystemProxyEnabledRequest) GetEnabled ¶
func (x *SetSystemProxyEnabledRequest) GetEnabled() bool
func (*SetSystemProxyEnabledRequest) ProtoMessage ¶
func (*SetSystemProxyEnabledRequest) ProtoMessage()
func (*SetSystemProxyEnabledRequest) ProtoReflect ¶
func (x *SetSystemProxyEnabledRequest) ProtoReflect() protoreflect.Message
func (*SetSystemProxyEnabledRequest) Reset ¶
func (x *SetSystemProxyEnabledRequest) Reset()
func (*SetSystemProxyEnabledRequest) String ¶
func (x *SetSystemProxyEnabledRequest) String() string
type SetTailscaleExitNodeRequest ¶
type SetTailscaleExitNodeRequest struct {
EndpointTag string `protobuf:"bytes,1,opt,name=endpointTag,proto3" json:"endpointTag,omitempty"`
StableID string `protobuf:"bytes,2,opt,name=stableID,proto3" json:"stableID,omitempty"`
// contains filtered or unexported fields
}
func (*SetTailscaleExitNodeRequest) Descriptor
deprecated
func (*SetTailscaleExitNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTailscaleExitNodeRequest.ProtoReflect.Descriptor instead.
func (*SetTailscaleExitNodeRequest) GetEndpointTag ¶
func (x *SetTailscaleExitNodeRequest) GetEndpointTag() string
func (*SetTailscaleExitNodeRequest) GetStableID ¶
func (x *SetTailscaleExitNodeRequest) GetStableID() string
func (*SetTailscaleExitNodeRequest) ProtoMessage ¶
func (*SetTailscaleExitNodeRequest) ProtoMessage()
func (*SetTailscaleExitNodeRequest) ProtoReflect ¶
func (x *SetTailscaleExitNodeRequest) ProtoReflect() protoreflect.Message
func (*SetTailscaleExitNodeRequest) Reset ¶
func (x *SetTailscaleExitNodeRequest) Reset()
func (*SetTailscaleExitNodeRequest) String ¶
func (x *SetTailscaleExitNodeRequest) String() string
type StartedAt ¶
type StartedAt struct {
StartedAt int64 `protobuf:"varint,1,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
// contains filtered or unexported fields
}
func (*StartedAt) Descriptor
deprecated
func (*StartedAt) GetStartedAt ¶
func (*StartedAt) ProtoMessage ¶
func (*StartedAt) ProtoMessage()
func (*StartedAt) ProtoReflect ¶
func (x *StartedAt) ProtoReflect() protoreflect.Message
type StartedService ¶
type StartedService struct {
// contains filtered or unexported fields
}
func NewAttachedService ¶
func NewAttachedService(ctx context.Context) *StartedService
StartOrReloadService and CloseService must not be called on an attached service.
func NewStartedService ¶
func NewStartedService(options ServiceOptions) *StartedService
func (*StartedService) CheckConfig ¶
func (s *StartedService) CheckConfig(configContent string) error
func (*StartedService) Close ¶
func (s *StartedService) Close()
func (*StartedService) CloseAllConnections ¶
func (*StartedService) CloseConnection ¶
func (s *StartedService) CloseConnection(ctx context.Context, request *CloseConnectionRequest) (*emptypb.Empty, error)
func (*StartedService) CloseService ¶
func (s *StartedService) CloseService() error
func (*StartedService) FormatConfig ¶
func (s *StartedService) FormatConfig(configContent string) (string, error)
func (*StartedService) GetClashModeStatus ¶
func (s *StartedService) GetClashModeStatus(ctx context.Context, empty *emptypb.Empty) (*ClashModeStatus, error)
func (*StartedService) GetDefaultLogLevel ¶
func (s *StartedService) GetDefaultLogLevel(ctx context.Context, empty *emptypb.Empty) (*DefaultLogLevel, error)
func (*StartedService) GetDeprecatedWarnings ¶
func (s *StartedService) GetDeprecatedWarnings(ctx context.Context, empty *emptypb.Empty) (*DeprecatedWarnings, error)
func (*StartedService) GetStartedAt ¶
func (*StartedService) GetVersion ¶
func (*StartedService) Instance ¶
func (s *StartedService) Instance() *Instance
func (*StartedService) ProvideUSBDevices ¶
func (s *StartedService) ProvideUSBDevices(server grpc.BidiStreamingServer[USBProviderMessage, USBServerMessage]) error
func (*StartedService) SelectOutbound ¶
func (s *StartedService) SelectOutbound(ctx context.Context, request *SelectOutboundRequest) (*emptypb.Empty, error)
func (*StartedService) SetClashMode ¶
func (*StartedService) SetError ¶
func (s *StartedService) SetError(err error)
func (*StartedService) SetGroupExpand ¶
func (s *StartedService) SetGroupExpand(ctx context.Context, request *SetGroupExpandRequest) (*emptypb.Empty, error)
func (*StartedService) SetTailscaleExitNode ¶
func (s *StartedService) SetTailscaleExitNode(ctx context.Context, request *SetTailscaleExitNodeRequest) (*emptypb.Empty, error)
func (*StartedService) StartNetworkQualityTest ¶
func (s *StartedService) StartNetworkQualityTest( request *NetworkQualityTestRequest, server grpc.ServerStreamingServer[NetworkQualityTestProgress], ) error
func (*StartedService) StartOrReloadService ¶
func (s *StartedService) StartOrReloadService(profileContent string, options *OverrideOptions) error
func (*StartedService) StartSTUNTest ¶
func (s *StartedService) StartSTUNTest( request *STUNTestRequest, server grpc.ServerStreamingServer[STUNTestProgress], ) error
func (*StartedService) StartTailscalePing ¶
func (s *StartedService) StartTailscalePing( request *TailscalePingRequest, server grpc.ServerStreamingServer[TailscalePingResponse], ) error
func (*StartedService) StartTailscaleSSHSession ¶
func (s *StartedService) StartTailscaleSSHSession( server grpc.BidiStreamingServer[TailscaleSSHClientMessage, TailscaleSSHServerMessage], ) error
func (*StartedService) SubscribeClashMode ¶
func (s *StartedService) SubscribeClashMode(empty *emptypb.Empty, server grpc.ServerStreamingServer[ClashMode]) error
func (*StartedService) SubscribeConnections ¶
func (s *StartedService) SubscribeConnections(request *SubscribeConnectionsRequest, server grpc.ServerStreamingServer[ConnectionEvents]) error
func (*StartedService) SubscribeGroups ¶
func (s *StartedService) SubscribeGroups(empty *emptypb.Empty, server grpc.ServerStreamingServer[Groups]) error
func (*StartedService) SubscribeLog ¶
func (s *StartedService) SubscribeLog(empty *emptypb.Empty, server grpc.ServerStreamingServer[Log]) error
func (*StartedService) SubscribeOutbounds ¶
func (s *StartedService) SubscribeOutbounds(_ *emptypb.Empty, server grpc.ServerStreamingServer[OutboundList]) error
func (*StartedService) SubscribeServiceStatus ¶
func (s *StartedService) SubscribeServiceStatus(empty *emptypb.Empty, server grpc.ServerStreamingServer[ServiceStatus]) error
func (*StartedService) SubscribeStatus ¶
func (s *StartedService) SubscribeStatus(request *SubscribeStatusRequest, server grpc.ServerStreamingServer[Status]) error
func (*StartedService) SubscribeTailscaleStatus ¶
func (s *StartedService) SubscribeTailscaleStatus( _ *emptypb.Empty, server grpc.ServerStreamingServer[TailscaleStatusUpdate], ) error
func (*StartedService) SubscribeUSBIPServerStatus ¶
func (s *StartedService) SubscribeUSBIPServerStatus(_ *emptypb.Empty, server grpc.ServerStreamingServer[USBIPServerStatusUpdate]) error
func (*StartedService) TailscaleLogout ¶
func (s *StartedService) TailscaleLogout(ctx context.Context, request *TailscaleLogoutRequest) (*emptypb.Empty, error)
func (*StartedService) URLTest ¶
func (s *StartedService) URLTest(ctx context.Context, request *URLTestRequest) (*emptypb.Empty, error)
func (*StartedService) WriteMessage ¶
func (s *StartedService) WriteMessage(level log.Level, message string)
type StartedServiceClient ¶
type StartedServiceClient interface {
GetVersion(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Version, error)
SubscribeServiceStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ServiceStatus], error)
SubscribeLog(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Log], error)
GetDefaultLogLevel(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DefaultLogLevel, error)
ClearLogs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
SubscribeStatus(ctx context.Context, in *SubscribeStatusRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Status], error)
SubscribeGroups(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Groups], error)
GetClashModeStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ClashModeStatus, error)
SubscribeClashMode(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ClashMode], error)
SetClashMode(ctx context.Context, in *ClashMode, opts ...grpc.CallOption) (*emptypb.Empty, error)
URLTest(ctx context.Context, in *URLTestRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SelectOutbound(ctx context.Context, in *SelectOutboundRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SetGroupExpand(ctx context.Context, in *SetGroupExpandRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SubscribeConnections(ctx context.Context, in *SubscribeConnectionsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ConnectionEvents], error)
CloseConnection(ctx context.Context, in *CloseConnectionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
CloseAllConnections(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetDeprecatedWarnings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DeprecatedWarnings, error)
GetStartedAt(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StartedAt, error)
SubscribeOutbounds(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[OutboundList], error)
StartNetworkQualityTest(ctx context.Context, in *NetworkQualityTestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[NetworkQualityTestProgress], error)
StartSTUNTest(ctx context.Context, in *STUNTestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[STUNTestProgress], error)
SubscribeTailscaleStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TailscaleStatusUpdate], error)
StartTailscalePing(ctx context.Context, in *TailscalePingRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TailscalePingResponse], error)
SetTailscaleExitNode(ctx context.Context, in *SetTailscaleExitNodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
TailscaleLogout(ctx context.Context, in *TailscaleLogoutRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
StartTailscaleSSHSession(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[TailscaleSSHClientMessage, TailscaleSSHServerMessage], error)
ProvideUSBDevices(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[USBProviderMessage, USBServerMessage], error)
SubscribeUSBIPServerStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[USBIPServerStatusUpdate], error)
}
StartedServiceClient is the client API for StartedService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStartedServiceClient ¶
func NewStartedServiceClient(cc grpc.ClientConnInterface) StartedServiceClient
type StartedServiceServer ¶
type StartedServiceServer interface {
GetVersion(context.Context, *emptypb.Empty) (*Version, error)
SubscribeServiceStatus(*emptypb.Empty, grpc.ServerStreamingServer[ServiceStatus]) error
SubscribeLog(*emptypb.Empty, grpc.ServerStreamingServer[Log]) error
GetDefaultLogLevel(context.Context, *emptypb.Empty) (*DefaultLogLevel, error)
ClearLogs(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
SubscribeStatus(*SubscribeStatusRequest, grpc.ServerStreamingServer[Status]) error
SubscribeGroups(*emptypb.Empty, grpc.ServerStreamingServer[Groups]) error
GetClashModeStatus(context.Context, *emptypb.Empty) (*ClashModeStatus, error)
SubscribeClashMode(*emptypb.Empty, grpc.ServerStreamingServer[ClashMode]) error
SetClashMode(context.Context, *ClashMode) (*emptypb.Empty, error)
URLTest(context.Context, *URLTestRequest) (*emptypb.Empty, error)
SelectOutbound(context.Context, *SelectOutboundRequest) (*emptypb.Empty, error)
SetGroupExpand(context.Context, *SetGroupExpandRequest) (*emptypb.Empty, error)
SubscribeConnections(*SubscribeConnectionsRequest, grpc.ServerStreamingServer[ConnectionEvents]) error
CloseConnection(context.Context, *CloseConnectionRequest) (*emptypb.Empty, error)
CloseAllConnections(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
GetDeprecatedWarnings(context.Context, *emptypb.Empty) (*DeprecatedWarnings, error)
GetStartedAt(context.Context, *emptypb.Empty) (*StartedAt, error)
SubscribeOutbounds(*emptypb.Empty, grpc.ServerStreamingServer[OutboundList]) error
StartNetworkQualityTest(*NetworkQualityTestRequest, grpc.ServerStreamingServer[NetworkQualityTestProgress]) error
StartSTUNTest(*STUNTestRequest, grpc.ServerStreamingServer[STUNTestProgress]) error
SubscribeTailscaleStatus(*emptypb.Empty, grpc.ServerStreamingServer[TailscaleStatusUpdate]) error
StartTailscalePing(*TailscalePingRequest, grpc.ServerStreamingServer[TailscalePingResponse]) error
SetTailscaleExitNode(context.Context, *SetTailscaleExitNodeRequest) (*emptypb.Empty, error)
TailscaleLogout(context.Context, *TailscaleLogoutRequest) (*emptypb.Empty, error)
StartTailscaleSSHSession(grpc.BidiStreamingServer[TailscaleSSHClientMessage, TailscaleSSHServerMessage]) error
ProvideUSBDevices(grpc.BidiStreamingServer[USBProviderMessage, USBServerMessage]) error
SubscribeUSBIPServerStatus(*emptypb.Empty, grpc.ServerStreamingServer[USBIPServerStatusUpdate]) error
// contains filtered or unexported methods
}
StartedServiceServer is the server API for StartedService service. All implementations must embed UnimplementedStartedServiceServer for forward compatibility.
type StartedService_ProvideUSBDevicesClient ¶
type StartedService_ProvideUSBDevicesClient = grpc.BidiStreamingClient[USBProviderMessage, USBServerMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_ProvideUSBDevicesServer ¶
type StartedService_ProvideUSBDevicesServer = grpc.BidiStreamingServer[USBProviderMessage, USBServerMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_StartNetworkQualityTestClient ¶
type StartedService_StartNetworkQualityTestClient = grpc.ServerStreamingClient[NetworkQualityTestProgress]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_StartNetworkQualityTestServer ¶
type StartedService_StartNetworkQualityTestServer = grpc.ServerStreamingServer[NetworkQualityTestProgress]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_StartSTUNTestClient ¶
type StartedService_StartSTUNTestClient = grpc.ServerStreamingClient[STUNTestProgress]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_StartSTUNTestServer ¶
type StartedService_StartSTUNTestServer = grpc.ServerStreamingServer[STUNTestProgress]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_StartTailscalePingClient ¶
type StartedService_StartTailscalePingClient = grpc.ServerStreamingClient[TailscalePingResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_StartTailscalePingServer ¶
type StartedService_StartTailscalePingServer = grpc.ServerStreamingServer[TailscalePingResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_StartTailscaleSSHSessionClient ¶
type StartedService_StartTailscaleSSHSessionClient = grpc.BidiStreamingClient[TailscaleSSHClientMessage, TailscaleSSHServerMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_StartTailscaleSSHSessionServer ¶
type StartedService_StartTailscaleSSHSessionServer = grpc.BidiStreamingServer[TailscaleSSHClientMessage, TailscaleSSHServerMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeClashModeClient ¶
type StartedService_SubscribeClashModeClient = grpc.ServerStreamingClient[ClashMode]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeClashModeServer ¶
type StartedService_SubscribeClashModeServer = grpc.ServerStreamingServer[ClashMode]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeConnectionsClient ¶
type StartedService_SubscribeConnectionsClient = grpc.ServerStreamingClient[ConnectionEvents]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeConnectionsServer ¶
type StartedService_SubscribeConnectionsServer = grpc.ServerStreamingServer[ConnectionEvents]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeGroupsClient ¶
type StartedService_SubscribeGroupsClient = grpc.ServerStreamingClient[Groups]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeGroupsServer ¶
type StartedService_SubscribeGroupsServer = grpc.ServerStreamingServer[Groups]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeLogClient ¶
type StartedService_SubscribeLogClient = grpc.ServerStreamingClient[Log]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeLogServer ¶
type StartedService_SubscribeLogServer = grpc.ServerStreamingServer[Log]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeOutboundsClient ¶
type StartedService_SubscribeOutboundsClient = grpc.ServerStreamingClient[OutboundList]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeOutboundsServer ¶
type StartedService_SubscribeOutboundsServer = grpc.ServerStreamingServer[OutboundList]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeServiceStatusClient ¶
type StartedService_SubscribeServiceStatusClient = grpc.ServerStreamingClient[ServiceStatus]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeServiceStatusServer ¶
type StartedService_SubscribeServiceStatusServer = grpc.ServerStreamingServer[ServiceStatus]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeStatusClient ¶
type StartedService_SubscribeStatusClient = grpc.ServerStreamingClient[Status]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeStatusServer ¶
type StartedService_SubscribeStatusServer = grpc.ServerStreamingServer[Status]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeTailscaleStatusClient ¶
type StartedService_SubscribeTailscaleStatusClient = grpc.ServerStreamingClient[TailscaleStatusUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeTailscaleStatusServer ¶
type StartedService_SubscribeTailscaleStatusServer = grpc.ServerStreamingServer[TailscaleStatusUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeUSBIPServerStatusClient ¶
type StartedService_SubscribeUSBIPServerStatusClient = grpc.ServerStreamingClient[USBIPServerStatusUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StartedService_SubscribeUSBIPServerStatusServer ¶
type StartedService_SubscribeUSBIPServerStatusServer = grpc.ServerStreamingServer[USBIPServerStatusUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Status ¶
type Status struct {
Memory uint64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
Goroutines int32 `protobuf:"varint,2,opt,name=goroutines,proto3" json:"goroutines,omitempty"`
ConnectionsIn int32 `protobuf:"varint,3,opt,name=connectionsIn,proto3" json:"connectionsIn,omitempty"`
ConnectionsOut int32 `protobuf:"varint,4,opt,name=connectionsOut,proto3" json:"connectionsOut,omitempty"`
TrafficAvailable bool `protobuf:"varint,5,opt,name=trafficAvailable,proto3" json:"trafficAvailable,omitempty"`
Uplink int64 `protobuf:"varint,6,opt,name=uplink,proto3" json:"uplink,omitempty"`
Downlink int64 `protobuf:"varint,7,opt,name=downlink,proto3" json:"downlink,omitempty"`
UplinkTotal int64 `protobuf:"varint,8,opt,name=uplinkTotal,proto3" json:"uplinkTotal,omitempty"`
DownlinkTotal int64 `protobuf:"varint,9,opt,name=downlinkTotal,proto3" json:"downlinkTotal,omitempty"`
// contains filtered or unexported fields
}
func (*Status) Descriptor
deprecated
func (*Status) GetConnectionsIn ¶
func (*Status) GetConnectionsOut ¶
func (*Status) GetDownlink ¶
func (*Status) GetDownlinkTotal ¶
func (*Status) GetGoroutines ¶
func (*Status) GetTrafficAvailable ¶
func (*Status) GetUplinkTotal ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type SubscribeConnectionsRequest ¶
type SubscribeConnectionsRequest struct {
Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeConnectionsRequest) Descriptor
deprecated
func (*SubscribeConnectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeConnectionsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeConnectionsRequest) GetInterval ¶
func (x *SubscribeConnectionsRequest) GetInterval() int64
func (*SubscribeConnectionsRequest) ProtoMessage ¶
func (*SubscribeConnectionsRequest) ProtoMessage()
func (*SubscribeConnectionsRequest) ProtoReflect ¶
func (x *SubscribeConnectionsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeConnectionsRequest) Reset ¶
func (x *SubscribeConnectionsRequest) Reset()
func (*SubscribeConnectionsRequest) String ¶
func (x *SubscribeConnectionsRequest) String() string
type SubscribeStatusRequest ¶
type SubscribeStatusRequest struct {
Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeStatusRequest) Descriptor
deprecated
func (*SubscribeStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeStatusRequest.ProtoReflect.Descriptor instead.
func (*SubscribeStatusRequest) GetInterval ¶
func (x *SubscribeStatusRequest) GetInterval() int64
func (*SubscribeStatusRequest) ProtoMessage ¶
func (*SubscribeStatusRequest) ProtoMessage()
func (*SubscribeStatusRequest) ProtoReflect ¶
func (x *SubscribeStatusRequest) ProtoReflect() protoreflect.Message
func (*SubscribeStatusRequest) Reset ¶
func (x *SubscribeStatusRequest) Reset()
func (*SubscribeStatusRequest) String ¶
func (x *SubscribeStatusRequest) String() string
type SystemProxyStatus ¶
type SystemProxyStatus struct {
Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
func (*SystemProxyStatus) Descriptor
deprecated
func (*SystemProxyStatus) Descriptor() ([]byte, []int)
Deprecated: Use SystemProxyStatus.ProtoReflect.Descriptor instead.
func (*SystemProxyStatus) GetAvailable ¶
func (x *SystemProxyStatus) GetAvailable() bool
func (*SystemProxyStatus) GetEnabled ¶
func (x *SystemProxyStatus) GetEnabled() bool
func (*SystemProxyStatus) ProtoMessage ¶
func (*SystemProxyStatus) ProtoMessage()
func (*SystemProxyStatus) ProtoReflect ¶
func (x *SystemProxyStatus) ProtoReflect() protoreflect.Message
func (*SystemProxyStatus) Reset ¶
func (x *SystemProxyStatus) Reset()
func (*SystemProxyStatus) String ¶
func (x *SystemProxyStatus) String() string
type TailscaleEndpointStatus ¶
type TailscaleEndpointStatus struct {
EndpointTag string `protobuf:"bytes,1,opt,name=endpointTag,proto3" json:"endpointTag,omitempty"`
BackendState string `protobuf:"bytes,2,opt,name=backendState,proto3" json:"backendState,omitempty"`
AuthURL string `protobuf:"bytes,3,opt,name=authURL,proto3" json:"authURL,omitempty"`
NetworkName string `protobuf:"bytes,4,opt,name=networkName,proto3" json:"networkName,omitempty"`
MagicDNSSuffix string `protobuf:"bytes,5,opt,name=magicDNSSuffix,proto3" json:"magicDNSSuffix,omitempty"`
Self *TailscalePeer `protobuf:"bytes,6,opt,name=self,proto3" json:"self,omitempty"`
UserGroups []*TailscaleUserGroup `protobuf:"bytes,7,rep,name=userGroups,proto3" json:"userGroups,omitempty"`
ExitNode *TailscalePeer `protobuf:"bytes,8,opt,name=exitNode,proto3" json:"exitNode,omitempty"`
KeyAuth bool `protobuf:"varint,9,opt,name=keyAuth,proto3" json:"keyAuth,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleEndpointStatus) Descriptor
deprecated
func (*TailscaleEndpointStatus) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleEndpointStatus.ProtoReflect.Descriptor instead.
func (*TailscaleEndpointStatus) GetAuthURL ¶
func (x *TailscaleEndpointStatus) GetAuthURL() string
func (*TailscaleEndpointStatus) GetBackendState ¶
func (x *TailscaleEndpointStatus) GetBackendState() string
func (*TailscaleEndpointStatus) GetEndpointTag ¶
func (x *TailscaleEndpointStatus) GetEndpointTag() string
func (*TailscaleEndpointStatus) GetExitNode ¶
func (x *TailscaleEndpointStatus) GetExitNode() *TailscalePeer
func (*TailscaleEndpointStatus) GetKeyAuth ¶
func (x *TailscaleEndpointStatus) GetKeyAuth() bool
func (*TailscaleEndpointStatus) GetMagicDNSSuffix ¶
func (x *TailscaleEndpointStatus) GetMagicDNSSuffix() string
func (*TailscaleEndpointStatus) GetNetworkName ¶
func (x *TailscaleEndpointStatus) GetNetworkName() string
func (*TailscaleEndpointStatus) GetSelf ¶
func (x *TailscaleEndpointStatus) GetSelf() *TailscalePeer
func (*TailscaleEndpointStatus) GetUserGroups ¶
func (x *TailscaleEndpointStatus) GetUserGroups() []*TailscaleUserGroup
func (*TailscaleEndpointStatus) ProtoMessage ¶
func (*TailscaleEndpointStatus) ProtoMessage()
func (*TailscaleEndpointStatus) ProtoReflect ¶
func (x *TailscaleEndpointStatus) ProtoReflect() protoreflect.Message
func (*TailscaleEndpointStatus) Reset ¶
func (x *TailscaleEndpointStatus) Reset()
func (*TailscaleEndpointStatus) String ¶
func (x *TailscaleEndpointStatus) String() string
type TailscaleLogoutRequest ¶
type TailscaleLogoutRequest struct {
EndpointTag string `protobuf:"bytes,1,opt,name=endpointTag,proto3" json:"endpointTag,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleLogoutRequest) Descriptor
deprecated
func (*TailscaleLogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleLogoutRequest.ProtoReflect.Descriptor instead.
func (*TailscaleLogoutRequest) GetEndpointTag ¶
func (x *TailscaleLogoutRequest) GetEndpointTag() string
func (*TailscaleLogoutRequest) ProtoMessage ¶
func (*TailscaleLogoutRequest) ProtoMessage()
func (*TailscaleLogoutRequest) ProtoReflect ¶
func (x *TailscaleLogoutRequest) ProtoReflect() protoreflect.Message
func (*TailscaleLogoutRequest) Reset ¶
func (x *TailscaleLogoutRequest) Reset()
func (*TailscaleLogoutRequest) String ¶
func (x *TailscaleLogoutRequest) String() string
type TailscalePeer ¶
type TailscalePeer struct {
HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"`
DnsName string `protobuf:"bytes,2,opt,name=dnsName,proto3" json:"dnsName,omitempty"`
Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
TailscaleIPs []string `protobuf:"bytes,4,rep,name=tailscaleIPs,proto3" json:"tailscaleIPs,omitempty"`
Online bool `protobuf:"varint,5,opt,name=online,proto3" json:"online,omitempty"`
ExitNode bool `protobuf:"varint,6,opt,name=exitNode,proto3" json:"exitNode,omitempty"`
ExitNodeOption bool `protobuf:"varint,7,opt,name=exitNodeOption,proto3" json:"exitNodeOption,omitempty"`
Active bool `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
RxBytes int64 `protobuf:"varint,9,opt,name=rxBytes,proto3" json:"rxBytes,omitempty"`
TxBytes int64 `protobuf:"varint,10,opt,name=txBytes,proto3" json:"txBytes,omitempty"`
KeyExpiry int64 `protobuf:"varint,11,opt,name=keyExpiry,proto3" json:"keyExpiry,omitempty"`
StableID string `protobuf:"bytes,12,opt,name=stableID,proto3" json:"stableID,omitempty"`
Expired bool `protobuf:"varint,13,opt,name=expired,proto3" json:"expired,omitempty"`
SshHostKeys []string `protobuf:"bytes,14,rep,name=sshHostKeys,proto3" json:"sshHostKeys,omitempty"`
LastSeen int64 `protobuf:"varint,16,opt,name=lastSeen,proto3" json:"lastSeen,omitempty"`
// contains filtered or unexported fields
}
func (*TailscalePeer) Descriptor
deprecated
func (*TailscalePeer) Descriptor() ([]byte, []int)
Deprecated: Use TailscalePeer.ProtoReflect.Descriptor instead.
func (*TailscalePeer) GetActive ¶
func (x *TailscalePeer) GetActive() bool
func (*TailscalePeer) GetDnsName ¶
func (x *TailscalePeer) GetDnsName() string
func (*TailscalePeer) GetExitNode ¶
func (x *TailscalePeer) GetExitNode() bool
func (*TailscalePeer) GetExitNodeOption ¶
func (x *TailscalePeer) GetExitNodeOption() bool
func (*TailscalePeer) GetExpired ¶
func (x *TailscalePeer) GetExpired() bool
func (*TailscalePeer) GetHostName ¶
func (x *TailscalePeer) GetHostName() string
func (*TailscalePeer) GetKeyExpiry ¶
func (x *TailscalePeer) GetKeyExpiry() int64
func (*TailscalePeer) GetLastSeen ¶
func (x *TailscalePeer) GetLastSeen() int64
func (*TailscalePeer) GetOnline ¶
func (x *TailscalePeer) GetOnline() bool
func (*TailscalePeer) GetOs ¶
func (x *TailscalePeer) GetOs() string
func (*TailscalePeer) GetRxBytes ¶
func (x *TailscalePeer) GetRxBytes() int64
func (*TailscalePeer) GetShareeNode ¶
func (x *TailscalePeer) GetShareeNode() bool
func (*TailscalePeer) GetSshHostKeys ¶
func (x *TailscalePeer) GetSshHostKeys() []string
func (*TailscalePeer) GetStableID ¶
func (x *TailscalePeer) GetStableID() string
func (*TailscalePeer) GetTailscaleIPs ¶
func (x *TailscalePeer) GetTailscaleIPs() []string
func (*TailscalePeer) GetTxBytes ¶
func (x *TailscalePeer) GetTxBytes() int64
func (*TailscalePeer) ProtoMessage ¶
func (*TailscalePeer) ProtoMessage()
func (*TailscalePeer) ProtoReflect ¶
func (x *TailscalePeer) ProtoReflect() protoreflect.Message
func (*TailscalePeer) Reset ¶
func (x *TailscalePeer) Reset()
func (*TailscalePeer) String ¶
func (x *TailscalePeer) String() string
type TailscalePingRequest ¶
type TailscalePingRequest struct {
EndpointTag string `protobuf:"bytes,1,opt,name=endpointTag,proto3" json:"endpointTag,omitempty"`
PeerIP string `protobuf:"bytes,2,opt,name=peerIP,proto3" json:"peerIP,omitempty"`
// contains filtered or unexported fields
}
func (*TailscalePingRequest) Descriptor
deprecated
func (*TailscalePingRequest) Descriptor() ([]byte, []int)
Deprecated: Use TailscalePingRequest.ProtoReflect.Descriptor instead.
func (*TailscalePingRequest) GetEndpointTag ¶
func (x *TailscalePingRequest) GetEndpointTag() string
func (*TailscalePingRequest) GetPeerIP ¶
func (x *TailscalePingRequest) GetPeerIP() string
func (*TailscalePingRequest) ProtoMessage ¶
func (*TailscalePingRequest) ProtoMessage()
func (*TailscalePingRequest) ProtoReflect ¶
func (x *TailscalePingRequest) ProtoReflect() protoreflect.Message
func (*TailscalePingRequest) Reset ¶
func (x *TailscalePingRequest) Reset()
func (*TailscalePingRequest) String ¶
func (x *TailscalePingRequest) String() string
type TailscalePingResponse ¶
type TailscalePingResponse struct {
LatencyMs float64 `protobuf:"fixed64,1,opt,name=latencyMs,proto3" json:"latencyMs,omitempty"`
IsDirect bool `protobuf:"varint,2,opt,name=isDirect,proto3" json:"isDirect,omitempty"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
DerpRegionID int32 `protobuf:"varint,4,opt,name=derpRegionID,proto3" json:"derpRegionID,omitempty"`
DerpRegionCode string `protobuf:"bytes,5,opt,name=derpRegionCode,proto3" json:"derpRegionCode,omitempty"`
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*TailscalePingResponse) Descriptor
deprecated
func (*TailscalePingResponse) Descriptor() ([]byte, []int)
Deprecated: Use TailscalePingResponse.ProtoReflect.Descriptor instead.
func (*TailscalePingResponse) GetDerpRegionCode ¶
func (x *TailscalePingResponse) GetDerpRegionCode() string
func (*TailscalePingResponse) GetDerpRegionID ¶
func (x *TailscalePingResponse) GetDerpRegionID() int32
func (*TailscalePingResponse) GetEndpoint ¶
func (x *TailscalePingResponse) GetEndpoint() string
func (*TailscalePingResponse) GetError ¶
func (x *TailscalePingResponse) GetError() string
func (*TailscalePingResponse) GetIsDirect ¶
func (x *TailscalePingResponse) GetIsDirect() bool
func (*TailscalePingResponse) GetLatencyMs ¶
func (x *TailscalePingResponse) GetLatencyMs() float64
func (*TailscalePingResponse) ProtoMessage ¶
func (*TailscalePingResponse) ProtoMessage()
func (*TailscalePingResponse) ProtoReflect ¶
func (x *TailscalePingResponse) ProtoReflect() protoreflect.Message
func (*TailscalePingResponse) Reset ¶
func (x *TailscalePingResponse) Reset()
func (*TailscalePingResponse) String ¶
func (x *TailscalePingResponse) String() string
type TailscaleSSHAuthBanner ¶
type TailscaleSSHAuthBanner struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleSSHAuthBanner) Descriptor
deprecated
func (*TailscaleSSHAuthBanner) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHAuthBanner.ProtoReflect.Descriptor instead.
func (*TailscaleSSHAuthBanner) GetMessage ¶
func (x *TailscaleSSHAuthBanner) GetMessage() string
func (*TailscaleSSHAuthBanner) ProtoMessage ¶
func (*TailscaleSSHAuthBanner) ProtoMessage()
func (*TailscaleSSHAuthBanner) ProtoReflect ¶
func (x *TailscaleSSHAuthBanner) ProtoReflect() protoreflect.Message
func (*TailscaleSSHAuthBanner) Reset ¶
func (x *TailscaleSSHAuthBanner) Reset()
func (*TailscaleSSHAuthBanner) String ¶
func (x *TailscaleSSHAuthBanner) String() string
type TailscaleSSHClientMessage ¶
type TailscaleSSHClientMessage struct {
// Types that are valid to be assigned to Message:
//
// *TailscaleSSHClientMessage_Start
// *TailscaleSSHClientMessage_Input
// *TailscaleSSHClientMessage_Resize
Message isTailscaleSSHClientMessage_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*TailscaleSSHClientMessage) Descriptor
deprecated
func (*TailscaleSSHClientMessage) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHClientMessage.ProtoReflect.Descriptor instead.
func (*TailscaleSSHClientMessage) GetInput ¶
func (x *TailscaleSSHClientMessage) GetInput() *TailscaleSSHInput
func (*TailscaleSSHClientMessage) GetMessage ¶
func (x *TailscaleSSHClientMessage) GetMessage() isTailscaleSSHClientMessage_Message
func (*TailscaleSSHClientMessage) GetResize ¶
func (x *TailscaleSSHClientMessage) GetResize() *TailscaleSSHResize
func (*TailscaleSSHClientMessage) GetStart ¶
func (x *TailscaleSSHClientMessage) GetStart() *TailscaleSSHStart
func (*TailscaleSSHClientMessage) ProtoMessage ¶
func (*TailscaleSSHClientMessage) ProtoMessage()
func (*TailscaleSSHClientMessage) ProtoReflect ¶
func (x *TailscaleSSHClientMessage) ProtoReflect() protoreflect.Message
func (*TailscaleSSHClientMessage) Reset ¶
func (x *TailscaleSSHClientMessage) Reset()
func (*TailscaleSSHClientMessage) String ¶
func (x *TailscaleSSHClientMessage) String() string
type TailscaleSSHClientMessage_Input ¶
type TailscaleSSHClientMessage_Input struct {
Input *TailscaleSSHInput `protobuf:"bytes,2,opt,name=input,proto3,oneof"`
}
type TailscaleSSHClientMessage_Resize ¶
type TailscaleSSHClientMessage_Resize struct {
Resize *TailscaleSSHResize `protobuf:"bytes,3,opt,name=resize,proto3,oneof"`
}
type TailscaleSSHClientMessage_Start ¶
type TailscaleSSHClientMessage_Start struct {
Start *TailscaleSSHStart `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}
type TailscaleSSHError ¶
type TailscaleSSHError struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleSSHError) Descriptor
deprecated
func (*TailscaleSSHError) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHError.ProtoReflect.Descriptor instead.
func (*TailscaleSSHError) GetMessage ¶
func (x *TailscaleSSHError) GetMessage() string
func (*TailscaleSSHError) ProtoMessage ¶
func (*TailscaleSSHError) ProtoMessage()
func (*TailscaleSSHError) ProtoReflect ¶
func (x *TailscaleSSHError) ProtoReflect() protoreflect.Message
func (*TailscaleSSHError) Reset ¶
func (x *TailscaleSSHError) Reset()
func (*TailscaleSSHError) String ¶
func (x *TailscaleSSHError) String() string
type TailscaleSSHExit ¶
type TailscaleSSHExit struct {
ExitCode int32 `protobuf:"varint,1,opt,name=exitCode,proto3" json:"exitCode,omitempty"`
Signal string `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"`
ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleSSHExit) Descriptor
deprecated
func (*TailscaleSSHExit) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHExit.ProtoReflect.Descriptor instead.
func (*TailscaleSSHExit) GetErrorMessage ¶
func (x *TailscaleSSHExit) GetErrorMessage() string
func (*TailscaleSSHExit) GetExitCode ¶
func (x *TailscaleSSHExit) GetExitCode() int32
func (*TailscaleSSHExit) GetSignal ¶
func (x *TailscaleSSHExit) GetSignal() string
func (*TailscaleSSHExit) ProtoMessage ¶
func (*TailscaleSSHExit) ProtoMessage()
func (*TailscaleSSHExit) ProtoReflect ¶
func (x *TailscaleSSHExit) ProtoReflect() protoreflect.Message
func (*TailscaleSSHExit) Reset ¶
func (x *TailscaleSSHExit) Reset()
func (*TailscaleSSHExit) String ¶
func (x *TailscaleSSHExit) String() string
type TailscaleSSHInput ¶
type TailscaleSSHInput struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleSSHInput) Descriptor
deprecated
func (*TailscaleSSHInput) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHInput.ProtoReflect.Descriptor instead.
func (*TailscaleSSHInput) GetData ¶
func (x *TailscaleSSHInput) GetData() []byte
func (*TailscaleSSHInput) ProtoMessage ¶
func (*TailscaleSSHInput) ProtoMessage()
func (*TailscaleSSHInput) ProtoReflect ¶
func (x *TailscaleSSHInput) ProtoReflect() protoreflect.Message
func (*TailscaleSSHInput) Reset ¶
func (x *TailscaleSSHInput) Reset()
func (*TailscaleSSHInput) String ¶
func (x *TailscaleSSHInput) String() string
type TailscaleSSHOutput ¶
type TailscaleSSHOutput struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleSSHOutput) Descriptor
deprecated
func (*TailscaleSSHOutput) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHOutput.ProtoReflect.Descriptor instead.
func (*TailscaleSSHOutput) GetData ¶
func (x *TailscaleSSHOutput) GetData() []byte
func (*TailscaleSSHOutput) ProtoMessage ¶
func (*TailscaleSSHOutput) ProtoMessage()
func (*TailscaleSSHOutput) ProtoReflect ¶
func (x *TailscaleSSHOutput) ProtoReflect() protoreflect.Message
func (*TailscaleSSHOutput) Reset ¶
func (x *TailscaleSSHOutput) Reset()
func (*TailscaleSSHOutput) String ¶
func (x *TailscaleSSHOutput) String() string
type TailscaleSSHReady ¶
type TailscaleSSHReady struct {
// contains filtered or unexported fields
}
func (*TailscaleSSHReady) Descriptor
deprecated
func (*TailscaleSSHReady) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHReady.ProtoReflect.Descriptor instead.
func (*TailscaleSSHReady) ProtoMessage ¶
func (*TailscaleSSHReady) ProtoMessage()
func (*TailscaleSSHReady) ProtoReflect ¶
func (x *TailscaleSSHReady) ProtoReflect() protoreflect.Message
func (*TailscaleSSHReady) Reset ¶
func (x *TailscaleSSHReady) Reset()
func (*TailscaleSSHReady) String ¶
func (x *TailscaleSSHReady) String() string
type TailscaleSSHResize ¶
type TailscaleSSHResize struct {
Columns int32 `protobuf:"varint,1,opt,name=columns,proto3" json:"columns,omitempty"`
Rows int32 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"`
WidthPixels int32 `protobuf:"varint,3,opt,name=widthPixels,proto3" json:"widthPixels,omitempty"`
HeightPixels int32 `protobuf:"varint,4,opt,name=heightPixels,proto3" json:"heightPixels,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleSSHResize) Descriptor
deprecated
func (*TailscaleSSHResize) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHResize.ProtoReflect.Descriptor instead.
func (*TailscaleSSHResize) GetColumns ¶
func (x *TailscaleSSHResize) GetColumns() int32
func (*TailscaleSSHResize) GetHeightPixels ¶
func (x *TailscaleSSHResize) GetHeightPixels() int32
func (*TailscaleSSHResize) GetRows ¶
func (x *TailscaleSSHResize) GetRows() int32
func (*TailscaleSSHResize) GetWidthPixels ¶
func (x *TailscaleSSHResize) GetWidthPixels() int32
func (*TailscaleSSHResize) ProtoMessage ¶
func (*TailscaleSSHResize) ProtoMessage()
func (*TailscaleSSHResize) ProtoReflect ¶
func (x *TailscaleSSHResize) ProtoReflect() protoreflect.Message
func (*TailscaleSSHResize) Reset ¶
func (x *TailscaleSSHResize) Reset()
func (*TailscaleSSHResize) String ¶
func (x *TailscaleSSHResize) String() string
type TailscaleSSHServerMessage ¶
type TailscaleSSHServerMessage struct {
// Types that are valid to be assigned to Message:
//
// *TailscaleSSHServerMessage_AuthBanner
// *TailscaleSSHServerMessage_Ready
// *TailscaleSSHServerMessage_Output
// *TailscaleSSHServerMessage_Exit
// *TailscaleSSHServerMessage_Error
Message isTailscaleSSHServerMessage_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*TailscaleSSHServerMessage) Descriptor
deprecated
func (*TailscaleSSHServerMessage) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHServerMessage.ProtoReflect.Descriptor instead.
func (*TailscaleSSHServerMessage) GetAuthBanner ¶
func (x *TailscaleSSHServerMessage) GetAuthBanner() *TailscaleSSHAuthBanner
func (*TailscaleSSHServerMessage) GetError ¶
func (x *TailscaleSSHServerMessage) GetError() *TailscaleSSHError
func (*TailscaleSSHServerMessage) GetExit ¶
func (x *TailscaleSSHServerMessage) GetExit() *TailscaleSSHExit
func (*TailscaleSSHServerMessage) GetMessage ¶
func (x *TailscaleSSHServerMessage) GetMessage() isTailscaleSSHServerMessage_Message
func (*TailscaleSSHServerMessage) GetOutput ¶
func (x *TailscaleSSHServerMessage) GetOutput() *TailscaleSSHOutput
func (*TailscaleSSHServerMessage) GetReady ¶
func (x *TailscaleSSHServerMessage) GetReady() *TailscaleSSHReady
func (*TailscaleSSHServerMessage) ProtoMessage ¶
func (*TailscaleSSHServerMessage) ProtoMessage()
func (*TailscaleSSHServerMessage) ProtoReflect ¶
func (x *TailscaleSSHServerMessage) ProtoReflect() protoreflect.Message
func (*TailscaleSSHServerMessage) Reset ¶
func (x *TailscaleSSHServerMessage) Reset()
func (*TailscaleSSHServerMessage) String ¶
func (x *TailscaleSSHServerMessage) String() string
type TailscaleSSHServerMessage_AuthBanner ¶
type TailscaleSSHServerMessage_AuthBanner struct {
AuthBanner *TailscaleSSHAuthBanner `protobuf:"bytes,1,opt,name=authBanner,proto3,oneof"`
}
type TailscaleSSHServerMessage_Error ¶
type TailscaleSSHServerMessage_Error struct {
Error *TailscaleSSHError `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
}
type TailscaleSSHServerMessage_Exit ¶
type TailscaleSSHServerMessage_Exit struct {
Exit *TailscaleSSHExit `protobuf:"bytes,4,opt,name=exit,proto3,oneof"`
}
type TailscaleSSHServerMessage_Output ¶
type TailscaleSSHServerMessage_Output struct {
Output *TailscaleSSHOutput `protobuf:"bytes,3,opt,name=output,proto3,oneof"`
}
type TailscaleSSHServerMessage_Ready ¶
type TailscaleSSHServerMessage_Ready struct {
Ready *TailscaleSSHReady `protobuf:"bytes,2,opt,name=ready,proto3,oneof"`
}
type TailscaleSSHStart ¶
type TailscaleSSHStart struct {
EndpointTag string `protobuf:"bytes,1,opt,name=endpointTag,proto3" json:"endpointTag,omitempty"`
PeerAddress string `protobuf:"bytes,2,opt,name=peerAddress,proto3" json:"peerAddress,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
TerminalType string `protobuf:"bytes,4,opt,name=terminalType,proto3" json:"terminalType,omitempty"`
Columns int32 `protobuf:"varint,5,opt,name=columns,proto3" json:"columns,omitempty"`
Rows int32 `protobuf:"varint,6,opt,name=rows,proto3" json:"rows,omitempty"`
WidthPixels int32 `protobuf:"varint,7,opt,name=widthPixels,proto3" json:"widthPixels,omitempty"`
HeightPixels int32 `protobuf:"varint,8,opt,name=heightPixels,proto3" json:"heightPixels,omitempty"`
HostKeys []string `protobuf:"bytes,9,rep,name=hostKeys,proto3" json:"hostKeys,omitempty"`
ForwardAgent bool `protobuf:"varint,10,opt,name=forward_agent,json=forwardAgent,proto3" json:"forward_agent,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleSSHStart) Descriptor
deprecated
func (*TailscaleSSHStart) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleSSHStart.ProtoReflect.Descriptor instead.
func (*TailscaleSSHStart) GetColumns ¶
func (x *TailscaleSSHStart) GetColumns() int32
func (*TailscaleSSHStart) GetEndpointTag ¶
func (x *TailscaleSSHStart) GetEndpointTag() string
func (*TailscaleSSHStart) GetForwardAgent ¶
func (x *TailscaleSSHStart) GetForwardAgent() bool
func (*TailscaleSSHStart) GetHeightPixels ¶
func (x *TailscaleSSHStart) GetHeightPixels() int32
func (*TailscaleSSHStart) GetHostKeys ¶
func (x *TailscaleSSHStart) GetHostKeys() []string
func (*TailscaleSSHStart) GetPeerAddress ¶
func (x *TailscaleSSHStart) GetPeerAddress() string
func (*TailscaleSSHStart) GetRows ¶
func (x *TailscaleSSHStart) GetRows() int32
func (*TailscaleSSHStart) GetTerminalType ¶
func (x *TailscaleSSHStart) GetTerminalType() string
func (*TailscaleSSHStart) GetUsername ¶
func (x *TailscaleSSHStart) GetUsername() string
func (*TailscaleSSHStart) GetWidthPixels ¶
func (x *TailscaleSSHStart) GetWidthPixels() int32
func (*TailscaleSSHStart) ProtoMessage ¶
func (*TailscaleSSHStart) ProtoMessage()
func (*TailscaleSSHStart) ProtoReflect ¶
func (x *TailscaleSSHStart) ProtoReflect() protoreflect.Message
func (*TailscaleSSHStart) Reset ¶
func (x *TailscaleSSHStart) Reset()
func (*TailscaleSSHStart) String ¶
func (x *TailscaleSSHStart) String() string
type TailscaleStatusUpdate ¶
type TailscaleStatusUpdate struct {
Endpoints []*TailscaleEndpointStatus `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleStatusUpdate) Descriptor
deprecated
func (*TailscaleStatusUpdate) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleStatusUpdate.ProtoReflect.Descriptor instead.
func (*TailscaleStatusUpdate) GetEndpoints ¶
func (x *TailscaleStatusUpdate) GetEndpoints() []*TailscaleEndpointStatus
func (*TailscaleStatusUpdate) ProtoMessage ¶
func (*TailscaleStatusUpdate) ProtoMessage()
func (*TailscaleStatusUpdate) ProtoReflect ¶
func (x *TailscaleStatusUpdate) ProtoReflect() protoreflect.Message
func (*TailscaleStatusUpdate) Reset ¶
func (x *TailscaleStatusUpdate) Reset()
func (*TailscaleStatusUpdate) String ¶
func (x *TailscaleStatusUpdate) String() string
type TailscaleUserGroup ¶
type TailscaleUserGroup struct {
UserID int64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`
LoginName string `protobuf:"bytes,2,opt,name=loginName,proto3" json:"loginName,omitempty"`
DisplayName string `protobuf:"bytes,3,opt,name=displayName,proto3" json:"displayName,omitempty"`
ProfilePicURL string `protobuf:"bytes,4,opt,name=profilePicURL,proto3" json:"profilePicURL,omitempty"`
Peers []*TailscalePeer `protobuf:"bytes,5,rep,name=peers,proto3" json:"peers,omitempty"`
// contains filtered or unexported fields
}
func (*TailscaleUserGroup) Descriptor
deprecated
func (*TailscaleUserGroup) Descriptor() ([]byte, []int)
Deprecated: Use TailscaleUserGroup.ProtoReflect.Descriptor instead.
func (*TailscaleUserGroup) GetDisplayName ¶
func (x *TailscaleUserGroup) GetDisplayName() string
func (*TailscaleUserGroup) GetLoginName ¶
func (x *TailscaleUserGroup) GetLoginName() string
func (*TailscaleUserGroup) GetPeers ¶
func (x *TailscaleUserGroup) GetPeers() []*TailscalePeer
func (*TailscaleUserGroup) GetProfilePicURL ¶
func (x *TailscaleUserGroup) GetProfilePicURL() string
func (*TailscaleUserGroup) GetUserID ¶
func (x *TailscaleUserGroup) GetUserID() int64
func (*TailscaleUserGroup) ProtoMessage ¶
func (*TailscaleUserGroup) ProtoMessage()
func (*TailscaleUserGroup) ProtoReflect ¶
func (x *TailscaleUserGroup) ProtoReflect() protoreflect.Message
func (*TailscaleUserGroup) Reset ¶
func (x *TailscaleUserGroup) Reset()
func (*TailscaleUserGroup) String ¶
func (x *TailscaleUserGroup) String() string
type URLTestRequest ¶
type URLTestRequest struct {
OutboundTag string `protobuf:"bytes,1,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
// contains filtered or unexported fields
}
func (*URLTestRequest) Descriptor
deprecated
func (*URLTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use URLTestRequest.ProtoReflect.Descriptor instead.
func (*URLTestRequest) GetOutboundTag ¶
func (x *URLTestRequest) GetOutboundTag() string
func (*URLTestRequest) ProtoMessage ¶
func (*URLTestRequest) ProtoMessage()
func (*URLTestRequest) ProtoReflect ¶
func (x *URLTestRequest) ProtoReflect() protoreflect.Message
func (*URLTestRequest) Reset ¶
func (x *URLTestRequest) Reset()
func (*URLTestRequest) String ¶
func (x *URLTestRequest) String() string
type USBBackend ¶
type USBBackend int32
const ( USBBackend_USB_BACKEND_UNSPECIFIED USBBackend = 0 USBBackend_USB_BACKEND_LINUX_SYSFS USBBackend = 1 USBBackend_USB_BACKEND_DYNAMIC USBBackend = 2 USBBackend_USB_BACKEND_DARWIN_IOKIT USBBackend = 3 USBBackend_USB_BACKEND_WINDOWS_VBOXUSB USBBackend = 4 )
func (USBBackend) Descriptor ¶
func (USBBackend) Descriptor() protoreflect.EnumDescriptor
func (USBBackend) Enum ¶
func (x USBBackend) Enum() *USBBackend
func (USBBackend) EnumDescriptor
deprecated
func (USBBackend) EnumDescriptor() ([]byte, []int)
Deprecated: Use USBBackend.Descriptor instead.
func (USBBackend) Number ¶
func (x USBBackend) Number() protoreflect.EnumNumber
func (USBBackend) String ¶
func (x USBBackend) String() string
func (USBBackend) Type ¶
func (USBBackend) Type() protoreflect.EnumType
type USBDeviceAttach ¶
type USBDeviceAttach struct {
ServerTag string `protobuf:"bytes,1,opt,name=serverTag,proto3" json:"serverTag,omitempty"`
Descriptor_ *USBDeviceDescriptor `protobuf:"bytes,2,opt,name=descriptor,proto3" json:"descriptor,omitempty"`
// contains filtered or unexported fields
}
func (*USBDeviceAttach) Descriptor
deprecated
func (*USBDeviceAttach) Descriptor() ([]byte, []int)
Deprecated: Use USBDeviceAttach.ProtoReflect.Descriptor instead.
func (*USBDeviceAttach) GetDescriptor_ ¶
func (x *USBDeviceAttach) GetDescriptor_() *USBDeviceDescriptor
func (*USBDeviceAttach) GetServerTag ¶
func (x *USBDeviceAttach) GetServerTag() string
func (*USBDeviceAttach) ProtoMessage ¶
func (*USBDeviceAttach) ProtoMessage()
func (*USBDeviceAttach) ProtoReflect ¶
func (x *USBDeviceAttach) ProtoReflect() protoreflect.Message
func (*USBDeviceAttach) Reset ¶
func (x *USBDeviceAttach) Reset()
func (*USBDeviceAttach) String ¶
func (x *USBDeviceAttach) String() string
type USBDeviceDescriptor ¶
type USBDeviceDescriptor struct {
DeviceId string `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
BusNum uint32 `protobuf:"varint,2,opt,name=busNum,proto3" json:"busNum,omitempty"`
DevNum uint32 `protobuf:"varint,3,opt,name=devNum,proto3" json:"devNum,omitempty"`
Speed uint32 `protobuf:"varint,4,opt,name=speed,proto3" json:"speed,omitempty"`
VendorId uint32 `protobuf:"varint,5,opt,name=vendorId,proto3" json:"vendorId,omitempty"`
ProductId uint32 `protobuf:"varint,6,opt,name=productId,proto3" json:"productId,omitempty"`
BcdDevice uint32 `protobuf:"varint,7,opt,name=bcdDevice,proto3" json:"bcdDevice,omitempty"`
DeviceClass uint32 `protobuf:"varint,8,opt,name=deviceClass,proto3" json:"deviceClass,omitempty"`
DeviceSubClass uint32 `protobuf:"varint,9,opt,name=deviceSubClass,proto3" json:"deviceSubClass,omitempty"`
DeviceProtocol uint32 `protobuf:"varint,10,opt,name=deviceProtocol,proto3" json:"deviceProtocol,omitempty"`
ConfigurationValue uint32 `protobuf:"varint,11,opt,name=configurationValue,proto3" json:"configurationValue,omitempty"`
NumConfigurations uint32 `protobuf:"varint,12,opt,name=numConfigurations,proto3" json:"numConfigurations,omitempty"`
Interfaces []*USBInterface `protobuf:"bytes,13,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
Serial string `protobuf:"bytes,14,opt,name=serial,proto3" json:"serial,omitempty"`
Product string `protobuf:"bytes,15,opt,name=product,proto3" json:"product,omitempty"`
// contains filtered or unexported fields
}
func (*USBDeviceDescriptor) Descriptor
deprecated
func (*USBDeviceDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use USBDeviceDescriptor.ProtoReflect.Descriptor instead.
func (*USBDeviceDescriptor) GetBcdDevice ¶
func (x *USBDeviceDescriptor) GetBcdDevice() uint32
func (*USBDeviceDescriptor) GetBusNum ¶
func (x *USBDeviceDescriptor) GetBusNum() uint32
func (*USBDeviceDescriptor) GetConfigurationValue ¶
func (x *USBDeviceDescriptor) GetConfigurationValue() uint32
func (*USBDeviceDescriptor) GetDevNum ¶
func (x *USBDeviceDescriptor) GetDevNum() uint32
func (*USBDeviceDescriptor) GetDeviceClass ¶
func (x *USBDeviceDescriptor) GetDeviceClass() uint32
func (*USBDeviceDescriptor) GetDeviceId ¶
func (x *USBDeviceDescriptor) GetDeviceId() string
func (*USBDeviceDescriptor) GetDeviceProtocol ¶
func (x *USBDeviceDescriptor) GetDeviceProtocol() uint32
func (*USBDeviceDescriptor) GetDeviceSubClass ¶
func (x *USBDeviceDescriptor) GetDeviceSubClass() uint32
func (*USBDeviceDescriptor) GetInterfaces ¶
func (x *USBDeviceDescriptor) GetInterfaces() []*USBInterface
func (*USBDeviceDescriptor) GetNumConfigurations ¶
func (x *USBDeviceDescriptor) GetNumConfigurations() uint32
func (*USBDeviceDescriptor) GetProduct ¶
func (x *USBDeviceDescriptor) GetProduct() string
func (*USBDeviceDescriptor) GetProductId ¶
func (x *USBDeviceDescriptor) GetProductId() uint32
func (*USBDeviceDescriptor) GetSerial ¶
func (x *USBDeviceDescriptor) GetSerial() string
func (*USBDeviceDescriptor) GetSpeed ¶
func (x *USBDeviceDescriptor) GetSpeed() uint32
func (*USBDeviceDescriptor) GetVendorId ¶
func (x *USBDeviceDescriptor) GetVendorId() uint32
func (*USBDeviceDescriptor) ProtoMessage ¶
func (*USBDeviceDescriptor) ProtoMessage()
func (*USBDeviceDescriptor) ProtoReflect ¶
func (x *USBDeviceDescriptor) ProtoReflect() protoreflect.Message
func (*USBDeviceDescriptor) Reset ¶
func (x *USBDeviceDescriptor) Reset()
func (*USBDeviceDescriptor) String ¶
func (x *USBDeviceDescriptor) String() string
type USBDeviceDetach ¶
type USBDeviceDetach struct {
DeviceId string `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
// contains filtered or unexported fields
}
func (*USBDeviceDetach) Descriptor
deprecated
func (*USBDeviceDetach) Descriptor() ([]byte, []int)
Deprecated: Use USBDeviceDetach.ProtoReflect.Descriptor instead.
func (*USBDeviceDetach) GetDeviceId ¶
func (x *USBDeviceDetach) GetDeviceId() string
func (*USBDeviceDetach) ProtoMessage ¶
func (*USBDeviceDetach) ProtoMessage()
func (*USBDeviceDetach) ProtoReflect ¶
func (x *USBDeviceDetach) ProtoReflect() protoreflect.Message
func (*USBDeviceDetach) Reset ¶
func (x *USBDeviceDetach) Reset()
func (*USBDeviceDetach) String ¶
func (x *USBDeviceDetach) String() string
type USBDeviceReady ¶
type USBDeviceReady struct {
DeviceId string `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
BusId string `protobuf:"bytes,2,opt,name=busId,proto3" json:"busId,omitempty"`
// contains filtered or unexported fields
}
func (*USBDeviceReady) Descriptor
deprecated
func (*USBDeviceReady) Descriptor() ([]byte, []int)
Deprecated: Use USBDeviceReady.ProtoReflect.Descriptor instead.
func (*USBDeviceReady) GetBusId ¶
func (x *USBDeviceReady) GetBusId() string
func (*USBDeviceReady) GetDeviceId ¶
func (x *USBDeviceReady) GetDeviceId() string
func (*USBDeviceReady) ProtoMessage ¶
func (*USBDeviceReady) ProtoMessage()
func (*USBDeviceReady) ProtoReflect ¶
func (x *USBDeviceReady) ProtoReflect() protoreflect.Message
func (*USBDeviceReady) Reset ¶
func (x *USBDeviceReady) Reset()
func (*USBDeviceReady) String ¶
func (x *USBDeviceReady) String() string
type USBDeviceState ¶
type USBDeviceState int32
const ( USBDeviceState_USB_DEVICE_STATE_IDLE USBDeviceState = 0 USBDeviceState_USB_DEVICE_STATE_ATTACHED USBDeviceState = 1 USBDeviceState_USB_DEVICE_STATE_UNAVAILABLE USBDeviceState = 2 )
func (USBDeviceState) Descriptor ¶
func (USBDeviceState) Descriptor() protoreflect.EnumDescriptor
func (USBDeviceState) Enum ¶
func (x USBDeviceState) Enum() *USBDeviceState
func (USBDeviceState) EnumDescriptor
deprecated
func (USBDeviceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use USBDeviceState.Descriptor instead.
func (USBDeviceState) Number ¶
func (x USBDeviceState) Number() protoreflect.EnumNumber
func (USBDeviceState) String ¶
func (x USBDeviceState) String() string
func (USBDeviceState) Type ¶
func (USBDeviceState) Type() protoreflect.EnumType
type USBEndpointAbort ¶
type USBEndpointAbort struct {
DeviceId string `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
Endpoint uint32 `protobuf:"varint,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
func (*USBEndpointAbort) Descriptor
deprecated
func (*USBEndpointAbort) Descriptor() ([]byte, []int)
Deprecated: Use USBEndpointAbort.ProtoReflect.Descriptor instead.
func (*USBEndpointAbort) GetDeviceId ¶
func (x *USBEndpointAbort) GetDeviceId() string
func (*USBEndpointAbort) GetEndpoint ¶
func (x *USBEndpointAbort) GetEndpoint() uint32
func (*USBEndpointAbort) ProtoMessage ¶
func (*USBEndpointAbort) ProtoMessage()
func (*USBEndpointAbort) ProtoReflect ¶
func (x *USBEndpointAbort) ProtoReflect() protoreflect.Message
func (*USBEndpointAbort) Reset ¶
func (x *USBEndpointAbort) Reset()
func (*USBEndpointAbort) String ¶
func (x *USBEndpointAbort) String() string
type USBError ¶
type USBError struct {
DeviceId string `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*USBError) Descriptor
deprecated
func (*USBError) GetDeviceId ¶
func (*USBError) GetMessage ¶
func (*USBError) ProtoMessage ¶
func (*USBError) ProtoMessage()
func (*USBError) ProtoReflect ¶
func (x *USBError) ProtoReflect() protoreflect.Message
type USBIPServerStatus ¶
type USBIPServerStatus struct {
ServerTag string `protobuf:"bytes,1,opt,name=serverTag,proto3" json:"serverTag,omitempty"`
Devices []*USBSharedDevice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
// contains filtered or unexported fields
}
func (*USBIPServerStatus) Descriptor
deprecated
func (*USBIPServerStatus) Descriptor() ([]byte, []int)
Deprecated: Use USBIPServerStatus.ProtoReflect.Descriptor instead.
func (*USBIPServerStatus) GetDevices ¶
func (x *USBIPServerStatus) GetDevices() []*USBSharedDevice
func (*USBIPServerStatus) GetServerTag ¶
func (x *USBIPServerStatus) GetServerTag() string
func (*USBIPServerStatus) ProtoMessage ¶
func (*USBIPServerStatus) ProtoMessage()
func (*USBIPServerStatus) ProtoReflect ¶
func (x *USBIPServerStatus) ProtoReflect() protoreflect.Message
func (*USBIPServerStatus) Reset ¶
func (x *USBIPServerStatus) Reset()
func (*USBIPServerStatus) String ¶
func (x *USBIPServerStatus) String() string
type USBIPServerStatusUpdate ¶
type USBIPServerStatusUpdate struct {
Servers []*USBIPServerStatus `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
// contains filtered or unexported fields
}
func (*USBIPServerStatusUpdate) Descriptor
deprecated
func (*USBIPServerStatusUpdate) Descriptor() ([]byte, []int)
Deprecated: Use USBIPServerStatusUpdate.ProtoReflect.Descriptor instead.
func (*USBIPServerStatusUpdate) GetServers ¶
func (x *USBIPServerStatusUpdate) GetServers() []*USBIPServerStatus
func (*USBIPServerStatusUpdate) ProtoMessage ¶
func (*USBIPServerStatusUpdate) ProtoMessage()
func (*USBIPServerStatusUpdate) ProtoReflect ¶
func (x *USBIPServerStatusUpdate) ProtoReflect() protoreflect.Message
func (*USBIPServerStatusUpdate) Reset ¶
func (x *USBIPServerStatusUpdate) Reset()
func (*USBIPServerStatusUpdate) String ¶
func (x *USBIPServerStatusUpdate) String() string
type USBInterface ¶
type USBInterface struct {
InterfaceClass uint32 `protobuf:"varint,1,opt,name=interfaceClass,proto3" json:"interfaceClass,omitempty"`
InterfaceSubClass uint32 `protobuf:"varint,2,opt,name=interfaceSubClass,proto3" json:"interfaceSubClass,omitempty"`
InterfaceProtocol uint32 `protobuf:"varint,3,opt,name=interfaceProtocol,proto3" json:"interfaceProtocol,omitempty"`
// contains filtered or unexported fields
}
func (*USBInterface) Descriptor
deprecated
func (*USBInterface) Descriptor() ([]byte, []int)
Deprecated: Use USBInterface.ProtoReflect.Descriptor instead.
func (*USBInterface) GetInterfaceClass ¶
func (x *USBInterface) GetInterfaceClass() uint32
func (*USBInterface) GetInterfaceProtocol ¶
func (x *USBInterface) GetInterfaceProtocol() uint32
func (*USBInterface) GetInterfaceSubClass ¶
func (x *USBInterface) GetInterfaceSubClass() uint32
func (*USBInterface) ProtoMessage ¶
func (*USBInterface) ProtoMessage()
func (*USBInterface) ProtoReflect ¶
func (x *USBInterface) ProtoReflect() protoreflect.Message
func (*USBInterface) Reset ¶
func (x *USBInterface) Reset()
func (*USBInterface) String ¶
func (x *USBInterface) String() string
type USBIsoPacket ¶
type USBIsoPacket struct {
Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
Length int32 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
ActualLength int32 `protobuf:"varint,3,opt,name=actualLength,proto3" json:"actualLength,omitempty"`
Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*USBIsoPacket) Descriptor
deprecated
func (*USBIsoPacket) Descriptor() ([]byte, []int)
Deprecated: Use USBIsoPacket.ProtoReflect.Descriptor instead.
func (*USBIsoPacket) GetActualLength ¶
func (x *USBIsoPacket) GetActualLength() int32
func (*USBIsoPacket) GetLength ¶
func (x *USBIsoPacket) GetLength() int32
func (*USBIsoPacket) GetOffset ¶
func (x *USBIsoPacket) GetOffset() int32
func (*USBIsoPacket) GetStatus ¶
func (x *USBIsoPacket) GetStatus() int32
func (*USBIsoPacket) ProtoMessage ¶
func (*USBIsoPacket) ProtoMessage()
func (*USBIsoPacket) ProtoReflect ¶
func (x *USBIsoPacket) ProtoReflect() protoreflect.Message
func (*USBIsoPacket) Reset ¶
func (x *USBIsoPacket) Reset()
func (*USBIsoPacket) String ¶
func (x *USBIsoPacket) String() string
type USBProviderMessage ¶
type USBProviderMessage struct {
// Types that are valid to be assigned to Message:
//
// *USBProviderMessage_Attach
// *USBProviderMessage_Detach
// *USBProviderMessage_UrbResponse
Message isUSBProviderMessage_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*USBProviderMessage) Descriptor
deprecated
func (*USBProviderMessage) Descriptor() ([]byte, []int)
Deprecated: Use USBProviderMessage.ProtoReflect.Descriptor instead.
func (*USBProviderMessage) GetAttach ¶
func (x *USBProviderMessage) GetAttach() *USBDeviceAttach
func (*USBProviderMessage) GetDetach ¶
func (x *USBProviderMessage) GetDetach() *USBDeviceDetach
func (*USBProviderMessage) GetMessage ¶
func (x *USBProviderMessage) GetMessage() isUSBProviderMessage_Message
func (*USBProviderMessage) GetUrbResponse ¶
func (x *USBProviderMessage) GetUrbResponse() *USBURBResponse
func (*USBProviderMessage) ProtoMessage ¶
func (*USBProviderMessage) ProtoMessage()
func (*USBProviderMessage) ProtoReflect ¶
func (x *USBProviderMessage) ProtoReflect() protoreflect.Message
func (*USBProviderMessage) Reset ¶
func (x *USBProviderMessage) Reset()
func (*USBProviderMessage) String ¶
func (x *USBProviderMessage) String() string
type USBProviderMessage_Attach ¶
type USBProviderMessage_Attach struct {
Attach *USBDeviceAttach `protobuf:"bytes,1,opt,name=attach,proto3,oneof"`
}
type USBProviderMessage_Detach ¶
type USBProviderMessage_Detach struct {
Detach *USBDeviceDetach `protobuf:"bytes,2,opt,name=detach,proto3,oneof"`
}
type USBProviderMessage_UrbResponse ¶
type USBProviderMessage_UrbResponse struct {
UrbResponse *USBURBResponse `protobuf:"bytes,3,opt,name=urbResponse,proto3,oneof"`
}
type USBServerMessage ¶
type USBServerMessage struct {
// Types that are valid to be assigned to Message:
//
// *USBServerMessage_Ready
// *USBServerMessage_UrbRequest
// *USBServerMessage_Abort
// *USBServerMessage_Error
Message isUSBServerMessage_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*USBServerMessage) Descriptor
deprecated
func (*USBServerMessage) Descriptor() ([]byte, []int)
Deprecated: Use USBServerMessage.ProtoReflect.Descriptor instead.
func (*USBServerMessage) GetAbort ¶
func (x *USBServerMessage) GetAbort() *USBEndpointAbort
func (*USBServerMessage) GetError ¶
func (x *USBServerMessage) GetError() *USBError
func (*USBServerMessage) GetMessage ¶
func (x *USBServerMessage) GetMessage() isUSBServerMessage_Message
func (*USBServerMessage) GetReady ¶
func (x *USBServerMessage) GetReady() *USBDeviceReady
func (*USBServerMessage) GetUrbRequest ¶
func (x *USBServerMessage) GetUrbRequest() *USBURBRequest
func (*USBServerMessage) ProtoMessage ¶
func (*USBServerMessage) ProtoMessage()
func (*USBServerMessage) ProtoReflect ¶
func (x *USBServerMessage) ProtoReflect() protoreflect.Message
func (*USBServerMessage) Reset ¶
func (x *USBServerMessage) Reset()
func (*USBServerMessage) String ¶
func (x *USBServerMessage) String() string
type USBServerMessage_Abort ¶
type USBServerMessage_Abort struct {
Abort *USBEndpointAbort `protobuf:"bytes,3,opt,name=abort,proto3,oneof"`
}
type USBServerMessage_Error ¶
type USBServerMessage_Error struct {
Error *USBError `protobuf:"bytes,4,opt,name=error,proto3,oneof"`
}
type USBServerMessage_Ready ¶
type USBServerMessage_Ready struct {
Ready *USBDeviceReady `protobuf:"bytes,1,opt,name=ready,proto3,oneof"`
}
type USBServerMessage_UrbRequest ¶
type USBServerMessage_UrbRequest struct {
UrbRequest *USBURBRequest `protobuf:"bytes,2,opt,name=urbRequest,proto3,oneof"`
}
type USBSharedDevice ¶
type USBSharedDevice struct {
// contains filtered or unexported fields
}
func (*USBSharedDevice) Descriptor
deprecated
func (*USBSharedDevice) Descriptor() ([]byte, []int)
Deprecated: Use USBSharedDevice.ProtoReflect.Descriptor instead.
func (*USBSharedDevice) GetBackend ¶
func (x *USBSharedDevice) GetBackend() USBBackend
func (*USBSharedDevice) GetBusId ¶
func (x *USBSharedDevice) GetBusId() string
func (*USBSharedDevice) GetDescriptor_ ¶
func (x *USBSharedDevice) GetDescriptor_() *USBDeviceDescriptor
func (*USBSharedDevice) GetStableId ¶
func (x *USBSharedDevice) GetStableId() string
func (*USBSharedDevice) GetState ¶
func (x *USBSharedDevice) GetState() USBDeviceState
func (*USBSharedDevice) ProtoMessage ¶
func (*USBSharedDevice) ProtoMessage()
func (*USBSharedDevice) ProtoReflect ¶
func (x *USBSharedDevice) ProtoReflect() protoreflect.Message
func (*USBSharedDevice) Reset ¶
func (x *USBSharedDevice) Reset()
func (*USBSharedDevice) String ¶
func (x *USBSharedDevice) String() string
type USBURBRequest ¶
type USBURBRequest struct {
DeviceId string `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
Endpoint uint32 `protobuf:"varint,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
DirectionIn bool `protobuf:"varint,4,opt,name=directionIn,proto3" json:"directionIn,omitempty"`
TransferFlags uint32 `protobuf:"varint,5,opt,name=transferFlags,proto3" json:"transferFlags,omitempty"`
Setup []byte `protobuf:"bytes,6,opt,name=setup,proto3" json:"setup,omitempty"`
TransferBufferLength uint32 `protobuf:"varint,7,opt,name=transferBufferLength,proto3" json:"transferBufferLength,omitempty"`
OutData []byte `protobuf:"bytes,8,opt,name=outData,proto3" json:"outData,omitempty"`
NumberOfPackets int32 `protobuf:"varint,9,opt,name=numberOfPackets,proto3" json:"numberOfPackets,omitempty"`
StartFrame int32 `protobuf:"varint,10,opt,name=startFrame,proto3" json:"startFrame,omitempty"`
Interval int32 `protobuf:"varint,11,opt,name=interval,proto3" json:"interval,omitempty"`
IsoPackets []*USBIsoPacket `protobuf:"bytes,12,rep,name=isoPackets,proto3" json:"isoPackets,omitempty"`
// contains filtered or unexported fields
}
func (*USBURBRequest) Descriptor
deprecated
func (*USBURBRequest) Descriptor() ([]byte, []int)
Deprecated: Use USBURBRequest.ProtoReflect.Descriptor instead.
func (*USBURBRequest) GetDeviceId ¶
func (x *USBURBRequest) GetDeviceId() string
func (*USBURBRequest) GetDirectionIn ¶
func (x *USBURBRequest) GetDirectionIn() bool
func (*USBURBRequest) GetEndpoint ¶
func (x *USBURBRequest) GetEndpoint() uint32
func (*USBURBRequest) GetInterval ¶
func (x *USBURBRequest) GetInterval() int32
func (*USBURBRequest) GetIsoPackets ¶
func (x *USBURBRequest) GetIsoPackets() []*USBIsoPacket
func (*USBURBRequest) GetNumberOfPackets ¶
func (x *USBURBRequest) GetNumberOfPackets() int32
func (*USBURBRequest) GetOutData ¶
func (x *USBURBRequest) GetOutData() []byte
func (*USBURBRequest) GetSeq ¶
func (x *USBURBRequest) GetSeq() uint64
func (*USBURBRequest) GetSetup ¶
func (x *USBURBRequest) GetSetup() []byte
func (*USBURBRequest) GetStartFrame ¶
func (x *USBURBRequest) GetStartFrame() int32
func (*USBURBRequest) GetTransferBufferLength ¶
func (x *USBURBRequest) GetTransferBufferLength() uint32
func (*USBURBRequest) GetTransferFlags ¶
func (x *USBURBRequest) GetTransferFlags() uint32
func (*USBURBRequest) ProtoMessage ¶
func (*USBURBRequest) ProtoMessage()
func (*USBURBRequest) ProtoReflect ¶
func (x *USBURBRequest) ProtoReflect() protoreflect.Message
func (*USBURBRequest) Reset ¶
func (x *USBURBRequest) Reset()
func (*USBURBRequest) String ¶
func (x *USBURBRequest) String() string
type USBURBResponse ¶
type USBURBResponse struct {
DeviceId string `protobuf:"bytes,1,opt,name=deviceId,proto3" json:"deviceId,omitempty"`
Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
ActualLength int32 `protobuf:"varint,4,opt,name=actualLength,proto3" json:"actualLength,omitempty"`
InData []byte `protobuf:"bytes,5,opt,name=inData,proto3" json:"inData,omitempty"`
IsoPackets []*USBIsoPacket `protobuf:"bytes,6,rep,name=isoPackets,proto3" json:"isoPackets,omitempty"`
// contains filtered or unexported fields
}
func (*USBURBResponse) Descriptor
deprecated
func (*USBURBResponse) Descriptor() ([]byte, []int)
Deprecated: Use USBURBResponse.ProtoReflect.Descriptor instead.
func (*USBURBResponse) GetActualLength ¶
func (x *USBURBResponse) GetActualLength() int32
func (*USBURBResponse) GetDeviceId ¶
func (x *USBURBResponse) GetDeviceId() string
func (*USBURBResponse) GetInData ¶
func (x *USBURBResponse) GetInData() []byte
func (*USBURBResponse) GetIsoPackets ¶
func (x *USBURBResponse) GetIsoPackets() []*USBIsoPacket
func (*USBURBResponse) GetSeq ¶
func (x *USBURBResponse) GetSeq() uint64
func (*USBURBResponse) GetStatus ¶
func (x *USBURBResponse) GetStatus() int32
func (*USBURBResponse) ProtoMessage ¶
func (*USBURBResponse) ProtoMessage()
func (*USBURBResponse) ProtoReflect ¶
func (x *USBURBResponse) ProtoReflect() protoreflect.Message
func (*USBURBResponse) Reset ¶
func (x *USBURBResponse) Reset()
func (*USBURBResponse) String ¶
func (x *USBURBResponse) String() string
type UnimplementedManagedServiceServer ¶
type UnimplementedManagedServiceServer struct{}
UnimplementedManagedServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedManagedServiceServer) GetSystemProxyStatus ¶
func (UnimplementedManagedServiceServer) GetSystemProxyStatus(context.Context, *emptypb.Empty) (*SystemProxyStatus, error)
func (UnimplementedManagedServiceServer) ReloadService ¶
func (UnimplementedManagedServiceServer) SetSystemProxyEnabled ¶
func (UnimplementedManagedServiceServer) SetSystemProxyEnabled(context.Context, *SetSystemProxyEnabledRequest) (*emptypb.Empty, error)
func (UnimplementedManagedServiceServer) StopService ¶
func (UnimplementedManagedServiceServer) TriggerDebugCrash ¶
func (UnimplementedManagedServiceServer) TriggerDebugCrash(context.Context, *DebugCrashRequest) (*emptypb.Empty, error)
func (UnimplementedManagedServiceServer) TriggerOOMReport ¶
type UnimplementedStartedServiceServer ¶
type UnimplementedStartedServiceServer struct{}
UnimplementedStartedServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedStartedServiceServer) CloseAllConnections ¶
func (UnimplementedStartedServiceServer) CloseConnection ¶
func (UnimplementedStartedServiceServer) CloseConnection(context.Context, *CloseConnectionRequest) (*emptypb.Empty, error)
func (UnimplementedStartedServiceServer) GetClashModeStatus ¶
func (UnimplementedStartedServiceServer) GetClashModeStatus(context.Context, *emptypb.Empty) (*ClashModeStatus, error)
func (UnimplementedStartedServiceServer) GetDefaultLogLevel ¶
func (UnimplementedStartedServiceServer) GetDefaultLogLevel(context.Context, *emptypb.Empty) (*DefaultLogLevel, error)
func (UnimplementedStartedServiceServer) GetDeprecatedWarnings ¶
func (UnimplementedStartedServiceServer) GetDeprecatedWarnings(context.Context, *emptypb.Empty) (*DeprecatedWarnings, error)
func (UnimplementedStartedServiceServer) GetStartedAt ¶
func (UnimplementedStartedServiceServer) GetVersion ¶
func (UnimplementedStartedServiceServer) ProvideUSBDevices ¶
func (UnimplementedStartedServiceServer) ProvideUSBDevices(grpc.BidiStreamingServer[USBProviderMessage, USBServerMessage]) error
func (UnimplementedStartedServiceServer) SelectOutbound ¶
func (UnimplementedStartedServiceServer) SelectOutbound(context.Context, *SelectOutboundRequest) (*emptypb.Empty, error)
func (UnimplementedStartedServiceServer) SetClashMode ¶
func (UnimplementedStartedServiceServer) SetGroupExpand ¶
func (UnimplementedStartedServiceServer) SetGroupExpand(context.Context, *SetGroupExpandRequest) (*emptypb.Empty, error)
func (UnimplementedStartedServiceServer) SetTailscaleExitNode ¶
func (UnimplementedStartedServiceServer) SetTailscaleExitNode(context.Context, *SetTailscaleExitNodeRequest) (*emptypb.Empty, error)
func (UnimplementedStartedServiceServer) StartNetworkQualityTest ¶
func (UnimplementedStartedServiceServer) StartNetworkQualityTest(*NetworkQualityTestRequest, grpc.ServerStreamingServer[NetworkQualityTestProgress]) error
func (UnimplementedStartedServiceServer) StartSTUNTest ¶
func (UnimplementedStartedServiceServer) StartSTUNTest(*STUNTestRequest, grpc.ServerStreamingServer[STUNTestProgress]) error
func (UnimplementedStartedServiceServer) StartTailscalePing ¶
func (UnimplementedStartedServiceServer) StartTailscalePing(*TailscalePingRequest, grpc.ServerStreamingServer[TailscalePingResponse]) error
func (UnimplementedStartedServiceServer) StartTailscaleSSHSession ¶
func (UnimplementedStartedServiceServer) StartTailscaleSSHSession(grpc.BidiStreamingServer[TailscaleSSHClientMessage, TailscaleSSHServerMessage]) error
func (UnimplementedStartedServiceServer) SubscribeClashMode ¶
func (UnimplementedStartedServiceServer) SubscribeClashMode(*emptypb.Empty, grpc.ServerStreamingServer[ClashMode]) error
func (UnimplementedStartedServiceServer) SubscribeConnections ¶
func (UnimplementedStartedServiceServer) SubscribeConnections(*SubscribeConnectionsRequest, grpc.ServerStreamingServer[ConnectionEvents]) error
func (UnimplementedStartedServiceServer) SubscribeGroups ¶
func (UnimplementedStartedServiceServer) SubscribeGroups(*emptypb.Empty, grpc.ServerStreamingServer[Groups]) error
func (UnimplementedStartedServiceServer) SubscribeLog ¶
func (UnimplementedStartedServiceServer) SubscribeLog(*emptypb.Empty, grpc.ServerStreamingServer[Log]) error
func (UnimplementedStartedServiceServer) SubscribeOutbounds ¶
func (UnimplementedStartedServiceServer) SubscribeOutbounds(*emptypb.Empty, grpc.ServerStreamingServer[OutboundList]) error
func (UnimplementedStartedServiceServer) SubscribeServiceStatus ¶
func (UnimplementedStartedServiceServer) SubscribeServiceStatus(*emptypb.Empty, grpc.ServerStreamingServer[ServiceStatus]) error
func (UnimplementedStartedServiceServer) SubscribeStatus ¶
func (UnimplementedStartedServiceServer) SubscribeStatus(*SubscribeStatusRequest, grpc.ServerStreamingServer[Status]) error
func (UnimplementedStartedServiceServer) SubscribeTailscaleStatus ¶
func (UnimplementedStartedServiceServer) SubscribeTailscaleStatus(*emptypb.Empty, grpc.ServerStreamingServer[TailscaleStatusUpdate]) error
func (UnimplementedStartedServiceServer) SubscribeUSBIPServerStatus ¶
func (UnimplementedStartedServiceServer) SubscribeUSBIPServerStatus(*emptypb.Empty, grpc.ServerStreamingServer[USBIPServerStatusUpdate]) error
func (UnimplementedStartedServiceServer) TailscaleLogout ¶
func (UnimplementedStartedServiceServer) TailscaleLogout(context.Context, *TailscaleLogoutRequest) (*emptypb.Empty, error)
func (UnimplementedStartedServiceServer) URLTest ¶
func (UnimplementedStartedServiceServer) URLTest(context.Context, *URLTestRequest) (*emptypb.Empty, error)
type UnsafeManagedServiceServer ¶
type UnsafeManagedServiceServer interface {
// contains filtered or unexported methods
}
UnsafeManagedServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ManagedServiceServer will result in compilation errors.
type UnsafeStartedServiceServer ¶
type UnsafeStartedServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStartedServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StartedServiceServer will result in compilation errors.
type Version ¶
type Version struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
ApiVersion int32 `protobuf:"varint,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
// contains filtered or unexported fields
}
func (*Version) Descriptor
deprecated
func (*Version) GetApiVersion ¶
func (*Version) GetVersion ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message