Documentation ¶
Index ¶
- Variables
- func RegisterDaemonServiceServer(s grpc.ServiceRegistrar, srv DaemonServiceServer)
- type CleanStateRequest
- func (*CleanStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CleanStateRequest) GetAll() bool
- func (x *CleanStateRequest) GetStateName() string
- func (*CleanStateRequest) ProtoMessage()
- func (x *CleanStateRequest) ProtoReflect() protoreflect.Message
- func (x *CleanStateRequest) Reset()
- func (x *CleanStateRequest) String() string
- type CleanStateResponse
- func (*CleanStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CleanStateResponse) GetCleanedStates() int32
- func (*CleanStateResponse) ProtoMessage()
- func (x *CleanStateResponse) ProtoReflect() protoreflect.Message
- func (x *CleanStateResponse) Reset()
- func (x *CleanStateResponse) String() string
- type DaemonServiceClient
- type DaemonServiceServer
- type DebugBundleRequest
- func (*DebugBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugBundleRequest) GetAnonymize() bool
- func (x *DebugBundleRequest) GetStatus() string
- func (x *DebugBundleRequest) GetSystemInfo() bool
- func (*DebugBundleRequest) ProtoMessage()
- func (x *DebugBundleRequest) ProtoReflect() protoreflect.Message
- func (x *DebugBundleRequest) Reset()
- func (x *DebugBundleRequest) String() string
- type DebugBundleResponse
- func (*DebugBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DebugBundleResponse) GetPath() string
- func (*DebugBundleResponse) ProtoMessage()
- func (x *DebugBundleResponse) ProtoReflect() protoreflect.Message
- func (x *DebugBundleResponse) Reset()
- func (x *DebugBundleResponse) String() string
- type DeleteStateRequest
- func (*DeleteStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStateRequest) GetAll() bool
- func (x *DeleteStateRequest) GetStateName() string
- func (*DeleteStateRequest) ProtoMessage()
- func (x *DeleteStateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStateRequest) Reset()
- func (x *DeleteStateRequest) String() string
- type DeleteStateResponse
- func (*DeleteStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStateResponse) GetDeletedStates() int32
- func (*DeleteStateResponse) ProtoMessage()
- func (x *DeleteStateResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteStateResponse) Reset()
- func (x *DeleteStateResponse) String() string
- type DownRequest
- type DownResponse
- type FullStatus
- func (*FullStatus) Descriptor() ([]byte, []int)deprecated
- func (x *FullStatus) GetDnsServers() []*NSGroupState
- func (x *FullStatus) GetLocalPeerState() *LocalPeerState
- func (x *FullStatus) GetManagementState() *ManagementState
- func (x *FullStatus) GetPeers() []*PeerState
- func (x *FullStatus) GetRelays() []*RelayState
- func (x *FullStatus) GetSignalState() *SignalState
- func (*FullStatus) ProtoMessage()
- func (x *FullStatus) ProtoReflect() protoreflect.Message
- func (x *FullStatus) Reset()
- func (x *FullStatus) String() string
- type GetConfigRequest
- type GetConfigResponse
- func (*GetConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigResponse) GetAdminURL() string
- func (x *GetConfigResponse) GetConfigFile() string
- func (x *GetConfigResponse) GetDisableAutoConnect() bool
- func (x *GetConfigResponse) GetInterfaceName() string
- func (x *GetConfigResponse) GetLogFile() string
- func (x *GetConfigResponse) GetManagementUrl() string
- func (x *GetConfigResponse) GetPreSharedKey() string
- func (x *GetConfigResponse) GetRosenpassEnabled() bool
- func (x *GetConfigResponse) GetRosenpassPermissive() bool
- func (x *GetConfigResponse) GetServerSSHAllowed() bool
- func (x *GetConfigResponse) GetWireguardPort() int64
- func (*GetConfigResponse) ProtoMessage()
- func (x *GetConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetConfigResponse) Reset()
- func (x *GetConfigResponse) String() string
- type GetLogLevelRequest
- type GetLogLevelResponse
- func (*GetLogLevelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogLevelResponse) GetLevel() LogLevel
- func (*GetLogLevelResponse) ProtoMessage()
- func (x *GetLogLevelResponse) ProtoReflect() protoreflect.Message
- func (x *GetLogLevelResponse) Reset()
- func (x *GetLogLevelResponse) String() string
- type IPList
- type ListRoutesRequest
- type ListRoutesResponse
- func (*ListRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoutesResponse) GetRoutes() []*Route
- func (*ListRoutesResponse) ProtoMessage()
- func (x *ListRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoutesResponse) Reset()
- func (x *ListRoutesResponse) String() string
- type ListStatesRequest
- type ListStatesResponse
- func (*ListStatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStatesResponse) GetStates() []*State
- func (*ListStatesResponse) ProtoMessage()
- func (x *ListStatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListStatesResponse) Reset()
- func (x *ListStatesResponse) String() string
- type LocalPeerState
- func (*LocalPeerState) Descriptor() ([]byte, []int)deprecated
- func (x *LocalPeerState) GetFqdn() string
- func (x *LocalPeerState) GetIP() string
- func (x *LocalPeerState) GetKernelInterface() bool
- func (x *LocalPeerState) GetPubKey() string
- func (x *LocalPeerState) GetRosenpassEnabled() bool
- func (x *LocalPeerState) GetRosenpassPermissive() bool
- func (x *LocalPeerState) GetRoutes() []string
- func (*LocalPeerState) ProtoMessage()
- func (x *LocalPeerState) ProtoReflect() protoreflect.Message
- func (x *LocalPeerState) Reset()
- func (x *LocalPeerState) String() string
- type LogLevel
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetAdminURL() string
- func (x *LoginRequest) GetCleanNATExternalIPs() bool
- func (x *LoginRequest) GetCustomDNSAddress() []byte
- func (x *LoginRequest) GetDisableAutoConnect() bool
- func (x *LoginRequest) GetDnsRouteInterval() *durationpb.Duration
- func (x *LoginRequest) GetExtraIFaceBlacklist() []string
- func (x *LoginRequest) GetHostname() string
- func (x *LoginRequest) GetInterfaceName() string
- func (x *LoginRequest) GetIsLinuxDesktopClient() bool
- func (x *LoginRequest) GetManagementUrl() string
- func (x *LoginRequest) GetNatExternalIPs() []string
- func (x *LoginRequest) GetNetworkMonitor() bool
- func (x *LoginRequest) GetOptionalPreSharedKey() string
- func (x *LoginRequest) GetPreSharedKey() stringdeprecated
- func (x *LoginRequest) GetRosenpassEnabled() bool
- func (x *LoginRequest) GetRosenpassPermissive() bool
- func (x *LoginRequest) GetServerSSHAllowed() bool
- func (x *LoginRequest) GetSetupKey() string
- func (x *LoginRequest) GetWireguardPort() int64
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetNeedsSSOLogin() bool
- func (x *LoginResponse) GetUserCode() string
- func (x *LoginResponse) GetVerificationURI() string
- func (x *LoginResponse) GetVerificationURIComplete() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type ManagementState
- func (*ManagementState) Descriptor() ([]byte, []int)deprecated
- func (x *ManagementState) GetConnected() bool
- func (x *ManagementState) GetError() string
- func (x *ManagementState) GetURL() string
- func (*ManagementState) ProtoMessage()
- func (x *ManagementState) ProtoReflect() protoreflect.Message
- func (x *ManagementState) Reset()
- func (x *ManagementState) String() string
- type NSGroupState
- func (*NSGroupState) Descriptor() ([]byte, []int)deprecated
- func (x *NSGroupState) GetDomains() []string
- func (x *NSGroupState) GetEnabled() bool
- func (x *NSGroupState) GetError() string
- func (x *NSGroupState) GetServers() []string
- func (*NSGroupState) ProtoMessage()
- func (x *NSGroupState) ProtoReflect() protoreflect.Message
- func (x *NSGroupState) Reset()
- func (x *NSGroupState) String() string
- type PeerState
- func (*PeerState) Descriptor() ([]byte, []int)deprecated
- func (x *PeerState) GetBytesRx() int64
- func (x *PeerState) GetBytesTx() int64
- func (x *PeerState) GetConnStatus() string
- func (x *PeerState) GetConnStatusUpdate() *timestamppb.Timestamp
- func (x *PeerState) GetFqdn() string
- func (x *PeerState) GetIP() string
- func (x *PeerState) GetLastWireguardHandshake() *timestamppb.Timestamp
- func (x *PeerState) GetLatency() *durationpb.Duration
- func (x *PeerState) GetLocalIceCandidateEndpoint() string
- func (x *PeerState) GetLocalIceCandidateType() string
- func (x *PeerState) GetPubKey() string
- func (x *PeerState) GetRelayAddress() string
- func (x *PeerState) GetRelayed() bool
- func (x *PeerState) GetRemoteIceCandidateEndpoint() string
- func (x *PeerState) GetRemoteIceCandidateType() string
- func (x *PeerState) GetRosenpassEnabled() bool
- func (x *PeerState) GetRoutes() []string
- func (*PeerState) ProtoMessage()
- func (x *PeerState) ProtoReflect() protoreflect.Message
- func (x *PeerState) Reset()
- func (x *PeerState) String() string
- type RelayState
- func (*RelayState) Descriptor() ([]byte, []int)deprecated
- func (x *RelayState) GetAvailable() bool
- func (x *RelayState) GetError() string
- func (x *RelayState) GetURI() string
- func (*RelayState) ProtoMessage()
- func (x *RelayState) ProtoReflect() protoreflect.Message
- func (x *RelayState) Reset()
- func (x *RelayState) String() string
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetDomains() []string
- func (x *Route) GetID() string
- func (x *Route) GetNetwork() string
- func (x *Route) GetResolvedIPs() map[string]*IPList
- func (x *Route) GetSelected() bool
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- type SelectRoutesRequest
- func (*SelectRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectRoutesRequest) GetAll() bool
- func (x *SelectRoutesRequest) GetAppend() bool
- func (x *SelectRoutesRequest) GetRouteIDs() []string
- func (*SelectRoutesRequest) ProtoMessage()
- func (x *SelectRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *SelectRoutesRequest) Reset()
- func (x *SelectRoutesRequest) String() string
- type SelectRoutesResponse
- type SetLogLevelRequest
- func (*SetLogLevelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetLogLevelRequest) GetLevel() LogLevel
- func (*SetLogLevelRequest) ProtoMessage()
- func (x *SetLogLevelRequest) ProtoReflect() protoreflect.Message
- func (x *SetLogLevelRequest) Reset()
- func (x *SetLogLevelRequest) String() string
- type SetLogLevelResponse
- type SetNetworkMapPersistenceRequest
- func (*SetNetworkMapPersistenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetNetworkMapPersistenceRequest) GetEnabled() bool
- func (*SetNetworkMapPersistenceRequest) ProtoMessage()
- func (x *SetNetworkMapPersistenceRequest) ProtoReflect() protoreflect.Message
- func (x *SetNetworkMapPersistenceRequest) Reset()
- func (x *SetNetworkMapPersistenceRequest) String() string
- type SetNetworkMapPersistenceResponse
- func (*SetNetworkMapPersistenceResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetNetworkMapPersistenceResponse) ProtoMessage()
- func (x *SetNetworkMapPersistenceResponse) ProtoReflect() protoreflect.Message
- func (x *SetNetworkMapPersistenceResponse) Reset()
- func (x *SetNetworkMapPersistenceResponse) String() string
- type SignalState
- func (*SignalState) Descriptor() ([]byte, []int)deprecated
- func (x *SignalState) GetConnected() bool
- func (x *SignalState) GetError() string
- func (x *SignalState) GetURL() string
- func (*SignalState) ProtoMessage()
- func (x *SignalState) ProtoReflect() protoreflect.Message
- func (x *SignalState) Reset()
- func (x *SignalState) String() string
- type State
- type StatusRequest
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetDaemonVersion() string
- func (x *StatusResponse) GetFullStatus() *FullStatus
- func (x *StatusResponse) GetStatus() string
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type UnimplementedDaemonServiceServer
- func (UnimplementedDaemonServiceServer) CleanState(context.Context, *CleanStateRequest) (*CleanStateResponse, error)
- func (UnimplementedDaemonServiceServer) DebugBundle(context.Context, *DebugBundleRequest) (*DebugBundleResponse, error)
- func (UnimplementedDaemonServiceServer) DeleteState(context.Context, *DeleteStateRequest) (*DeleteStateResponse, error)
- func (UnimplementedDaemonServiceServer) DeselectRoutes(context.Context, *SelectRoutesRequest) (*SelectRoutesResponse, error)
- func (UnimplementedDaemonServiceServer) Down(context.Context, *DownRequest) (*DownResponse, error)
- func (UnimplementedDaemonServiceServer) GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
- func (UnimplementedDaemonServiceServer) GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
- func (UnimplementedDaemonServiceServer) ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error)
- func (UnimplementedDaemonServiceServer) ListStates(context.Context, *ListStatesRequest) (*ListStatesResponse, error)
- func (UnimplementedDaemonServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedDaemonServiceServer) SelectRoutes(context.Context, *SelectRoutesRequest) (*SelectRoutesResponse, error)
- func (UnimplementedDaemonServiceServer) SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
- func (UnimplementedDaemonServiceServer) SetNetworkMapPersistence(context.Context, *SetNetworkMapPersistenceRequest) (*SetNetworkMapPersistenceResponse, error)
- func (UnimplementedDaemonServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
- func (UnimplementedDaemonServiceServer) Up(context.Context, *UpRequest) (*UpResponse, error)
- func (UnimplementedDaemonServiceServer) WaitSSOLogin(context.Context, *WaitSSOLoginRequest) (*WaitSSOLoginResponse, error)
- type UnsafeDaemonServiceServer
- type UpRequest
- type UpResponse
- type WaitSSOLoginRequest
- func (*WaitSSOLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WaitSSOLoginRequest) GetHostname() string
- func (x *WaitSSOLoginRequest) GetUserCode() string
- func (*WaitSSOLoginRequest) ProtoMessage()
- func (x *WaitSSOLoginRequest) ProtoReflect() protoreflect.Message
- func (x *WaitSSOLoginRequest) Reset()
- func (x *WaitSSOLoginRequest) String() string
- type WaitSSOLoginResponse
Constants ¶
This section is empty.
Variables ¶
var ( LogLevel_name = map[int32]string{ 0: "UNKNOWN", 1: "PANIC", 2: "FATAL", 3: "ERROR", 4: "WARN", 5: "INFO", 6: "DEBUG", 7: "TRACE", } LogLevel_value = map[string]int32{ "UNKNOWN": 0, "PANIC": 1, "FATAL": 2, "ERROR": 3, "WARN": 4, "INFO": 5, "DEBUG": 6, "TRACE": 7, } )
Enum value maps for LogLevel.
var DaemonService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "daemon.DaemonService", HandlerType: (*DaemonServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _DaemonService_Login_Handler, }, { MethodName: "WaitSSOLogin", Handler: _DaemonService_WaitSSOLogin_Handler, }, { MethodName: "Up", Handler: _DaemonService_Up_Handler, }, { MethodName: "Status", Handler: _DaemonService_Status_Handler, }, { MethodName: "Down", Handler: _DaemonService_Down_Handler, }, { MethodName: "GetConfig", Handler: _DaemonService_GetConfig_Handler, }, { MethodName: "ListRoutes", Handler: _DaemonService_ListRoutes_Handler, }, { MethodName: "SelectRoutes", Handler: _DaemonService_SelectRoutes_Handler, }, { MethodName: "DeselectRoutes", Handler: _DaemonService_DeselectRoutes_Handler, }, { MethodName: "DebugBundle", Handler: _DaemonService_DebugBundle_Handler, }, { MethodName: "GetLogLevel", Handler: _DaemonService_GetLogLevel_Handler, }, { MethodName: "SetLogLevel", Handler: _DaemonService_SetLogLevel_Handler, }, { MethodName: "ListStates", Handler: _DaemonService_ListStates_Handler, }, { MethodName: "CleanState", Handler: _DaemonService_CleanState_Handler, }, { MethodName: "DeleteState", Handler: _DaemonService_DeleteState_Handler, }, { MethodName: "SetNetworkMapPersistence", Handler: _DaemonService_SetNetworkMapPersistence_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "daemon.proto", }
DaemonService_ServiceDesc is the grpc.ServiceDesc for DaemonService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_daemon_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDaemonServiceServer ¶
func RegisterDaemonServiceServer(s grpc.ServiceRegistrar, srv DaemonServiceServer)
Types ¶
type CleanStateRequest ¶ added in v0.34.0
type CleanStateRequest struct { StateName string `protobuf:"bytes,1,opt,name=state_name,json=stateName,proto3" json:"state_name,omitempty"` All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` // contains filtered or unexported fields }
CleanStateRequest for cleaning states
func (*CleanStateRequest) Descriptor
deprecated
added in
v0.34.0
func (*CleanStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CleanStateRequest.ProtoReflect.Descriptor instead.
func (*CleanStateRequest) GetAll ¶ added in v0.34.0
func (x *CleanStateRequest) GetAll() bool
func (*CleanStateRequest) GetStateName ¶ added in v0.34.0
func (x *CleanStateRequest) GetStateName() string
func (*CleanStateRequest) ProtoMessage ¶ added in v0.34.0
func (*CleanStateRequest) ProtoMessage()
func (*CleanStateRequest) ProtoReflect ¶ added in v0.34.0
func (x *CleanStateRequest) ProtoReflect() protoreflect.Message
func (*CleanStateRequest) Reset ¶ added in v0.34.0
func (x *CleanStateRequest) Reset()
func (*CleanStateRequest) String ¶ added in v0.34.0
func (x *CleanStateRequest) String() string
type CleanStateResponse ¶ added in v0.34.0
type CleanStateResponse struct { CleanedStates int32 `protobuf:"varint,1,opt,name=cleaned_states,json=cleanedStates,proto3" json:"cleaned_states,omitempty"` // contains filtered or unexported fields }
CleanStateResponse contains the result of the clean operation
func (*CleanStateResponse) Descriptor
deprecated
added in
v0.34.0
func (*CleanStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CleanStateResponse.ProtoReflect.Descriptor instead.
func (*CleanStateResponse) GetCleanedStates ¶ added in v0.34.0
func (x *CleanStateResponse) GetCleanedStates() int32
func (*CleanStateResponse) ProtoMessage ¶ added in v0.34.0
func (*CleanStateResponse) ProtoMessage()
func (*CleanStateResponse) ProtoReflect ¶ added in v0.34.0
func (x *CleanStateResponse) ProtoReflect() protoreflect.Message
func (*CleanStateResponse) Reset ¶ added in v0.34.0
func (x *CleanStateResponse) Reset()
func (*CleanStateResponse) String ¶ added in v0.34.0
func (x *CleanStateResponse) String() string
type DaemonServiceClient ¶
type DaemonServiceClient interface { // Login uses setup key to prepare configuration for the daemon. Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) // WaitSSOLogin uses the userCode to validate the TokenInfo and // waits for the user to continue with the login on a browser WaitSSOLogin(ctx context.Context, in *WaitSSOLoginRequest, opts ...grpc.CallOption) (*WaitSSOLoginResponse, error) // Up starts engine work in the daemon. Up(ctx context.Context, in *UpRequest, opts ...grpc.CallOption) (*UpResponse, error) // Status of the service. Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) // Down engine work in the daemon. Down(ctx context.Context, in *DownRequest, opts ...grpc.CallOption) (*DownResponse, error) // GetConfig of the daemon. GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) // List available network routes ListRoutes(ctx context.Context, in *ListRoutesRequest, opts ...grpc.CallOption) (*ListRoutesResponse, error) // Select specific routes SelectRoutes(ctx context.Context, in *SelectRoutesRequest, opts ...grpc.CallOption) (*SelectRoutesResponse, error) // Deselect specific routes DeselectRoutes(ctx context.Context, in *SelectRoutesRequest, opts ...grpc.CallOption) (*SelectRoutesResponse, error) // DebugBundle creates a debug bundle DebugBundle(ctx context.Context, in *DebugBundleRequest, opts ...grpc.CallOption) (*DebugBundleResponse, error) // GetLogLevel gets the log level of the daemon GetLogLevel(ctx context.Context, in *GetLogLevelRequest, opts ...grpc.CallOption) (*GetLogLevelResponse, error) // SetLogLevel sets the log level of the daemon SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*SetLogLevelResponse, error) // List all states ListStates(ctx context.Context, in *ListStatesRequest, opts ...grpc.CallOption) (*ListStatesResponse, error) // Clean specific state or all states CleanState(ctx context.Context, in *CleanStateRequest, opts ...grpc.CallOption) (*CleanStateResponse, error) // Delete specific state or all states DeleteState(ctx context.Context, in *DeleteStateRequest, opts ...grpc.CallOption) (*DeleteStateResponse, error) // SetNetworkMapPersistence enables or disables network map persistence SetNetworkMapPersistence(ctx context.Context, in *SetNetworkMapPersistenceRequest, opts ...grpc.CallOption) (*SetNetworkMapPersistenceResponse, error) }
DaemonServiceClient is the client API for DaemonService 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 NewDaemonServiceClient ¶
func NewDaemonServiceClient(cc grpc.ClientConnInterface) DaemonServiceClient
type DaemonServiceServer ¶
type DaemonServiceServer interface { // Login uses setup key to prepare configuration for the daemon. Login(context.Context, *LoginRequest) (*LoginResponse, error) // WaitSSOLogin uses the userCode to validate the TokenInfo and // waits for the user to continue with the login on a browser WaitSSOLogin(context.Context, *WaitSSOLoginRequest) (*WaitSSOLoginResponse, error) // Up starts engine work in the daemon. Up(context.Context, *UpRequest) (*UpResponse, error) // Status of the service. Status(context.Context, *StatusRequest) (*StatusResponse, error) // Down engine work in the daemon. Down(context.Context, *DownRequest) (*DownResponse, error) // GetConfig of the daemon. GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error) // List available network routes ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error) // Select specific routes SelectRoutes(context.Context, *SelectRoutesRequest) (*SelectRoutesResponse, error) // Deselect specific routes DeselectRoutes(context.Context, *SelectRoutesRequest) (*SelectRoutesResponse, error) // DebugBundle creates a debug bundle DebugBundle(context.Context, *DebugBundleRequest) (*DebugBundleResponse, error) // GetLogLevel gets the log level of the daemon GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error) // SetLogLevel sets the log level of the daemon SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error) // List all states ListStates(context.Context, *ListStatesRequest) (*ListStatesResponse, error) // Clean specific state or all states CleanState(context.Context, *CleanStateRequest) (*CleanStateResponse, error) // Delete specific state or all states DeleteState(context.Context, *DeleteStateRequest) (*DeleteStateResponse, error) // SetNetworkMapPersistence enables or disables network map persistence SetNetworkMapPersistence(context.Context, *SetNetworkMapPersistenceRequest) (*SetNetworkMapPersistenceResponse, error) // contains filtered or unexported methods }
DaemonServiceServer is the server API for DaemonService service. All implementations must embed UnimplementedDaemonServiceServer for forward compatibility
type DebugBundleRequest ¶ added in v0.27.4
type DebugBundleRequest struct { Anonymize bool `protobuf:"varint,1,opt,name=anonymize,proto3" json:"anonymize,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` SystemInfo bool `protobuf:"varint,3,opt,name=systemInfo,proto3" json:"systemInfo,omitempty"` // contains filtered or unexported fields }
func (*DebugBundleRequest) Descriptor
deprecated
added in
v0.27.4
func (*DebugBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugBundleRequest.ProtoReflect.Descriptor instead.
func (*DebugBundleRequest) GetAnonymize ¶ added in v0.27.4
func (x *DebugBundleRequest) GetAnonymize() bool
func (*DebugBundleRequest) GetStatus ¶ added in v0.27.4
func (x *DebugBundleRequest) GetStatus() string
func (*DebugBundleRequest) GetSystemInfo ¶ added in v0.28.7
func (x *DebugBundleRequest) GetSystemInfo() bool
func (*DebugBundleRequest) ProtoMessage ¶ added in v0.27.4
func (*DebugBundleRequest) ProtoMessage()
func (*DebugBundleRequest) ProtoReflect ¶ added in v0.27.4
func (x *DebugBundleRequest) ProtoReflect() protoreflect.Message
func (*DebugBundleRequest) Reset ¶ added in v0.27.4
func (x *DebugBundleRequest) Reset()
func (*DebugBundleRequest) String ¶ added in v0.27.4
func (x *DebugBundleRequest) String() string
type DebugBundleResponse ¶ added in v0.27.4
type DebugBundleResponse struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*DebugBundleResponse) Descriptor
deprecated
added in
v0.27.4
func (*DebugBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugBundleResponse.ProtoReflect.Descriptor instead.
func (*DebugBundleResponse) GetPath ¶ added in v0.27.4
func (x *DebugBundleResponse) GetPath() string
func (*DebugBundleResponse) ProtoMessage ¶ added in v0.27.4
func (*DebugBundleResponse) ProtoMessage()
func (*DebugBundleResponse) ProtoReflect ¶ added in v0.27.4
func (x *DebugBundleResponse) ProtoReflect() protoreflect.Message
func (*DebugBundleResponse) Reset ¶ added in v0.27.4
func (x *DebugBundleResponse) Reset()
func (*DebugBundleResponse) String ¶ added in v0.27.4
func (x *DebugBundleResponse) String() string
type DeleteStateRequest ¶ added in v0.34.0
type DeleteStateRequest struct { StateName string `protobuf:"bytes,1,opt,name=state_name,json=stateName,proto3" json:"state_name,omitempty"` All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` // contains filtered or unexported fields }
DeleteStateRequest for deleting states
func (*DeleteStateRequest) Descriptor
deprecated
added in
v0.34.0
func (*DeleteStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStateRequest.ProtoReflect.Descriptor instead.
func (*DeleteStateRequest) GetAll ¶ added in v0.34.0
func (x *DeleteStateRequest) GetAll() bool
func (*DeleteStateRequest) GetStateName ¶ added in v0.34.0
func (x *DeleteStateRequest) GetStateName() string
func (*DeleteStateRequest) ProtoMessage ¶ added in v0.34.0
func (*DeleteStateRequest) ProtoMessage()
func (*DeleteStateRequest) ProtoReflect ¶ added in v0.34.0
func (x *DeleteStateRequest) ProtoReflect() protoreflect.Message
func (*DeleteStateRequest) Reset ¶ added in v0.34.0
func (x *DeleteStateRequest) Reset()
func (*DeleteStateRequest) String ¶ added in v0.34.0
func (x *DeleteStateRequest) String() string
type DeleteStateResponse ¶ added in v0.34.0
type DeleteStateResponse struct { DeletedStates int32 `protobuf:"varint,1,opt,name=deleted_states,json=deletedStates,proto3" json:"deleted_states,omitempty"` // contains filtered or unexported fields }
DeleteStateResponse contains the result of the delete operation
func (*DeleteStateResponse) Descriptor
deprecated
added in
v0.34.0
func (*DeleteStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStateResponse.ProtoReflect.Descriptor instead.
func (*DeleteStateResponse) GetDeletedStates ¶ added in v0.34.0
func (x *DeleteStateResponse) GetDeletedStates() int32
func (*DeleteStateResponse) ProtoMessage ¶ added in v0.34.0
func (*DeleteStateResponse) ProtoMessage()
func (*DeleteStateResponse) ProtoReflect ¶ added in v0.34.0
func (x *DeleteStateResponse) ProtoReflect() protoreflect.Message
func (*DeleteStateResponse) Reset ¶ added in v0.34.0
func (x *DeleteStateResponse) Reset()
func (*DeleteStateResponse) String ¶ added in v0.34.0
func (x *DeleteStateResponse) String() string
type DownRequest ¶
type DownRequest struct {
// contains filtered or unexported fields
}
func (*DownRequest) Descriptor
deprecated
func (*DownRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownRequest.ProtoReflect.Descriptor instead.
func (*DownRequest) ProtoMessage ¶
func (*DownRequest) ProtoMessage()
func (*DownRequest) ProtoReflect ¶
func (x *DownRequest) ProtoReflect() protoreflect.Message
func (*DownRequest) Reset ¶
func (x *DownRequest) Reset()
func (*DownRequest) String ¶
func (x *DownRequest) String() string
type DownResponse ¶
type DownResponse struct {
// contains filtered or unexported fields
}
func (*DownResponse) Descriptor
deprecated
func (*DownResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownResponse.ProtoReflect.Descriptor instead.
func (*DownResponse) ProtoMessage ¶
func (*DownResponse) ProtoMessage()
func (*DownResponse) ProtoReflect ¶
func (x *DownResponse) ProtoReflect() protoreflect.Message
func (*DownResponse) Reset ¶
func (x *DownResponse) Reset()
func (*DownResponse) String ¶
func (x *DownResponse) String() string
type FullStatus ¶ added in v0.8.1
type FullStatus struct { ManagementState *ManagementState `protobuf:"bytes,1,opt,name=managementState,proto3" json:"managementState,omitempty"` SignalState *SignalState `protobuf:"bytes,2,opt,name=signalState,proto3" json:"signalState,omitempty"` LocalPeerState *LocalPeerState `protobuf:"bytes,3,opt,name=localPeerState,proto3" json:"localPeerState,omitempty"` Peers []*PeerState `protobuf:"bytes,4,rep,name=peers,proto3" json:"peers,omitempty"` Relays []*RelayState `protobuf:"bytes,5,rep,name=relays,proto3" json:"relays,omitempty"` DnsServers []*NSGroupState `protobuf:"bytes,6,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"` // contains filtered or unexported fields }
FullStatus contains the full state held by the Status instance
func (*FullStatus) Descriptor
deprecated
added in
v0.8.1
func (*FullStatus) Descriptor() ([]byte, []int)
Deprecated: Use FullStatus.ProtoReflect.Descriptor instead.
func (*FullStatus) GetDnsServers ¶ added in v0.26.3
func (x *FullStatus) GetDnsServers() []*NSGroupState
func (*FullStatus) GetLocalPeerState ¶ added in v0.8.1
func (x *FullStatus) GetLocalPeerState() *LocalPeerState
func (*FullStatus) GetManagementState ¶ added in v0.8.1
func (x *FullStatus) GetManagementState() *ManagementState
func (*FullStatus) GetPeers ¶ added in v0.8.1
func (x *FullStatus) GetPeers() []*PeerState
func (*FullStatus) GetRelays ¶ added in v0.25.5
func (x *FullStatus) GetRelays() []*RelayState
func (*FullStatus) GetSignalState ¶ added in v0.8.1
func (x *FullStatus) GetSignalState() *SignalState
func (*FullStatus) ProtoMessage ¶ added in v0.8.1
func (*FullStatus) ProtoMessage()
func (*FullStatus) ProtoReflect ¶ added in v0.8.1
func (x *FullStatus) ProtoReflect() protoreflect.Message
func (*FullStatus) Reset ¶ added in v0.8.1
func (x *FullStatus) Reset()
func (*FullStatus) String ¶ added in v0.8.1
func (x *FullStatus) String() string
type GetConfigRequest ¶
type GetConfigRequest struct {
// contains filtered or unexported fields
}
func (*GetConfigRequest) Descriptor
deprecated
func (*GetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetConfigRequest) ProtoMessage ¶
func (*GetConfigRequest) ProtoMessage()
func (*GetConfigRequest) ProtoReflect ¶
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message
func (*GetConfigRequest) Reset ¶
func (x *GetConfigRequest) Reset()
func (*GetConfigRequest) String ¶
func (x *GetConfigRequest) String() string
type GetConfigResponse ¶
type GetConfigResponse struct { // managementUrl settings value. ManagementUrl string `protobuf:"bytes,1,opt,name=managementUrl,proto3" json:"managementUrl,omitempty"` // configFile settings value. ConfigFile string `protobuf:"bytes,2,opt,name=configFile,proto3" json:"configFile,omitempty"` // logFile settings value. LogFile string `protobuf:"bytes,3,opt,name=logFile,proto3" json:"logFile,omitempty"` PreSharedKey string `protobuf:"bytes,4,opt,name=preSharedKey,proto3" json:"preSharedKey,omitempty"` // adminURL settings value. AdminURL string `protobuf:"bytes,5,opt,name=adminURL,proto3" json:"adminURL,omitempty"` InterfaceName string `protobuf:"bytes,6,opt,name=interfaceName,proto3" json:"interfaceName,omitempty"` WireguardPort int64 `protobuf:"varint,7,opt,name=wireguardPort,proto3" json:"wireguardPort,omitempty"` DisableAutoConnect bool `protobuf:"varint,9,opt,name=disableAutoConnect,proto3" json:"disableAutoConnect,omitempty"` ServerSSHAllowed bool `protobuf:"varint,10,opt,name=serverSSHAllowed,proto3" json:"serverSSHAllowed,omitempty"` RosenpassEnabled bool `protobuf:"varint,11,opt,name=rosenpassEnabled,proto3" json:"rosenpassEnabled,omitempty"` RosenpassPermissive bool `protobuf:"varint,12,opt,name=rosenpassPermissive,proto3" json:"rosenpassPermissive,omitempty"` // contains filtered or unexported fields }
func (*GetConfigResponse) Descriptor
deprecated
func (*GetConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.
func (*GetConfigResponse) GetAdminURL ¶
func (x *GetConfigResponse) GetAdminURL() string
func (*GetConfigResponse) GetConfigFile ¶
func (x *GetConfigResponse) GetConfigFile() string
func (*GetConfigResponse) GetDisableAutoConnect ¶ added in v0.28.0
func (x *GetConfigResponse) GetDisableAutoConnect() bool
func (*GetConfigResponse) GetInterfaceName ¶ added in v0.28.0
func (x *GetConfigResponse) GetInterfaceName() string
func (*GetConfigResponse) GetLogFile ¶
func (x *GetConfigResponse) GetLogFile() string
func (*GetConfigResponse) GetManagementUrl ¶
func (x *GetConfigResponse) GetManagementUrl() string
func (*GetConfigResponse) GetPreSharedKey ¶
func (x *GetConfigResponse) GetPreSharedKey() string
func (*GetConfigResponse) GetRosenpassEnabled ¶ added in v0.28.0
func (x *GetConfigResponse) GetRosenpassEnabled() bool
func (*GetConfigResponse) GetRosenpassPermissive ¶ added in v0.28.0
func (x *GetConfigResponse) GetRosenpassPermissive() bool
func (*GetConfigResponse) GetServerSSHAllowed ¶ added in v0.28.0
func (x *GetConfigResponse) GetServerSSHAllowed() bool
func (*GetConfigResponse) GetWireguardPort ¶ added in v0.28.0
func (x *GetConfigResponse) GetWireguardPort() int64
func (*GetConfigResponse) ProtoMessage ¶
func (*GetConfigResponse) ProtoMessage()
func (*GetConfigResponse) ProtoReflect ¶
func (x *GetConfigResponse) ProtoReflect() protoreflect.Message
func (*GetConfigResponse) Reset ¶
func (x *GetConfigResponse) Reset()
func (*GetConfigResponse) String ¶
func (x *GetConfigResponse) String() string
type GetLogLevelRequest ¶ added in v0.27.10
type GetLogLevelRequest struct {
// contains filtered or unexported fields
}
func (*GetLogLevelRequest) Descriptor
deprecated
added in
v0.27.10
func (*GetLogLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogLevelRequest.ProtoReflect.Descriptor instead.
func (*GetLogLevelRequest) ProtoMessage ¶ added in v0.27.10
func (*GetLogLevelRequest) ProtoMessage()
func (*GetLogLevelRequest) ProtoReflect ¶ added in v0.27.10
func (x *GetLogLevelRequest) ProtoReflect() protoreflect.Message
func (*GetLogLevelRequest) Reset ¶ added in v0.27.10
func (x *GetLogLevelRequest) Reset()
func (*GetLogLevelRequest) String ¶ added in v0.27.10
func (x *GetLogLevelRequest) String() string
type GetLogLevelResponse ¶ added in v0.27.10
type GetLogLevelResponse struct { Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=daemon.LogLevel" json:"level,omitempty"` // contains filtered or unexported fields }
func (*GetLogLevelResponse) Descriptor
deprecated
added in
v0.27.10
func (*GetLogLevelResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLogLevelResponse.ProtoReflect.Descriptor instead.
func (*GetLogLevelResponse) GetLevel ¶ added in v0.27.10
func (x *GetLogLevelResponse) GetLevel() LogLevel
func (*GetLogLevelResponse) ProtoMessage ¶ added in v0.27.10
func (*GetLogLevelResponse) ProtoMessage()
func (*GetLogLevelResponse) ProtoReflect ¶ added in v0.27.10
func (x *GetLogLevelResponse) ProtoReflect() protoreflect.Message
func (*GetLogLevelResponse) Reset ¶ added in v0.27.10
func (x *GetLogLevelResponse) Reset()
func (*GetLogLevelResponse) String ¶ added in v0.27.10
func (x *GetLogLevelResponse) String() string
type IPList ¶ added in v0.28.0
type IPList struct { Ips []string `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"` // contains filtered or unexported fields }
func (*IPList) Descriptor
deprecated
added in
v0.28.0
func (*IPList) ProtoMessage ¶ added in v0.28.0
func (*IPList) ProtoMessage()
func (*IPList) ProtoReflect ¶ added in v0.28.0
func (x *IPList) ProtoReflect() protoreflect.Message
type ListRoutesRequest ¶ added in v0.27.4
type ListRoutesRequest struct {
// contains filtered or unexported fields
}
func (*ListRoutesRequest) Descriptor
deprecated
added in
v0.27.4
func (*ListRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListRoutesRequest) ProtoMessage ¶ added in v0.27.4
func (*ListRoutesRequest) ProtoMessage()
func (*ListRoutesRequest) ProtoReflect ¶ added in v0.27.4
func (x *ListRoutesRequest) ProtoReflect() protoreflect.Message
func (*ListRoutesRequest) Reset ¶ added in v0.27.4
func (x *ListRoutesRequest) Reset()
func (*ListRoutesRequest) String ¶ added in v0.27.4
func (x *ListRoutesRequest) String() string
type ListRoutesResponse ¶ added in v0.27.4
type ListRoutesResponse struct { Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*ListRoutesResponse) Descriptor
deprecated
added in
v0.27.4
func (*ListRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListRoutesResponse) GetRoutes ¶ added in v0.27.4
func (x *ListRoutesResponse) GetRoutes() []*Route
func (*ListRoutesResponse) ProtoMessage ¶ added in v0.27.4
func (*ListRoutesResponse) ProtoMessage()
func (*ListRoutesResponse) ProtoReflect ¶ added in v0.27.4
func (x *ListRoutesResponse) ProtoReflect() protoreflect.Message
func (*ListRoutesResponse) Reset ¶ added in v0.27.4
func (x *ListRoutesResponse) Reset()
func (*ListRoutesResponse) String ¶ added in v0.27.4
func (x *ListRoutesResponse) String() string
type ListStatesRequest ¶ added in v0.34.0
type ListStatesRequest struct {
// contains filtered or unexported fields
}
ListStatesRequest is empty as it requires no parameters
func (*ListStatesRequest) Descriptor
deprecated
added in
v0.34.0
func (*ListStatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStatesRequest.ProtoReflect.Descriptor instead.
func (*ListStatesRequest) ProtoMessage ¶ added in v0.34.0
func (*ListStatesRequest) ProtoMessage()
func (*ListStatesRequest) ProtoReflect ¶ added in v0.34.0
func (x *ListStatesRequest) ProtoReflect() protoreflect.Message
func (*ListStatesRequest) Reset ¶ added in v0.34.0
func (x *ListStatesRequest) Reset()
func (*ListStatesRequest) String ¶ added in v0.34.0
func (x *ListStatesRequest) String() string
type ListStatesResponse ¶ added in v0.34.0
type ListStatesResponse struct { States []*State `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"` // contains filtered or unexported fields }
ListStatesResponse contains a list of states
func (*ListStatesResponse) Descriptor
deprecated
added in
v0.34.0
func (*ListStatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStatesResponse.ProtoReflect.Descriptor instead.
func (*ListStatesResponse) GetStates ¶ added in v0.34.0
func (x *ListStatesResponse) GetStates() []*State
func (*ListStatesResponse) ProtoMessage ¶ added in v0.34.0
func (*ListStatesResponse) ProtoMessage()
func (*ListStatesResponse) ProtoReflect ¶ added in v0.34.0
func (x *ListStatesResponse) ProtoReflect() protoreflect.Message
func (*ListStatesResponse) Reset ¶ added in v0.34.0
func (x *ListStatesResponse) Reset()
func (*ListStatesResponse) String ¶ added in v0.34.0
func (x *ListStatesResponse) String() string
type LocalPeerState ¶ added in v0.8.1
type LocalPeerState struct { IP string `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"` PubKey string `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty"` KernelInterface bool `protobuf:"varint,3,opt,name=kernelInterface,proto3" json:"kernelInterface,omitempty"` Fqdn string `protobuf:"bytes,4,opt,name=fqdn,proto3" json:"fqdn,omitempty"` RosenpassEnabled bool `protobuf:"varint,5,opt,name=rosenpassEnabled,proto3" json:"rosenpassEnabled,omitempty"` RosenpassPermissive bool `protobuf:"varint,6,opt,name=rosenpassPermissive,proto3" json:"rosenpassPermissive,omitempty"` Routes []string `protobuf:"bytes,7,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
LocalPeerState contains the latest state of the local peer
func (*LocalPeerState) Descriptor
deprecated
added in
v0.8.1
func (*LocalPeerState) Descriptor() ([]byte, []int)
Deprecated: Use LocalPeerState.ProtoReflect.Descriptor instead.
func (*LocalPeerState) GetFqdn ¶ added in v0.11.2
func (x *LocalPeerState) GetFqdn() string
func (*LocalPeerState) GetIP ¶ added in v0.8.1
func (x *LocalPeerState) GetIP() string
func (*LocalPeerState) GetKernelInterface ¶ added in v0.8.1
func (x *LocalPeerState) GetKernelInterface() bool
func (*LocalPeerState) GetPubKey ¶ added in v0.8.1
func (x *LocalPeerState) GetPubKey() string
func (*LocalPeerState) GetRosenpassEnabled ¶ added in v0.26.1
func (x *LocalPeerState) GetRosenpassEnabled() bool
func (*LocalPeerState) GetRosenpassPermissive ¶ added in v0.26.1
func (x *LocalPeerState) GetRosenpassPermissive() bool
func (*LocalPeerState) GetRoutes ¶ added in v0.26.3
func (x *LocalPeerState) GetRoutes() []string
func (*LocalPeerState) ProtoMessage ¶ added in v0.8.1
func (*LocalPeerState) ProtoMessage()
func (*LocalPeerState) ProtoReflect ¶ added in v0.8.1
func (x *LocalPeerState) ProtoReflect() protoreflect.Message
func (*LocalPeerState) Reset ¶ added in v0.8.1
func (x *LocalPeerState) Reset()
func (*LocalPeerState) String ¶ added in v0.8.1
func (x *LocalPeerState) String() string
type LogLevel ¶ added in v0.27.4
type LogLevel int32
func (LogLevel) Descriptor ¶ added in v0.27.4
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
added in
v0.27.4
func (LogLevel) Number ¶ added in v0.27.4
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶ added in v0.27.4
func (LogLevel) Type() protoreflect.EnumType
type LoginRequest ¶
type LoginRequest struct { // setupKey wiretrustee setup key. SetupKey string `protobuf:"bytes,1,opt,name=setupKey,proto3" json:"setupKey,omitempty"` // to allow clearing of preshared key while being able to persist in the config file. // // Deprecated: Do not use. PreSharedKey string `protobuf:"bytes,2,opt,name=preSharedKey,proto3" json:"preSharedKey,omitempty"` // managementUrl to authenticate. ManagementUrl string `protobuf:"bytes,3,opt,name=managementUrl,proto3" json:"managementUrl,omitempty"` // adminUrl to manage keys. AdminURL string `protobuf:"bytes,4,opt,name=adminURL,proto3" json:"adminURL,omitempty"` // natExternalIPs map list of external IPs NatExternalIPs []string `protobuf:"bytes,5,rep,name=natExternalIPs,proto3" json:"natExternalIPs,omitempty"` // cleanNATExternalIPs clean map list of external IPs. // This is needed because the generated code // omits initialized empty slices due to omitempty tags CleanNATExternalIPs bool `protobuf:"varint,6,opt,name=cleanNATExternalIPs,proto3" json:"cleanNATExternalIPs,omitempty"` CustomDNSAddress []byte `protobuf:"bytes,7,opt,name=customDNSAddress,proto3" json:"customDNSAddress,omitempty"` IsLinuxDesktopClient bool `protobuf:"varint,8,opt,name=isLinuxDesktopClient,proto3" json:"isLinuxDesktopClient,omitempty"` Hostname string `protobuf:"bytes,9,opt,name=hostname,proto3" json:"hostname,omitempty"` RosenpassEnabled *bool `protobuf:"varint,10,opt,name=rosenpassEnabled,proto3,oneof" json:"rosenpassEnabled,omitempty"` InterfaceName *string `protobuf:"bytes,11,opt,name=interfaceName,proto3,oneof" json:"interfaceName,omitempty"` WireguardPort *int64 `protobuf:"varint,12,opt,name=wireguardPort,proto3,oneof" json:"wireguardPort,omitempty"` DisableAutoConnect *bool `protobuf:"varint,14,opt,name=disableAutoConnect,proto3,oneof" json:"disableAutoConnect,omitempty"` ServerSSHAllowed *bool `protobuf:"varint,15,opt,name=serverSSHAllowed,proto3,oneof" json:"serverSSHAllowed,omitempty"` RosenpassPermissive *bool `protobuf:"varint,16,opt,name=rosenpassPermissive,proto3,oneof" json:"rosenpassPermissive,omitempty"` ExtraIFaceBlacklist []string `protobuf:"bytes,17,rep,name=extraIFaceBlacklist,proto3" json:"extraIFaceBlacklist,omitempty"` NetworkMonitor *bool `protobuf:"varint,18,opt,name=networkMonitor,proto3,oneof" json:"networkMonitor,omitempty"` DnsRouteInterval *durationpb.Duration `protobuf:"bytes,19,opt,name=dnsRouteInterval,proto3,oneof" json:"dnsRouteInterval,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetAdminURL ¶
func (x *LoginRequest) GetAdminURL() string
func (*LoginRequest) GetCleanNATExternalIPs ¶ added in v0.12.0
func (x *LoginRequest) GetCleanNATExternalIPs() bool
func (*LoginRequest) GetCustomDNSAddress ¶ added in v0.12.0
func (x *LoginRequest) GetCustomDNSAddress() []byte
func (*LoginRequest) GetDisableAutoConnect ¶ added in v0.26.0
func (x *LoginRequest) GetDisableAutoConnect() bool
func (*LoginRequest) GetDnsRouteInterval ¶ added in v0.28.0
func (x *LoginRequest) GetDnsRouteInterval() *durationpb.Duration
func (*LoginRequest) GetExtraIFaceBlacklist ¶ added in v0.26.5
func (x *LoginRequest) GetExtraIFaceBlacklist() []string
func (*LoginRequest) GetHostname ¶ added in v0.24.4
func (x *LoginRequest) GetHostname() string
func (*LoginRequest) GetInterfaceName ¶ added in v0.25.4
func (x *LoginRequest) GetInterfaceName() string
func (*LoginRequest) GetIsLinuxDesktopClient ¶ added in v0.23.5
func (x *LoginRequest) GetIsLinuxDesktopClient() bool
func (*LoginRequest) GetManagementUrl ¶
func (x *LoginRequest) GetManagementUrl() string
func (*LoginRequest) GetNatExternalIPs ¶ added in v0.12.0
func (x *LoginRequest) GetNatExternalIPs() []string
func (*LoginRequest) GetNetworkMonitor ¶ added in v0.27.5
func (x *LoginRequest) GetNetworkMonitor() bool
func (*LoginRequest) GetOptionalPreSharedKey ¶ added in v0.25.5
func (x *LoginRequest) GetOptionalPreSharedKey() string
func (*LoginRequest) GetPreSharedKey
deprecated
func (x *LoginRequest) GetPreSharedKey() string
Deprecated: Do not use.
func (*LoginRequest) GetRosenpassEnabled ¶ added in v0.25.4
func (x *LoginRequest) GetRosenpassEnabled() bool
func (*LoginRequest) GetRosenpassPermissive ¶ added in v0.26.0
func (x *LoginRequest) GetRosenpassPermissive() bool
func (*LoginRequest) GetServerSSHAllowed ¶ added in v0.26.0
func (x *LoginRequest) GetServerSSHAllowed() bool
func (*LoginRequest) GetSetupKey ¶
func (x *LoginRequest) GetSetupKey() string
func (*LoginRequest) GetWireguardPort ¶ added in v0.25.4
func (x *LoginRequest) GetWireguardPort() int64
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { NeedsSSOLogin bool `protobuf:"varint,1,opt,name=needsSSOLogin,proto3" json:"needsSSOLogin,omitempty"` UserCode string `protobuf:"bytes,2,opt,name=userCode,proto3" json:"userCode,omitempty"` VerificationURI string `protobuf:"bytes,3,opt,name=verificationURI,proto3" json:"verificationURI,omitempty"` VerificationURIComplete string `protobuf:"bytes,4,opt,name=verificationURIComplete,proto3" json:"verificationURIComplete,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetNeedsSSOLogin ¶
func (x *LoginResponse) GetNeedsSSOLogin() bool
func (*LoginResponse) GetUserCode ¶
func (x *LoginResponse) GetUserCode() string
func (*LoginResponse) GetVerificationURI ¶
func (x *LoginResponse) GetVerificationURI() string
func (*LoginResponse) GetVerificationURIComplete ¶
func (x *LoginResponse) GetVerificationURIComplete() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type ManagementState ¶ added in v0.8.1
type ManagementState struct { URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` Connected bool `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
ManagementState contains the latest state of a management connection
func (*ManagementState) Descriptor
deprecated
added in
v0.8.1
func (*ManagementState) Descriptor() ([]byte, []int)
Deprecated: Use ManagementState.ProtoReflect.Descriptor instead.
func (*ManagementState) GetConnected ¶ added in v0.8.1
func (x *ManagementState) GetConnected() bool
func (*ManagementState) GetError ¶ added in v0.25.5
func (x *ManagementState) GetError() string
func (*ManagementState) GetURL ¶ added in v0.8.1
func (x *ManagementState) GetURL() string
func (*ManagementState) ProtoMessage ¶ added in v0.8.1
func (*ManagementState) ProtoMessage()
func (*ManagementState) ProtoReflect ¶ added in v0.8.1
func (x *ManagementState) ProtoReflect() protoreflect.Message
func (*ManagementState) Reset ¶ added in v0.8.1
func (x *ManagementState) Reset()
func (*ManagementState) String ¶ added in v0.8.1
func (x *ManagementState) String() string
type NSGroupState ¶ added in v0.26.3
type NSGroupState struct { Servers []string `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` Domains []string `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*NSGroupState) Descriptor
deprecated
added in
v0.26.3
func (*NSGroupState) Descriptor() ([]byte, []int)
Deprecated: Use NSGroupState.ProtoReflect.Descriptor instead.
func (*NSGroupState) GetDomains ¶ added in v0.26.3
func (x *NSGroupState) GetDomains() []string
func (*NSGroupState) GetEnabled ¶ added in v0.26.3
func (x *NSGroupState) GetEnabled() bool
func (*NSGroupState) GetError ¶ added in v0.26.3
func (x *NSGroupState) GetError() string
func (*NSGroupState) GetServers ¶ added in v0.26.3
func (x *NSGroupState) GetServers() []string
func (*NSGroupState) ProtoMessage ¶ added in v0.26.3
func (*NSGroupState) ProtoMessage()
func (*NSGroupState) ProtoReflect ¶ added in v0.26.3
func (x *NSGroupState) ProtoReflect() protoreflect.Message
func (*NSGroupState) Reset ¶ added in v0.26.3
func (x *NSGroupState) Reset()
func (*NSGroupState) String ¶ added in v0.26.3
func (x *NSGroupState) String() string
type PeerState ¶ added in v0.8.1
type PeerState struct { IP string `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"` PubKey string `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty"` ConnStatus string `protobuf:"bytes,3,opt,name=connStatus,proto3" json:"connStatus,omitempty"` ConnStatusUpdate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=connStatusUpdate,proto3" json:"connStatusUpdate,omitempty"` Relayed bool `protobuf:"varint,5,opt,name=relayed,proto3" json:"relayed,omitempty"` LocalIceCandidateType string `protobuf:"bytes,7,opt,name=localIceCandidateType,proto3" json:"localIceCandidateType,omitempty"` RemoteIceCandidateType string `protobuf:"bytes,8,opt,name=remoteIceCandidateType,proto3" json:"remoteIceCandidateType,omitempty"` Fqdn string `protobuf:"bytes,9,opt,name=fqdn,proto3" json:"fqdn,omitempty"` LocalIceCandidateEndpoint string `protobuf:"bytes,10,opt,name=localIceCandidateEndpoint,proto3" json:"localIceCandidateEndpoint,omitempty"` RemoteIceCandidateEndpoint string `protobuf:"bytes,11,opt,name=remoteIceCandidateEndpoint,proto3" json:"remoteIceCandidateEndpoint,omitempty"` LastWireguardHandshake *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=lastWireguardHandshake,proto3" json:"lastWireguardHandshake,omitempty"` BytesRx int64 `protobuf:"varint,13,opt,name=bytesRx,proto3" json:"bytesRx,omitempty"` BytesTx int64 `protobuf:"varint,14,opt,name=bytesTx,proto3" json:"bytesTx,omitempty"` RosenpassEnabled bool `protobuf:"varint,15,opt,name=rosenpassEnabled,proto3" json:"rosenpassEnabled,omitempty"` Routes []string `protobuf:"bytes,16,rep,name=routes,proto3" json:"routes,omitempty"` Latency *durationpb.Duration `protobuf:"bytes,17,opt,name=latency,proto3" json:"latency,omitempty"` RelayAddress string `protobuf:"bytes,18,opt,name=relayAddress,proto3" json:"relayAddress,omitempty"` // contains filtered or unexported fields }
PeerState contains the latest state of a peer
func (*PeerState) Descriptor
deprecated
added in
v0.8.1
func (*PeerState) GetBytesRx ¶ added in v0.25.5
func (*PeerState) GetBytesTx ¶ added in v0.25.5
func (*PeerState) GetConnStatus ¶ added in v0.8.1
func (*PeerState) GetConnStatusUpdate ¶ added in v0.8.1
func (x *PeerState) GetConnStatusUpdate() *timestamppb.Timestamp
func (*PeerState) GetLastWireguardHandshake ¶ added in v0.25.5
func (x *PeerState) GetLastWireguardHandshake() *timestamppb.Timestamp
func (*PeerState) GetLatency ¶ added in v0.26.4
func (x *PeerState) GetLatency() *durationpb.Duration
func (*PeerState) GetLocalIceCandidateEndpoint ¶ added in v0.25.5
func (*PeerState) GetLocalIceCandidateType ¶ added in v0.8.1
func (*PeerState) GetRelayAddress ¶ added in v0.29.0
func (*PeerState) GetRelayed ¶ added in v0.8.1
func (*PeerState) GetRemoteIceCandidateEndpoint ¶ added in v0.25.5
func (*PeerState) GetRemoteIceCandidateType ¶ added in v0.8.1
func (*PeerState) GetRosenpassEnabled ¶ added in v0.26.1
func (*PeerState) ProtoMessage ¶ added in v0.8.1
func (*PeerState) ProtoMessage()
func (*PeerState) ProtoReflect ¶ added in v0.8.1
func (x *PeerState) ProtoReflect() protoreflect.Message
type RelayState ¶ added in v0.25.5
type RelayState struct { URI string `protobuf:"bytes,1,opt,name=URI,proto3" json:"URI,omitempty"` Available bool `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
RelayState contains the latest state of the relay
func (*RelayState) Descriptor
deprecated
added in
v0.25.5
func (*RelayState) Descriptor() ([]byte, []int)
Deprecated: Use RelayState.ProtoReflect.Descriptor instead.
func (*RelayState) GetAvailable ¶ added in v0.25.5
func (x *RelayState) GetAvailable() bool
func (*RelayState) GetError ¶ added in v0.25.5
func (x *RelayState) GetError() string
func (*RelayState) GetURI ¶ added in v0.25.5
func (x *RelayState) GetURI() string
func (*RelayState) ProtoMessage ¶ added in v0.25.5
func (*RelayState) ProtoMessage()
func (*RelayState) ProtoReflect ¶ added in v0.25.5
func (x *RelayState) ProtoReflect() protoreflect.Message
func (*RelayState) Reset ¶ added in v0.25.5
func (x *RelayState) Reset()
func (*RelayState) String ¶ added in v0.25.5
func (x *RelayState) String() string
type Route ¶ added in v0.27.4
type Route struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"` Domains []string `protobuf:"bytes,4,rep,name=domains,proto3" json:"domains,omitempty"` ResolvedIPs map[string]*IPList `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
added in
v0.27.4
func (*Route) GetDomains ¶ added in v0.28.0
func (*Route) GetNetwork ¶ added in v0.27.4
func (*Route) GetResolvedIPs ¶ added in v0.28.0
func (*Route) GetSelected ¶ added in v0.27.4
func (*Route) ProtoMessage ¶ added in v0.27.4
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶ added in v0.27.4
func (x *Route) ProtoReflect() protoreflect.Message
type SelectRoutesRequest ¶ added in v0.27.4
type SelectRoutesRequest struct { RouteIDs []string `protobuf:"bytes,1,rep,name=routeIDs,proto3" json:"routeIDs,omitempty"` Append bool `protobuf:"varint,2,opt,name=append,proto3" json:"append,omitempty"` All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"` // contains filtered or unexported fields }
func (*SelectRoutesRequest) Descriptor
deprecated
added in
v0.27.4
func (*SelectRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectRoutesRequest.ProtoReflect.Descriptor instead.
func (*SelectRoutesRequest) GetAll ¶ added in v0.27.4
func (x *SelectRoutesRequest) GetAll() bool
func (*SelectRoutesRequest) GetAppend ¶ added in v0.27.4
func (x *SelectRoutesRequest) GetAppend() bool
func (*SelectRoutesRequest) GetRouteIDs ¶ added in v0.27.4
func (x *SelectRoutesRequest) GetRouteIDs() []string
func (*SelectRoutesRequest) ProtoMessage ¶ added in v0.27.4
func (*SelectRoutesRequest) ProtoMessage()
func (*SelectRoutesRequest) ProtoReflect ¶ added in v0.27.4
func (x *SelectRoutesRequest) ProtoReflect() protoreflect.Message
func (*SelectRoutesRequest) Reset ¶ added in v0.27.4
func (x *SelectRoutesRequest) Reset()
func (*SelectRoutesRequest) String ¶ added in v0.27.4
func (x *SelectRoutesRequest) String() string
type SelectRoutesResponse ¶ added in v0.27.4
type SelectRoutesResponse struct {
// contains filtered or unexported fields
}
func (*SelectRoutesResponse) Descriptor
deprecated
added in
v0.27.4
func (*SelectRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelectRoutesResponse.ProtoReflect.Descriptor instead.
func (*SelectRoutesResponse) ProtoMessage ¶ added in v0.27.4
func (*SelectRoutesResponse) ProtoMessage()
func (*SelectRoutesResponse) ProtoReflect ¶ added in v0.27.4
func (x *SelectRoutesResponse) ProtoReflect() protoreflect.Message
func (*SelectRoutesResponse) Reset ¶ added in v0.27.4
func (x *SelectRoutesResponse) Reset()
func (*SelectRoutesResponse) String ¶ added in v0.27.4
func (x *SelectRoutesResponse) String() string
type SetLogLevelRequest ¶ added in v0.27.4
type SetLogLevelRequest struct { Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=daemon.LogLevel" json:"level,omitempty"` // contains filtered or unexported fields }
func (*SetLogLevelRequest) Descriptor
deprecated
added in
v0.27.4
func (*SetLogLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLogLevelRequest.ProtoReflect.Descriptor instead.
func (*SetLogLevelRequest) GetLevel ¶ added in v0.27.4
func (x *SetLogLevelRequest) GetLevel() LogLevel
func (*SetLogLevelRequest) ProtoMessage ¶ added in v0.27.4
func (*SetLogLevelRequest) ProtoMessage()
func (*SetLogLevelRequest) ProtoReflect ¶ added in v0.27.4
func (x *SetLogLevelRequest) ProtoReflect() protoreflect.Message
func (*SetLogLevelRequest) Reset ¶ added in v0.27.4
func (x *SetLogLevelRequest) Reset()
func (*SetLogLevelRequest) String ¶ added in v0.27.4
func (x *SetLogLevelRequest) String() string
type SetLogLevelResponse ¶ added in v0.27.4
type SetLogLevelResponse struct {
// contains filtered or unexported fields
}
func (*SetLogLevelResponse) Descriptor
deprecated
added in
v0.27.4
func (*SetLogLevelResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetLogLevelResponse.ProtoReflect.Descriptor instead.
func (*SetLogLevelResponse) ProtoMessage ¶ added in v0.27.4
func (*SetLogLevelResponse) ProtoMessage()
func (*SetLogLevelResponse) ProtoReflect ¶ added in v0.27.4
func (x *SetLogLevelResponse) ProtoReflect() protoreflect.Message
func (*SetLogLevelResponse) Reset ¶ added in v0.27.4
func (x *SetLogLevelResponse) Reset()
func (*SetLogLevelResponse) String ¶ added in v0.27.4
func (x *SetLogLevelResponse) String() string
type SetNetworkMapPersistenceRequest ¶ added in v0.34.0
type SetNetworkMapPersistenceRequest struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*SetNetworkMapPersistenceRequest) Descriptor
deprecated
added in
v0.34.0
func (*SetNetworkMapPersistenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNetworkMapPersistenceRequest.ProtoReflect.Descriptor instead.
func (*SetNetworkMapPersistenceRequest) GetEnabled ¶ added in v0.34.0
func (x *SetNetworkMapPersistenceRequest) GetEnabled() bool
func (*SetNetworkMapPersistenceRequest) ProtoMessage ¶ added in v0.34.0
func (*SetNetworkMapPersistenceRequest) ProtoMessage()
func (*SetNetworkMapPersistenceRequest) ProtoReflect ¶ added in v0.34.0
func (x *SetNetworkMapPersistenceRequest) ProtoReflect() protoreflect.Message
func (*SetNetworkMapPersistenceRequest) Reset ¶ added in v0.34.0
func (x *SetNetworkMapPersistenceRequest) Reset()
func (*SetNetworkMapPersistenceRequest) String ¶ added in v0.34.0
func (x *SetNetworkMapPersistenceRequest) String() string
type SetNetworkMapPersistenceResponse ¶ added in v0.34.0
type SetNetworkMapPersistenceResponse struct {
// contains filtered or unexported fields
}
func (*SetNetworkMapPersistenceResponse) Descriptor
deprecated
added in
v0.34.0
func (*SetNetworkMapPersistenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetNetworkMapPersistenceResponse.ProtoReflect.Descriptor instead.
func (*SetNetworkMapPersistenceResponse) ProtoMessage ¶ added in v0.34.0
func (*SetNetworkMapPersistenceResponse) ProtoMessage()
func (*SetNetworkMapPersistenceResponse) ProtoReflect ¶ added in v0.34.0
func (x *SetNetworkMapPersistenceResponse) ProtoReflect() protoreflect.Message
func (*SetNetworkMapPersistenceResponse) Reset ¶ added in v0.34.0
func (x *SetNetworkMapPersistenceResponse) Reset()
func (*SetNetworkMapPersistenceResponse) String ¶ added in v0.34.0
func (x *SetNetworkMapPersistenceResponse) String() string
type SignalState ¶ added in v0.8.1
type SignalState struct { URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` Connected bool `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
SignalState contains the latest state of a signal connection
func (*SignalState) Descriptor
deprecated
added in
v0.8.1
func (*SignalState) Descriptor() ([]byte, []int)
Deprecated: Use SignalState.ProtoReflect.Descriptor instead.
func (*SignalState) GetConnected ¶ added in v0.8.1
func (x *SignalState) GetConnected() bool
func (*SignalState) GetError ¶ added in v0.25.5
func (x *SignalState) GetError() string
func (*SignalState) GetURL ¶ added in v0.8.1
func (x *SignalState) GetURL() string
func (*SignalState) ProtoMessage ¶ added in v0.8.1
func (*SignalState) ProtoMessage()
func (*SignalState) ProtoReflect ¶ added in v0.8.1
func (x *SignalState) ProtoReflect() protoreflect.Message
func (*SignalState) Reset ¶ added in v0.8.1
func (x *SignalState) Reset()
func (*SignalState) String ¶ added in v0.8.1
func (x *SignalState) String() string
type State ¶ added in v0.34.0
type State struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
State represents a daemon state entry
func (*State) Descriptor
deprecated
added in
v0.34.0
func (*State) ProtoMessage ¶ added in v0.34.0
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶ added in v0.34.0
func (x *State) ProtoReflect() protoreflect.Message
type StatusRequest ¶
type StatusRequest struct { GetFullPeerStatus bool `protobuf:"varint,1,opt,name=getFullPeerStatus,proto3" json:"getFullPeerStatus,omitempty"` // contains filtered or unexported fields }
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) GetGetFullPeerStatus ¶ added in v0.8.1
func (x *StatusRequest) GetGetFullPeerStatus() bool
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
type StatusResponse ¶
type StatusResponse struct { // status of the server. Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` FullStatus *FullStatus `protobuf:"bytes,2,opt,name=fullStatus,proto3" json:"fullStatus,omitempty"` // NetBird daemon version DaemonVersion string `protobuf:"bytes,3,opt,name=daemonVersion,proto3" json:"daemonVersion,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetDaemonVersion ¶ added in v0.8.6
func (x *StatusResponse) GetDaemonVersion() string
func (*StatusResponse) GetFullStatus ¶ added in v0.8.1
func (x *StatusResponse) GetFullStatus() *FullStatus
func (*StatusResponse) GetStatus ¶
func (x *StatusResponse) GetStatus() string
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type UnimplementedDaemonServiceServer ¶
type UnimplementedDaemonServiceServer struct { }
UnimplementedDaemonServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDaemonServiceServer) CleanState ¶ added in v0.34.0
func (UnimplementedDaemonServiceServer) CleanState(context.Context, *CleanStateRequest) (*CleanStateResponse, error)
func (UnimplementedDaemonServiceServer) DebugBundle ¶ added in v0.27.4
func (UnimplementedDaemonServiceServer) DebugBundle(context.Context, *DebugBundleRequest) (*DebugBundleResponse, error)
func (UnimplementedDaemonServiceServer) DeleteState ¶ added in v0.34.0
func (UnimplementedDaemonServiceServer) DeleteState(context.Context, *DeleteStateRequest) (*DeleteStateResponse, error)
func (UnimplementedDaemonServiceServer) DeselectRoutes ¶ added in v0.27.4
func (UnimplementedDaemonServiceServer) DeselectRoutes(context.Context, *SelectRoutesRequest) (*SelectRoutesResponse, error)
func (UnimplementedDaemonServiceServer) Down ¶
func (UnimplementedDaemonServiceServer) Down(context.Context, *DownRequest) (*DownResponse, error)
func (UnimplementedDaemonServiceServer) GetConfig ¶
func (UnimplementedDaemonServiceServer) GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
func (UnimplementedDaemonServiceServer) GetLogLevel ¶ added in v0.27.10
func (UnimplementedDaemonServiceServer) GetLogLevel(context.Context, *GetLogLevelRequest) (*GetLogLevelResponse, error)
func (UnimplementedDaemonServiceServer) ListRoutes ¶ added in v0.27.4
func (UnimplementedDaemonServiceServer) ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error)
func (UnimplementedDaemonServiceServer) ListStates ¶ added in v0.34.0
func (UnimplementedDaemonServiceServer) ListStates(context.Context, *ListStatesRequest) (*ListStatesResponse, error)
func (UnimplementedDaemonServiceServer) Login ¶
func (UnimplementedDaemonServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedDaemonServiceServer) SelectRoutes ¶ added in v0.27.4
func (UnimplementedDaemonServiceServer) SelectRoutes(context.Context, *SelectRoutesRequest) (*SelectRoutesResponse, error)
func (UnimplementedDaemonServiceServer) SetLogLevel ¶ added in v0.27.4
func (UnimplementedDaemonServiceServer) SetLogLevel(context.Context, *SetLogLevelRequest) (*SetLogLevelResponse, error)
func (UnimplementedDaemonServiceServer) SetNetworkMapPersistence ¶ added in v0.34.0
func (UnimplementedDaemonServiceServer) SetNetworkMapPersistence(context.Context, *SetNetworkMapPersistenceRequest) (*SetNetworkMapPersistenceResponse, error)
func (UnimplementedDaemonServiceServer) Status ¶
func (UnimplementedDaemonServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
func (UnimplementedDaemonServiceServer) Up ¶
func (UnimplementedDaemonServiceServer) Up(context.Context, *UpRequest) (*UpResponse, error)
func (UnimplementedDaemonServiceServer) WaitSSOLogin ¶
func (UnimplementedDaemonServiceServer) WaitSSOLogin(context.Context, *WaitSSOLoginRequest) (*WaitSSOLoginResponse, error)
type UnsafeDaemonServiceServer ¶
type UnsafeDaemonServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDaemonServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DaemonServiceServer will result in compilation errors.
type UpRequest ¶
type UpRequest struct {
// contains filtered or unexported fields
}
func (*UpRequest) Descriptor
deprecated
func (*UpRequest) ProtoMessage ¶
func (*UpRequest) ProtoMessage()
func (*UpRequest) ProtoReflect ¶
func (x *UpRequest) ProtoReflect() protoreflect.Message
type UpResponse ¶
type UpResponse struct {
// contains filtered or unexported fields
}
func (*UpResponse) Descriptor
deprecated
func (*UpResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpResponse.ProtoReflect.Descriptor instead.
func (*UpResponse) ProtoMessage ¶
func (*UpResponse) ProtoMessage()
func (*UpResponse) ProtoReflect ¶
func (x *UpResponse) ProtoReflect() protoreflect.Message
func (*UpResponse) Reset ¶
func (x *UpResponse) Reset()
func (*UpResponse) String ¶
func (x *UpResponse) String() string
type WaitSSOLoginRequest ¶
type WaitSSOLoginRequest struct { UserCode string `protobuf:"bytes,1,opt,name=userCode,proto3" json:"userCode,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*WaitSSOLoginRequest) Descriptor
deprecated
func (*WaitSSOLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitSSOLoginRequest.ProtoReflect.Descriptor instead.
func (*WaitSSOLoginRequest) GetHostname ¶ added in v0.24.4
func (x *WaitSSOLoginRequest) GetHostname() string
func (*WaitSSOLoginRequest) GetUserCode ¶
func (x *WaitSSOLoginRequest) GetUserCode() string
func (*WaitSSOLoginRequest) ProtoMessage ¶
func (*WaitSSOLoginRequest) ProtoMessage()
func (*WaitSSOLoginRequest) ProtoReflect ¶
func (x *WaitSSOLoginRequest) ProtoReflect() protoreflect.Message
func (*WaitSSOLoginRequest) Reset ¶
func (x *WaitSSOLoginRequest) Reset()
func (*WaitSSOLoginRequest) String ¶
func (x *WaitSSOLoginRequest) String() string
type WaitSSOLoginResponse ¶
type WaitSSOLoginResponse struct {
// contains filtered or unexported fields
}
func (*WaitSSOLoginResponse) Descriptor
deprecated
func (*WaitSSOLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitSSOLoginResponse.ProtoReflect.Descriptor instead.
func (*WaitSSOLoginResponse) ProtoMessage ¶
func (*WaitSSOLoginResponse) ProtoMessage()
func (*WaitSSOLoginResponse) ProtoReflect ¶
func (x *WaitSSOLoginResponse) ProtoReflect() protoreflect.Message
func (*WaitSSOLoginResponse) Reset ¶
func (x *WaitSSOLoginResponse) Reset()
func (*WaitSSOLoginResponse) String ¶
func (x *WaitSSOLoginResponse) String() string