Documentation ¶
Index ¶
- Variables
- func RegisterBridgeServer(s grpc.ServiceRegistrar, srv BridgeServer)
- type AddLogEntryRequest
- func (*AddLogEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddLogEntryRequest) GetLevel() LogLevel
- func (x *AddLogEntryRequest) GetMessage() string
- func (x *AddLogEntryRequest) GetPackage() string
- func (*AddLogEntryRequest) ProtoMessage()
- func (x *AddLogEntryRequest) ProtoReflect() protoreflect.Message
- func (x *AddLogEntryRequest) Reset()
- func (x *AddLogEntryRequest) String() string
- type AddressChangedEvent
- func (*AddressChangedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AddressChangedEvent) GetAddress() string
- func (*AddressChangedEvent) ProtoMessage()
- func (x *AddressChangedEvent) ProtoReflect() protoreflect.Message
- func (x *AddressChangedEvent) Reset()
- func (x *AddressChangedEvent) String() string
- type AddressChangedLogoutEvent
- func (*AddressChangedLogoutEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AddressChangedLogoutEvent) GetAddress() string
- func (*AddressChangedLogoutEvent) ProtoMessage()
- func (x *AddressChangedLogoutEvent) ProtoReflect() protoreflect.Message
- func (x *AddressChangedLogoutEvent) Reset()
- func (x *AddressChangedLogoutEvent) String() string
- type ApiCertIssueEvent
- type AppEvent
- func (*AppEvent) Descriptor() ([]byte, []int)deprecated
- func (m *AppEvent) GetEvent() isAppEvent_Event
- func (x *AppEvent) GetInternetStatus() *InternetStatusEvent
- func (x *AppEvent) GetReportBugError() *ReportBugErrorEvent
- func (x *AppEvent) GetReportBugFinished() *ReportBugFinishedEvent
- func (x *AppEvent) GetReportBugSuccess() *ReportBugSuccessEvent
- func (x *AppEvent) GetResetFinished() *ResetFinishedEvent
- func (x *AppEvent) GetShowMainWindow() *ShowMainWindowEvent
- func (x *AppEvent) GetToggleAutostartFinished() *ToggleAutostartFinishedEvent
- func (*AppEvent) ProtoMessage()
- func (x *AppEvent) ProtoReflect() protoreflect.Message
- func (x *AppEvent) Reset()
- func (x *AppEvent) String() string
- type AppEvent_InternetStatus
- type AppEvent_ReportBugError
- type AppEvent_ReportBugFinished
- type AppEvent_ReportBugSuccess
- type AppEvent_ResetFinished
- type AppEvent_ShowMainWindow
- type AppEvent_ToggleAutostartFinished
- type AvailableKeychainsResponse
- func (*AvailableKeychainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableKeychainsResponse) GetKeychains() []string
- func (*AvailableKeychainsResponse) ProtoMessage()
- func (x *AvailableKeychainsResponse) ProtoReflect() protoreflect.Message
- func (x *AvailableKeychainsResponse) Reset()
- func (x *AvailableKeychainsResponse) String() string
- type BridgeClient
- type BridgeServer
- type Bridge_RunEventStreamClient
- type Bridge_RunEventStreamServer
- type CacheErrorEvent
- type CacheErrorType
- func (CacheErrorType) Descriptor() protoreflect.EnumDescriptor
- func (x CacheErrorType) Enum() *CacheErrorType
- func (CacheErrorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CacheErrorType) Number() protoreflect.EnumNumber
- func (x CacheErrorType) String() string
- func (CacheErrorType) Type() protoreflect.EnumType
- type CacheEvent
- func (*CacheEvent) Descriptor() ([]byte, []int)deprecated
- func (x *CacheEvent) GetChangeLocalCacheFinished() *ChangeLocalCacheFinishedEvent
- func (x *CacheEvent) GetDiskCachePathChanged() *DiskCachePathChanged
- func (x *CacheEvent) GetError() *CacheErrorEvent
- func (m *CacheEvent) GetEvent() isCacheEvent_Event
- func (x *CacheEvent) GetIsCacheOnDiskEnabledChanged() *IsCacheOnDiskEnabledChanged
- func (x *CacheEvent) GetLocationChangedSuccess() *CacheLocationChangeSuccessEvent
- func (*CacheEvent) ProtoMessage()
- func (x *CacheEvent) ProtoReflect() protoreflect.Message
- func (x *CacheEvent) Reset()
- func (x *CacheEvent) String() string
- type CacheEvent_ChangeLocalCacheFinished
- type CacheEvent_DiskCachePathChanged
- type CacheEvent_Error
- type CacheEvent_IsCacheOnDiskEnabledChanged
- type CacheEvent_LocationChangedSuccess
- type CacheLocationChangeSuccessEvent
- func (*CacheLocationChangeSuccessEvent) Descriptor() ([]byte, []int)deprecated
- func (*CacheLocationChangeSuccessEvent) ProtoMessage()
- func (x *CacheLocationChangeSuccessEvent) ProtoReflect() protoreflect.Message
- func (x *CacheLocationChangeSuccessEvent) Reset()
- func (x *CacheLocationChangeSuccessEvent) String() string
- type ChangeKeychainFinishedEvent
- type ChangeLocalCacheFinishedEvent
- func (*ChangeLocalCacheFinishedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeLocalCacheFinishedEvent) GetWillRestart() bool
- func (*ChangeLocalCacheFinishedEvent) ProtoMessage()
- func (x *ChangeLocalCacheFinishedEvent) ProtoReflect() protoreflect.Message
- func (x *ChangeLocalCacheFinishedEvent) Reset()
- func (x *ChangeLocalCacheFinishedEvent) String() string
- type ChangeLocalCacheRequest
- func (*ChangeLocalCacheRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeLocalCacheRequest) GetDiskCachePath() string
- func (x *ChangeLocalCacheRequest) GetEnableDiskCache() bool
- func (*ChangeLocalCacheRequest) ProtoMessage()
- func (x *ChangeLocalCacheRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeLocalCacheRequest) Reset()
- func (x *ChangeLocalCacheRequest) String() string
- type ChangePortsFinishedEvent
- type ChangePortsRequest
- func (*ChangePortsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePortsRequest) GetImapPort() int32
- func (x *ChangePortsRequest) GetSmtpPort() int32
- func (*ChangePortsRequest) ProtoMessage()
- func (x *ChangePortsRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePortsRequest) Reset()
- func (x *ChangePortsRequest) String() string
- type ConfigureAppleMailRequest
- func (*ConfigureAppleMailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureAppleMailRequest) GetAddress() string
- func (x *ConfigureAppleMailRequest) GetUserID() string
- func (*ConfigureAppleMailRequest) ProtoMessage()
- func (x *ConfigureAppleMailRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureAppleMailRequest) Reset()
- func (x *ConfigureAppleMailRequest) String() string
- type DiskCachePathChanged
- func (*DiskCachePathChanged) Descriptor() ([]byte, []int)deprecated
- func (x *DiskCachePathChanged) GetPath() string
- func (*DiskCachePathChanged) ProtoMessage()
- func (x *DiskCachePathChanged) ProtoReflect() protoreflect.Message
- func (x *DiskCachePathChanged) Reset()
- func (x *DiskCachePathChanged) String() string
- type EventStreamRequest
- func (*EventStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EventStreamRequest) GetClientPlatform() string
- func (*EventStreamRequest) ProtoMessage()
- func (x *EventStreamRequest) ProtoReflect() protoreflect.Message
- func (x *EventStreamRequest) Reset()
- func (x *EventStreamRequest) String() string
- type HasNoKeychainEvent
- type InternetStatusEvent
- func (*InternetStatusEvent) Descriptor() ([]byte, []int)deprecated
- func (x *InternetStatusEvent) GetConnected() bool
- func (*InternetStatusEvent) ProtoMessage()
- func (x *InternetStatusEvent) ProtoReflect() protoreflect.Message
- func (x *InternetStatusEvent) Reset()
- func (x *InternetStatusEvent) String() string
- type IsCacheOnDiskEnabledChanged
- func (*IsCacheOnDiskEnabledChanged) Descriptor() ([]byte, []int)deprecated
- func (x *IsCacheOnDiskEnabledChanged) GetEnabled() bool
- func (*IsCacheOnDiskEnabledChanged) ProtoMessage()
- func (x *IsCacheOnDiskEnabledChanged) ProtoReflect() protoreflect.Message
- func (x *IsCacheOnDiskEnabledChanged) Reset()
- func (x *IsCacheOnDiskEnabledChanged) String() string
- type KeychainEvent
- func (*KeychainEvent) Descriptor() ([]byte, []int)deprecated
- func (x *KeychainEvent) GetChangeKeychainFinished() *ChangeKeychainFinishedEvent
- func (m *KeychainEvent) GetEvent() isKeychainEvent_Event
- func (x *KeychainEvent) GetHasNoKeychain() *HasNoKeychainEvent
- func (x *KeychainEvent) GetRebuildKeychain() *RebuildKeychainEvent
- func (*KeychainEvent) ProtoMessage()
- func (x *KeychainEvent) ProtoReflect() protoreflect.Message
- func (x *KeychainEvent) Reset()
- func (x *KeychainEvent) String() string
- type KeychainEvent_ChangeKeychainFinished
- type KeychainEvent_HasNoKeychain
- type KeychainEvent_RebuildKeychain
- type LogLevel
- type LoginAbortRequest
- type LoginErrorEvent
- func (*LoginErrorEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LoginErrorEvent) GetMessage() string
- func (x *LoginErrorEvent) GetType() LoginErrorType
- func (*LoginErrorEvent) ProtoMessage()
- func (x *LoginErrorEvent) ProtoReflect() protoreflect.Message
- func (x *LoginErrorEvent) Reset()
- func (x *LoginErrorEvent) String() string
- type LoginErrorType
- func (LoginErrorType) Descriptor() protoreflect.EnumDescriptor
- func (x LoginErrorType) Enum() *LoginErrorType
- func (LoginErrorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoginErrorType) Number() protoreflect.EnumNumber
- func (x LoginErrorType) String() string
- func (LoginErrorType) Type() protoreflect.EnumType
- type LoginEvent
- func (*LoginEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LoginEvent) GetAlreadyLoggedIn() *LoginFinishedEvent
- func (x *LoginEvent) GetError() *LoginErrorEvent
- func (m *LoginEvent) GetEvent() isLoginEvent_Event
- func (x *LoginEvent) GetFinished() *LoginFinishedEvent
- func (x *LoginEvent) GetTfaRequested() *LoginTfaRequestedEvent
- func (x *LoginEvent) GetTwoPasswordRequested() *LoginTwoPasswordsRequestedEvent
- func (*LoginEvent) ProtoMessage()
- func (x *LoginEvent) ProtoReflect() protoreflect.Message
- func (x *LoginEvent) Reset()
- func (x *LoginEvent) String() string
- type LoginEvent_AlreadyLoggedIn
- type LoginEvent_Error
- type LoginEvent_Finished
- type LoginEvent_TfaRequested
- type LoginEvent_TwoPasswordRequested
- type LoginFinishedEvent
- func (*LoginFinishedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LoginFinishedEvent) GetUserID() string
- func (*LoginFinishedEvent) ProtoMessage()
- func (x *LoginFinishedEvent) ProtoReflect() protoreflect.Message
- func (x *LoginFinishedEvent) Reset()
- func (x *LoginFinishedEvent) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginTfaRequestedEvent
- func (*LoginTfaRequestedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LoginTfaRequestedEvent) GetUsername() string
- func (*LoginTfaRequestedEvent) ProtoMessage()
- func (x *LoginTfaRequestedEvent) ProtoReflect() protoreflect.Message
- func (x *LoginTfaRequestedEvent) Reset()
- func (x *LoginTfaRequestedEvent) String() string
- type LoginTwoPasswordsRequestedEvent
- func (*LoginTwoPasswordsRequestedEvent) Descriptor() ([]byte, []int)deprecated
- func (*LoginTwoPasswordsRequestedEvent) ProtoMessage()
- func (x *LoginTwoPasswordsRequestedEvent) ProtoReflect() protoreflect.Message
- func (x *LoginTwoPasswordsRequestedEvent) Reset()
- func (x *LoginTwoPasswordsRequestedEvent) String() string
- type MailEvent
- func (*MailEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MailEvent) GetAddressChanged() *AddressChangedEvent
- func (x *MailEvent) GetAddressChangedLogout() *AddressChangedLogoutEvent
- func (x *MailEvent) GetApiCertIssue() *ApiCertIssueEvent
- func (m *MailEvent) GetEvent() isMailEvent_Event
- func (x *MailEvent) GetNoActiveKeyForRecipientEvent() *NoActiveKeyForRecipientEvent
- func (*MailEvent) ProtoMessage()
- func (x *MailEvent) ProtoReflect() protoreflect.Message
- func (x *MailEvent) Reset()
- func (x *MailEvent) String() string
- type MailEvent_AddressChanged
- type MailEvent_AddressChangedLogout
- type MailEvent_ApiCertIssue
- type MailEvent_NoActiveKeyForRecipientEvent
- type MailSettingsErrorEvent
- func (*MailSettingsErrorEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MailSettingsErrorEvent) GetType() MailSettingsErrorType
- func (*MailSettingsErrorEvent) ProtoMessage()
- func (x *MailSettingsErrorEvent) ProtoReflect() protoreflect.Message
- func (x *MailSettingsErrorEvent) Reset()
- func (x *MailSettingsErrorEvent) String() string
- type MailSettingsErrorType
- func (MailSettingsErrorType) Descriptor() protoreflect.EnumDescriptor
- func (x MailSettingsErrorType) Enum() *MailSettingsErrorType
- func (MailSettingsErrorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MailSettingsErrorType) Number() protoreflect.EnumNumber
- func (x MailSettingsErrorType) String() string
- func (MailSettingsErrorType) Type() protoreflect.EnumType
- type MailSettingsEvent
- func (*MailSettingsEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MailSettingsEvent) GetChangePortsFinished() *ChangePortsFinishedEvent
- func (x *MailSettingsEvent) GetError() *MailSettingsErrorEvent
- func (m *MailSettingsEvent) GetEvent() isMailSettingsEvent_Event
- func (x *MailSettingsEvent) GetUseSslForSmtpFinished() *UseSslForSmtpFinishedEvent
- func (*MailSettingsEvent) ProtoMessage()
- func (x *MailSettingsEvent) ProtoReflect() protoreflect.Message
- func (x *MailSettingsEvent) Reset()
- func (x *MailSettingsEvent) String() string
- type MailSettingsEvent_ChangePortsFinished
- type MailSettingsEvent_Error
- type MailSettingsEvent_UseSslForSmtpFinished
- type NoActiveKeyForRecipientEvent
- func (*NoActiveKeyForRecipientEvent) Descriptor() ([]byte, []int)deprecated
- func (x *NoActiveKeyForRecipientEvent) GetEmail() string
- func (*NoActiveKeyForRecipientEvent) ProtoMessage()
- func (x *NoActiveKeyForRecipientEvent) ProtoReflect() protoreflect.Message
- func (x *NoActiveKeyForRecipientEvent) Reset()
- func (x *NoActiveKeyForRecipientEvent) String() string
- type RebuildKeychainEvent
- type ReportBugErrorEvent
- type ReportBugFinishedEvent
- type ReportBugRequest
- func (*ReportBugRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportBugRequest) GetAddress() string
- func (x *ReportBugRequest) GetDescription() string
- func (x *ReportBugRequest) GetEmailClient() string
- func (x *ReportBugRequest) GetIncludeLogs() bool
- func (x *ReportBugRequest) GetOsType() string
- func (x *ReportBugRequest) GetOsVersion() string
- func (*ReportBugRequest) ProtoMessage()
- func (x *ReportBugRequest) ProtoReflect() protoreflect.Message
- func (x *ReportBugRequest) Reset()
- func (x *ReportBugRequest) String() string
- type ReportBugSuccessEvent
- type ResetFinishedEvent
- type Service
- func (s *Service) AddLogEntry(ctx context.Context, request *AddLogEntryRequest) (*emptypb.Empty, error)
- func (s *Service) AvailableKeychains(ctx context.Context, _ *emptypb.Empty) (*AvailableKeychainsResponse, error)
- func (s *Service) ChangeLocalCache(ctx context.Context, change *ChangeLocalCacheRequest) (*emptypb.Empty, error)
- func (s *Service) ChangePorts(ctx context.Context, ports *ChangePortsRequest) (*emptypb.Empty, error)
- func (s *Service) CheckTokens(ctx context.Context, clientConfigPath *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
- func (s *Service) CheckUpdate(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) ColorSchemeName(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) ConfigureUserAppleMail(ctx context.Context, request *ConfigureAppleMailRequest) (*emptypb.Empty, error)
- func (s *Service) CurrentEmailClient(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) CurrentKeychain(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) DependencyLicensesLink(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) DiskCachePath(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) ForceLauncher(ctx context.Context, launcher *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (s *Service) GetUser(ctx context.Context, userID *wrapperspb.StringValue) (*User, error)
- func (s *Service) GetUserList(ctx context.Context, _ *emptypb.Empty) (*UserListResponse, error)
- func (s *Service) GoOs(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) GuiReady(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) Hostname(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) ImapPort(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.Int32Value, error)
- func (s *Service) InstallUpdate(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) IsAllMailVisible(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) IsAutomaticUpdateOn(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) IsAutostartOn(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) IsBetaEnabled(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) IsCacheOnDiskEnabled(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) IsDoHEnabled(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) IsFirstGuiStart(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) IsPortFree(ctx context.Context, port *wrapperspb.Int32Value) (*wrapperspb.BoolValue, error)
- func (s *Service) LandingPageLink(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) LicensePath(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) Login(ctx context.Context, login *LoginRequest) (*emptypb.Empty, error)
- func (s *Service) Login2FA(ctx context.Context, login *LoginRequest) (*emptypb.Empty, error)
- func (s *Service) Login2Passwords(ctx context.Context, login *LoginRequest) (*emptypb.Empty, error)
- func (s *Service) LoginAbort(ctx context.Context, loginAbort *LoginAbortRequest) (*emptypb.Empty, error)
- func (s *Service) LogoutUser(ctx context.Context, userID *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (s *Service) LogsPath(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) Loop(b types.Bridger) error
- func (s *Service) NotifyManualUpdate(version updater.VersionInfo, canInstall bool)
- func (s *Service) NotifySilentUpdateError(err error)
- func (s *Service) NotifySilentUpdateInstalled()
- func (s *Service) Quit(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) ReleaseNotesPageLink(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) RemoveUser(ctx context.Context, userID *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (s *Service) ReportBug(ctx context.Context, report *ReportBugRequest) (*emptypb.Empty, error)
- func (s *Service) Restart(ctx context.Context, empty *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) RunEventStream(request *EventStreamRequest, server Bridge_RunEventStreamServer) error
- func (s *Service) SendEvent(event *StreamEvent) error
- func (s *Service) SetColorSchemeName(ctx context.Context, name *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (s *Service) SetCurrentKeychain(ctx context.Context, keychain *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (s *Service) SetIsAllMailVisible(ctx context.Context, isVisible *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (s *Service) SetIsAutomaticUpdateOn(ctx context.Context, isOn *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (s *Service) SetIsAutostartOn(ctx context.Context, isOn *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (s *Service) SetIsBetaEnabled(ctx context.Context, isEnabled *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (s *Service) SetIsDoHEnabled(ctx context.Context, isEnabled *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (s *Service) SetMainExecutable(ctx context.Context, exe *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (s *Service) SetUseSslForSmtp(ctx context.Context, useSsl *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (s *Service) SetUserSplitMode(ctx context.Context, splitMode *UserSplitModeRequest) (*emptypb.Empty, error)
- func (s *Service) SetVersion(update updater.VersionInfo)
- func (s *Service) ShowOnStartup(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) ShowSplashScreen(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) SmtpPort(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.Int32Value, error)
- func (s *Service) StartEventTest() error
- func (s *Service) StopEventStream(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) TriggerReset(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *Service) UseSslForSmtp(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (s *Service) Version(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (s *Service) WaitUntilFrontendIsReady()
- type ShowMainWindowEvent
- type StreamEvent
- func NewCacheChangeLocalCacheFinishedEvent(willRestart bool) *StreamEvent
- func NewCacheErrorEvent(err CacheErrorType) *StreamEvent
- func NewCacheLocationChangeSuccessEvent() *StreamEvent
- func NewDiskCachePathChanged(path string) *StreamEvent
- func NewInternetStatusEvent(connected bool) *StreamEvent
- func NewIsCacheOnDiskEnabledChanged(enabled bool) *StreamEvent
- func NewKeychainChangeKeychainFinishedEvent() *StreamEvent
- func NewKeychainHasNoKeychainEvent() *StreamEvent
- func NewKeychainRebuildKeychainEvent() *StreamEvent
- func NewLoginAlreadyLoggedInEvent(userID string) *StreamEvent
- func NewLoginError(err LoginErrorType, message string) *StreamEvent
- func NewLoginFinishedEvent(userID string) *StreamEvent
- func NewLoginTfaRequestedEvent(username string) *StreamEvent
- func NewLoginTwoPasswordsRequestedEvent() *StreamEvent
- func NewMailAddressChangeEvent(email string) *StreamEvent
- func NewMailAddressChangeLogoutEvent(email string) *StreamEvent
- func NewMailApiCertIssue() *StreamEvent
- func NewMailNoActiveKeyForRecipientEvent(email string) *StreamEvent
- func NewMailSettingsChangePortFinishedEvent() *StreamEvent
- func NewMailSettingsErrorEvent(err MailSettingsErrorType) *StreamEvent
- func NewMailSettingsUseSslForSmtpFinishedEvent() *StreamEvent
- func NewReportBugErrorEvent() *StreamEvent
- func NewReportBugFinishedEvent() *StreamEvent
- func NewReportBugSuccessEvent() *StreamEvent
- func NewResetFinishedEvent() *StreamEvent
- func NewShowMainWindowEvent() *StreamEvent
- func NewToggleAutostartFinishedEvent() *StreamEvent
- func NewUpdateCheckFinishedEvent() *StreamEvent
- func NewUpdateErrorEvent(errorType UpdateErrorType) *StreamEvent
- func NewUpdateForceEvent(version string) *StreamEvent
- func NewUpdateIsLatestVersionEvent() *StreamEvent
- func NewUpdateManualReadyEvent(version string) *StreamEvent
- func NewUpdateManualRestartNeededEvent() *StreamEvent
- func NewUpdateSilentRestartNeededEvent() *StreamEvent
- func NewUpdateVersionChangedEvent() *StreamEvent
- func NewUserChangedEvent(userID string) *StreamEvent
- func NewUserDisconnectedEvent(email string) *StreamEvent
- func NewUserToggleSplitModeFinishedEvent(userID string) *StreamEvent
- func (*StreamEvent) Descriptor() ([]byte, []int)deprecated
- func (x *StreamEvent) GetApp() *AppEvent
- func (x *StreamEvent) GetCache() *CacheEvent
- func (m *StreamEvent) GetEvent() isStreamEvent_Event
- func (x *StreamEvent) GetKeychain() *KeychainEvent
- func (x *StreamEvent) GetLogin() *LoginEvent
- func (x *StreamEvent) GetMail() *MailEvent
- func (x *StreamEvent) GetMailSettings() *MailSettingsEvent
- func (x *StreamEvent) GetUpdate() *UpdateEvent
- func (x *StreamEvent) GetUser() *UserEvent
- func (*StreamEvent) ProtoMessage()
- func (x *StreamEvent) ProtoReflect() protoreflect.Message
- func (x *StreamEvent) Reset()
- func (x *StreamEvent) String() string
- type StreamEvent_App
- type StreamEvent_Cache
- type StreamEvent_Keychain
- type StreamEvent_Login
- type StreamEvent_Mail
- type StreamEvent_MailSettings
- type StreamEvent_Update
- type StreamEvent_User
- type ToggleAutostartFinishedEvent
- func (*ToggleAutostartFinishedEvent) Descriptor() ([]byte, []int)deprecated
- func (*ToggleAutostartFinishedEvent) ProtoMessage()
- func (x *ToggleAutostartFinishedEvent) ProtoReflect() protoreflect.Message
- func (x *ToggleAutostartFinishedEvent) Reset()
- func (x *ToggleAutostartFinishedEvent) String() string
- type ToggleSplitModeFinishedEvent
- func (*ToggleSplitModeFinishedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleSplitModeFinishedEvent) GetUserID() string
- func (*ToggleSplitModeFinishedEvent) ProtoMessage()
- func (x *ToggleSplitModeFinishedEvent) ProtoReflect() protoreflect.Message
- func (x *ToggleSplitModeFinishedEvent) Reset()
- func (x *ToggleSplitModeFinishedEvent) String() string
- type UnimplementedBridgeServer
- func (UnimplementedBridgeServer) AddLogEntry(context.Context, *AddLogEntryRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) AvailableKeychains(context.Context, *emptypb.Empty) (*AvailableKeychainsResponse, error)
- func (UnimplementedBridgeServer) ChangeLocalCache(context.Context, *ChangeLocalCacheRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) ChangePorts(context.Context, *ChangePortsRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) CheckTokens(context.Context, *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) CheckUpdate(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) ColorSchemeName(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) ConfigureUserAppleMail(context.Context, *ConfigureAppleMailRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) CurrentEmailClient(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) CurrentKeychain(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) DependencyLicensesLink(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) DiskCachePath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) ForceLauncher(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) GetUser(context.Context, *wrapperspb.StringValue) (*User, error)
- func (UnimplementedBridgeServer) GetUserList(context.Context, *emptypb.Empty) (*UserListResponse, error)
- func (UnimplementedBridgeServer) GoOs(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) GuiReady(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) ImapPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error)
- func (UnimplementedBridgeServer) InstallUpdate(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) IsAllMailVisible(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) IsAutomaticUpdateOn(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) IsAutostartOn(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) IsBetaEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) IsCacheOnDiskEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) IsDoHEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) IsFirstGuiStart(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) IsPortFree(context.Context, *wrapperspb.Int32Value) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) LandingPageLink(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) LicensePath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) Login(context.Context, *LoginRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) Login2FA(context.Context, *LoginRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) Login2Passwords(context.Context, *LoginRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) LoginAbort(context.Context, *LoginAbortRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) LogoutUser(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) LogsPath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) Quit(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) ReleaseNotesPageLink(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- func (UnimplementedBridgeServer) RemoveUser(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) ReportBug(context.Context, *ReportBugRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) Restart(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) RunEventStream(*EventStreamRequest, Bridge_RunEventStreamServer) error
- func (UnimplementedBridgeServer) SetColorSchemeName(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) SetCurrentKeychain(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) SetIsAllMailVisible(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) SetIsAutomaticUpdateOn(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) SetIsAutostartOn(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) SetIsBetaEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) SetIsDoHEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) SetMainExecutable(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) SetUseSslForSmtp(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) SetUserSplitMode(context.Context, *UserSplitModeRequest) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) ShowOnStartup(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) ShowSplashScreen(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) SmtpPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error)
- func (UnimplementedBridgeServer) StopEventStream(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) TriggerReset(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedBridgeServer) UseSslForSmtp(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
- func (UnimplementedBridgeServer) Version(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- type UnsafeBridgeServer
- type UpdateCheckFinished
- type UpdateErrorEvent
- type UpdateErrorType
- func (UpdateErrorType) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateErrorType) Enum() *UpdateErrorType
- func (UpdateErrorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateErrorType) Number() protoreflect.EnumNumber
- func (x UpdateErrorType) String() string
- func (UpdateErrorType) Type() protoreflect.EnumType
- type UpdateEvent
- func (*UpdateEvent) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEvent) GetCheckFinished() *UpdateCheckFinished
- func (x *UpdateEvent) GetError() *UpdateErrorEvent
- func (m *UpdateEvent) GetEvent() isUpdateEvent_Event
- func (x *UpdateEvent) GetForce() *UpdateForceEvent
- func (x *UpdateEvent) GetIsLatestVersion() *UpdateIsLatestVersion
- func (x *UpdateEvent) GetManualReady() *UpdateManualReadyEvent
- func (x *UpdateEvent) GetManualRestartNeeded() *UpdateManualRestartNeededEvent
- func (x *UpdateEvent) GetSilentRestartNeeded() *UpdateSilentRestartNeeded
- func (x *UpdateEvent) GetVersionChanged() *UpdateVersionChanged
- func (*UpdateEvent) ProtoMessage()
- func (x *UpdateEvent) ProtoReflect() protoreflect.Message
- func (x *UpdateEvent) Reset()
- func (x *UpdateEvent) String() string
- type UpdateEvent_CheckFinished
- type UpdateEvent_Error
- type UpdateEvent_Force
- type UpdateEvent_IsLatestVersion
- type UpdateEvent_ManualReady
- type UpdateEvent_ManualRestartNeeded
- type UpdateEvent_SilentRestartNeeded
- type UpdateEvent_VersionChanged
- type UpdateForceEvent
- type UpdateIsLatestVersion
- type UpdateManualReadyEvent
- func (*UpdateManualReadyEvent) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateManualReadyEvent) GetVersion() string
- func (*UpdateManualReadyEvent) ProtoMessage()
- func (x *UpdateManualReadyEvent) ProtoReflect() protoreflect.Message
- func (x *UpdateManualReadyEvent) Reset()
- func (x *UpdateManualReadyEvent) String() string
- type UpdateManualRestartNeededEvent
- func (*UpdateManualRestartNeededEvent) Descriptor() ([]byte, []int)deprecated
- func (*UpdateManualRestartNeededEvent) ProtoMessage()
- func (x *UpdateManualRestartNeededEvent) ProtoReflect() protoreflect.Message
- func (x *UpdateManualRestartNeededEvent) Reset()
- func (x *UpdateManualRestartNeededEvent) String() string
- type UpdateSilentRestartNeeded
- type UpdateVersionChanged
- type UseSslForSmtpFinishedEvent
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAddresses() []string
- func (x *User) GetAvatarText() string
- func (x *User) GetId() string
- func (x *User) GetLoggedIn() bool
- func (x *User) GetPassword() string
- func (x *User) GetSetupGuideSeen() bool
- func (x *User) GetSplitMode() bool
- func (x *User) GetTotalBytes() int64
- func (x *User) GetUsedBytes() int64
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserChangedEvent
- type UserDisconnectedEvent
- func (*UserDisconnectedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *UserDisconnectedEvent) GetUsername() string
- func (*UserDisconnectedEvent) ProtoMessage()
- func (x *UserDisconnectedEvent) ProtoReflect() protoreflect.Message
- func (x *UserDisconnectedEvent) Reset()
- func (x *UserDisconnectedEvent) String() string
- type UserEvent
- func (*UserEvent) Descriptor() ([]byte, []int)deprecated
- func (m *UserEvent) GetEvent() isUserEvent_Event
- func (x *UserEvent) GetToggleSplitModeFinished() *ToggleSplitModeFinishedEvent
- func (x *UserEvent) GetUserChanged() *UserChangedEvent
- func (x *UserEvent) GetUserDisconnected() *UserDisconnectedEvent
- func (*UserEvent) ProtoMessage()
- func (x *UserEvent) ProtoReflect() protoreflect.Message
- func (x *UserEvent) Reset()
- func (x *UserEvent) String() string
- type UserEvent_ToggleSplitModeFinished
- type UserEvent_UserChanged
- type UserEvent_UserDisconnected
- type UserListResponse
- type UserSplitModeRequest
- func (*UserSplitModeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserSplitModeRequest) GetActive() bool
- func (x *UserSplitModeRequest) GetUserID() string
- func (*UserSplitModeRequest) ProtoMessage()
- func (x *UserSplitModeRequest) ProtoReflect() protoreflect.Message
- func (x *UserSplitModeRequest) Reset()
- func (x *UserSplitModeRequest) String() string
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
var ( CacheErrorType_name = map[int32]string{ 0: "CACHE_UNAVAILABLE_ERROR", 1: "CACHE_CANT_MOVE_ERROR", 2: "DISK_FULL", } CacheErrorType_value = map[string]int32{ "CACHE_UNAVAILABLE_ERROR": 0, "CACHE_CANT_MOVE_ERROR": 1, "DISK_FULL": 2, } )
Enum value maps for CacheErrorType.
var ( MailSettingsErrorType_name = map[int32]string{ 0: "IMAP_PORT_ISSUE", 1: "SMTP_PORT_ISSUE", } MailSettingsErrorType_value = map[string]int32{ "IMAP_PORT_ISSUE": 0, "SMTP_PORT_ISSUE": 1, } )
Enum value maps for MailSettingsErrorType.
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: "ShowSplashScreen", Handler: _Bridge_ShowSplashScreen_Handler, }, { MethodName: "IsFirstGuiStart", Handler: _Bridge_IsFirstGuiStart_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: "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: "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: "IsCacheOnDiskEnabled", Handler: _Bridge_IsCacheOnDiskEnabled_Handler, }, { MethodName: "DiskCachePath", Handler: _Bridge_DiskCachePath_Handler, }, { MethodName: "ChangeLocalCache", Handler: _Bridge_ChangeLocalCache_Handler, }, { MethodName: "SetIsDoHEnabled", Handler: _Bridge_SetIsDoHEnabled_Handler, }, { MethodName: "IsDoHEnabled", Handler: _Bridge_IsDoHEnabled_Handler, }, { MethodName: "SetUseSslForSmtp", Handler: _Bridge_SetUseSslForSmtp_Handler, }, { MethodName: "UseSslForSmtp", Handler: _Bridge_UseSslForSmtp_Handler, }, { MethodName: "Hostname", Handler: _Bridge_Hostname_Handler, }, { MethodName: "ImapPort", Handler: _Bridge_ImapPort_Handler, }, { MethodName: "SmtpPort", Handler: _Bridge_SmtpPort_Handler, }, { MethodName: "ChangePorts", Handler: _Bridge_ChangePorts_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: "LogoutUser", Handler: _Bridge_LogoutUser_Handler, }, { MethodName: "RemoveUser", Handler: _Bridge_RemoveUser_Handler, }, { MethodName: "ConfigureUserAppleMail", Handler: _Bridge_ConfigureUserAppleMail_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)
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 (x *AddressChangedLogoutEvent) ProtoReflect() protoreflect.Message
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 Event isAppEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
********************************************************** App related events **********************************************************
func (*AppEvent) Descriptor
deprecated
func (*AppEvent) GetInternetStatus ¶
func (x *AppEvent) GetInternetStatus() *InternetStatusEvent
func (*AppEvent) GetReportBugError ¶
func (x *AppEvent) GetReportBugError() *ReportBugErrorEvent
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
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_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 (x *AvailableKeychainsResponse) ProtoReflect() protoreflect.Message
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) (*emptypb.Empty, 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) ShowSplashScreen(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) IsFirstGuiStart(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) 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) 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 IsCacheOnDiskEnabled(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) DiskCachePath(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) ChangeLocalCache(ctx context.Context, in *ChangeLocalCacheRequest, 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) SetUseSslForSmtp(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error) UseSslForSmtp(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) Hostname(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) ImapPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) SmtpPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) ChangePorts(ctx context.Context, in *ChangePortsRequest, opts ...grpc.CallOption) (*emptypb.Empty, 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) 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) // 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) (*emptypb.Empty, 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) ShowSplashScreen(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) IsFirstGuiStart(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) 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) 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 IsCacheOnDiskEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) DiskCachePath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) ChangeLocalCache(context.Context, *ChangeLocalCacheRequest) (*emptypb.Empty, error) // mail SetIsDoHEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) IsDoHEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) SetUseSslForSmtp(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) UseSslForSmtp(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) ImapPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error) SmtpPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error) ChangePorts(context.Context, *ChangePortsRequest) (*emptypb.Empty, 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) LogoutUser(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error) RemoveUser(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error) ConfigureUserAppleMail(context.Context, *ConfigureAppleMailRequest) (*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 CacheErrorEvent ¶
type CacheErrorEvent struct { Type CacheErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.CacheErrorType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CacheErrorEvent) Descriptor
deprecated
func (*CacheErrorEvent) Descriptor() ([]byte, []int)
Deprecated: Use CacheErrorEvent.ProtoReflect.Descriptor instead.
func (*CacheErrorEvent) GetType ¶
func (x *CacheErrorEvent) GetType() CacheErrorType
func (*CacheErrorEvent) ProtoMessage ¶
func (*CacheErrorEvent) ProtoMessage()
func (*CacheErrorEvent) ProtoReflect ¶
func (x *CacheErrorEvent) ProtoReflect() protoreflect.Message
func (*CacheErrorEvent) Reset ¶
func (x *CacheErrorEvent) Reset()
func (*CacheErrorEvent) String ¶
func (x *CacheErrorEvent) String() string
type CacheErrorType ¶
type CacheErrorType int32
const ( CacheErrorType_CACHE_UNAVAILABLE_ERROR CacheErrorType = 0 CacheErrorType_CACHE_CANT_MOVE_ERROR CacheErrorType = 1 CacheErrorType_DISK_FULL CacheErrorType = 2 )
func (CacheErrorType) Descriptor ¶
func (CacheErrorType) Descriptor() protoreflect.EnumDescriptor
func (CacheErrorType) Enum ¶
func (x CacheErrorType) Enum() *CacheErrorType
func (CacheErrorType) EnumDescriptor
deprecated
func (CacheErrorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CacheErrorType.Descriptor instead.
func (CacheErrorType) Number ¶
func (x CacheErrorType) Number() protoreflect.EnumNumber
func (CacheErrorType) String ¶
func (x CacheErrorType) String() string
func (CacheErrorType) Type ¶
func (CacheErrorType) Type() protoreflect.EnumType
type CacheEvent ¶
type CacheEvent struct { // Types that are assignable to Event: // *CacheEvent_Error // *CacheEvent_LocationChangedSuccess // *CacheEvent_ChangeLocalCacheFinished // *CacheEvent_IsCacheOnDiskEnabledChanged // *CacheEvent_DiskCachePathChanged Event isCacheEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
********************************************************** Cache on disk related events **********************************************************
func (*CacheEvent) Descriptor
deprecated
func (*CacheEvent) Descriptor() ([]byte, []int)
Deprecated: Use CacheEvent.ProtoReflect.Descriptor instead.
func (*CacheEvent) GetChangeLocalCacheFinished ¶
func (x *CacheEvent) GetChangeLocalCacheFinished() *ChangeLocalCacheFinishedEvent
func (*CacheEvent) GetDiskCachePathChanged ¶
func (x *CacheEvent) GetDiskCachePathChanged() *DiskCachePathChanged
func (*CacheEvent) GetError ¶
func (x *CacheEvent) GetError() *CacheErrorEvent
func (*CacheEvent) GetEvent ¶
func (m *CacheEvent) GetEvent() isCacheEvent_Event
func (*CacheEvent) GetIsCacheOnDiskEnabledChanged ¶
func (x *CacheEvent) GetIsCacheOnDiskEnabledChanged() *IsCacheOnDiskEnabledChanged
func (*CacheEvent) GetLocationChangedSuccess ¶
func (x *CacheEvent) GetLocationChangedSuccess() *CacheLocationChangeSuccessEvent
func (*CacheEvent) ProtoMessage ¶
func (*CacheEvent) ProtoMessage()
func (*CacheEvent) ProtoReflect ¶
func (x *CacheEvent) ProtoReflect() protoreflect.Message
func (*CacheEvent) Reset ¶
func (x *CacheEvent) Reset()
func (*CacheEvent) String ¶
func (x *CacheEvent) String() string
type CacheEvent_ChangeLocalCacheFinished ¶
type CacheEvent_ChangeLocalCacheFinished struct {
ChangeLocalCacheFinished *ChangeLocalCacheFinishedEvent `protobuf:"bytes,3,opt,name=changeLocalCacheFinished,proto3,oneof"`
}
type CacheEvent_DiskCachePathChanged ¶
type CacheEvent_DiskCachePathChanged struct {
DiskCachePathChanged *DiskCachePathChanged `protobuf:"bytes,5,opt,name=diskCachePathChanged,proto3,oneof"`
}
type CacheEvent_Error ¶
type CacheEvent_Error struct {
Error *CacheErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type CacheEvent_IsCacheOnDiskEnabledChanged ¶
type CacheEvent_IsCacheOnDiskEnabledChanged struct {
IsCacheOnDiskEnabledChanged *IsCacheOnDiskEnabledChanged `protobuf:"bytes,4,opt,name=isCacheOnDiskEnabledChanged,proto3,oneof"`
}
type CacheEvent_LocationChangedSuccess ¶
type CacheEvent_LocationChangedSuccess struct {
LocationChangedSuccess *CacheLocationChangeSuccessEvent `protobuf:"bytes,2,opt,name=locationChangedSuccess,proto3,oneof"`
}
type CacheLocationChangeSuccessEvent ¶
type CacheLocationChangeSuccessEvent struct {
// contains filtered or unexported fields
}
func (*CacheLocationChangeSuccessEvent) Descriptor
deprecated
func (*CacheLocationChangeSuccessEvent) Descriptor() ([]byte, []int)
Deprecated: Use CacheLocationChangeSuccessEvent.ProtoReflect.Descriptor instead.
func (*CacheLocationChangeSuccessEvent) ProtoMessage ¶
func (*CacheLocationChangeSuccessEvent) ProtoMessage()
func (*CacheLocationChangeSuccessEvent) ProtoReflect ¶
func (x *CacheLocationChangeSuccessEvent) ProtoReflect() protoreflect.Message
func (*CacheLocationChangeSuccessEvent) Reset ¶
func (x *CacheLocationChangeSuccessEvent) Reset()
func (*CacheLocationChangeSuccessEvent) String ¶
func (x *CacheLocationChangeSuccessEvent) String() string
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 (x *ChangeKeychainFinishedEvent) ProtoReflect() protoreflect.Message
func (*ChangeKeychainFinishedEvent) Reset ¶
func (x *ChangeKeychainFinishedEvent) Reset()
func (*ChangeKeychainFinishedEvent) String ¶
func (x *ChangeKeychainFinishedEvent) String() string
type ChangeLocalCacheFinishedEvent ¶
type ChangeLocalCacheFinishedEvent struct { WillRestart bool `protobuf:"varint,1,opt,name=willRestart,proto3" json:"willRestart,omitempty"` // contains filtered or unexported fields }
func (*ChangeLocalCacheFinishedEvent) Descriptor
deprecated
func (*ChangeLocalCacheFinishedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ChangeLocalCacheFinishedEvent.ProtoReflect.Descriptor instead.
func (*ChangeLocalCacheFinishedEvent) GetWillRestart ¶
func (x *ChangeLocalCacheFinishedEvent) GetWillRestart() bool
func (*ChangeLocalCacheFinishedEvent) ProtoMessage ¶
func (*ChangeLocalCacheFinishedEvent) ProtoMessage()
func (*ChangeLocalCacheFinishedEvent) ProtoReflect ¶
func (x *ChangeLocalCacheFinishedEvent) ProtoReflect() protoreflect.Message
func (*ChangeLocalCacheFinishedEvent) Reset ¶
func (x *ChangeLocalCacheFinishedEvent) Reset()
func (*ChangeLocalCacheFinishedEvent) String ¶
func (x *ChangeLocalCacheFinishedEvent) String() string
type ChangeLocalCacheRequest ¶
type ChangeLocalCacheRequest struct { EnableDiskCache bool `protobuf:"varint,1,opt,name=enableDiskCache,proto3" json:"enableDiskCache,omitempty"` DiskCachePath string `protobuf:"bytes,2,opt,name=diskCachePath,proto3" json:"diskCachePath,omitempty"` // contains filtered or unexported fields }
********************************************************** Cache on disk related message **********************************************************
func (*ChangeLocalCacheRequest) Descriptor
deprecated
func (*ChangeLocalCacheRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeLocalCacheRequest.ProtoReflect.Descriptor instead.
func (*ChangeLocalCacheRequest) GetDiskCachePath ¶
func (x *ChangeLocalCacheRequest) GetDiskCachePath() string
func (*ChangeLocalCacheRequest) GetEnableDiskCache ¶
func (x *ChangeLocalCacheRequest) GetEnableDiskCache() bool
func (*ChangeLocalCacheRequest) ProtoMessage ¶
func (*ChangeLocalCacheRequest) ProtoMessage()
func (*ChangeLocalCacheRequest) ProtoReflect ¶
func (x *ChangeLocalCacheRequest) ProtoReflect() protoreflect.Message
func (*ChangeLocalCacheRequest) Reset ¶
func (x *ChangeLocalCacheRequest) Reset()
func (*ChangeLocalCacheRequest) String ¶
func (x *ChangeLocalCacheRequest) String() string
type ChangePortsFinishedEvent ¶
type ChangePortsFinishedEvent struct {
// contains filtered or unexported fields
}
func (*ChangePortsFinishedEvent) Descriptor
deprecated
func (*ChangePortsFinishedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ChangePortsFinishedEvent.ProtoReflect.Descriptor instead.
func (*ChangePortsFinishedEvent) ProtoMessage ¶
func (*ChangePortsFinishedEvent) ProtoMessage()
func (*ChangePortsFinishedEvent) ProtoReflect ¶
func (x *ChangePortsFinishedEvent) ProtoReflect() protoreflect.Message
func (*ChangePortsFinishedEvent) Reset ¶
func (x *ChangePortsFinishedEvent) Reset()
func (*ChangePortsFinishedEvent) String ¶
func (x *ChangePortsFinishedEvent) String() string
type ChangePortsRequest ¶
type ChangePortsRequest 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"` // contains filtered or unexported fields }
********************************************************** Port related message **********************************************************
func (*ChangePortsRequest) Descriptor
deprecated
func (*ChangePortsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePortsRequest.ProtoReflect.Descriptor instead.
func (*ChangePortsRequest) GetImapPort ¶
func (x *ChangePortsRequest) GetImapPort() int32
func (*ChangePortsRequest) GetSmtpPort ¶
func (x *ChangePortsRequest) GetSmtpPort() int32
func (*ChangePortsRequest) ProtoMessage ¶
func (*ChangePortsRequest) ProtoMessage()
func (*ChangePortsRequest) ProtoReflect ¶
func (x *ChangePortsRequest) ProtoReflect() protoreflect.Message
func (*ChangePortsRequest) Reset ¶
func (x *ChangePortsRequest) Reset()
func (*ChangePortsRequest) String ¶
func (x *ChangePortsRequest) String() 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 (x *ConfigureAppleMailRequest) ProtoReflect() protoreflect.Message
func (*ConfigureAppleMailRequest) Reset ¶
func (x *ConfigureAppleMailRequest) Reset()
func (*ConfigureAppleMailRequest) String ¶
func (x *ConfigureAppleMailRequest) String() string
type DiskCachePathChanged ¶
type DiskCachePathChanged struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*DiskCachePathChanged) Descriptor
deprecated
func (*DiskCachePathChanged) Descriptor() ([]byte, []int)
Deprecated: Use DiskCachePathChanged.ProtoReflect.Descriptor instead.
func (*DiskCachePathChanged) GetPath ¶
func (x *DiskCachePathChanged) GetPath() string
func (*DiskCachePathChanged) ProtoMessage ¶
func (*DiskCachePathChanged) ProtoMessage()
func (*DiskCachePathChanged) ProtoReflect ¶
func (x *DiskCachePathChanged) ProtoReflect() protoreflect.Message
func (*DiskCachePathChanged) Reset ¶
func (x *DiskCachePathChanged) Reset()
func (*DiskCachePathChanged) String ¶
func (x *DiskCachePathChanged) String() string
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 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 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 IsCacheOnDiskEnabledChanged ¶
type IsCacheOnDiskEnabledChanged struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*IsCacheOnDiskEnabledChanged) Descriptor
deprecated
func (*IsCacheOnDiskEnabledChanged) Descriptor() ([]byte, []int)
Deprecated: Use IsCacheOnDiskEnabledChanged.ProtoReflect.Descriptor instead.
func (*IsCacheOnDiskEnabledChanged) GetEnabled ¶
func (x *IsCacheOnDiskEnabledChanged) GetEnabled() bool
func (*IsCacheOnDiskEnabledChanged) ProtoMessage ¶
func (*IsCacheOnDiskEnabledChanged) ProtoMessage()
func (*IsCacheOnDiskEnabledChanged) ProtoReflect ¶
func (x *IsCacheOnDiskEnabledChanged) ProtoReflect() protoreflect.Message
func (*IsCacheOnDiskEnabledChanged) Reset ¶
func (x *IsCacheOnDiskEnabledChanged) Reset()
func (*IsCacheOnDiskEnabledChanged) String ¶
func (x *IsCacheOnDiskEnabledChanged) 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
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
type 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) Descriptor() protoreflect.EnumDescriptor
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 (x LoginErrorType) Number() protoreflect.EnumNumber
func (LoginErrorType) String ¶
func (x LoginErrorType) String() string
func (LoginErrorType) Type ¶
func (LoginErrorType) Type() protoreflect.EnumType
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"` // 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) 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 string `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() string
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 (x *LoginTwoPasswordsRequestedEvent) ProtoReflect() protoreflect.Message
func (*LoginTwoPasswordsRequestedEvent) Reset ¶
func (x *LoginTwoPasswordsRequestedEvent) Reset()
func (*LoginTwoPasswordsRequestedEvent) String ¶
func (x *LoginTwoPasswordsRequestedEvent) String() 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) GetAddressChanged ¶
func (x *MailEvent) GetAddressChanged() *AddressChangedEvent
func (*MailEvent) GetAddressChangedLogout ¶
func (x *MailEvent) GetAddressChangedLogout() *AddressChangedLogoutEvent
func (*MailEvent) GetApiCertIssue ¶
func (x *MailEvent) GetApiCertIssue() *ApiCertIssueEvent
func (*MailEvent) GetNoActiveKeyForRecipientEvent ¶
func (x *MailEvent) GetNoActiveKeyForRecipientEvent() *NoActiveKeyForRecipientEvent
func (*MailEvent) ProtoMessage ¶
func (*MailEvent) ProtoMessage()
func (*MailEvent) ProtoReflect ¶
func (x *MailEvent) ProtoReflect() protoreflect.Message
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 MailSettingsErrorEvent ¶
type MailSettingsErrorEvent struct { Type MailSettingsErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.MailSettingsErrorType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*MailSettingsErrorEvent) Descriptor
deprecated
func (*MailSettingsErrorEvent) Descriptor() ([]byte, []int)
Deprecated: Use MailSettingsErrorEvent.ProtoReflect.Descriptor instead.
func (*MailSettingsErrorEvent) GetType ¶
func (x *MailSettingsErrorEvent) GetType() MailSettingsErrorType
func (*MailSettingsErrorEvent) ProtoMessage ¶
func (*MailSettingsErrorEvent) ProtoMessage()
func (*MailSettingsErrorEvent) ProtoReflect ¶
func (x *MailSettingsErrorEvent) ProtoReflect() protoreflect.Message
func (*MailSettingsErrorEvent) Reset ¶
func (x *MailSettingsErrorEvent) Reset()
func (*MailSettingsErrorEvent) String ¶
func (x *MailSettingsErrorEvent) String() string
type MailSettingsErrorType ¶
type MailSettingsErrorType int32
const ( MailSettingsErrorType_IMAP_PORT_ISSUE MailSettingsErrorType = 0 MailSettingsErrorType_SMTP_PORT_ISSUE MailSettingsErrorType = 1 )
func (MailSettingsErrorType) Descriptor ¶
func (MailSettingsErrorType) Descriptor() protoreflect.EnumDescriptor
func (MailSettingsErrorType) Enum ¶
func (x MailSettingsErrorType) Enum() *MailSettingsErrorType
func (MailSettingsErrorType) EnumDescriptor
deprecated
func (MailSettingsErrorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MailSettingsErrorType.Descriptor instead.
func (MailSettingsErrorType) Number ¶
func (x MailSettingsErrorType) Number() protoreflect.EnumNumber
func (MailSettingsErrorType) String ¶
func (x MailSettingsErrorType) String() string
func (MailSettingsErrorType) Type ¶
func (MailSettingsErrorType) Type() protoreflect.EnumType
type MailSettingsEvent ¶
type MailSettingsEvent struct { // Types that are assignable to Event: // *MailSettingsEvent_Error // *MailSettingsEvent_UseSslForSmtpFinished // *MailSettingsEvent_ChangePortsFinished Event isMailSettingsEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
********************************************************** Mail settings related events **********************************************************
func (*MailSettingsEvent) Descriptor
deprecated
func (*MailSettingsEvent) Descriptor() ([]byte, []int)
Deprecated: Use MailSettingsEvent.ProtoReflect.Descriptor instead.
func (*MailSettingsEvent) GetChangePortsFinished ¶
func (x *MailSettingsEvent) GetChangePortsFinished() *ChangePortsFinishedEvent
func (*MailSettingsEvent) GetError ¶
func (x *MailSettingsEvent) GetError() *MailSettingsErrorEvent
func (*MailSettingsEvent) GetEvent ¶
func (m *MailSettingsEvent) GetEvent() isMailSettingsEvent_Event
func (*MailSettingsEvent) GetUseSslForSmtpFinished ¶
func (x *MailSettingsEvent) GetUseSslForSmtpFinished() *UseSslForSmtpFinishedEvent
func (*MailSettingsEvent) ProtoMessage ¶
func (*MailSettingsEvent) ProtoMessage()
func (*MailSettingsEvent) ProtoReflect ¶
func (x *MailSettingsEvent) ProtoReflect() protoreflect.Message
func (*MailSettingsEvent) Reset ¶
func (x *MailSettingsEvent) Reset()
func (*MailSettingsEvent) String ¶
func (x *MailSettingsEvent) String() string
type MailSettingsEvent_ChangePortsFinished ¶
type MailSettingsEvent_ChangePortsFinished struct {
ChangePortsFinished *ChangePortsFinishedEvent `protobuf:"bytes,3,opt,name=changePortsFinished,proto3,oneof"`
}
type MailSettingsEvent_Error ¶
type MailSettingsEvent_Error struct {
Error *MailSettingsErrorEvent `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}
type MailSettingsEvent_UseSslForSmtpFinished ¶
type MailSettingsEvent_UseSslForSmtpFinished struct {
UseSslForSmtpFinished *UseSslForSmtpFinishedEvent `protobuf:"bytes,2,opt,name=useSslForSmtpFinished,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 (x *NoActiveKeyForRecipientEvent) ProtoReflect() protoreflect.Message
func (*NoActiveKeyForRecipientEvent) Reset ¶
func (x *NoActiveKeyForRecipientEvent) Reset()
func (*NoActiveKeyForRecipientEvent) String ¶
func (x *NoActiveKeyForRecipientEvent) String() 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 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"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` EmailClient string `protobuf:"bytes,5,opt,name=emailClient,proto3" json:"emailClient,omitempty"` IncludeLogs bool `protobuf:"varint,6,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) 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 Service ¶
type Service struct { UnimplementedBridgeServer // contains filtered or unexported fields }
Service is the RPC service struct.
func NewService ¶
func NewService( showOnStartup bool, panicHandler types.PanicHandler, eventListener listener.Listener, updater types.Updater, restarter types.Restarter, locations *locations.Locations, parentPID int, ) *Service
NewService returns a new instance of the service.
func (*Service) AddLogEntry ¶
func (*Service) AvailableKeychains ¶
func (*Service) ChangeLocalCache ¶
func (*Service) ChangePorts ¶
func (*Service) CheckTokens ¶ added in v2.4.3
func (s *Service) CheckTokens(ctx context.Context, clientConfigPath *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
CheckTokens implements the CheckToken gRPC service call.
func (*Service) CheckUpdate ¶
func (*Service) ColorSchemeName ¶
func (s *Service) ColorSchemeName(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) ConfigureUserAppleMail ¶
func (*Service) CurrentEmailClient ¶
func (s *Service) CurrentEmailClient(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) CurrentKeychain ¶
func (s *Service) CurrentKeychain(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) DependencyLicensesLink ¶
func (s *Service) DependencyLicensesLink(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) DiskCachePath ¶
func (s *Service) DiskCachePath(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) ForceLauncher ¶
func (s *Service) ForceLauncher(ctx context.Context, launcher *wrapperspb.StringValue) (*emptypb.Empty, error)
func (*Service) GetUser ¶
func (s *Service) GetUser(ctx context.Context, userID *wrapperspb.StringValue) (*User, error)
func (*Service) GetUserList ¶
func (*Service) GoOs ¶
func (s *Service) GoOs(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) Hostname ¶
func (s *Service) Hostname(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) ImapPort ¶
func (s *Service) ImapPort(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.Int32Value, error)
func (*Service) InstallUpdate ¶
func (*Service) IsAllMailVisible ¶
func (*Service) IsAutomaticUpdateOn ¶
func (*Service) IsAutostartOn ¶
func (*Service) IsBetaEnabled ¶
func (*Service) IsCacheOnDiskEnabled ¶
func (*Service) IsDoHEnabled ¶
func (*Service) IsFirstGuiStart ¶
func (*Service) IsPortFree ¶
func (s *Service) IsPortFree(ctx context.Context, port *wrapperspb.Int32Value) (*wrapperspb.BoolValue, error)
func (*Service) LandingPageLink ¶
func (s *Service) LandingPageLink(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) LicensePath ¶
func (s *Service) LicensePath(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) Login2Passwords ¶
func (*Service) LoginAbort ¶
func (*Service) LogoutUser ¶
func (s *Service) LogoutUser(ctx context.Context, userID *wrapperspb.StringValue) (*emptypb.Empty, error)
func (*Service) LogsPath ¶
func (s *Service) LogsPath(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) NotifyManualUpdate ¶
func (s *Service) NotifyManualUpdate(version updater.VersionInfo, canInstall bool)
func (*Service) NotifySilentUpdateError ¶
func (*Service) NotifySilentUpdateInstalled ¶
func (s *Service) NotifySilentUpdateInstalled()
func (*Service) ReleaseNotesPageLink ¶
func (s *Service) ReleaseNotesPageLink(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
func (*Service) RemoveUser ¶
func (s *Service) RemoveUser(ctx context.Context, userID *wrapperspb.StringValue) (*emptypb.Empty, error)
func (*Service) RunEventStream ¶
func (s *Service) RunEventStream(request *EventStreamRequest, server Bridge_RunEventStreamServer) error
RunEventStream implement the gRPC server->Client event stream.
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(ctx 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) SetIsAllMailVisible ¶
func (*Service) SetIsAutomaticUpdateOn ¶
func (*Service) SetIsAutostartOn ¶
func (*Service) SetIsBetaEnabled ¶
func (*Service) SetIsDoHEnabled ¶
func (*Service) SetMainExecutable ¶
func (s *Service) SetMainExecutable(ctx context.Context, exe *wrapperspb.StringValue) (*emptypb.Empty, error)
func (*Service) SetUseSslForSmtp ¶
func (*Service) SetUserSplitMode ¶
func (*Service) SetVersion ¶
func (s *Service) SetVersion(update updater.VersionInfo)
func (*Service) ShowOnStartup ¶
func (*Service) ShowSplashScreen ¶
func (*Service) SmtpPort ¶
func (s *Service) SmtpPort(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.Int32Value, error)
func (*Service) StartEventTest ¶
StartEventTest sends all the known event via gRPC.
func (*Service) StopEventStream ¶
StopEventStream stops the event stream.
func (*Service) TriggerReset ¶
func (*Service) UseSslForSmtp ¶
func (*Service) Version ¶
func (s *Service) Version(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)
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_MailSettings // *StreamEvent_Keychain // *StreamEvent_Mail // *StreamEvent_User Event isStreamEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
func NewCacheChangeLocalCacheFinishedEvent ¶
func NewCacheChangeLocalCacheFinishedEvent(willRestart bool) *StreamEvent
func NewCacheErrorEvent ¶
func NewCacheErrorEvent(err CacheErrorType) *StreamEvent
func NewCacheLocationChangeSuccessEvent ¶
func NewCacheLocationChangeSuccessEvent() *StreamEvent
func NewDiskCachePathChanged ¶
func NewDiskCachePathChanged(path string) *StreamEvent
func NewInternetStatusEvent ¶
func NewInternetStatusEvent(connected bool) *StreamEvent
func NewIsCacheOnDiskEnabledChanged ¶
func NewIsCacheOnDiskEnabledChanged(enabled 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) *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 NewMailSettingsChangePortFinishedEvent ¶
func NewMailSettingsChangePortFinishedEvent() *StreamEvent
func NewMailSettingsErrorEvent ¶
func NewMailSettingsErrorEvent(err MailSettingsErrorType) *StreamEvent
func NewMailSettingsUseSslForSmtpFinishedEvent ¶
func NewMailSettingsUseSslForSmtpFinishedEvent() *StreamEvent
func NewReportBugErrorEvent ¶
func NewReportBugErrorEvent() *StreamEvent
func NewReportBugFinishedEvent ¶
func NewReportBugFinishedEvent() *StreamEvent
func NewReportBugSuccessEvent ¶
func NewReportBugSuccessEvent() *StreamEvent
func NewResetFinishedEvent ¶
func NewResetFinishedEvent() *StreamEvent
func NewShowMainWindowEvent ¶
func NewShowMainWindowEvent() *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 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() *CacheEvent
func (*StreamEvent) GetEvent ¶
func (m *StreamEvent) GetEvent() isStreamEvent_Event
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) GetMailSettings ¶
func (x *StreamEvent) GetMailSettings() *MailSettingsEvent
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 *CacheEvent `protobuf:"bytes,4,opt,name=cache,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_MailSettings ¶
type StreamEvent_MailSettings struct {
MailSettings *MailSettingsEvent `protobuf:"bytes,5,opt,name=mailSettings,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 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 (x *ToggleAutostartFinishedEvent) ProtoReflect() protoreflect.Message
func (*ToggleAutostartFinishedEvent) Reset ¶
func (x *ToggleAutostartFinishedEvent) Reset()
func (*ToggleAutostartFinishedEvent) String ¶
func (x *ToggleAutostartFinishedEvent) String() 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 (x *ToggleSplitModeFinishedEvent) ProtoReflect() protoreflect.Message
func (*ToggleSplitModeFinishedEvent) Reset ¶
func (x *ToggleSplitModeFinishedEvent) Reset()
func (*ToggleSplitModeFinishedEvent) String ¶
func (x *ToggleSplitModeFinishedEvent) String() string
type UnimplementedBridgeServer ¶
type UnimplementedBridgeServer struct { }
UnimplementedBridgeServer must be embedded to have forward compatible implementations.
func (UnimplementedBridgeServer) AddLogEntry ¶
func (UnimplementedBridgeServer) AddLogEntry(context.Context, *AddLogEntryRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) AvailableKeychains ¶
func (UnimplementedBridgeServer) AvailableKeychains(context.Context, *emptypb.Empty) (*AvailableKeychainsResponse, error)
func (UnimplementedBridgeServer) ChangeLocalCache ¶
func (UnimplementedBridgeServer) ChangeLocalCache(context.Context, *ChangeLocalCacheRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) ChangePorts ¶
func (UnimplementedBridgeServer) ChangePorts(context.Context, *ChangePortsRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) CheckTokens ¶ added in v2.4.3
func (UnimplementedBridgeServer) CheckTokens(context.Context, *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) CheckUpdate ¶
func (UnimplementedBridgeServer) ColorSchemeName ¶
func (UnimplementedBridgeServer) ColorSchemeName(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) ConfigureUserAppleMail ¶
func (UnimplementedBridgeServer) ConfigureUserAppleMail(context.Context, *ConfigureAppleMailRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) CurrentEmailClient ¶
func (UnimplementedBridgeServer) CurrentEmailClient(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) CurrentKeychain ¶
func (UnimplementedBridgeServer) CurrentKeychain(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) DependencyLicensesLink ¶
func (UnimplementedBridgeServer) DependencyLicensesLink(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) DiskCachePath ¶
func (UnimplementedBridgeServer) DiskCachePath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) ForceLauncher ¶
func (UnimplementedBridgeServer) ForceLauncher(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) GetUser ¶
func (UnimplementedBridgeServer) GetUser(context.Context, *wrapperspb.StringValue) (*User, error)
func (UnimplementedBridgeServer) GetUserList ¶
func (UnimplementedBridgeServer) GetUserList(context.Context, *emptypb.Empty) (*UserListResponse, error)
func (UnimplementedBridgeServer) GoOs ¶
func (UnimplementedBridgeServer) GoOs(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) Hostname ¶
func (UnimplementedBridgeServer) Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) ImapPort ¶
func (UnimplementedBridgeServer) ImapPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error)
func (UnimplementedBridgeServer) InstallUpdate ¶
func (UnimplementedBridgeServer) IsAllMailVisible ¶
func (UnimplementedBridgeServer) IsAllMailVisible(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) IsAutomaticUpdateOn ¶
func (UnimplementedBridgeServer) IsAutomaticUpdateOn(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) IsAutostartOn ¶
func (UnimplementedBridgeServer) IsAutostartOn(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) IsBetaEnabled ¶
func (UnimplementedBridgeServer) IsBetaEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) IsCacheOnDiskEnabled ¶
func (UnimplementedBridgeServer) IsCacheOnDiskEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) IsDoHEnabled ¶
func (UnimplementedBridgeServer) IsDoHEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) IsFirstGuiStart ¶
func (UnimplementedBridgeServer) IsFirstGuiStart(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) IsPortFree ¶
func (UnimplementedBridgeServer) IsPortFree(context.Context, *wrapperspb.Int32Value) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) LandingPageLink ¶
func (UnimplementedBridgeServer) LandingPageLink(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) LicensePath ¶
func (UnimplementedBridgeServer) LicensePath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) Login ¶
func (UnimplementedBridgeServer) Login(context.Context, *LoginRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) Login2FA ¶
func (UnimplementedBridgeServer) Login2FA(context.Context, *LoginRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) Login2Passwords ¶
func (UnimplementedBridgeServer) Login2Passwords(context.Context, *LoginRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) LoginAbort ¶
func (UnimplementedBridgeServer) LoginAbort(context.Context, *LoginAbortRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) LogoutUser ¶
func (UnimplementedBridgeServer) LogoutUser(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) LogsPath ¶
func (UnimplementedBridgeServer) LogsPath(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) ReleaseNotesPageLink ¶
func (UnimplementedBridgeServer) ReleaseNotesPageLink(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
func (UnimplementedBridgeServer) RemoveUser ¶
func (UnimplementedBridgeServer) RemoveUser(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) ReportBug ¶
func (UnimplementedBridgeServer) ReportBug(context.Context, *ReportBugRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) RunEventStream ¶
func (UnimplementedBridgeServer) RunEventStream(*EventStreamRequest, Bridge_RunEventStreamServer) error
func (UnimplementedBridgeServer) SetColorSchemeName ¶
func (UnimplementedBridgeServer) SetColorSchemeName(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) SetCurrentKeychain ¶
func (UnimplementedBridgeServer) SetCurrentKeychain(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) SetIsAllMailVisible ¶
func (UnimplementedBridgeServer) SetIsAllMailVisible(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) SetIsAutomaticUpdateOn ¶
func (UnimplementedBridgeServer) SetIsAutomaticUpdateOn(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) SetIsAutostartOn ¶
func (UnimplementedBridgeServer) SetIsAutostartOn(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) SetIsBetaEnabled ¶
func (UnimplementedBridgeServer) SetIsBetaEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) SetIsDoHEnabled ¶
func (UnimplementedBridgeServer) SetIsDoHEnabled(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) SetMainExecutable ¶
func (UnimplementedBridgeServer) SetMainExecutable(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) SetUseSslForSmtp ¶
func (UnimplementedBridgeServer) SetUseSslForSmtp(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) SetUserSplitMode ¶
func (UnimplementedBridgeServer) SetUserSplitMode(context.Context, *UserSplitModeRequest) (*emptypb.Empty, error)
func (UnimplementedBridgeServer) ShowOnStartup ¶
func (UnimplementedBridgeServer) ShowOnStartup(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) ShowSplashScreen ¶
func (UnimplementedBridgeServer) ShowSplashScreen(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) SmtpPort ¶
func (UnimplementedBridgeServer) SmtpPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error)
func (UnimplementedBridgeServer) StopEventStream ¶
func (UnimplementedBridgeServer) TriggerReset ¶
func (UnimplementedBridgeServer) UseSslForSmtp ¶
func (UnimplementedBridgeServer) UseSslForSmtp(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
func (UnimplementedBridgeServer) Version ¶
func (UnimplementedBridgeServer) Version(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
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) Descriptor() protoreflect.EnumDescriptor
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 (x UpdateErrorType) Number() protoreflect.EnumNumber
func (UpdateErrorType) String ¶
func (x UpdateErrorType) String() string
func (UpdateErrorType) Type ¶
func (UpdateErrorType) Type() protoreflect.EnumType
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 (x *UpdateManualRestartNeededEvent) ProtoReflect() protoreflect.Message
func (*UpdateManualRestartNeededEvent) Reset ¶
func (x *UpdateManualRestartNeededEvent) Reset()
func (*UpdateManualRestartNeededEvent) String ¶
func (x *UpdateManualRestartNeededEvent) String() 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 (x *UpdateSilentRestartNeeded) ProtoReflect() protoreflect.Message
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 UseSslForSmtpFinishedEvent ¶
type UseSslForSmtpFinishedEvent struct {
// contains filtered or unexported fields
}
func (*UseSslForSmtpFinishedEvent) Descriptor
deprecated
func (*UseSslForSmtpFinishedEvent) Descriptor() ([]byte, []int)
Deprecated: Use UseSslForSmtpFinishedEvent.ProtoReflect.Descriptor instead.
func (*UseSslForSmtpFinishedEvent) ProtoMessage ¶
func (*UseSslForSmtpFinishedEvent) ProtoMessage()
func (*UseSslForSmtpFinishedEvent) ProtoReflect ¶
func (x *UseSslForSmtpFinishedEvent) ProtoReflect() protoreflect.Message
func (*UseSslForSmtpFinishedEvent) Reset ¶
func (x *UseSslForSmtpFinishedEvent) Reset()
func (*UseSslForSmtpFinishedEvent) String ¶
func (x *UseSslForSmtpFinishedEvent) 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"` LoggedIn bool `protobuf:"varint,4,opt,name=loggedIn,proto3" json:"loggedIn,omitempty"` SplitMode bool `protobuf:"varint,5,opt,name=splitMode,proto3" json:"splitMode,omitempty"` SetupGuideSeen bool `protobuf:"varint,6,opt,name=setupGuideSeen,proto3" json:"setupGuideSeen,omitempty"` UsedBytes int64 `protobuf:"varint,7,opt,name=usedBytes,proto3" json:"usedBytes,omitempty"` TotalBytes int64 `protobuf:"varint,8,opt,name=totalBytes,proto3" json:"totalBytes,omitempty"` Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"` Addresses []string `protobuf:"bytes,10,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
********************************************************** Cache on disk related messages **********************************************************
func (*User) Descriptor
deprecated
func (*User) GetAddresses ¶
func (*User) GetAvatarText ¶
func (*User) GetLoggedIn ¶
func (*User) GetPassword ¶
func (*User) GetSetupGuideSeen ¶
func (*User) GetSplitMode ¶
func (*User) GetTotalBytes ¶
func (*User) GetUsedBytes ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
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 Event isUserEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
func (*UserEvent) Descriptor
deprecated
func (*UserEvent) GetToggleSplitModeFinished ¶
func (x *UserEvent) GetToggleSplitModeFinished() *ToggleSplitModeFinishedEvent
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
type UserEvent_ToggleSplitModeFinished ¶
type UserEvent_ToggleSplitModeFinished struct {
ToggleSplitModeFinished *ToggleSplitModeFinishedEvent `protobuf:"bytes,1,opt,name=toggleSplitModeFinished,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