Documentation ¶
Index ¶
- func LoadRecordTypes(keeperAuth auth.IKeeperAuth, ...) (err error)
- type ICustomField
- type IKeeperRecord
- type IPasswordRecord
- type IPendingShareStoragePlugin
- type IRecordInfo
- type IRecordType
- type IRecordTypeField
- type IStorageBreachWatchRecord
- type IStorageFolder
- type IStorageFolderRecord
- type IStorageNonSharedData
- type IStorageRecord
- type IStorageRecordKey
- type IStorageRecordType
- type IStorageSecurityData
- type IStorageSharedFolder
- type IStorageSharedFolderKey
- type IStorageSharedFolderPermission
- type IStorageTeam
- type IStorageUserEmail
- type IUserSettings
- type IVaultData
- type IVaultStorage
- type RebuildTask
- type RecordTypeScope
- type SharedFolderUserType
- type StorageKeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadRecordTypes ¶
func LoadRecordTypes(keeperAuth auth.IKeeperAuth, storage storage.IEntityStorage[IStorageRecordType, int64]) (err error)
Types ¶
type ICustomField ¶
type IKeeperRecord ¶
type IPasswordRecord ¶
type IPendingShareStoragePlugin ¶
type IPendingShareStoragePlugin interface {}
type IRecordInfo ¶
type IRecordType ¶
type IRecordType interface { Id() int64 Name() string Scope() RecordTypeScope Description() string Fields() []IRecordTypeField storage.IUid[string] }
func ParseRecordType ¶
func ParseRecordType(srt IStorageRecordType) (irt IRecordType, err error)
type IRecordTypeField ¶
type IStorageFolder ¶
type IStorageFolderRecord ¶
type IStorageNonSharedData ¶
type IStorageRecord ¶
type IStorageRecordKey ¶
type IStorageRecordType ¶
type IStorageSecurityData ¶
type IStorageSharedFolder ¶
type IStorageSharedFolderKey ¶
type IStorageTeam ¶
type IStorageUserEmail ¶
type IUserSettings ¶
type IVaultData ¶
type IVaultData interface { VaultStorage() IVaultStorage ClientKey() []byte GetAllRecords(func(IRecordInfo) bool) GetRecord(string) IRecordInfo GetRecordKey(string) []byte RecordCount() int }
type IVaultStorage ¶
type IVaultStorage interface { PersonalScopeUid() string UserSettings() storage.IRecordStorage[IUserSettings] Records() storage.IEntityStorage[IStorageRecord, string] RecordTypes() storage.IEntityStorage[IStorageRecordType, int64] Teams() storage.IEntityStorage[IStorageTeam, string] UserEmails() storage.ILinkStorage[IStorageUserEmail, string, string] RecordKeys() storage.ILinkStorage[IStorageRecordKey, string, string] Folders() storage.IEntityStorage[IStorageFolder, string] FolderRecords() storage.ILinkStorage[IStorageFolderRecord, string, string] BreachWatchRecords() storage.IEntityStorage[IStorageBreachWatchRecord, string] Clear() io.Closer }
func NewSqliteVaultStorage ¶
func NewSqliteVaultStorage(getter sqlite.ConnectionGetter, accountUid string) (storage IVaultStorage, err error)
type RebuildTask ¶
type RecordTypeScope ¶
type RecordTypeScope int32
const ( RecordTypeScope_Standard RecordTypeScope = 0 RecordTypeScope_User RecordTypeScope = 1 RecordTypeScope_Enterprise RecordTypeScope = 2 RecordTypeScope_Pam RecordTypeScope = 3 RecordTypeScope_PamConfiguration RecordTypeScope = 4 )
type StorageKeyType ¶
type StorageKeyType int32
const ( StorageKeyType_UserClientKey_AES_GCM StorageKeyType = 1 // AES GSM: user client key StorageKeyType_User_RSA_PrivateKey StorageKeyType = 2 // RSA: user RSA key StorageKeyType_User_EC_PrivateKey StorageKeyType = 3 // EC: user EC private key StorageKeyType_TeamKey_AES_GCM StorageKeyType = 5 StorageKeyType_TeamRsaPrivateKey StorageKeyType = 6 StorageKeyType_RecordKey_AES_GCM StorageKeyType = 7 )
Click to show internal directories.
Click to hide internal directories.