grpc

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: GPL-3.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogLevel_name = map[int32]string{
		0: "LOG_PANIC",
		1: "LOG_FATAL",
		2: "LOG_ERROR",
		3: "LOG_WARN",
		4: "LOG_INFO",
		5: "LOG_DEBUG",
		6: "LOG_TRACE",
	}
	LogLevel_value = map[string]int32{
		"LOG_PANIC": 0,
		"LOG_FATAL": 1,
		"LOG_ERROR": 2,
		"LOG_WARN":  3,
		"LOG_INFO":  4,
		"LOG_DEBUG": 5,
		"LOG_TRACE": 6,
	}
)

Enum value maps for LogLevel.

View Source
var (
	UserState_name = map[int32]string{
		0: "SIGNED_OUT",
		1: "LOCKED",
		2: "CONNECTED",
	}
	UserState_value = map[string]int32{
		"SIGNED_OUT": 0,
		"LOCKED":     1,
		"CONNECTED":  2,
	}
)

Enum value maps for UserState.

View Source
var (
	LoginErrorType_name = map[int32]string{
		0: "USERNAME_PASSWORD_ERROR",
		1: "FREE_USER",
		2: "CONNECTION_ERROR",
		3: "TFA_ERROR",
		4: "TFA_ABORT",
		5: "TWO_PASSWORDS_ERROR",
		6: "TWO_PASSWORDS_ABORT",
	}
	LoginErrorType_value = map[string]int32{
		"USERNAME_PASSWORD_ERROR": 0,
		"FREE_USER":               1,
		"CONNECTION_ERROR":        2,
		"TFA_ERROR":               3,
		"TFA_ABORT":               4,
		"TWO_PASSWORDS_ERROR":     5,
		"TWO_PASSWORDS_ABORT":     6,
	}
)

Enum value maps for LoginErrorType.

View Source
var (
	UpdateErrorType_name = map[int32]string{
		0: "UPDATE_MANUAL_ERROR",
		1: "UPDATE_FORCE_ERROR",
		2: "UPDATE_SILENT_ERROR",
	}
	UpdateErrorType_value = map[string]int32{
		"UPDATE_MANUAL_ERROR": 0,
		"UPDATE_FORCE_ERROR":  1,
		"UPDATE_SILENT_ERROR": 2,
	}
)

Enum value maps for UpdateErrorType.

View Source
var (
	DiskCacheErrorType_name = map[int32]string{
		0: "DISK_CACHE_UNAVAILABLE_ERROR",
		1: "CANT_MOVE_DISK_CACHE_ERROR",
		2: "DISK_FULL_ERROR",
	}
	DiskCacheErrorType_value = map[string]int32{
		"DISK_CACHE_UNAVAILABLE_ERROR": 0,
		"CANT_MOVE_DISK_CACHE_ERROR":   1,
		"DISK_FULL_ERROR":              2,
	}
)

Enum value maps for DiskCacheErrorType.

View Source
var (
	MailServerSettingsErrorType_name = map[int32]string{
		0: "IMAP_PORT_STARTUP_ERROR",
		1: "SMTP_PORT_STARTUP_ERROR",
		2: "IMAP_PORT_CHANGE_ERROR",
		3: "SMTP_PORT_CHANGE_ERROR",
		4: "IMAP_CONNECTION_MODE_CHANGE_ERROR",
		5: "SMTP_CONNECTION_MODE_CHANGE_ERROR",
	}
	MailServerSettingsErrorType_value = map[string]int32{
		"IMAP_PORT_STARTUP_ERROR":           0,
		"SMTP_PORT_STARTUP_ERROR":           1,
		"IMAP_PORT_CHANGE_ERROR":            2,
		"SMTP_PORT_CHANGE_ERROR":            3,
		"IMAP_CONNECTION_MODE_CHANGE_ERROR": 4,
		"SMTP_CONNECTION_MODE_CHANGE_ERROR": 5,
	}
)

Enum value maps for MailServerSettingsErrorType.

View Source
var (
	ErrorCode_name = map[int32]string{
		0: "UNKNOWN_ERROR",
		1: "TLS_CERT_EXPORT_ERROR",
		2: "TLS_KEY_EXPORT_ERROR",
	}
	ErrorCode_value = map[string]int32{
		"UNKNOWN_ERROR":         0,
		"TLS_CERT_EXPORT_ERROR": 1,
		"TLS_KEY_EXPORT_ERROR":  2,
	}
)

Enum value maps for ErrorCode.

View Source
var Bridge_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.Bridge",
	HandlerType: (*BridgeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CheckTokens",
			Handler:    _Bridge_CheckTokens_Handler,
		},
		{
			MethodName: "AddLogEntry",
			Handler:    _Bridge_AddLogEntry_Handler,
		},
		{
			MethodName: "GuiReady",
			Handler:    _Bridge_GuiReady_Handler,
		},
		{
			MethodName: "Quit",
			Handler:    _Bridge_Quit_Handler,
		},
		{
			MethodName: "Restart",
			Handler:    _Bridge_Restart_Handler,
		},
		{
			MethodName: "ShowOnStartup",
			Handler:    _Bridge_ShowOnStartup_Handler,
		},
		{
			MethodName: "SetIsAutostartOn",
			Handler:    _Bridge_SetIsAutostartOn_Handler,
		},
		{
			MethodName: "IsAutostartOn",
			Handler:    _Bridge_IsAutostartOn_Handler,
		},
		{
			MethodName: "SetIsBetaEnabled",
			Handler:    _Bridge_SetIsBetaEnabled_Handler,
		},
		{
			MethodName: "IsBetaEnabled",
			Handler:    _Bridge_IsBetaEnabled_Handler,
		},
		{
			MethodName: "SetIsAllMailVisible",
			Handler:    _Bridge_SetIsAllMailVisible_Handler,
		},
		{
			MethodName: "IsAllMailVisible",
			Handler:    _Bridge_IsAllMailVisible_Handler,
		},
		{
			MethodName: "SetIsTelemetryDisabled",
			Handler:    _Bridge_SetIsTelemetryDisabled_Handler,
		},
		{
			MethodName: "IsTelemetryDisabled",
			Handler:    _Bridge_IsTelemetryDisabled_Handler,
		},
		{
			MethodName: "GoOs",
			Handler:    _Bridge_GoOs_Handler,
		},
		{
			MethodName: "TriggerReset",
			Handler:    _Bridge_TriggerReset_Handler,
		},
		{
			MethodName: "Version",
			Handler:    _Bridge_Version_Handler,
		},
		{
			MethodName: "LogsPath",
			Handler:    _Bridge_LogsPath_Handler,
		},
		{
			MethodName: "LicensePath",
			Handler:    _Bridge_LicensePath_Handler,
		},
		{
			MethodName: "ReleaseNotesPageLink",
			Handler:    _Bridge_ReleaseNotesPageLink_Handler,
		},
		{
			MethodName: "DependencyLicensesLink",
			Handler:    _Bridge_DependencyLicensesLink_Handler,
		},
		{
			MethodName: "LandingPageLink",
			Handler:    _Bridge_LandingPageLink_Handler,
		},
		{
			MethodName: "SetColorSchemeName",
			Handler:    _Bridge_SetColorSchemeName_Handler,
		},
		{
			MethodName: "ColorSchemeName",
			Handler:    _Bridge_ColorSchemeName_Handler,
		},
		{
			MethodName: "CurrentEmailClient",
			Handler:    _Bridge_CurrentEmailClient_Handler,
		},
		{
			MethodName: "ReportBug",
			Handler:    _Bridge_ReportBug_Handler,
		},
		{
			MethodName: "ExportTLSCertificates",
			Handler:    _Bridge_ExportTLSCertificates_Handler,
		},
		{
			MethodName: "ForceLauncher",
			Handler:    _Bridge_ForceLauncher_Handler,
		},
		{
			MethodName: "SetMainExecutable",
			Handler:    _Bridge_SetMainExecutable_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _Bridge_Login_Handler,
		},
		{
			MethodName: "Login2FA",
			Handler:    _Bridge_Login2FA_Handler,
		},
		{
			MethodName: "Login2Passwords",
			Handler:    _Bridge_Login2Passwords_Handler,
		},
		{
			MethodName: "LoginAbort",
			Handler:    _Bridge_LoginAbort_Handler,
		},
		{
			MethodName: "CheckUpdate",
			Handler:    _Bridge_CheckUpdate_Handler,
		},
		{
			MethodName: "InstallUpdate",
			Handler:    _Bridge_InstallUpdate_Handler,
		},
		{
			MethodName: "SetIsAutomaticUpdateOn",
			Handler:    _Bridge_SetIsAutomaticUpdateOn_Handler,
		},
		{
			MethodName: "IsAutomaticUpdateOn",
			Handler:    _Bridge_IsAutomaticUpdateOn_Handler,
		},
		{
			MethodName: "DiskCachePath",
			Handler:    _Bridge_DiskCachePath_Handler,
		},
		{
			MethodName: "SetDiskCachePath",
			Handler:    _Bridge_SetDiskCachePath_Handler,
		},
		{
			MethodName: "SetIsDoHEnabled",
			Handler:    _Bridge_SetIsDoHEnabled_Handler,
		},
		{
			MethodName: "IsDoHEnabled",
			Handler:    _Bridge_IsDoHEnabled_Handler,
		},
		{
			MethodName: "MailServerSettings",
			Handler:    _Bridge_MailServerSettings_Handler,
		},
		{
			MethodName: "SetMailServerSettings",
			Handler:    _Bridge_SetMailServerSettings_Handler,
		},
		{
			MethodName: "Hostname",
			Handler:    _Bridge_Hostname_Handler,
		},
		{
			MethodName: "IsPortFree",
			Handler:    _Bridge_IsPortFree_Handler,
		},
		{
			MethodName: "AvailableKeychains",
			Handler:    _Bridge_AvailableKeychains_Handler,
		},
		{
			MethodName: "SetCurrentKeychain",
			Handler:    _Bridge_SetCurrentKeychain_Handler,
		},
		{
			MethodName: "CurrentKeychain",
			Handler:    _Bridge_CurrentKeychain_Handler,
		},
		{
			MethodName: "GetUserList",
			Handler:    _Bridge_GetUserList_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _Bridge_GetUser_Handler,
		},
		{
			MethodName: "SetUserSplitMode",
			Handler:    _Bridge_SetUserSplitMode_Handler,
		},
		{
			MethodName: "SendBadEventUserFeedback",
			Handler:    _Bridge_SendBadEventUserFeedback_Handler,
		},
		{
			MethodName: "LogoutUser",
			Handler:    _Bridge_LogoutUser_Handler,
		},
		{
			MethodName: "RemoveUser",
			Handler:    _Bridge_RemoveUser_Handler,
		},
		{
			MethodName: "ConfigureUserAppleMail",
			Handler:    _Bridge_ConfigureUserAppleMail_Handler,
		},
		{
			MethodName: "ReportBugClicked",
			Handler:    _Bridge_ReportBugClicked_Handler,
		},
		{
			MethodName: "AutoconfigClicked",
			Handler:    _Bridge_AutoconfigClicked_Handler,
		},
		{
			MethodName: "KBArticleClicked",
			Handler:    _Bridge_KBArticleClicked_Handler,
		},
		{
			MethodName: "StopEventStream",
			Handler:    _Bridge_StopEventStream_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "RunEventStream",
			Handler:       _Bridge_RunEventStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "bridge.proto",
}

Bridge_ServiceDesc is the grpc.ServiceDesc for Bridge service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_bridge_proto protoreflect.FileDescriptor

Functions

func RegisterBridgeServer

func RegisterBridgeServer(s grpc.ServiceRegistrar, srv BridgeServer)

Types

type AddLogEntryRequest

type AddLogEntryRequest struct {
	Level   LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=grpc.LogLevel" json:"level,omitempty"`
	Package string   `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` // package is Go lingo but it identifies the component responsible for the log entry
	Message string   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*AddLogEntryRequest) Descriptor deprecated

func (*AddLogEntryRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddLogEntryRequest.ProtoReflect.Descriptor instead.

func (*AddLogEntryRequest) GetLevel

func (x *AddLogEntryRequest) GetLevel() LogLevel

func (*AddLogEntryRequest) GetMessage

func (x *AddLogEntryRequest) GetMessage() string

func (*AddLogEntryRequest) GetPackage

func (x *AddLogEntryRequest) GetPackage() string

func (*AddLogEntryRequest) ProtoMessage

func (*AddLogEntryRequest) ProtoMessage()

func (*AddLogEntryRequest) ProtoReflect

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

func (*AddLogEntryRequest) Reset

func (x *AddLogEntryRequest) Reset()

func (*AddLogEntryRequest) String

func (x *AddLogEntryRequest) String() string

type AddressChangedEvent

type AddressChangedEvent struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressChangedEvent) Descriptor deprecated

func (*AddressChangedEvent) Descriptor() ([]byte, []int)

Deprecated: Use AddressChangedEvent.ProtoReflect.Descriptor instead.

func (*AddressChangedEvent) GetAddress

func (x *AddressChangedEvent) GetAddress() string

func (*AddressChangedEvent) ProtoMessage

func (*AddressChangedEvent) ProtoMessage()

func (*AddressChangedEvent) ProtoReflect

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

func (*AddressChangedEvent) Reset

func (x *AddressChangedEvent) Reset()

func (*AddressChangedEvent) String

func (x *AddressChangedEvent) String() string

type AddressChangedLogoutEvent

type AddressChangedLogoutEvent struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressChangedLogoutEvent) Descriptor deprecated

func (*AddressChangedLogoutEvent) Descriptor() ([]byte, []int)

Deprecated: Use AddressChangedLogoutEvent.ProtoReflect.Descriptor instead.

func (*AddressChangedLogoutEvent) GetAddress

func (x *AddressChangedLogoutEvent) GetAddress() string

func (*AddressChangedLogoutEvent) ProtoMessage

func (*AddressChangedLogoutEvent) ProtoMessage()

func (*AddressChangedLogoutEvent) ProtoReflect

func (*AddressChangedLogoutEvent) Reset

func (x *AddressChangedLogoutEvent) Reset()

func (*AddressChangedLogoutEvent) String

func (x *AddressChangedLogoutEvent) String() string

type ApiCertIssueEvent

type ApiCertIssueEvent struct {
	// contains filtered or unexported fields
}

func (*ApiCertIssueEvent) Descriptor deprecated

func (*ApiCertIssueEvent) Descriptor() ([]byte, []int)

Deprecated: Use ApiCertIssueEvent.ProtoReflect.Descriptor instead.

func (*ApiCertIssueEvent) ProtoMessage

func (*ApiCertIssueEvent) ProtoMessage()

func (*ApiCertIssueEvent) ProtoReflect

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

func (*ApiCertIssueEvent) Reset

func (x *ApiCertIssueEvent) Reset()

func (*ApiCertIssueEvent) String

func (x *ApiCertIssueEvent) String() string

type AppEvent

type AppEvent struct {

	// Types that are assignable to Event:
	//	*AppEvent_InternetStatus
	//	*AppEvent_ToggleAutostartFinished
	//	*AppEvent_ResetFinished
	//	*AppEvent_ReportBugFinished
	//	*AppEvent_ReportBugSuccess
	//	*AppEvent_ReportBugError
	//	*AppEvent_ShowMainWindow
	//	*AppEvent_ReportBugFallback
	Event isAppEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

********************************************************** App related events **********************************************************

func (*AppEvent) Descriptor deprecated

func (*AppEvent) Descriptor() ([]byte, []int)

Deprecated: Use AppEvent.ProtoReflect.Descriptor instead.

func (*AppEvent) GetEvent

func (m *AppEvent) GetEvent() isAppEvent_Event

func (*AppEvent) GetInternetStatus

func (x *AppEvent) GetInternetStatus() *InternetStatusEvent

func (*AppEvent) GetReportBugError

func (x *AppEvent) GetReportBugError() *ReportBugErrorEvent

func (*AppEvent) GetReportBugFallback added in v3.5.0

func (x *AppEvent) GetReportBugFallback() *ReportBugFallbackEvent

func (*AppEvent) GetReportBugFinished

func (x *AppEvent) GetReportBugFinished() *ReportBugFinishedEvent

func (*AppEvent) GetReportBugSuccess

func (x *AppEvent) GetReportBugSuccess() *ReportBugSuccessEvent

func (*AppEvent) GetResetFinished

func (x *AppEvent) GetResetFinished() *ResetFinishedEvent

func (*AppEvent) GetShowMainWindow

func (x *AppEvent) GetShowMainWindow() *ShowMainWindowEvent

func (*AppEvent) GetToggleAutostartFinished

func (x *AppEvent) GetToggleAutostartFinished() *ToggleAutostartFinishedEvent

func (*AppEvent) ProtoMessage

func (*AppEvent) ProtoMessage()

func (*AppEvent) ProtoReflect

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

func (*AppEvent) Reset

func (x *AppEvent) Reset()

func (*AppEvent) String

func (x *AppEvent) String() string

type AppEvent_InternetStatus

type AppEvent_InternetStatus struct {
	InternetStatus *InternetStatusEvent `protobuf:"bytes,1,opt,name=internetStatus,proto3,oneof"`
}

type AppEvent_ReportBugError

type AppEvent_ReportBugError struct {
	ReportBugError *ReportBugErrorEvent `protobuf:"bytes,6,opt,name=reportBugError,proto3,oneof"`
}

type AppEvent_ReportBugFallback added in v3.5.0

type AppEvent_ReportBugFallback struct {
	ReportBugFallback *ReportBugFallbackEvent `protobuf:"bytes,8,opt,name=reportBugFallback,proto3,oneof"`
}

type AppEvent_ReportBugFinished

type AppEvent_ReportBugFinished struct {
	ReportBugFinished *ReportBugFinishedEvent `protobuf:"bytes,4,opt,name=reportBugFinished,proto3,oneof"`
}

type AppEvent_ReportBugSuccess

type AppEvent_ReportBugSuccess struct {
	ReportBugSuccess *ReportBugSuccessEvent `protobuf:"bytes,5,opt,name=reportBugSuccess,proto3,oneof"`
}

type AppEvent_ResetFinished

type AppEvent_ResetFinished struct {
	ResetFinished *ResetFinishedEvent `protobuf:"bytes,3,opt,name=resetFinished,proto3,oneof"`
}

type AppEvent_ShowMainWindow

type AppEvent_ShowMainWindow struct {
	ShowMainWindow *ShowMainWindowEvent `protobuf:"bytes,7,opt,name=showMainWindow,proto3,oneof"`
}

type AppEvent_ToggleAutostartFinished

type AppEvent_ToggleAutostartFinished struct {
	ToggleAutostartFinished *ToggleAutostartFinishedEvent `protobuf:"bytes,2,opt,name=toggleAutostartFinished,proto3,oneof"`
}

type AvailableKeychainsResponse

type AvailableKeychainsResponse struct {
	Keychains []string `protobuf:"bytes,1,rep,name=keychains,proto3" json:"keychains,omitempty"`
	// contains filtered or unexported fields
}

********************************************************** Keychain related message **********************************************************

func (*AvailableKeychainsResponse) Descriptor deprecated

func (*AvailableKeychainsResponse) Descriptor() ([]byte, []int)

Deprecated: Use AvailableKeychainsResponse.ProtoReflect.Descriptor instead.

func (*AvailableKeychainsResponse) GetKeychains

func (x *AvailableKeychainsResponse) GetKeychains() []string

func (*AvailableKeychainsResponse) ProtoMessage

func (*AvailableKeychainsResponse) ProtoMessage()

func (*AvailableKeychainsResponse) ProtoReflect

func (*AvailableKeychainsResponse) Reset

func (x *AvailableKeychainsResponse) Reset()

func (*AvailableKeychainsResponse) String

func (x *AvailableKeychainsResponse) String() string

type BridgeClient

type BridgeClient interface {
	// App related calls
	CheckTokens(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	AddLogEntry(ctx context.Context, in *AddLogEntryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GuiReady(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GuiReadyResponse, error)
	Quit(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Restart(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ShowOnStartup(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	SetIsAutostartOn(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	IsAutostartOn(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	SetIsBetaEnabled(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	IsBetaEnabled(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	SetIsAllMailVisible(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	IsAllMailVisible(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	SetIsTelemetryDisabled(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	IsTelemetryDisabled(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	GoOs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	TriggerReset(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	LogsPath(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	LicensePath(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	ReleaseNotesPageLink(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	DependencyLicensesLink(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	LandingPageLink(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	SetColorSchemeName(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ColorSchemeName(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	CurrentEmailClient(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	ReportBug(ctx context.Context, in *ReportBugRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ExportTLSCertificates(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ForceLauncher(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetMainExecutable(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// login
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Login2FA(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Login2Passwords(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	LoginAbort(ctx context.Context, in *LoginAbortRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// update
	CheckUpdate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	InstallUpdate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetIsAutomaticUpdateOn(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	IsAutomaticUpdateOn(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	// cache
	DiskCachePath(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	SetDiskCachePath(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// mail
	SetIsDoHEnabled(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	IsDoHEnabled(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	MailServerSettings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ImapSmtpSettings, error)
	SetMailServerSettings(ctx context.Context, in *ImapSmtpSettings, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Hostname(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	IsPortFree(ctx context.Context, in *wrapperspb.Int32Value, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	// keychain
	AvailableKeychains(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AvailableKeychainsResponse, error)
	SetCurrentKeychain(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CurrentKeychain(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
	// User & user list
	GetUserList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserListResponse, error)
	GetUser(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*User, error)
	SetUserSplitMode(ctx context.Context, in *UserSplitModeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SendBadEventUserFeedback(ctx context.Context, in *UserBadEventFeedbackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	LogoutUser(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	RemoveUser(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ConfigureUserAppleMail(ctx context.Context, in *ConfigureAppleMailRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Telemetry
	ReportBugClicked(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AutoconfigClicked(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	KBArticleClicked(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Server -> Client event stream
	RunEventStream(ctx context.Context, in *EventStreamRequest, opts ...grpc.CallOption) (Bridge_RunEventStreamClient, error)
	StopEventStream(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

BridgeClient is the client API for Bridge 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 NewBridgeClient

func NewBridgeClient(cc grpc.ClientConnInterface) BridgeClient

type BridgeServer

type BridgeServer interface {
	// App related calls
	CheckTokens(context.Context, *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
	AddLogEntry(context.Context, *AddLogEntryRequest) (*emptypb.Empty, error)
	GuiReady(context.Context, *emptypb.Empty) (*GuiReadyResponse, error)
	Quit(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	Restart(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	ShowOnStartup(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
	SetIsAutostartOn(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
	IsAutostartOn(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
	SetIsBetaEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
	IsBetaEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
	SetIsAllMailVisible(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
	IsAllMailVisible(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
	SetIsTelemetryDisabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
	IsTelemetryDisabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
	GoOs(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	TriggerReset(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	Version(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	LogsPath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	LicensePath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	ReleaseNotesPageLink(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	DependencyLicensesLink(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	LandingPageLink(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	SetColorSchemeName(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	ColorSchemeName(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	CurrentEmailClient(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	ReportBug(context.Context, *ReportBugRequest) (*emptypb.Empty, error)
	ExportTLSCertificates(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	ForceLauncher(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	SetMainExecutable(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	// login
	Login(context.Context, *LoginRequest) (*emptypb.Empty, error)
	Login2FA(context.Context, *LoginRequest) (*emptypb.Empty, error)
	Login2Passwords(context.Context, *LoginRequest) (*emptypb.Empty, error)
	LoginAbort(context.Context, *LoginAbortRequest) (*emptypb.Empty, error)
	// update
	CheckUpdate(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	InstallUpdate(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	SetIsAutomaticUpdateOn(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
	IsAutomaticUpdateOn(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
	// cache
	DiskCachePath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	SetDiskCachePath(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	// mail
	SetIsDoHEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
	IsDoHEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
	MailServerSettings(context.Context, *emptypb.Empty) (*ImapSmtpSettings, error)
	SetMailServerSettings(context.Context, *ImapSmtpSettings) (*emptypb.Empty, error)
	Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	IsPortFree(context.Context, *wrapperspb.Int32Value) (*wrapperspb.BoolValue, error)
	// keychain
	AvailableKeychains(context.Context, *emptypb.Empty) (*AvailableKeychainsResponse, error)
	SetCurrentKeychain(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	CurrentKeychain(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
	// User & user list
	GetUserList(context.Context, *emptypb.Empty) (*UserListResponse, error)
	GetUser(context.Context, *wrapperspb.StringValue) (*User, error)
	SetUserSplitMode(context.Context, *UserSplitModeRequest) (*emptypb.Empty, error)
	SendBadEventUserFeedback(context.Context, *UserBadEventFeedbackRequest) (*emptypb.Empty, error)
	LogoutUser(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	RemoveUser(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	ConfigureUserAppleMail(context.Context, *ConfigureAppleMailRequest) (*emptypb.Empty, error)
	// Telemetry
	ReportBugClicked(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	AutoconfigClicked(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	KBArticleClicked(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
	// Server -> Client event stream
	RunEventStream(*EventStreamRequest, Bridge_RunEventStreamServer) error
	StopEventStream(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

BridgeServer is the server API for Bridge service. All implementations must embed UnimplementedBridgeServer for forward compatibility

type Bridge_RunEventStreamClient

type Bridge_RunEventStreamClient interface {
	Recv() (*StreamEvent, error)
	grpc.ClientStream
}

type Bridge_RunEventStreamServer

type Bridge_RunEventStreamServer interface {
	Send(*StreamEvent) error
	grpc.ServerStream
}

type ChangeKeychainFinishedEvent

type ChangeKeychainFinishedEvent struct {
	// contains filtered or unexported fields
}

func (*ChangeKeychainFinishedEvent) Descriptor deprecated

func (*ChangeKeychainFinishedEvent) Descriptor() ([]byte, []int)

Deprecated: Use ChangeKeychainFinishedEvent.ProtoReflect.Descriptor instead.

func (*ChangeKeychainFinishedEvent) ProtoMessage

func (*ChangeKeychainFinishedEvent) ProtoMessage()

func (*ChangeKeychainFinishedEvent) ProtoReflect

func (*ChangeKeychainFinishedEvent) Reset

func (x *ChangeKeychainFinishedEvent) Reset()

func (*ChangeKeychainFinishedEvent) String

func (x *ChangeKeychainFinishedEvent) String() string

type ChangeMailServerSettingsFinishedEvent

type ChangeMailServerSettingsFinishedEvent struct {
	// contains filtered or unexported fields
}

func (*ChangeMailServerSettingsFinishedEvent) Descriptor deprecated

func (*ChangeMailServerSettingsFinishedEvent) Descriptor() ([]byte, []int)

Deprecated: Use ChangeMailServerSettingsFinishedEvent.ProtoReflect.Descriptor instead.

func (*ChangeMailServerSettingsFinishedEvent) ProtoMessage

func (*ChangeMailServerSettingsFinishedEvent) ProtoMessage()

func (*ChangeMailServerSettingsFinishedEvent) ProtoReflect

func (*ChangeMailServerSettingsFinishedEvent) Reset

func (*ChangeMailServerSettingsFinishedEvent) String

type ConfigureAppleMailRequest

type ConfigureAppleMailRequest struct {
	UserID  string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureAppleMailRequest) Descriptor deprecated

func (*ConfigureAppleMailRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureAppleMailRequest.ProtoReflect.Descriptor instead.

func (*ConfigureAppleMailRequest) GetAddress

func (x *ConfigureAppleMailRequest) GetAddress() string

func (*ConfigureAppleMailRequest) GetUserID

func (x *ConfigureAppleMailRequest) GetUserID() string

func (*ConfigureAppleMailRequest) ProtoMessage

func (*ConfigureAppleMailRequest) ProtoMessage()

func (*ConfigureAppleMailRequest) ProtoReflect

func (*ConfigureAppleMailRequest) Reset

func (x *ConfigureAppleMailRequest) Reset()

func (*ConfigureAppleMailRequest) String

func (x *ConfigureAppleMailRequest) String() string

type DiskCacheErrorEvent

type DiskCacheErrorEvent struct {
	Type DiskCacheErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.DiskCacheErrorType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskCacheErrorEvent) Descriptor deprecated

func (*DiskCacheErrorEvent) Descriptor() ([]byte, []int)

Deprecated: Use DiskCacheErrorEvent.ProtoReflect.Descriptor instead.

func (*DiskCacheErrorEvent) GetType

func (*DiskCacheErrorEvent) ProtoMessage

func (*DiskCacheErrorEvent) ProtoMessage()

func (*DiskCacheErrorEvent) ProtoReflect

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

func (*DiskCacheErrorEvent) Reset

func (x *DiskCacheErrorEvent) Reset()

func (*DiskCacheErrorEvent) String

func (x *DiskCacheErrorEvent) String() string

type DiskCacheErrorType

type DiskCacheErrorType int32
const (
	DiskCacheErrorType_DISK_CACHE_UNAVAILABLE_ERROR DiskCacheErrorType = 0
	DiskCacheErrorType_CANT_MOVE_DISK_CACHE_ERROR   DiskCacheErrorType = 1
	DiskCacheErrorType_DISK_FULL_ERROR              DiskCacheErrorType = 2
)

func (DiskCacheErrorType) Descriptor

func (DiskCacheErrorType) Enum

func (DiskCacheErrorType) EnumDescriptor deprecated

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

Deprecated: Use DiskCacheErrorType.Descriptor instead.

func (DiskCacheErrorType) Number

func (DiskCacheErrorType) String

func (x DiskCacheErrorType) String() string

func (DiskCacheErrorType) Type

type DiskCacheEvent

type DiskCacheEvent struct {

	// Types that are assignable to Event:
	//	*DiskCacheEvent_Error
	//	*DiskCacheEvent_PathChanged
	//	*DiskCacheEvent_PathChangeFinished
	Event isDiskCacheEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

********************************************************** Cache on disk related events **********************************************************

func (*DiskCacheEvent) Descriptor deprecated

func (*DiskCacheEvent) Descriptor() ([]byte, []int)

Deprecated: Use DiskCacheEvent.ProtoReflect.Descriptor instead.

func (*DiskCacheEvent) GetError

func (x *DiskCacheEvent) GetError() *DiskCacheErrorEvent

func (*DiskCacheEvent) GetEvent

func (m *DiskCacheEvent) GetEvent() isDiskCacheEvent_Event

func (*DiskCacheEvent) GetPathChangeFinished

func (x *DiskCacheEvent) GetPathChangeFinished() *DiskCachePathChangeFinishedEvent

func (*DiskCacheEvent) GetPathChanged

func (x *DiskCacheEvent) GetPathChanged() *DiskCachePathChangedEvent

func (*DiskCacheEvent) ProtoMessage

func (*DiskCacheEvent) ProtoMessage()

func (*DiskCacheEvent) ProtoReflect

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

func (*DiskCacheEvent) Reset

func (x *DiskCacheEvent) Reset()

func (*DiskCacheEvent) String

func (x *DiskCacheEvent) String() string

type DiskCacheEvent_Error

type DiskCacheEvent_Error struct {
	Error *DiskCacheErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type DiskCacheEvent_PathChangeFinished

type DiskCacheEvent_PathChangeFinished struct {
	PathChangeFinished *DiskCachePathChangeFinishedEvent `protobuf:"bytes,3,opt,name=pathChangeFinished,proto3,oneof"`
}

type DiskCacheEvent_PathChanged

type DiskCacheEvent_PathChanged struct {
	PathChanged *DiskCachePathChangedEvent `protobuf:"bytes,2,opt,name=pathChanged,proto3,oneof"`
}

type DiskCachePathChangeFinishedEvent

type DiskCachePathChangeFinishedEvent struct {
	// contains filtered or unexported fields
}

func (*DiskCachePathChangeFinishedEvent) Descriptor deprecated

func (*DiskCachePathChangeFinishedEvent) Descriptor() ([]byte, []int)

Deprecated: Use DiskCachePathChangeFinishedEvent.ProtoReflect.Descriptor instead.

func (*DiskCachePathChangeFinishedEvent) ProtoMessage

func (*DiskCachePathChangeFinishedEvent) ProtoMessage()

func (*DiskCachePathChangeFinishedEvent) ProtoReflect

func (*DiskCachePathChangeFinishedEvent) Reset

func (*DiskCachePathChangeFinishedEvent) String

type DiskCachePathChangedEvent

type DiskCachePathChangedEvent struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskCachePathChangedEvent) Descriptor deprecated

func (*DiskCachePathChangedEvent) Descriptor() ([]byte, []int)

Deprecated: Use DiskCachePathChangedEvent.ProtoReflect.Descriptor instead.

func (*DiskCachePathChangedEvent) GetPath

func (x *DiskCachePathChangedEvent) GetPath() string

func (*DiskCachePathChangedEvent) ProtoMessage

func (*DiskCachePathChangedEvent) ProtoMessage()

func (*DiskCachePathChangedEvent) ProtoReflect

func (*DiskCachePathChangedEvent) Reset

func (x *DiskCachePathChangedEvent) Reset()

func (*DiskCachePathChangedEvent) String

func (x *DiskCachePathChangedEvent) String() string

type ErrorCode added in v3.0.9

type ErrorCode int32

********************************************************** Generic errors **********************************************************

const (
	ErrorCode_UNKNOWN_ERROR         ErrorCode = 0
	ErrorCode_TLS_CERT_EXPORT_ERROR ErrorCode = 1
	ErrorCode_TLS_KEY_EXPORT_ERROR  ErrorCode = 2
)

func (ErrorCode) Descriptor added in v3.0.9

func (ErrorCode) Descriptor() protoreflect.EnumDescriptor

func (ErrorCode) Enum added in v3.0.9

func (x ErrorCode) Enum() *ErrorCode

func (ErrorCode) EnumDescriptor deprecated added in v3.0.9

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

Deprecated: Use ErrorCode.Descriptor instead.

func (ErrorCode) Number added in v3.0.9

func (x ErrorCode) Number() protoreflect.EnumNumber

func (ErrorCode) String added in v3.0.9

func (x ErrorCode) String() string

func (ErrorCode) Type added in v3.0.9

type EventStreamRequest

type EventStreamRequest struct {
	ClientPlatform string `protobuf:"bytes,1,opt,name=ClientPlatform,proto3" json:"ClientPlatform,omitempty"`
	// contains filtered or unexported fields
}

func (*EventStreamRequest) Descriptor deprecated

func (*EventStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use EventStreamRequest.ProtoReflect.Descriptor instead.

func (*EventStreamRequest) GetClientPlatform

func (x *EventStreamRequest) GetClientPlatform() string

func (*EventStreamRequest) ProtoMessage

func (*EventStreamRequest) ProtoMessage()

func (*EventStreamRequest) ProtoReflect

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

func (*EventStreamRequest) Reset

func (x *EventStreamRequest) Reset()

func (*EventStreamRequest) String

func (x *EventStreamRequest) String() string

type GenericErrorEvent added in v3.0.9

type GenericErrorEvent struct {
	Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=grpc.ErrorCode" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericErrorEvent) Descriptor deprecated added in v3.0.9

func (*GenericErrorEvent) Descriptor() ([]byte, []int)

Deprecated: Use GenericErrorEvent.ProtoReflect.Descriptor instead.

func (*GenericErrorEvent) GetCode added in v3.0.9

func (x *GenericErrorEvent) GetCode() ErrorCode

func (*GenericErrorEvent) ProtoMessage added in v3.0.9

func (*GenericErrorEvent) ProtoMessage()

func (*GenericErrorEvent) ProtoReflect added in v3.0.9

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

func (*GenericErrorEvent) Reset added in v3.0.9

func (x *GenericErrorEvent) Reset()

func (*GenericErrorEvent) String added in v3.0.9

func (x *GenericErrorEvent) String() string

type GuiReadyResponse added in v3.0.12

type GuiReadyResponse struct {
	ShowSplashScreen bool `protobuf:"varint,1,opt,name=showSplashScreen,proto3" json:"showSplashScreen,omitempty"`
	// contains filtered or unexported fields
}

**********************************************************

GuiReady

**********************************************************

func (*GuiReadyResponse) Descriptor deprecated added in v3.0.12

func (*GuiReadyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GuiReadyResponse.ProtoReflect.Descriptor instead.

func (*GuiReadyResponse) GetShowSplashScreen added in v3.0.12

func (x *GuiReadyResponse) GetShowSplashScreen() bool

func (*GuiReadyResponse) ProtoMessage added in v3.0.12

func (*GuiReadyResponse) ProtoMessage()

func (*GuiReadyResponse) ProtoReflect added in v3.0.12

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

func (*GuiReadyResponse) Reset added in v3.0.12

func (x *GuiReadyResponse) Reset()

func (*GuiReadyResponse) String added in v3.0.12

func (x *GuiReadyResponse) String() string

type HasNoKeychainEvent

type HasNoKeychainEvent struct {
	// contains filtered or unexported fields
}

func (*HasNoKeychainEvent) Descriptor deprecated

func (*HasNoKeychainEvent) Descriptor() ([]byte, []int)

Deprecated: Use HasNoKeychainEvent.ProtoReflect.Descriptor instead.

func (*HasNoKeychainEvent) ProtoMessage

func (*HasNoKeychainEvent) ProtoMessage()

func (*HasNoKeychainEvent) ProtoReflect

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

func (*HasNoKeychainEvent) Reset

func (x *HasNoKeychainEvent) Reset()

func (*HasNoKeychainEvent) String

func (x *HasNoKeychainEvent) String() string

type ImapLoginFailedEvent added in v3.1.0

type ImapLoginFailedEvent struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*ImapLoginFailedEvent) Descriptor deprecated added in v3.1.0

func (*ImapLoginFailedEvent) Descriptor() ([]byte, []int)

Deprecated: Use ImapLoginFailedEvent.ProtoReflect.Descriptor instead.

func (*ImapLoginFailedEvent) GetUsername added in v3.1.0

func (x *ImapLoginFailedEvent) GetUsername() string

func (*ImapLoginFailedEvent) ProtoMessage added in v3.1.0

func (*ImapLoginFailedEvent) ProtoMessage()

func (*ImapLoginFailedEvent) ProtoReflect added in v3.1.0

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

func (*ImapLoginFailedEvent) Reset added in v3.1.0

func (x *ImapLoginFailedEvent) Reset()

func (*ImapLoginFailedEvent) String added in v3.1.0

func (x *ImapLoginFailedEvent) String() string

type ImapSmtpSettings

type ImapSmtpSettings struct {
	ImapPort      int32 `protobuf:"varint,1,opt,name=imapPort,proto3" json:"imapPort,omitempty"`
	SmtpPort      int32 `protobuf:"varint,2,opt,name=smtpPort,proto3" json:"smtpPort,omitempty"`
	UseSSLForImap bool  `protobuf:"varint,3,opt,name=useSSLForImap,proto3" json:"useSSLForImap,omitempty"`
	UseSSLForSmtp bool  `protobuf:"varint,4,opt,name=useSSLForSmtp,proto3" json:"useSSLForSmtp,omitempty"`
	// contains filtered or unexported fields
}

********************************************************** IMAP/SMTP Mail Server settings **********************************************************

func (*ImapSmtpSettings) Descriptor deprecated

func (*ImapSmtpSettings) Descriptor() ([]byte, []int)

Deprecated: Use ImapSmtpSettings.ProtoReflect.Descriptor instead.

func (*ImapSmtpSettings) GetImapPort

func (x *ImapSmtpSettings) GetImapPort() int32

func (*ImapSmtpSettings) GetSmtpPort

func (x *ImapSmtpSettings) GetSmtpPort() int32

func (*ImapSmtpSettings) GetUseSSLForImap

func (x *ImapSmtpSettings) GetUseSSLForImap() bool

func (*ImapSmtpSettings) GetUseSSLForSmtp

func (x *ImapSmtpSettings) GetUseSSLForSmtp() bool

func (*ImapSmtpSettings) ProtoMessage

func (*ImapSmtpSettings) ProtoMessage()

func (*ImapSmtpSettings) ProtoReflect

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

func (*ImapSmtpSettings) Reset

func (x *ImapSmtpSettings) Reset()

func (*ImapSmtpSettings) String

func (x *ImapSmtpSettings) String() string

type InternetStatusEvent

type InternetStatusEvent struct {
	Connected bool `protobuf:"varint,1,opt,name=connected,proto3" json:"connected,omitempty"`
	// contains filtered or unexported fields
}

func (*InternetStatusEvent) Descriptor deprecated

func (*InternetStatusEvent) Descriptor() ([]byte, []int)

Deprecated: Use InternetStatusEvent.ProtoReflect.Descriptor instead.

func (*InternetStatusEvent) GetConnected

func (x *InternetStatusEvent) GetConnected() bool

func (*InternetStatusEvent) ProtoMessage

func (*InternetStatusEvent) ProtoMessage()

func (*InternetStatusEvent) ProtoReflect

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

func (*InternetStatusEvent) Reset

func (x *InternetStatusEvent) Reset()

func (*InternetStatusEvent) String

func (x *InternetStatusEvent) String() string

type KeychainEvent

type KeychainEvent struct {

	// Types that are assignable to Event:
	//	*KeychainEvent_ChangeKeychainFinished
	//	*KeychainEvent_HasNoKeychain
	//	*KeychainEvent_RebuildKeychain
	Event isKeychainEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

********************************************************** keychain related events **********************************************************

func (*KeychainEvent) Descriptor deprecated

func (*KeychainEvent) Descriptor() ([]byte, []int)

Deprecated: Use KeychainEvent.ProtoReflect.Descriptor instead.

func (*KeychainEvent) GetChangeKeychainFinished

func (x *KeychainEvent) GetChangeKeychainFinished() *ChangeKeychainFinishedEvent

func (*KeychainEvent) GetEvent

func (m *KeychainEvent) GetEvent() isKeychainEvent_Event

func (*KeychainEvent) GetHasNoKeychain

func (x *KeychainEvent) GetHasNoKeychain() *HasNoKeychainEvent

func (*KeychainEvent) GetRebuildKeychain

func (x *KeychainEvent) GetRebuildKeychain() *RebuildKeychainEvent

func (*KeychainEvent) ProtoMessage

func (*KeychainEvent) ProtoMessage()

func (*KeychainEvent) ProtoReflect

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

func (*KeychainEvent) Reset

func (x *KeychainEvent) Reset()

func (*KeychainEvent) String

func (x *KeychainEvent) String() string

type KeychainEvent_ChangeKeychainFinished

type KeychainEvent_ChangeKeychainFinished struct {
	ChangeKeychainFinished *ChangeKeychainFinishedEvent `protobuf:"bytes,1,opt,name=changeKeychainFinished,proto3,oneof"`
}

type KeychainEvent_HasNoKeychain

type KeychainEvent_HasNoKeychain struct {
	HasNoKeychain *HasNoKeychainEvent `protobuf:"bytes,2,opt,name=hasNoKeychain,proto3,oneof"`
}

type KeychainEvent_RebuildKeychain

type KeychainEvent_RebuildKeychain struct {
	RebuildKeychain *RebuildKeychainEvent `protobuf:"bytes,3,opt,name=rebuildKeychain,proto3,oneof"`
}

type LogLevel

type LogLevel int32

********************************************************** Log related message ********************************************************** Note: the enum values are prefixed with 'LOG_' to avoid a clash in C++ on Windows with the ERROR macro defined in wingdi.h

const (
	LogLevel_LOG_PANIC LogLevel = 0
	LogLevel_LOG_FATAL LogLevel = 1
	LogLevel_LOG_ERROR LogLevel = 2
	LogLevel_LOG_WARN  LogLevel = 3
	LogLevel_LOG_INFO  LogLevel = 4
	LogLevel_LOG_DEBUG LogLevel = 5
	LogLevel_LOG_TRACE LogLevel = 6
)

func (LogLevel) Descriptor

func (LogLevel) Descriptor() protoreflect.EnumDescriptor

func (LogLevel) Enum

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String

func (x LogLevel) String() string

func (LogLevel) Type

type LoginAbortRequest

type LoginAbortRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginAbortRequest) Descriptor deprecated

func (*LoginAbortRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginAbortRequest.ProtoReflect.Descriptor instead.

func (*LoginAbortRequest) GetUsername

func (x *LoginAbortRequest) GetUsername() string

func (*LoginAbortRequest) ProtoMessage

func (*LoginAbortRequest) ProtoMessage()

func (*LoginAbortRequest) ProtoReflect

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

func (*LoginAbortRequest) Reset

func (x *LoginAbortRequest) Reset()

func (*LoginAbortRequest) String

func (x *LoginAbortRequest) String() string

type LoginErrorEvent

type LoginErrorEvent struct {
	Type    LoginErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.LoginErrorType" json:"type,omitempty"`
	Message string         `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginErrorEvent) Descriptor deprecated

func (*LoginErrorEvent) Descriptor() ([]byte, []int)

Deprecated: Use LoginErrorEvent.ProtoReflect.Descriptor instead.

func (*LoginErrorEvent) GetMessage

func (x *LoginErrorEvent) GetMessage() string

func (*LoginErrorEvent) GetType

func (x *LoginErrorEvent) GetType() LoginErrorType

func (*LoginErrorEvent) ProtoMessage

func (*LoginErrorEvent) ProtoMessage()

func (*LoginErrorEvent) ProtoReflect

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

func (*LoginErrorEvent) Reset

func (x *LoginErrorEvent) Reset()

func (*LoginErrorEvent) String

func (x *LoginErrorEvent) String() string

type LoginErrorType

type LoginErrorType int32
const (
	LoginErrorType_USERNAME_PASSWORD_ERROR LoginErrorType = 0
	LoginErrorType_FREE_USER               LoginErrorType = 1
	LoginErrorType_CONNECTION_ERROR        LoginErrorType = 2
	LoginErrorType_TFA_ERROR               LoginErrorType = 3
	LoginErrorType_TFA_ABORT               LoginErrorType = 4
	LoginErrorType_TWO_PASSWORDS_ERROR     LoginErrorType = 5
	LoginErrorType_TWO_PASSWORDS_ABORT     LoginErrorType = 6
)

func (LoginErrorType) Descriptor

func (LoginErrorType) Enum

func (x LoginErrorType) Enum() *LoginErrorType

func (LoginErrorType) EnumDescriptor deprecated

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

Deprecated: Use LoginErrorType.Descriptor instead.

func (LoginErrorType) Number

func (LoginErrorType) String

func (x LoginErrorType) String() string

func (LoginErrorType) Type

type LoginEvent

type LoginEvent struct {

	// Types that are assignable to Event:
	//	*LoginEvent_Error
	//	*LoginEvent_TfaRequested
	//	*LoginEvent_TwoPasswordRequested
	//	*LoginEvent_Finished
	//	*LoginEvent_AlreadyLoggedIn
	Event isLoginEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

********************************************************** Login related events **********************************************************

func (*LoginEvent) Descriptor deprecated

func (*LoginEvent) Descriptor() ([]byte, []int)

Deprecated: Use LoginEvent.ProtoReflect.Descriptor instead.

func (*LoginEvent) GetAlreadyLoggedIn

func (x *LoginEvent) GetAlreadyLoggedIn() *LoginFinishedEvent

func (*LoginEvent) GetError

func (x *LoginEvent) GetError() *LoginErrorEvent

func (*LoginEvent) GetEvent

func (m *LoginEvent) GetEvent() isLoginEvent_Event

func (*LoginEvent) GetFinished

func (x *LoginEvent) GetFinished() *LoginFinishedEvent

func (*LoginEvent) GetTfaRequested

func (x *LoginEvent) GetTfaRequested() *LoginTfaRequestedEvent

func (*LoginEvent) GetTwoPasswordRequested

func (x *LoginEvent) GetTwoPasswordRequested() *LoginTwoPasswordsRequestedEvent

func (*LoginEvent) ProtoMessage

func (*LoginEvent) ProtoMessage()

func (*LoginEvent) ProtoReflect

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

func (*LoginEvent) Reset

func (x *LoginEvent) Reset()

func (*LoginEvent) String

func (x *LoginEvent) String() string

type LoginEvent_AlreadyLoggedIn

type LoginEvent_AlreadyLoggedIn struct {
	AlreadyLoggedIn *LoginFinishedEvent `protobuf:"bytes,5,opt,name=alreadyLoggedIn,proto3,oneof"`
}

type LoginEvent_Error

type LoginEvent_Error struct {
	Error *LoginErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type LoginEvent_Finished

type LoginEvent_Finished struct {
	Finished *LoginFinishedEvent `protobuf:"bytes,4,opt,name=finished,proto3,oneof"`
}

type LoginEvent_TfaRequested

type LoginEvent_TfaRequested struct {
	TfaRequested *LoginTfaRequestedEvent `protobuf:"bytes,2,opt,name=tfaRequested,proto3,oneof"`
}

type LoginEvent_TwoPasswordRequested

type LoginEvent_TwoPasswordRequested struct {
	TwoPasswordRequested *LoginTwoPasswordsRequestedEvent `protobuf:"bytes,3,opt,name=twoPasswordRequested,proto3,oneof"`
}

type LoginFinishedEvent

type LoginFinishedEvent struct {
	UserID       string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	WasSignedOut bool   `protobuf:"varint,2,opt,name=wasSignedOut,proto3" json:"wasSignedOut,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginFinishedEvent) Descriptor deprecated

func (*LoginFinishedEvent) Descriptor() ([]byte, []int)

Deprecated: Use LoginFinishedEvent.ProtoReflect.Descriptor instead.

func (*LoginFinishedEvent) GetUserID

func (x *LoginFinishedEvent) GetUserID() string

func (*LoginFinishedEvent) GetWasSignedOut added in v3.0.9

func (x *LoginFinishedEvent) GetWasSignedOut() bool

func (*LoginFinishedEvent) ProtoMessage

func (*LoginFinishedEvent) ProtoMessage()

func (*LoginFinishedEvent) ProtoReflect

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

func (*LoginFinishedEvent) Reset

func (x *LoginFinishedEvent) Reset()

func (*LoginFinishedEvent) String

func (x *LoginFinishedEvent) String() string

type LoginRequest

type LoginRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password []byte `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() []byte

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

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 LoginTfaRequestedEvent

type LoginTfaRequestedEvent struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginTfaRequestedEvent) Descriptor deprecated

func (*LoginTfaRequestedEvent) Descriptor() ([]byte, []int)

Deprecated: Use LoginTfaRequestedEvent.ProtoReflect.Descriptor instead.

func (*LoginTfaRequestedEvent) GetUsername

func (x *LoginTfaRequestedEvent) GetUsername() string

func (*LoginTfaRequestedEvent) ProtoMessage

func (*LoginTfaRequestedEvent) ProtoMessage()

func (*LoginTfaRequestedEvent) ProtoReflect

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

func (*LoginTfaRequestedEvent) Reset

func (x *LoginTfaRequestedEvent) Reset()

func (*LoginTfaRequestedEvent) String

func (x *LoginTfaRequestedEvent) String() string

type LoginTwoPasswordsRequestedEvent

type LoginTwoPasswordsRequestedEvent struct {
	// contains filtered or unexported fields
}

func (*LoginTwoPasswordsRequestedEvent) Descriptor deprecated

func (*LoginTwoPasswordsRequestedEvent) Descriptor() ([]byte, []int)

Deprecated: Use LoginTwoPasswordsRequestedEvent.ProtoReflect.Descriptor instead.

func (*LoginTwoPasswordsRequestedEvent) ProtoMessage

func (*LoginTwoPasswordsRequestedEvent) ProtoMessage()

func (*LoginTwoPasswordsRequestedEvent) ProtoReflect

func (*LoginTwoPasswordsRequestedEvent) Reset

func (*LoginTwoPasswordsRequestedEvent) String

type MailEvent

type MailEvent struct {

	// Types that are assignable to Event:
	//	*MailEvent_NoActiveKeyForRecipientEvent
	//	*MailEvent_AddressChanged
	//	*MailEvent_AddressChangedLogout
	//	*MailEvent_ApiCertIssue
	Event isMailEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

********************************************************** Mail related events **********************************************************

func (*MailEvent) Descriptor deprecated

func (*MailEvent) Descriptor() ([]byte, []int)

Deprecated: Use MailEvent.ProtoReflect.Descriptor instead.

func (*MailEvent) GetAddressChanged

func (x *MailEvent) GetAddressChanged() *AddressChangedEvent

func (*MailEvent) GetAddressChangedLogout

func (x *MailEvent) GetAddressChangedLogout() *AddressChangedLogoutEvent

func (*MailEvent) GetApiCertIssue

func (x *MailEvent) GetApiCertIssue() *ApiCertIssueEvent

func (*MailEvent) GetEvent

func (m *MailEvent) GetEvent() isMailEvent_Event

func (*MailEvent) GetNoActiveKeyForRecipientEvent

func (x *MailEvent) GetNoActiveKeyForRecipientEvent() *NoActiveKeyForRecipientEvent

func (*MailEvent) ProtoMessage

func (*MailEvent) ProtoMessage()

func (*MailEvent) ProtoReflect

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

func (*MailEvent) Reset

func (x *MailEvent) Reset()

func (*MailEvent) String

func (x *MailEvent) String() string

type MailEvent_AddressChanged

type MailEvent_AddressChanged struct {
	AddressChanged *AddressChangedEvent `protobuf:"bytes,2,opt,name=addressChanged,proto3,oneof"`
}

type MailEvent_AddressChangedLogout

type MailEvent_AddressChangedLogout struct {
	AddressChangedLogout *AddressChangedLogoutEvent `protobuf:"bytes,3,opt,name=addressChangedLogout,proto3,oneof"`
}

type MailEvent_ApiCertIssue

type MailEvent_ApiCertIssue struct {
	ApiCertIssue *ApiCertIssueEvent `protobuf:"bytes,6,opt,name=apiCertIssue,proto3,oneof"`
}

type MailEvent_NoActiveKeyForRecipientEvent

type MailEvent_NoActiveKeyForRecipientEvent struct {
	NoActiveKeyForRecipientEvent *NoActiveKeyForRecipientEvent `protobuf:"bytes,1,opt,name=noActiveKeyForRecipientEvent,proto3,oneof"`
}

type MailServerSettingsChangedEvent

type MailServerSettingsChangedEvent struct {
	Settings *ImapSmtpSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*MailServerSettingsChangedEvent) Descriptor deprecated

func (*MailServerSettingsChangedEvent) Descriptor() ([]byte, []int)

Deprecated: Use MailServerSettingsChangedEvent.ProtoReflect.Descriptor instead.

func (*MailServerSettingsChangedEvent) GetSettings

func (*MailServerSettingsChangedEvent) ProtoMessage

func (*MailServerSettingsChangedEvent) ProtoMessage()

func (*MailServerSettingsChangedEvent) ProtoReflect

func (*MailServerSettingsChangedEvent) Reset

func (x *MailServerSettingsChangedEvent) Reset()

func (*MailServerSettingsChangedEvent) String

type MailServerSettingsErrorEvent

type MailServerSettingsErrorEvent struct {
	Type MailServerSettingsErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.MailServerSettingsErrorType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*MailServerSettingsErrorEvent) Descriptor deprecated

func (*MailServerSettingsErrorEvent) Descriptor() ([]byte, []int)

Deprecated: Use MailServerSettingsErrorEvent.ProtoReflect.Descriptor instead.

func (*MailServerSettingsErrorEvent) GetType

func (*MailServerSettingsErrorEvent) ProtoMessage

func (*MailServerSettingsErrorEvent) ProtoMessage()

func (*MailServerSettingsErrorEvent) ProtoReflect

func (*MailServerSettingsErrorEvent) Reset

func (x *MailServerSettingsErrorEvent) Reset()

func (*MailServerSettingsErrorEvent) String

type MailServerSettingsErrorType

type MailServerSettingsErrorType int32
const (
	MailServerSettingsErrorType_IMAP_PORT_STARTUP_ERROR           MailServerSettingsErrorType = 0
	MailServerSettingsErrorType_SMTP_PORT_STARTUP_ERROR           MailServerSettingsErrorType = 1
	MailServerSettingsErrorType_IMAP_PORT_CHANGE_ERROR            MailServerSettingsErrorType = 2
	MailServerSettingsErrorType_SMTP_PORT_CHANGE_ERROR            MailServerSettingsErrorType = 3
	MailServerSettingsErrorType_IMAP_CONNECTION_MODE_CHANGE_ERROR MailServerSettingsErrorType = 4
	MailServerSettingsErrorType_SMTP_CONNECTION_MODE_CHANGE_ERROR MailServerSettingsErrorType = 5
)

func (MailServerSettingsErrorType) Descriptor

func (MailServerSettingsErrorType) Enum

func (MailServerSettingsErrorType) EnumDescriptor deprecated

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

Deprecated: Use MailServerSettingsErrorType.Descriptor instead.

func (MailServerSettingsErrorType) Number

func (MailServerSettingsErrorType) String

func (MailServerSettingsErrorType) Type

type MailServerSettingsEvent

type MailServerSettingsEvent struct {

	// Types that are assignable to Event:
	//	*MailServerSettingsEvent_Error
	//	*MailServerSettingsEvent_MailServerSettingsChanged
	//	*MailServerSettingsEvent_ChangeMailServerSettingsFinished
	Event isMailServerSettingsEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

********************************************************** Mail server settings related events **********************************************************

func (*MailServerSettingsEvent) Descriptor deprecated

func (*MailServerSettingsEvent) Descriptor() ([]byte, []int)

Deprecated: Use MailServerSettingsEvent.ProtoReflect.Descriptor instead.

func (*MailServerSettingsEvent) GetChangeMailServerSettingsFinished

func (x *MailServerSettingsEvent) GetChangeMailServerSettingsFinished() *ChangeMailServerSettingsFinishedEvent

func (*MailServerSettingsEvent) GetError

func (*MailServerSettingsEvent) GetEvent

func (m *MailServerSettingsEvent) GetEvent() isMailServerSettingsEvent_Event

func (*MailServerSettingsEvent) GetMailServerSettingsChanged

func (x *MailServerSettingsEvent) GetMailServerSettingsChanged() *MailServerSettingsChangedEvent

func (*MailServerSettingsEvent) ProtoMessage

func (*MailServerSettingsEvent) ProtoMessage()

func (*MailServerSettingsEvent) ProtoReflect

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

func (*MailServerSettingsEvent) Reset

func (x *MailServerSettingsEvent) Reset()

func (*MailServerSettingsEvent) String

func (x *MailServerSettingsEvent) String() string

type MailServerSettingsEvent_ChangeMailServerSettingsFinished

type MailServerSettingsEvent_ChangeMailServerSettingsFinished struct {
	ChangeMailServerSettingsFinished *ChangeMailServerSettingsFinishedEvent `protobuf:"bytes,3,opt,name=changeMailServerSettingsFinished,proto3,oneof"`
}

type MailServerSettingsEvent_Error

type MailServerSettingsEvent_Error struct {
	Error *MailServerSettingsErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type MailServerSettingsEvent_MailServerSettingsChanged

type MailServerSettingsEvent_MailServerSettingsChanged struct {
	MailServerSettingsChanged *MailServerSettingsChangedEvent `protobuf:"bytes,2,opt,name=mailServerSettingsChanged,proto3,oneof"`
}

type NoActiveKeyForRecipientEvent

type NoActiveKeyForRecipientEvent struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*NoActiveKeyForRecipientEvent) Descriptor deprecated

func (*NoActiveKeyForRecipientEvent) Descriptor() ([]byte, []int)

Deprecated: Use NoActiveKeyForRecipientEvent.ProtoReflect.Descriptor instead.

func (*NoActiveKeyForRecipientEvent) GetEmail

func (x *NoActiveKeyForRecipientEvent) GetEmail() string

func (*NoActiveKeyForRecipientEvent) ProtoMessage

func (*NoActiveKeyForRecipientEvent) ProtoMessage()

func (*NoActiveKeyForRecipientEvent) ProtoReflect

func (*NoActiveKeyForRecipientEvent) Reset

func (x *NoActiveKeyForRecipientEvent) Reset()

func (*NoActiveKeyForRecipientEvent) String

type RebuildKeychainEvent

type RebuildKeychainEvent struct {
	// contains filtered or unexported fields
}

func (*RebuildKeychainEvent) Descriptor deprecated

func (*RebuildKeychainEvent) Descriptor() ([]byte, []int)

Deprecated: Use RebuildKeychainEvent.ProtoReflect.Descriptor instead.

func (*RebuildKeychainEvent) ProtoMessage

func (*RebuildKeychainEvent) ProtoMessage()

func (*RebuildKeychainEvent) ProtoReflect

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

func (*RebuildKeychainEvent) Reset

func (x *RebuildKeychainEvent) Reset()

func (*RebuildKeychainEvent) String

func (x *RebuildKeychainEvent) String() string

type ReportBugErrorEvent

type ReportBugErrorEvent struct {
	// contains filtered or unexported fields
}

func (*ReportBugErrorEvent) Descriptor deprecated

func (*ReportBugErrorEvent) Descriptor() ([]byte, []int)

Deprecated: Use ReportBugErrorEvent.ProtoReflect.Descriptor instead.

func (*ReportBugErrorEvent) ProtoMessage

func (*ReportBugErrorEvent) ProtoMessage()

func (*ReportBugErrorEvent) ProtoReflect

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

func (*ReportBugErrorEvent) Reset

func (x *ReportBugErrorEvent) Reset()

func (*ReportBugErrorEvent) String

func (x *ReportBugErrorEvent) String() string

type ReportBugFallbackEvent added in v3.5.0

type ReportBugFallbackEvent struct {
	// contains filtered or unexported fields
}

func (*ReportBugFallbackEvent) Descriptor deprecated added in v3.5.0

func (*ReportBugFallbackEvent) Descriptor() ([]byte, []int)

Deprecated: Use ReportBugFallbackEvent.ProtoReflect.Descriptor instead.

func (*ReportBugFallbackEvent) ProtoMessage added in v3.5.0

func (*ReportBugFallbackEvent) ProtoMessage()

func (*ReportBugFallbackEvent) ProtoReflect added in v3.5.0

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

func (*ReportBugFallbackEvent) Reset added in v3.5.0

func (x *ReportBugFallbackEvent) Reset()

func (*ReportBugFallbackEvent) String added in v3.5.0

func (x *ReportBugFallbackEvent) String() string

type ReportBugFinishedEvent

type ReportBugFinishedEvent struct {
	// contains filtered or unexported fields
}

func (*ReportBugFinishedEvent) Descriptor deprecated

func (*ReportBugFinishedEvent) Descriptor() ([]byte, []int)

Deprecated: Use ReportBugFinishedEvent.ProtoReflect.Descriptor instead.

func (*ReportBugFinishedEvent) ProtoMessage

func (*ReportBugFinishedEvent) ProtoMessage()

func (*ReportBugFinishedEvent) ProtoReflect

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

func (*ReportBugFinishedEvent) Reset

func (x *ReportBugFinishedEvent) Reset()

func (*ReportBugFinishedEvent) String

func (x *ReportBugFinishedEvent) String() string

type ReportBugRequest

type ReportBugRequest struct {
	OsType      string `protobuf:"bytes,1,opt,name=osType,proto3" json:"osType,omitempty"`
	OsVersion   string `protobuf:"bytes,2,opt,name=osVersion,proto3" json:"osVersion,omitempty"`
	Title       string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Address     string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	EmailClient string `protobuf:"bytes,6,opt,name=emailClient,proto3" json:"emailClient,omitempty"`
	IncludeLogs bool   `protobuf:"varint,7,opt,name=includeLogs,proto3" json:"includeLogs,omitempty"`
	// contains filtered or unexported fields
}

**********************************************************

Bug reporting related messages.

**********************************************************

func (*ReportBugRequest) Descriptor deprecated

func (*ReportBugRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportBugRequest.ProtoReflect.Descriptor instead.

func (*ReportBugRequest) GetAddress

func (x *ReportBugRequest) GetAddress() string

func (*ReportBugRequest) GetDescription

func (x *ReportBugRequest) GetDescription() string

func (*ReportBugRequest) GetEmailClient

func (x *ReportBugRequest) GetEmailClient() string

func (*ReportBugRequest) GetIncludeLogs

func (x *ReportBugRequest) GetIncludeLogs() bool

func (*ReportBugRequest) GetOsType

func (x *ReportBugRequest) GetOsType() string

func (*ReportBugRequest) GetOsVersion

func (x *ReportBugRequest) GetOsVersion() string

func (*ReportBugRequest) GetTitle added in v3.5.0

func (x *ReportBugRequest) GetTitle() string

func (*ReportBugRequest) ProtoMessage

func (*ReportBugRequest) ProtoMessage()

func (*ReportBugRequest) ProtoReflect

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

func (*ReportBugRequest) Reset

func (x *ReportBugRequest) Reset()

func (*ReportBugRequest) String

func (x *ReportBugRequest) String() string

type ReportBugSuccessEvent

type ReportBugSuccessEvent struct {
	// contains filtered or unexported fields
}

func (*ReportBugSuccessEvent) Descriptor deprecated

func (*ReportBugSuccessEvent) Descriptor() ([]byte, []int)

Deprecated: Use ReportBugSuccessEvent.ProtoReflect.Descriptor instead.

func (*ReportBugSuccessEvent) ProtoMessage

func (*ReportBugSuccessEvent) ProtoMessage()

func (*ReportBugSuccessEvent) ProtoReflect

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

func (*ReportBugSuccessEvent) Reset

func (x *ReportBugSuccessEvent) Reset()

func (*ReportBugSuccessEvent) String

func (x *ReportBugSuccessEvent) String() string

type ResetFinishedEvent

type ResetFinishedEvent struct {
	// contains filtered or unexported fields
}

func (*ResetFinishedEvent) Descriptor deprecated

func (*ResetFinishedEvent) Descriptor() ([]byte, []int)

Deprecated: Use ResetFinishedEvent.ProtoReflect.Descriptor instead.

func (*ResetFinishedEvent) ProtoMessage

func (*ResetFinishedEvent) ProtoMessage()

func (*ResetFinishedEvent) ProtoReflect

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

func (*ResetFinishedEvent) Reset

func (x *ResetFinishedEvent) Reset()

func (*ResetFinishedEvent) String

func (x *ResetFinishedEvent) String() string

type Restarter

type Restarter interface {
	Set(restart, crash bool)
	AddFlags(flags ...string)
	Override(exe string)
}

type Service

type Service struct {
	UnimplementedBridgeServer
	// contains filtered or unexported fields
}

Service is the RPC service struct.

func NewService

func NewService(
	panicHandler async.PanicHandler,
	restarter Restarter,
	locations service.Locator,
	bridge *bridge.Bridge,
	eventCh <-chan events.Event,
	quitCh <-chan struct{},
	showOnStartup bool,
	parentPID int,
) (*Service, error)

NewService returns a new instance of the service.

func (*Service) AddLogEntry

func (s *Service) AddLogEntry(_ context.Context, request *AddLogEntryRequest) (*emptypb.Empty, error)

func (*Service) AutoconfigClicked added in v3.3.1

func (s *Service) AutoconfigClicked(_ context.Context, client *wrapperspb.StringValue) (*emptypb.Empty, error)

func (*Service) AvailableKeychains

func (s *Service) AvailableKeychains(_ context.Context, _ *emptypb.Empty) (*AvailableKeychainsResponse, error)

func (*Service) CheckTokens

func (s *Service) CheckTokens(_ context.Context, clientConfigPath *wrapperspb.StringValue) (*wrapperspb.StringValue, error)

CheckTokens implements the CheckToken gRPC service call.

func (*Service) CheckUpdate

func (s *Service) CheckUpdate(context.Context, *emptypb.Empty) (*emptypb.Empty, error)

func (*Service) ColorSchemeName

func (s *Service) ColorSchemeName(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)

func (*Service) ConfigureUserAppleMail

func (s *Service) ConfigureUserAppleMail(ctx context.Context, request *ConfigureAppleMailRequest) (*emptypb.Empty, error)

func (*Service) CurrentEmailClient

func (s *Service) CurrentEmailClient(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)

func (*Service) CurrentKeychain

func (s *Service) CurrentKeychain(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (s *Service) DependencyLicensesLink(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)

func (*Service) DiskCachePath

func (s *Service) DiskCachePath(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)

func (*Service) ExportTLSCertificates added in v3.0.9

func (s *Service) ExportTLSCertificates(_ context.Context, folderPath *wrapperspb.StringValue) (*emptypb.Empty, error)

func (*Service) ForceLauncher

func (s *Service) ForceLauncher(_ context.Context, launcher *wrapperspb.StringValue) (*emptypb.Empty, error)

func (*Service) GetUser

func (s *Service) GetUser(_ context.Context, userID *wrapperspb.StringValue) (*User, error)

func (*Service) GetUserList

func (s *Service) GetUserList(_ context.Context, _ *emptypb.Empty) (*UserListResponse, error)

func (*Service) GoOs

func (*Service) GuiReady

func (s *Service) GuiReady(_ context.Context, _ *emptypb.Empty) (*GuiReadyResponse, error)

GuiReady implement the GuiReady gRPC service call.

func (*Service) Hostname

func (*Service) InstallUpdate

func (s *Service) InstallUpdate(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

func (*Service) IsAllMailVisible

func (s *Service) IsAllMailVisible(_ context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)

func (*Service) IsAutomaticUpdateOn

func (s *Service) IsAutomaticUpdateOn(_ context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)

func (*Service) IsAutostartOn

func (s *Service) IsAutostartOn(_ context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)

func (*Service) IsBetaEnabled

func (s *Service) IsBetaEnabled(_ context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)

func (*Service) IsDoHEnabled

func (s *Service) IsDoHEnabled(_ context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)

func (*Service) IsPortFree

func (s *Service) IsPortFree(_ context.Context, port *wrapperspb.Int32Value) (*wrapperspb.BoolValue, error)

func (*Service) IsTelemetryDisabled added in v3.2.0

func (s *Service) IsTelemetryDisabled(_ context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)

func (*Service) KBArticleClicked added in v3.3.1

func (s *Service) KBArticleClicked(_ context.Context, article *wrapperspb.StringValue) (*emptypb.Empty, error)
func (s *Service) LandingPageLink(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)

func (*Service) LicensePath

func (s *Service) LicensePath(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)

func (*Service) Login

func (s *Service) Login(_ context.Context, login *LoginRequest) (*emptypb.Empty, error)

func (*Service) Login2FA

func (s *Service) Login2FA(_ context.Context, login *LoginRequest) (*emptypb.Empty, error)

func (*Service) Login2Passwords

func (s *Service) Login2Passwords(_ context.Context, login *LoginRequest) (*emptypb.Empty, error)

func (*Service) LoginAbort

func (s *Service) LoginAbort(_ context.Context, loginAbort *LoginAbortRequest) (*emptypb.Empty, error)

func (*Service) LogoutUser

func (s *Service) LogoutUser(_ context.Context, userID *wrapperspb.StringValue) (*emptypb.Empty, error)

func (*Service) LogsPath

func (*Service) Loop

func (s *Service) Loop() error

func (*Service) MailServerSettings

func (s *Service) MailServerSettings(_ context.Context, _ *emptypb.Empty) (*ImapSmtpSettings, error)

func (*Service) Quit

func (s *Service) Quit(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

Quit implement the Quit gRPC service call.

func (s *Service) ReleaseNotesPageLink(_ context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)

func (*Service) RemoveUser

func (s *Service) RemoveUser(_ context.Context, userID *wrapperspb.StringValue) (*emptypb.Empty, error)

func (*Service) ReportBug

func (s *Service) ReportBug(_ context.Context, report *ReportBugRequest) (*emptypb.Empty, error)

func (*Service) ReportBugClicked added in v3.3.1

func (s *Service) ReportBugClicked(context.Context, *emptypb.Empty) (*emptypb.Empty, error)

func (*Service) Restart

func (s *Service) Restart(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)

Restart implement the Restart gRPC service call.

func (*Service) RunEventStream

func (s *Service) RunEventStream(request *EventStreamRequest, server Bridge_RunEventStreamServer) error

RunEventStream implement the gRPC server->Client event stream.

func (*Service) SendBadEventUserFeedback added in v3.0.20

func (s *Service) SendBadEventUserFeedback(_ context.Context, feedback *UserBadEventFeedbackRequest) (*emptypb.Empty, error)

func (*Service) SendEvent

func (s *Service) SendEvent(event *StreamEvent) error

SendEvent sends an event to the via the gRPC event stream.

func (*Service) SetColorSchemeName

func (s *Service) SetColorSchemeName(_ context.Context, name *wrapperspb.StringValue) (*emptypb.Empty, error)

func (*Service) SetCurrentKeychain

func (s *Service) SetCurrentKeychain(ctx context.Context, keychain *wrapperspb.StringValue) (*emptypb.Empty, error)

func (*Service) SetDiskCachePath

func (s *Service) SetDiskCachePath(_ context.Context, newPath *wrapperspb.StringValue) (*emptypb.Empty, error)

func (*Service) SetIsAllMailVisible

func (s *Service) SetIsAllMailVisible(_ context.Context, isVisible *wrapperspb.BoolValue) (*emptypb.Empty, error)

func (*Service) SetIsAutomaticUpdateOn

func (s *Service) SetIsAutomaticUpdateOn(_ context.Context, isOn *wrapperspb.BoolValue) (*emptypb.Empty, error)

func (*Service) SetIsAutostartOn

func (s *Service) SetIsAutostartOn(_ context.Context, isOn *wrapperspb.BoolValue) (*emptypb.Empty, error)

func (*Service) SetIsBetaEnabled

func (s *Service) SetIsBetaEnabled(_ context.Context, isEnabled *wrapperspb.BoolValue) (*emptypb.Empty, error)

func (*Service) SetIsDoHEnabled

func (s *Service) SetIsDoHEnabled(_ context.Context, isEnabled *wrapperspb.BoolValue) (*emptypb.Empty, error)

func (*Service) SetIsTelemetryDisabled added in v3.2.0

func (s *Service) SetIsTelemetryDisabled(_ context.Context, isDisabled *wrapperspb.BoolValue) (*emptypb.Empty, error)

func (*Service) SetMailServerSettings

func (s *Service) SetMailServerSettings(_ context.Context, settings *ImapSmtpSettings) (*emptypb.Empty, error)

func (*Service) SetMainExecutable

func (s *Service) SetMainExecutable(_ context.Context, exe *wrapperspb.StringValue) (*emptypb.Empty, error)

func (*Service) SetUserSplitMode

func (s *Service) SetUserSplitMode(_ context.Context, splitMode *UserSplitModeRequest) (*emptypb.Empty, error)

func (*Service) ShowOnStartup

func (s *Service) ShowOnStartup(_ context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)

func (*Service) StartEventTest

func (s *Service) StartEventTest() error

StartEventTest sends all the known event via gRPC.

func (*Service) StopEventStream

func (s *Service) StopEventStream(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

StopEventStream stops the event stream.

func (*Service) TriggerReset

func (s *Service) TriggerReset(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

func (*Service) Version

func (*Service) WaitUntilFrontendIsReady

func (s *Service) WaitUntilFrontendIsReady()

type ShowMainWindowEvent

type ShowMainWindowEvent struct {
	// contains filtered or unexported fields
}

func (*ShowMainWindowEvent) Descriptor deprecated

func (*ShowMainWindowEvent) Descriptor() ([]byte, []int)

Deprecated: Use ShowMainWindowEvent.ProtoReflect.Descriptor instead.

func (*ShowMainWindowEvent) ProtoMessage

func (*ShowMainWindowEvent) ProtoMessage()

func (*ShowMainWindowEvent) ProtoReflect

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

func (*ShowMainWindowEvent) Reset

func (x *ShowMainWindowEvent) Reset()

func (*ShowMainWindowEvent) String

func (x *ShowMainWindowEvent) String() string

type StreamEvent

type StreamEvent struct {

	// Types that are assignable to Event:
	//	*StreamEvent_App
	//	*StreamEvent_Login
	//	*StreamEvent_Update
	//	*StreamEvent_Cache
	//	*StreamEvent_MailServerSettings
	//	*StreamEvent_Keychain
	//	*StreamEvent_Mail
	//	*StreamEvent_User
	//	*StreamEvent_GenericError
	Event isStreamEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func NewChangeMailServerSettingsFinishedEvent

func NewChangeMailServerSettingsFinishedEvent() *StreamEvent

func NewDiskCacheErrorEvent

func NewDiskCacheErrorEvent(err DiskCacheErrorType) *StreamEvent

func NewDiskCachePathChangeFinishedEvent

func NewDiskCachePathChangeFinishedEvent() *StreamEvent

func NewDiskCachePathChangedEvent

func NewDiskCachePathChangedEvent(path string) *StreamEvent

func NewGenericErrorEvent added in v3.0.9

func NewGenericErrorEvent(errorCode ErrorCode) *StreamEvent

func NewInternetStatusEvent

func NewInternetStatusEvent(connected bool) *StreamEvent

func NewKeychainChangeKeychainFinishedEvent

func NewKeychainChangeKeychainFinishedEvent() *StreamEvent

func NewKeychainHasNoKeychainEvent

func NewKeychainHasNoKeychainEvent() *StreamEvent

func NewKeychainRebuildKeychainEvent

func NewKeychainRebuildKeychainEvent() *StreamEvent

func NewLoginAlreadyLoggedInEvent

func NewLoginAlreadyLoggedInEvent(userID string) *StreamEvent

func NewLoginError

func NewLoginError(err LoginErrorType, message string) *StreamEvent

func NewLoginFinishedEvent

func NewLoginFinishedEvent(userID string, wasSignedOut bool) *StreamEvent

func NewLoginTfaRequestedEvent

func NewLoginTfaRequestedEvent(username string) *StreamEvent

func NewLoginTwoPasswordsRequestedEvent

func NewLoginTwoPasswordsRequestedEvent() *StreamEvent

func NewMailAddressChangeEvent

func NewMailAddressChangeEvent(email string) *StreamEvent

func NewMailAddressChangeLogoutEvent

func NewMailAddressChangeLogoutEvent(email string) *StreamEvent

func NewMailApiCertIssue

func NewMailApiCertIssue() *StreamEvent

func NewMailNoActiveKeyForRecipientEvent

func NewMailNoActiveKeyForRecipientEvent(email string) *StreamEvent

func NewMailServerSettingsChangedEvent

func NewMailServerSettingsChangedEvent(settings *ImapSmtpSettings) *StreamEvent

func NewMailServerSettingsErrorEvent

func NewMailServerSettingsErrorEvent(err MailServerSettingsErrorType) *StreamEvent

func NewReportBugErrorEvent

func NewReportBugErrorEvent() *StreamEvent

func NewReportBugFallbackEvent added in v3.5.0

func NewReportBugFallbackEvent() *StreamEvent

func NewReportBugFinishedEvent

func NewReportBugFinishedEvent() *StreamEvent

func NewReportBugSuccessEvent

func NewReportBugSuccessEvent() *StreamEvent

func NewResetFinishedEvent

func NewResetFinishedEvent() *StreamEvent

func NewShowMainWindowEvent

func NewShowMainWindowEvent() *StreamEvent

func NewSyncFinishedEvent added in v3.1.0

func NewSyncFinishedEvent(userID string) *StreamEvent

func NewSyncProgressEvent added in v3.1.0

func NewSyncProgressEvent(userID string, progress float64, elapsedMs, remainingMs int64) *StreamEvent

func NewSyncStartedEvent added in v3.1.0

func NewSyncStartedEvent(userID string) *StreamEvent

func NewToggleAutostartFinishedEvent

func NewToggleAutostartFinishedEvent() *StreamEvent

func NewUpdateCheckFinishedEvent

func NewUpdateCheckFinishedEvent() *StreamEvent

func NewUpdateErrorEvent

func NewUpdateErrorEvent(errorType UpdateErrorType) *StreamEvent

func NewUpdateForceEvent

func NewUpdateForceEvent(version string) *StreamEvent

func NewUpdateIsLatestVersionEvent

func NewUpdateIsLatestVersionEvent() *StreamEvent

func NewUpdateManualReadyEvent

func NewUpdateManualReadyEvent(version string) *StreamEvent

func NewUpdateManualRestartNeededEvent

func NewUpdateManualRestartNeededEvent() *StreamEvent

func NewUpdateSilentRestartNeededEvent

func NewUpdateSilentRestartNeededEvent() *StreamEvent

func NewUpdateVersionChangedEvent

func NewUpdateVersionChangedEvent() *StreamEvent

func NewUsedBytesChangedEvent added in v3.1.0

func NewUsedBytesChangedEvent(userID string, usedBytes int) *StreamEvent

func NewUserBadEvent added in v3.0.12

func NewUserBadEvent(userID string, errorMessage string) *StreamEvent

func NewUserChangedEvent

func NewUserChangedEvent(userID string) *StreamEvent

func NewUserDisconnectedEvent

func NewUserDisconnectedEvent(email string) *StreamEvent

func NewUserToggleSplitModeFinishedEvent

func NewUserToggleSplitModeFinishedEvent(userID string) *StreamEvent

func (*StreamEvent) Descriptor deprecated

func (*StreamEvent) Descriptor() ([]byte, []int)

Deprecated: Use StreamEvent.ProtoReflect.Descriptor instead.

func (*StreamEvent) GetApp

func (x *StreamEvent) GetApp() *AppEvent

func (*StreamEvent) GetCache

func (x *StreamEvent) GetCache() *DiskCacheEvent

func (*StreamEvent) GetEvent

func (m *StreamEvent) GetEvent() isStreamEvent_Event

func (*StreamEvent) GetGenericError added in v3.0.9

func (x *StreamEvent) GetGenericError() *GenericErrorEvent

func (*StreamEvent) GetKeychain

func (x *StreamEvent) GetKeychain() *KeychainEvent

func (*StreamEvent) GetLogin

func (x *StreamEvent) GetLogin() *LoginEvent

func (*StreamEvent) GetMail

func (x *StreamEvent) GetMail() *MailEvent

func (*StreamEvent) GetMailServerSettings

func (x *StreamEvent) GetMailServerSettings() *MailServerSettingsEvent

func (*StreamEvent) GetUpdate

func (x *StreamEvent) GetUpdate() *UpdateEvent

func (*StreamEvent) GetUser

func (x *StreamEvent) GetUser() *UserEvent

func (*StreamEvent) ProtoMessage

func (*StreamEvent) ProtoMessage()

func (*StreamEvent) ProtoReflect

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

func (*StreamEvent) Reset

func (x *StreamEvent) Reset()

func (*StreamEvent) String

func (x *StreamEvent) String() string

type StreamEvent_App

type StreamEvent_App struct {
	App *AppEvent `protobuf:"bytes,1,opt,name=app,proto3,oneof"`
}

type StreamEvent_Cache

type StreamEvent_Cache struct {
	Cache *DiskCacheEvent `protobuf:"bytes,4,opt,name=cache,proto3,oneof"`
}

type StreamEvent_GenericError added in v3.0.9

type StreamEvent_GenericError struct {
	GenericError *GenericErrorEvent `protobuf:"bytes,9,opt,name=genericError,proto3,oneof"`
}

type StreamEvent_Keychain

type StreamEvent_Keychain struct {
	Keychain *KeychainEvent `protobuf:"bytes,6,opt,name=keychain,proto3,oneof"`
}

type StreamEvent_Login

type StreamEvent_Login struct {
	Login *LoginEvent `protobuf:"bytes,2,opt,name=login,proto3,oneof"`
}

type StreamEvent_Mail

type StreamEvent_Mail struct {
	Mail *MailEvent `protobuf:"bytes,7,opt,name=mail,proto3,oneof"`
}

type StreamEvent_MailServerSettings

type StreamEvent_MailServerSettings struct {
	MailServerSettings *MailServerSettingsEvent `protobuf:"bytes,5,opt,name=mailServerSettings,proto3,oneof"`
}

type StreamEvent_Update

type StreamEvent_Update struct {
	Update *UpdateEvent `protobuf:"bytes,3,opt,name=update,proto3,oneof"`
}

type StreamEvent_User

type StreamEvent_User struct {
	User *UserEvent `protobuf:"bytes,8,opt,name=user,proto3,oneof"`
}

type SyncFinishedEvent added in v3.1.0

type SyncFinishedEvent struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncFinishedEvent) Descriptor deprecated added in v3.1.0

func (*SyncFinishedEvent) Descriptor() ([]byte, []int)

Deprecated: Use SyncFinishedEvent.ProtoReflect.Descriptor instead.

func (*SyncFinishedEvent) GetUserID added in v3.1.0

func (x *SyncFinishedEvent) GetUserID() string

func (*SyncFinishedEvent) ProtoMessage added in v3.1.0

func (*SyncFinishedEvent) ProtoMessage()

func (*SyncFinishedEvent) ProtoReflect added in v3.1.0

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

func (*SyncFinishedEvent) Reset added in v3.1.0

func (x *SyncFinishedEvent) Reset()

func (*SyncFinishedEvent) String added in v3.1.0

func (x *SyncFinishedEvent) String() string

type SyncProgressEvent added in v3.1.0

type SyncProgressEvent struct {
	UserID      string  `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Progress    float64 `protobuf:"fixed64,2,opt,name=progress,proto3" json:"progress,omitempty"`
	ElapsedMs   int64   `protobuf:"varint,3,opt,name=elapsedMs,proto3" json:"elapsedMs,omitempty"`
	RemainingMs int64   `protobuf:"varint,4,opt,name=remainingMs,proto3" json:"remainingMs,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncProgressEvent) Descriptor deprecated added in v3.1.0

func (*SyncProgressEvent) Descriptor() ([]byte, []int)

Deprecated: Use SyncProgressEvent.ProtoReflect.Descriptor instead.

func (*SyncProgressEvent) GetElapsedMs added in v3.1.0

func (x *SyncProgressEvent) GetElapsedMs() int64

func (*SyncProgressEvent) GetProgress added in v3.1.0

func (x *SyncProgressEvent) GetProgress() float64

func (*SyncProgressEvent) GetRemainingMs added in v3.1.0

func (x *SyncProgressEvent) GetRemainingMs() int64

func (*SyncProgressEvent) GetUserID added in v3.1.0

func (x *SyncProgressEvent) GetUserID() string

func (*SyncProgressEvent) ProtoMessage added in v3.1.0

func (*SyncProgressEvent) ProtoMessage()

func (*SyncProgressEvent) ProtoReflect added in v3.1.0

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

func (*SyncProgressEvent) Reset added in v3.1.0

func (x *SyncProgressEvent) Reset()

func (*SyncProgressEvent) String added in v3.1.0

func (x *SyncProgressEvent) String() string

type SyncStartedEvent added in v3.1.0

type SyncStartedEvent struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncStartedEvent) Descriptor deprecated added in v3.1.0

func (*SyncStartedEvent) Descriptor() ([]byte, []int)

Deprecated: Use SyncStartedEvent.ProtoReflect.Descriptor instead.

func (*SyncStartedEvent) GetUserID added in v3.1.0

func (x *SyncStartedEvent) GetUserID() string

func (*SyncStartedEvent) ProtoMessage added in v3.1.0

func (*SyncStartedEvent) ProtoMessage()

func (*SyncStartedEvent) ProtoReflect added in v3.1.0

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

func (*SyncStartedEvent) Reset added in v3.1.0

func (x *SyncStartedEvent) Reset()

func (*SyncStartedEvent) String added in v3.1.0

func (x *SyncStartedEvent) String() string

type ToggleAutostartFinishedEvent

type ToggleAutostartFinishedEvent struct {
	// contains filtered or unexported fields
}

func (*ToggleAutostartFinishedEvent) Descriptor deprecated

func (*ToggleAutostartFinishedEvent) Descriptor() ([]byte, []int)

Deprecated: Use ToggleAutostartFinishedEvent.ProtoReflect.Descriptor instead.

func (*ToggleAutostartFinishedEvent) ProtoMessage

func (*ToggleAutostartFinishedEvent) ProtoMessage()

func (*ToggleAutostartFinishedEvent) ProtoReflect

func (*ToggleAutostartFinishedEvent) Reset

func (x *ToggleAutostartFinishedEvent) Reset()

func (*ToggleAutostartFinishedEvent) String

type ToggleSplitModeFinishedEvent

type ToggleSplitModeFinishedEvent struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*ToggleSplitModeFinishedEvent) Descriptor deprecated

func (*ToggleSplitModeFinishedEvent) Descriptor() ([]byte, []int)

Deprecated: Use ToggleSplitModeFinishedEvent.ProtoReflect.Descriptor instead.

func (*ToggleSplitModeFinishedEvent) GetUserID

func (x *ToggleSplitModeFinishedEvent) GetUserID() string

func (*ToggleSplitModeFinishedEvent) ProtoMessage

func (*ToggleSplitModeFinishedEvent) ProtoMessage()

func (*ToggleSplitModeFinishedEvent) ProtoReflect

func (*ToggleSplitModeFinishedEvent) Reset

func (x *ToggleSplitModeFinishedEvent) Reset()

func (*ToggleSplitModeFinishedEvent) String

type UnimplementedBridgeServer

type UnimplementedBridgeServer struct {
}

UnimplementedBridgeServer must be embedded to have forward compatible implementations.

func (UnimplementedBridgeServer) AddLogEntry

func (UnimplementedBridgeServer) AutoconfigClicked added in v3.3.1

func (UnimplementedBridgeServer) AvailableKeychains

func (UnimplementedBridgeServer) CheckTokens

func (UnimplementedBridgeServer) CheckUpdate

func (UnimplementedBridgeServer) ColorSchemeName

func (UnimplementedBridgeServer) ConfigureUserAppleMail

func (UnimplementedBridgeServer) CurrentEmailClient

func (UnimplementedBridgeServer) CurrentKeychain

func (UnimplementedBridgeServer) DiskCachePath

func (UnimplementedBridgeServer) ExportTLSCertificates added in v3.0.9

func (UnimplementedBridgeServer) ForceLauncher

func (UnimplementedBridgeServer) GetUser

func (UnimplementedBridgeServer) GetUserList

func (UnimplementedBridgeServer) GoOs

func (UnimplementedBridgeServer) GuiReady

func (UnimplementedBridgeServer) Hostname

func (UnimplementedBridgeServer) InstallUpdate

func (UnimplementedBridgeServer) IsAllMailVisible

func (UnimplementedBridgeServer) IsAutomaticUpdateOn

func (UnimplementedBridgeServer) IsAutostartOn

func (UnimplementedBridgeServer) IsBetaEnabled

func (UnimplementedBridgeServer) IsDoHEnabled

func (UnimplementedBridgeServer) IsPortFree

func (UnimplementedBridgeServer) IsTelemetryDisabled added in v3.2.0

func (UnimplementedBridgeServer) KBArticleClicked added in v3.3.1

func (UnimplementedBridgeServer) LicensePath

func (UnimplementedBridgeServer) Login

func (UnimplementedBridgeServer) Login2FA

func (UnimplementedBridgeServer) Login2Passwords

func (UnimplementedBridgeServer) LoginAbort

func (UnimplementedBridgeServer) LogoutUser

func (UnimplementedBridgeServer) LogsPath

func (UnimplementedBridgeServer) MailServerSettings

func (UnimplementedBridgeServer) Quit

func (UnimplementedBridgeServer) RemoveUser

func (UnimplementedBridgeServer) ReportBug

func (UnimplementedBridgeServer) ReportBugClicked added in v3.3.1

func (UnimplementedBridgeServer) Restart

func (UnimplementedBridgeServer) RunEventStream

func (UnimplementedBridgeServer) SendBadEventUserFeedback added in v3.0.20

func (UnimplementedBridgeServer) SetColorSchemeName

func (UnimplementedBridgeServer) SetCurrentKeychain

func (UnimplementedBridgeServer) SetDiskCachePath

func (UnimplementedBridgeServer) SetIsAllMailVisible

func (UnimplementedBridgeServer) SetIsAutomaticUpdateOn

func (UnimplementedBridgeServer) SetIsAutostartOn

func (UnimplementedBridgeServer) SetIsBetaEnabled

func (UnimplementedBridgeServer) SetIsDoHEnabled

func (UnimplementedBridgeServer) SetIsTelemetryDisabled added in v3.2.0

func (UnimplementedBridgeServer) SetMailServerSettings

func (UnimplementedBridgeServer) SetMainExecutable

func (UnimplementedBridgeServer) SetUserSplitMode

func (UnimplementedBridgeServer) ShowOnStartup

func (UnimplementedBridgeServer) StopEventStream

func (UnimplementedBridgeServer) TriggerReset

func (UnimplementedBridgeServer) Version

type UnsafeBridgeServer

type UnsafeBridgeServer interface {
	// contains filtered or unexported methods
}

UnsafeBridgeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BridgeServer will result in compilation errors.

type UpdateCheckFinished

type UpdateCheckFinished struct {
	// contains filtered or unexported fields
}

func (*UpdateCheckFinished) Descriptor deprecated

func (*UpdateCheckFinished) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCheckFinished.ProtoReflect.Descriptor instead.

func (*UpdateCheckFinished) ProtoMessage

func (*UpdateCheckFinished) ProtoMessage()

func (*UpdateCheckFinished) ProtoReflect

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

func (*UpdateCheckFinished) Reset

func (x *UpdateCheckFinished) Reset()

func (*UpdateCheckFinished) String

func (x *UpdateCheckFinished) String() string

type UpdateErrorEvent

type UpdateErrorEvent struct {
	Type UpdateErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.UpdateErrorType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateErrorEvent) Descriptor deprecated

func (*UpdateErrorEvent) Descriptor() ([]byte, []int)

Deprecated: Use UpdateErrorEvent.ProtoReflect.Descriptor instead.

func (*UpdateErrorEvent) GetType

func (x *UpdateErrorEvent) GetType() UpdateErrorType

func (*UpdateErrorEvent) ProtoMessage

func (*UpdateErrorEvent) ProtoMessage()

func (*UpdateErrorEvent) ProtoReflect

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

func (*UpdateErrorEvent) Reset

func (x *UpdateErrorEvent) Reset()

func (*UpdateErrorEvent) String

func (x *UpdateErrorEvent) String() string

type UpdateErrorType

type UpdateErrorType int32
const (
	UpdateErrorType_UPDATE_MANUAL_ERROR UpdateErrorType = 0
	UpdateErrorType_UPDATE_FORCE_ERROR  UpdateErrorType = 1
	UpdateErrorType_UPDATE_SILENT_ERROR UpdateErrorType = 2
)

func (UpdateErrorType) Descriptor

func (UpdateErrorType) Enum

func (x UpdateErrorType) Enum() *UpdateErrorType

func (UpdateErrorType) EnumDescriptor deprecated

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

Deprecated: Use UpdateErrorType.Descriptor instead.

func (UpdateErrorType) Number

func (UpdateErrorType) String

func (x UpdateErrorType) String() string

func (UpdateErrorType) Type

type UpdateEvent

type UpdateEvent struct {

	// Types that are assignable to Event:
	//	*UpdateEvent_Error
	//	*UpdateEvent_ManualReady
	//	*UpdateEvent_ManualRestartNeeded
	//	*UpdateEvent_Force
	//	*UpdateEvent_SilentRestartNeeded
	//	*UpdateEvent_IsLatestVersion
	//	*UpdateEvent_CheckFinished
	//	*UpdateEvent_VersionChanged
	Event isUpdateEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

********************************************************** Update related events **********************************************************

func (*UpdateEvent) Descriptor deprecated

func (*UpdateEvent) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEvent.ProtoReflect.Descriptor instead.

func (*UpdateEvent) GetCheckFinished

func (x *UpdateEvent) GetCheckFinished() *UpdateCheckFinished

func (*UpdateEvent) GetError

func (x *UpdateEvent) GetError() *UpdateErrorEvent

func (*UpdateEvent) GetEvent

func (m *UpdateEvent) GetEvent() isUpdateEvent_Event

func (*UpdateEvent) GetForce

func (x *UpdateEvent) GetForce() *UpdateForceEvent

func (*UpdateEvent) GetIsLatestVersion

func (x *UpdateEvent) GetIsLatestVersion() *UpdateIsLatestVersion

func (*UpdateEvent) GetManualReady

func (x *UpdateEvent) GetManualReady() *UpdateManualReadyEvent

func (*UpdateEvent) GetManualRestartNeeded

func (x *UpdateEvent) GetManualRestartNeeded() *UpdateManualRestartNeededEvent

func (*UpdateEvent) GetSilentRestartNeeded

func (x *UpdateEvent) GetSilentRestartNeeded() *UpdateSilentRestartNeeded

func (*UpdateEvent) GetVersionChanged

func (x *UpdateEvent) GetVersionChanged() *UpdateVersionChanged

func (*UpdateEvent) ProtoMessage

func (*UpdateEvent) ProtoMessage()

func (*UpdateEvent) ProtoReflect

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

func (*UpdateEvent) Reset

func (x *UpdateEvent) Reset()

func (*UpdateEvent) String

func (x *UpdateEvent) String() string

type UpdateEvent_CheckFinished

type UpdateEvent_CheckFinished struct {
	CheckFinished *UpdateCheckFinished `protobuf:"bytes,7,opt,name=checkFinished,proto3,oneof"`
}

type UpdateEvent_Error

type UpdateEvent_Error struct {
	Error *UpdateErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type UpdateEvent_Force

type UpdateEvent_Force struct {
	Force *UpdateForceEvent `protobuf:"bytes,4,opt,name=force,proto3,oneof"`
}

type UpdateEvent_IsLatestVersion

type UpdateEvent_IsLatestVersion struct {
	IsLatestVersion *UpdateIsLatestVersion `protobuf:"bytes,6,opt,name=isLatestVersion,proto3,oneof"`
}

type UpdateEvent_ManualReady

type UpdateEvent_ManualReady struct {
	ManualReady *UpdateManualReadyEvent `protobuf:"bytes,2,opt,name=manualReady,proto3,oneof"`
}

type UpdateEvent_ManualRestartNeeded

type UpdateEvent_ManualRestartNeeded struct {
	ManualRestartNeeded *UpdateManualRestartNeededEvent `protobuf:"bytes,3,opt,name=manualRestartNeeded,proto3,oneof"`
}

type UpdateEvent_SilentRestartNeeded

type UpdateEvent_SilentRestartNeeded struct {
	SilentRestartNeeded *UpdateSilentRestartNeeded `protobuf:"bytes,5,opt,name=silentRestartNeeded,proto3,oneof"`
}

type UpdateEvent_VersionChanged

type UpdateEvent_VersionChanged struct {
	VersionChanged *UpdateVersionChanged `protobuf:"bytes,8,opt,name=versionChanged,proto3,oneof"`
}

type UpdateForceEvent

type UpdateForceEvent struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateForceEvent) Descriptor deprecated

func (*UpdateForceEvent) Descriptor() ([]byte, []int)

Deprecated: Use UpdateForceEvent.ProtoReflect.Descriptor instead.

func (*UpdateForceEvent) GetVersion

func (x *UpdateForceEvent) GetVersion() string

func (*UpdateForceEvent) ProtoMessage

func (*UpdateForceEvent) ProtoMessage()

func (*UpdateForceEvent) ProtoReflect

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

func (*UpdateForceEvent) Reset

func (x *UpdateForceEvent) Reset()

func (*UpdateForceEvent) String

func (x *UpdateForceEvent) String() string

type UpdateIsLatestVersion

type UpdateIsLatestVersion struct {
	// contains filtered or unexported fields
}

func (*UpdateIsLatestVersion) Descriptor deprecated

func (*UpdateIsLatestVersion) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIsLatestVersion.ProtoReflect.Descriptor instead.

func (*UpdateIsLatestVersion) ProtoMessage

func (*UpdateIsLatestVersion) ProtoMessage()

func (*UpdateIsLatestVersion) ProtoReflect

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

func (*UpdateIsLatestVersion) Reset

func (x *UpdateIsLatestVersion) Reset()

func (*UpdateIsLatestVersion) String

func (x *UpdateIsLatestVersion) String() string

type UpdateManualReadyEvent

type UpdateManualReadyEvent struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateManualReadyEvent) Descriptor deprecated

func (*UpdateManualReadyEvent) Descriptor() ([]byte, []int)

Deprecated: Use UpdateManualReadyEvent.ProtoReflect.Descriptor instead.

func (*UpdateManualReadyEvent) GetVersion

func (x *UpdateManualReadyEvent) GetVersion() string

func (*UpdateManualReadyEvent) ProtoMessage

func (*UpdateManualReadyEvent) ProtoMessage()

func (*UpdateManualReadyEvent) ProtoReflect

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

func (*UpdateManualReadyEvent) Reset

func (x *UpdateManualReadyEvent) Reset()

func (*UpdateManualReadyEvent) String

func (x *UpdateManualReadyEvent) String() string

type UpdateManualRestartNeededEvent

type UpdateManualRestartNeededEvent struct {
	// contains filtered or unexported fields
}

func (*UpdateManualRestartNeededEvent) Descriptor deprecated

func (*UpdateManualRestartNeededEvent) Descriptor() ([]byte, []int)

Deprecated: Use UpdateManualRestartNeededEvent.ProtoReflect.Descriptor instead.

func (*UpdateManualRestartNeededEvent) ProtoMessage

func (*UpdateManualRestartNeededEvent) ProtoMessage()

func (*UpdateManualRestartNeededEvent) ProtoReflect

func (*UpdateManualRestartNeededEvent) Reset

func (x *UpdateManualRestartNeededEvent) Reset()

func (*UpdateManualRestartNeededEvent) String

type UpdateSilentRestartNeeded

type UpdateSilentRestartNeeded struct {
	// contains filtered or unexported fields
}

func (*UpdateSilentRestartNeeded) Descriptor deprecated

func (*UpdateSilentRestartNeeded) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSilentRestartNeeded.ProtoReflect.Descriptor instead.

func (*UpdateSilentRestartNeeded) ProtoMessage

func (*UpdateSilentRestartNeeded) ProtoMessage()

func (*UpdateSilentRestartNeeded) ProtoReflect

func (*UpdateSilentRestartNeeded) Reset

func (x *UpdateSilentRestartNeeded) Reset()

func (*UpdateSilentRestartNeeded) String

func (x *UpdateSilentRestartNeeded) String() string

type UpdateVersionChanged

type UpdateVersionChanged struct {
	// contains filtered or unexported fields
}

func (*UpdateVersionChanged) Descriptor deprecated

func (*UpdateVersionChanged) Descriptor() ([]byte, []int)

Deprecated: Use UpdateVersionChanged.ProtoReflect.Descriptor instead.

func (*UpdateVersionChanged) ProtoMessage

func (*UpdateVersionChanged) ProtoMessage()

func (*UpdateVersionChanged) ProtoReflect

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

func (*UpdateVersionChanged) Reset

func (x *UpdateVersionChanged) Reset()

func (*UpdateVersionChanged) String

func (x *UpdateVersionChanged) String() string

type UsedBytesChangedEvent added in v3.1.0

type UsedBytesChangedEvent struct {
	UserID    string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	UsedBytes int64  `protobuf:"varint,2,opt,name=usedBytes,proto3" json:"usedBytes,omitempty"`
	// contains filtered or unexported fields
}

func (*UsedBytesChangedEvent) Descriptor deprecated added in v3.1.0

func (*UsedBytesChangedEvent) Descriptor() ([]byte, []int)

Deprecated: Use UsedBytesChangedEvent.ProtoReflect.Descriptor instead.

func (*UsedBytesChangedEvent) GetUsedBytes added in v3.1.0

func (x *UsedBytesChangedEvent) GetUsedBytes() int64

func (*UsedBytesChangedEvent) GetUserID added in v3.1.0

func (x *UsedBytesChangedEvent) GetUserID() string

func (*UsedBytesChangedEvent) ProtoMessage added in v3.1.0

func (*UsedBytesChangedEvent) ProtoMessage()

func (*UsedBytesChangedEvent) ProtoReflect added in v3.1.0

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

func (*UsedBytesChangedEvent) Reset added in v3.1.0

func (x *UsedBytesChangedEvent) Reset()

func (*UsedBytesChangedEvent) String added in v3.1.0

func (x *UsedBytesChangedEvent) String() string

type User

type User struct {
	Id         string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Username   string    `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	AvatarText string    `protobuf:"bytes,3,opt,name=avatarText,proto3" json:"avatarText,omitempty"`
	State      UserState `protobuf:"varint,4,opt,name=state,proto3,enum=grpc.UserState" json:"state,omitempty"`
	SplitMode  bool      `protobuf:"varint,5,opt,name=splitMode,proto3" json:"splitMode,omitempty"`
	UsedBytes  int64     `protobuf:"varint,6,opt,name=usedBytes,proto3" json:"usedBytes,omitempty"`
	TotalBytes int64     `protobuf:"varint,7,opt,name=totalBytes,proto3" json:"totalBytes,omitempty"`
	Password   []byte    `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
	Addresses  []string  `protobuf:"bytes,9,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAddresses

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

func (*User) GetAvatarText

func (x *User) GetAvatarText() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetPassword

func (x *User) GetPassword() []byte

func (*User) GetSplitMode

func (x *User) GetSplitMode() bool

func (*User) GetState

func (x *User) GetState() UserState

func (*User) GetTotalBytes

func (x *User) GetTotalBytes() int64

func (*User) GetUsedBytes

func (x *User) GetUsedBytes() int64

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserBadEvent added in v3.0.12

type UserBadEvent struct {
	UserID       string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*UserBadEvent) Descriptor deprecated added in v3.0.12

func (*UserBadEvent) Descriptor() ([]byte, []int)

Deprecated: Use UserBadEvent.ProtoReflect.Descriptor instead.

func (*UserBadEvent) GetErrorMessage added in v3.0.12

func (x *UserBadEvent) GetErrorMessage() string

func (*UserBadEvent) GetUserID added in v3.0.12

func (x *UserBadEvent) GetUserID() string

func (*UserBadEvent) ProtoMessage added in v3.0.12

func (*UserBadEvent) ProtoMessage()

func (*UserBadEvent) ProtoReflect added in v3.0.12

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

func (*UserBadEvent) Reset added in v3.0.12

func (x *UserBadEvent) Reset()

func (*UserBadEvent) String added in v3.0.12

func (x *UserBadEvent) String() string

type UserBadEventFeedbackRequest added in v3.0.20

type UserBadEventFeedbackRequest struct {
	UserID   string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	DoResync bool   `protobuf:"varint,2,opt,name=doResync,proto3" json:"doResync,omitempty"`
	// contains filtered or unexported fields
}

func (*UserBadEventFeedbackRequest) Descriptor deprecated added in v3.0.20

func (*UserBadEventFeedbackRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserBadEventFeedbackRequest.ProtoReflect.Descriptor instead.

func (*UserBadEventFeedbackRequest) GetDoResync added in v3.0.20

func (x *UserBadEventFeedbackRequest) GetDoResync() bool

func (*UserBadEventFeedbackRequest) GetUserID added in v3.0.20

func (x *UserBadEventFeedbackRequest) GetUserID() string

func (*UserBadEventFeedbackRequest) ProtoMessage added in v3.0.20

func (*UserBadEventFeedbackRequest) ProtoMessage()

func (*UserBadEventFeedbackRequest) ProtoReflect added in v3.0.20

func (*UserBadEventFeedbackRequest) Reset added in v3.0.20

func (x *UserBadEventFeedbackRequest) Reset()

func (*UserBadEventFeedbackRequest) String added in v3.0.20

func (x *UserBadEventFeedbackRequest) String() string

type UserChangedEvent

type UserChangedEvent struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*UserChangedEvent) Descriptor deprecated

func (*UserChangedEvent) Descriptor() ([]byte, []int)

Deprecated: Use UserChangedEvent.ProtoReflect.Descriptor instead.

func (*UserChangedEvent) GetUserID

func (x *UserChangedEvent) GetUserID() string

func (*UserChangedEvent) ProtoMessage

func (*UserChangedEvent) ProtoMessage()

func (*UserChangedEvent) ProtoReflect

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

func (*UserChangedEvent) Reset

func (x *UserChangedEvent) Reset()

func (*UserChangedEvent) String

func (x *UserChangedEvent) String() string

type UserDisconnectedEvent

type UserDisconnectedEvent struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDisconnectedEvent) Descriptor deprecated

func (*UserDisconnectedEvent) Descriptor() ([]byte, []int)

Deprecated: Use UserDisconnectedEvent.ProtoReflect.Descriptor instead.

func (*UserDisconnectedEvent) GetUsername

func (x *UserDisconnectedEvent) GetUsername() string

func (*UserDisconnectedEvent) ProtoMessage

func (*UserDisconnectedEvent) ProtoMessage()

func (*UserDisconnectedEvent) ProtoReflect

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

func (*UserDisconnectedEvent) Reset

func (x *UserDisconnectedEvent) Reset()

func (*UserDisconnectedEvent) String

func (x *UserDisconnectedEvent) String() string

type UserEvent

type UserEvent struct {

	// Types that are assignable to Event:
	//	*UserEvent_ToggleSplitModeFinished
	//	*UserEvent_UserDisconnected
	//	*UserEvent_UserChanged
	//	*UserEvent_UserBadEvent
	//	*UserEvent_UsedBytesChangedEvent
	//	*UserEvent_ImapLoginFailedEvent
	//	*UserEvent_SyncStartedEvent
	//	*UserEvent_SyncFinishedEvent
	//	*UserEvent_SyncProgressEvent
	Event isUserEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*UserEvent) Descriptor deprecated

func (*UserEvent) Descriptor() ([]byte, []int)

Deprecated: Use UserEvent.ProtoReflect.Descriptor instead.

func (*UserEvent) GetEvent

func (m *UserEvent) GetEvent() isUserEvent_Event

func (*UserEvent) GetImapLoginFailedEvent added in v3.1.0

func (x *UserEvent) GetImapLoginFailedEvent() *ImapLoginFailedEvent

func (*UserEvent) GetSyncFinishedEvent added in v3.1.0

func (x *UserEvent) GetSyncFinishedEvent() *SyncFinishedEvent

func (*UserEvent) GetSyncProgressEvent added in v3.1.0

func (x *UserEvent) GetSyncProgressEvent() *SyncProgressEvent

func (*UserEvent) GetSyncStartedEvent added in v3.1.0

func (x *UserEvent) GetSyncStartedEvent() *SyncStartedEvent

func (*UserEvent) GetToggleSplitModeFinished

func (x *UserEvent) GetToggleSplitModeFinished() *ToggleSplitModeFinishedEvent

func (*UserEvent) GetUsedBytesChangedEvent added in v3.1.0

func (x *UserEvent) GetUsedBytesChangedEvent() *UsedBytesChangedEvent

func (*UserEvent) GetUserBadEvent added in v3.0.12

func (x *UserEvent) GetUserBadEvent() *UserBadEvent

func (*UserEvent) GetUserChanged

func (x *UserEvent) GetUserChanged() *UserChangedEvent

func (*UserEvent) GetUserDisconnected

func (x *UserEvent) GetUserDisconnected() *UserDisconnectedEvent

func (*UserEvent) ProtoMessage

func (*UserEvent) ProtoMessage()

func (*UserEvent) ProtoReflect

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

func (*UserEvent) Reset

func (x *UserEvent) Reset()

func (*UserEvent) String

func (x *UserEvent) String() string

type UserEvent_ImapLoginFailedEvent added in v3.1.0

type UserEvent_ImapLoginFailedEvent struct {
	ImapLoginFailedEvent *ImapLoginFailedEvent `protobuf:"bytes,6,opt,name=imapLoginFailedEvent,proto3,oneof"`
}

type UserEvent_SyncFinishedEvent added in v3.1.0

type UserEvent_SyncFinishedEvent struct {
	SyncFinishedEvent *SyncFinishedEvent `protobuf:"bytes,8,opt,name=syncFinishedEvent,proto3,oneof"`
}

type UserEvent_SyncProgressEvent added in v3.1.0

type UserEvent_SyncProgressEvent struct {
	SyncProgressEvent *SyncProgressEvent `protobuf:"bytes,9,opt,name=syncProgressEvent,proto3,oneof"`
}

type UserEvent_SyncStartedEvent added in v3.1.0

type UserEvent_SyncStartedEvent struct {
	SyncStartedEvent *SyncStartedEvent `protobuf:"bytes,7,opt,name=syncStartedEvent,proto3,oneof"`
}

type UserEvent_ToggleSplitModeFinished

type UserEvent_ToggleSplitModeFinished struct {
	ToggleSplitModeFinished *ToggleSplitModeFinishedEvent `protobuf:"bytes,1,opt,name=toggleSplitModeFinished,proto3,oneof"`
}

type UserEvent_UsedBytesChangedEvent added in v3.1.0

type UserEvent_UsedBytesChangedEvent struct {
	UsedBytesChangedEvent *UsedBytesChangedEvent `protobuf:"bytes,5,opt,name=usedBytesChangedEvent,proto3,oneof"`
}

type UserEvent_UserBadEvent added in v3.0.12

type UserEvent_UserBadEvent struct {
	UserBadEvent *UserBadEvent `protobuf:"bytes,4,opt,name=userBadEvent,proto3,oneof"`
}

type UserEvent_UserChanged

type UserEvent_UserChanged struct {
	UserChanged *UserChangedEvent `protobuf:"bytes,3,opt,name=userChanged,proto3,oneof"`
}

type UserEvent_UserDisconnected

type UserEvent_UserDisconnected struct {
	UserDisconnected *UserDisconnectedEvent `protobuf:"bytes,2,opt,name=userDisconnected,proto3,oneof"`
}

type UserListResponse

type UserListResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*UserListResponse) Descriptor deprecated

func (*UserListResponse) Descriptor() ([]byte, []int)

Deprecated: Use UserListResponse.ProtoReflect.Descriptor instead.

func (*UserListResponse) GetUsers

func (x *UserListResponse) GetUsers() []*User

func (*UserListResponse) ProtoMessage

func (*UserListResponse) ProtoMessage()

func (*UserListResponse) ProtoReflect

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

func (*UserListResponse) Reset

func (x *UserListResponse) Reset()

func (*UserListResponse) String

func (x *UserListResponse) String() string

type UserSplitModeRequest

type UserSplitModeRequest struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Active bool   `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSplitModeRequest) Descriptor deprecated

func (*UserSplitModeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserSplitModeRequest.ProtoReflect.Descriptor instead.

func (*UserSplitModeRequest) GetActive

func (x *UserSplitModeRequest) GetActive() bool

func (*UserSplitModeRequest) GetUserID

func (x *UserSplitModeRequest) GetUserID() string

func (*UserSplitModeRequest) ProtoMessage

func (*UserSplitModeRequest) ProtoMessage()

func (*UserSplitModeRequest) ProtoReflect

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

func (*UserSplitModeRequest) Reset

func (x *UserSplitModeRequest) Reset()

func (*UserSplitModeRequest) String

func (x *UserSplitModeRequest) String() string

type UserState

type UserState int32

********************************************************** user related messages **********************************************************

const (
	UserState_SIGNED_OUT UserState = 0
	UserState_LOCKED     UserState = 1
	UserState_CONNECTED  UserState = 2
)

func (UserState) Descriptor

func (UserState) Descriptor() protoreflect.EnumDescriptor

func (UserState) Enum

func (x UserState) Enum() *UserState

func (UserState) EnumDescriptor deprecated

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

Deprecated: Use UserState.Descriptor instead.

func (UserState) Number

func (x UserState) Number() protoreflect.EnumNumber

func (UserState) String

func (x UserState) String() string

func (UserState) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL