keybase1

package
v0.0.0-...-f10651d Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: BSD-3-Clause Imports: 23 Imported by: 908

Documentation

Index

Constants

View Source
const (
	UID_LEN                       = 16
	UID_SUFFIX                    = 0x00
	UID_SUFFIX_2                  = 0x19
	UID_SUFFIX_HEX                = "00"
	UID_SUFFIX_2_HEX              = "19"
	TEAMID_LEN                    = 16
	TEAMID_PRIVATE_SUFFIX         = 0x24
	TEAMID_PRIVATE_SUFFIX_HEX     = "24"
	TEAMID_PUBLIC_SUFFIX          = 0x2e
	TEAMID_PUBLIC_SUFFIX_HEX      = "2e"
	SUB_TEAMID_PRIVATE_SUFFIX     = 0x25
	SUB_TEAMID_PRIVATE_SUFFIX_HEX = "25"
	SUB_TEAMID_PUBLIC_SUFFIX      = 0x2f
	SUB_TEAMID_PUBLIC_SUFFIX_HEX  = "2f"
	PUBLIC_UID                    = "ffffffffffffffffffffffffffffff00"
)
View Source
const (
	SIG_ID_LEN         = 32
	SIG_ID_SUFFIX      = 0x0f
	SIG_SHORT_ID_BYTES = 27
	SigIDQueryMin      = 8
)
View Source
const (
	DeviceIDLen       = 16
	DeviceIDSuffix    = 0x18
	DeviceIDSuffixHex = "18"
)
View Source
const (
	KidLen     = 35   // bytes
	KidSuffix  = 0x0a // a byte
	KidVersion = 0x1
)
View Source
const (
	// MDPriorityDefault is the priority of zero. It's implicitly used by all
	// old clients, and has lowest priority.
	MDPriorityDefault MDPriority = 0
	// MDPriorityNormal is the priority used for normal KBFS metadata writes.
	MDPriorityNormal = 8
	// MDPriorityGit is the priority used for metadata writes triggered by git
	// remote helpers.
	MDPriorityGit = 32
)

MDPriority is the type for the priority field of a metadata put. mdserver prioritizes MD writes with higher priority when multiple happen at the same time, for the same TLF.

View Source
const (
	UsernameVerificationType_IN_PERSON  = "in_person"
	UsernameVerificationType_VIDEO      = "video"
	UsernameVerificationType_AUDIO      = "audio"
	UsernameVerificationType_PROOFS     = "proofs"
	UsernameVerificationType_OTHER_CHAT = "other_chat"
	UsernameVerificationType_FAMILIAR   = "familiar"
	UsernameVerificationType_OTHER      = "other"
)

web-of-trust In order of descending quality. Keep in sync with: - server helpers/wot.ts - gui WebOfTrustVerificationType

View Source
const ImplicitSuffixLengthBytes = 16
View Source
const ImplicitTeamPrefix = "__keybase_implicit_team__"
View Source
const (
	// LockIDVersion0 is the first ever version for lock ID format.
	LockIDVersion0 byte = iota
)
View Source
const TeamMaxUsesInfinite = TeamInviteMaxUses(-1)

TeamMaxUsesInfinite is a value for max_uses field which makes team invite multiple use, with infinite number of uses.

Variables

View Source
var AppLinkTypeMap = map[string]AppLinkType{
	"NONE":     0,
	"PEOPLE":   1,
	"CHAT":     2,
	"FILES":    3,
	"WALLET":   4,
	"GIT":      5,
	"DEVICES":  6,
	"SETTINGS": 7,
	"TEAMS":    8,
}
View Source
var AppLinkTypeRevMap = map[AppLinkType]string{
	0: "NONE",
	1: "PEOPLE",
	2: "CHAT",
	3: "FILES",
	4: "WALLET",
	5: "GIT",
	6: "DEVICES",
	7: "SETTINGS",
	8: "TEAMS",
}
View Source
var ArchiveJobStartPathTypeMap = map[string]ArchiveJobStartPathType{
	"KBFS": 0,
	"GIT":  1,
}
View Source
var ArchiveJobStartPathTypeRevMap = map[ArchiveJobStartPathType]string{
	0: "KBFS",
	1: "GIT",
}
View Source
var AsyncOpsMap = map[string]AsyncOps{
	"LIST":                    0,
	"LIST_RECURSIVE":          1,
	"READ":                    2,
	"WRITE":                   3,
	"COPY":                    4,
	"MOVE":                    5,
	"REMOVE":                  6,
	"LIST_RECURSIVE_TO_DEPTH": 7,
	"GET_REVISIONS":           8,
}
View Source
var AsyncOpsRevMap = map[AsyncOps]string{
	0: "LIST",
	1: "LIST_RECURSIVE",
	2: "READ",
	3: "WRITE",
	4: "COPY",
	5: "MOVE",
	6: "REMOVE",
	7: "LIST_RECURSIVE_TO_DEPTH",
	8: "GET_REVISIONS",
}
View Source
var AuditModeMap = map[string]AuditMode{
	"STANDARD":           0,
	"JUST_CREATED":       1,
	"SKIP":               2,
	"STANDARD_NO_HIDDEN": 3,
}
View Source
var AuditModeRevMap = map[AuditMode]string{
	0: "STANDARD",
	1: "JUST_CREATED",
	2: "SKIP",
	3: "STANDARD_NO_HIDDEN",
}
View Source
var AuditVersionMap = map[string]AuditVersion{
	"V0": 0,
	"V1": 1,
	"V2": 2,
	"V3": 3,
	"V4": 4,
}
View Source
var AuditVersionRevMap = map[AuditVersion]string{
	0: "V0",
	1: "V1",
	2: "V2",
	3: "V3",
	4: "V4",
}
View Source
var AuthenticityTypeMap = map[string]AuthenticityType{
	"SIGNED":     0,
	"REPUDIABLE": 1,
	"ANONYMOUS":  2,
}
View Source
var AuthenticityTypeRevMap = map[AuthenticityType]string{
	0: "SIGNED",
	1: "REPUDIABLE",
	2: "ANONYMOUS",
}
View Source
var AvatarUpdateTypeMap = map[string]AvatarUpdateType{
	"NONE": 0,
	"USER": 1,
	"TEAM": 2,
}
View Source
var AvatarUpdateTypeRevMap = map[AvatarUpdateType]string{
	0: "NONE",
	1: "USER",
	2: "TEAM",
}
View Source
var BlockStatusMap = map[string]BlockStatus{
	"UNKNOWN":  0,
	"LIVE":     1,
	"ARCHIVED": 2,
}
View Source
var BlockStatusRevMap = map[BlockStatus]string{
	0: "UNKNOWN",
	1: "LIVE",
	2: "ARCHIVED",
}
View Source
var BlockTypeMap = map[string]BlockType{
	"DATA": 0,
	"MD":   1,
	"GIT":  2,
}
View Source
var BlockTypeRevMap = map[BlockType]string{
	0: "DATA",
	1: "MD",
	2: "GIT",
}
View Source
var BoxAuditAttemptResultMap = map[string]BoxAuditAttemptResult{
	"FAILURE_RETRYABLE":         0,
	"FAILURE_MALICIOUS_SERVER":  1,
	"OK_VERIFIED":               2,
	"OK_NOT_ATTEMPTED_ROLE":     3,
	"OK_NOT_ATTEMPTED_OPENTEAM": 4,
	"OK_NOT_ATTEMPTED_SUBTEAM":  5,
}
View Source
var BoxAuditAttemptResultRevMap = map[BoxAuditAttemptResult]string{
	0: "FAILURE_RETRYABLE",
	1: "FAILURE_MALICIOUS_SERVER",
	2: "OK_VERIFIED",
	3: "OK_NOT_ATTEMPTED_ROLE",
	4: "OK_NOT_ATTEMPTED_OPENTEAM",
	5: "OK_NOT_ATTEMPTED_SUBTEAM",
}
View Source
var CheckResultFreshnessMap = map[string]CheckResultFreshness{
	"FRESH":  0,
	"AGED":   1,
	"RANCID": 2,
}
View Source
var CheckResultFreshnessRevMap = map[CheckResultFreshness]string{
	0: "FRESH",
	1: "AGED",
	2: "RANCID",
}
View Source
var ChooseTypeMap = map[string]ChooseType{
	"EXISTING_DEVICE": 0,
	"NEW_DEVICE":      1,
}
View Source
var ChooseTypeRevMap = map[ChooseType]string{
	0: "EXISTING_DEVICE",
	1: "NEW_DEVICE",
}
View Source
var ClientTypeMap = map[string]ClientType{
	"NONE":       0,
	"CLI":        1,
	"GUI_MAIN":   2,
	"KBFS":       3,
	"GUI_HELPER": 4,
}
View Source
var ClientTypeRevMap = map[ClientType]string{
	0: "NONE",
	1: "CLI",
	2: "GUI_MAIN",
	3: "KBFS",
	4: "GUI_HELPER",
}
View Source
var ConflictStateTypeMap = map[string]ConflictStateType{
	"NormalView":               1,
	"ManualResolvingLocalView": 2,
}
View Source
var ConflictStateTypeRevMap = map[ConflictStateType]string{
	1: "NormalView",
	2: "ManualResolvingLocalView",
}
View Source
var DbTypeMap = map[string]DbType{
	"MAIN":                     0,
	"CHAT":                     1,
	"FS_BLOCK_CACHE":           2,
	"FS_BLOCK_CACHE_META":      3,
	"FS_SYNC_BLOCK_CACHE":      4,
	"FS_SYNC_BLOCK_CACHE_META": 5,
}
View Source
var DbTypeRevMap = map[DbType]string{
	0: "MAIN",
	1: "CHAT",
	2: "FS_BLOCK_CACHE",
	3: "FS_BLOCK_CACHE_META",
	4: "FS_SYNC_BLOCK_CACHE",
	5: "FS_SYNC_BLOCK_CACHE_META",
}
View Source
var DeviceTypeMap = map[string]DeviceType{
	"DESKTOP": 0,
	"MOBILE":  1,
}
View Source
var DeviceTypeRevMap = map[DeviceType]string{
	0: "DESKTOP",
	1: "MOBILE",
}
View Source
var DirentTypeMap = map[string]DirentType{
	"FILE": 0,
	"DIR":  1,
	"SYM":  2,
	"EXEC": 3,
}
View Source
var DirentTypeRevMap = map[DirentType]string{
	0: "FILE",
	1: "DIR",
	2: "SYM",
	3: "EXEC",
}
View Source
var DismissReasonTypeMap = map[string]DismissReasonType{
	"NONE":              0,
	"HANDLED_ELSEWHERE": 1,
}
View Source
var DismissReasonTypeRevMap = map[DismissReasonType]string{
	0: "NONE",
	1: "HANDLED_ELSEWHERE",
}
View Source
var ExitCodeMap = map[string]ExitCode{
	"OK":      0,
	"NOTOK":   2,
	"RESTART": 4,
}
View Source
var ExitCodeRevMap = map[ExitCode]string{
	0: "OK",
	2: "NOTOK",
	4: "RESTART",
}
View Source
var FSErrorTypeMap = map[string]FSErrorType{
	"ACCESS_DENIED":             0,
	"USER_NOT_FOUND":            1,
	"REVOKED_DATA_DETECTED":     2,
	"NOT_LOGGED_IN":             3,
	"TIMEOUT":                   4,
	"REKEY_NEEDED":              5,
	"BAD_FOLDER":                6,
	"NOT_IMPLEMENTED":           7,
	"OLD_VERSION":               8,
	"OVER_QUOTA":                9,
	"NO_SIG_CHAIN":              10,
	"TOO_MANY_FOLDERS":          11,
	"EXDEV_NOT_SUPPORTED":       12,
	"DISK_LIMIT_REACHED":        13,
	"DISK_CACHE_ERROR_LOG_SEND": 14,
	"OFFLINE_ARCHIVED":          15,
	"OFFLINE_UNSYNCED":          16,
}
View Source
var FSErrorTypeRevMap = map[FSErrorType]string{
	0:  "ACCESS_DENIED",
	1:  "USER_NOT_FOUND",
	2:  "REVOKED_DATA_DETECTED",
	3:  "NOT_LOGGED_IN",
	4:  "TIMEOUT",
	5:  "REKEY_NEEDED",
	6:  "BAD_FOLDER",
	7:  "NOT_IMPLEMENTED",
	8:  "OLD_VERSION",
	9:  "OVER_QUOTA",
	10: "NO_SIG_CHAIN",
	11: "TOO_MANY_FOLDERS",
	12: "EXDEV_NOT_SUPPORTED",
	13: "DISK_LIMIT_REACHED",
	14: "DISK_CACHE_ERROR_LOG_SEND",
	15: "OFFLINE_ARCHIVED",
	16: "OFFLINE_UNSYNCED",
}
View Source
var FSNotificationTypeMap = map[string]FSNotificationType{
	"ENCRYPTING":          0,
	"DECRYPTING":          1,
	"SIGNING":             2,
	"VERIFYING":           3,
	"REKEYING":            4,
	"CONNECTION":          5,
	"MD_READ_SUCCESS":     6,
	"FILE_CREATED":        7,
	"FILE_MODIFIED":       8,
	"FILE_DELETED":        9,
	"FILE_RENAMED":        10,
	"INITIALIZED":         11,
	"SYNC_CONFIG_CHANGED": 12,
}
View Source
var FSNotificationTypeRevMap = map[FSNotificationType]string{
	0:  "ENCRYPTING",
	1:  "DECRYPTING",
	2:  "SIGNING",
	3:  "VERIFYING",
	4:  "REKEYING",
	5:  "CONNECTION",
	6:  "MD_READ_SUCCESS",
	7:  "FILE_CREATED",
	8:  "FILE_MODIFIED",
	9:  "FILE_DELETED",
	10: "FILE_RENAMED",
	11: "INITIALIZED",
	12: "SYNC_CONFIG_CHANGED",
}
View Source
var FSStatusCodeMap = map[string]FSStatusCode{
	"START":  0,
	"FINISH": 1,
	"ERROR":  2,
}
View Source
var FSStatusCodeRevMap = map[FSStatusCode]string{
	0: "START",
	1: "FINISH",
	2: "ERROR",
}
View Source
var FileTypeMap = map[string]FileType{
	"UNKNOWN":   0,
	"DIRECTORY": 1,
	"FILE":      2,
}
View Source
var FileTypeRevMap = map[FileType]string{
	0: "UNKNOWN",
	1: "DIRECTORY",
	2: "FILE",
}
View Source
var FilesTabBadgeMap = map[string]FilesTabBadge{
	"NONE":            0,
	"UPLOADING_STUCK": 1,
	"AWAITING_UPLOAD": 2,
	"UPLOADING":       3,
}
View Source
var FilesTabBadgeRevMap = map[FilesTabBadge]string{
	0: "NONE",
	1: "UPLOADING_STUCK",
	2: "AWAITING_UPLOAD",
	3: "UPLOADING",
}
View Source
var FolderConflictTypeMap = map[string]FolderConflictType{
	"NONE":                  0,
	"IN_CONFLICT":           1,
	"IN_CONFLICT_AND_STUCK": 2,
	"CLEARED_CONFLICT":      3,
}
View Source
var FolderConflictTypeRevMap = map[FolderConflictType]string{
	0: "NONE",
	1: "IN_CONFLICT",
	2: "IN_CONFLICT_AND_STUCK",
	3: "CLEARED_CONFLICT",
}
View Source
var FolderSyncModeMap = map[string]FolderSyncMode{
	"DISABLED": 0,
	"ENABLED":  1,
	"PARTIAL":  2,
}
View Source
var FolderSyncModeRevMap = map[FolderSyncMode]string{
	0: "DISABLED",
	1: "ENABLED",
	2: "PARTIAL",
}
View Source
var FolderTypeMap = map[string]FolderType{
	"UNKNOWN": 0,
	"PRIVATE": 1,
	"PUBLIC":  2,
	"TEAM":    3,
}
View Source
var FolderTypeRevMap = map[FolderType]string{
	0: "UNKNOWN",
	1: "PRIVATE",
	2: "PUBLIC",
	3: "TEAM",
}
View Source
var ForkTypeMap = map[string]ForkType{
	"NONE":     0,
	"AUTO":     1,
	"WATCHDOG": 2,
	"LAUNCHD":  3,
	"SYSTEMD":  4,
}
View Source
var ForkTypeRevMap = map[ForkType]string{
	0: "NONE",
	1: "AUTO",
	2: "WATCHDOG",
	3: "LAUNCHD",
	4: "SYSTEMD",
}
View Source
var FullNamePackageVersionMap = map[string]FullNamePackageVersion{
	"V0": 0,
	"V1": 1,
	"V2": 2,
}
View Source
var FullNamePackageVersionRevMap = map[FullNamePackageVersion]string{
	0: "V0",
	1: "V1",
	2: "V2",
}
View Source
var GPGMethodMap = map[string]GPGMethod{
	"GPG_NONE":   0,
	"GPG_IMPORT": 1,
	"GPG_SIGN":   2,
}
View Source
var GPGMethodRevMap = map[GPGMethod]string{
	0: "GPG_NONE",
	1: "GPG_IMPORT",
	2: "GPG_SIGN",
}
View Source
var GUIViewTypeMap = map[string]GUIViewType{
	"DEFAULT": 0,
	"TEXT":    1,
	"IMAGE":   2,
	"AUDIO":   3,
	"VIDEO":   4,
	"PDF":     5,
}
View Source
var GUIViewTypeRevMap = map[GUIViewType]string{
	0: "DEFAULT",
	1: "TEXT",
	2: "IMAGE",
	3: "AUDIO",
	4: "VIDEO",
	5: "PDF",
}
View Source
var GitLocalMetadataVersionMap = map[string]GitLocalMetadataVersion{
	"V1": 1,
}
View Source
var GitLocalMetadataVersionRevMap = map[GitLocalMetadataVersion]string{
	1: "V1",
}
View Source
var GitPushTypeMap = map[string]GitPushType{
	"DEFAULT":    0,
	"CREATEREPO": 1,
	"RENAMEREPO": 3,
}
View Source
var GitPushTypeRevMap = map[GitPushType]string{
	0: "DEFAULT",
	1: "CREATEREPO",
	3: "RENAMEREPO",
}
View Source
var GitRepoResultStateMap = map[string]GitRepoResultState{
	"ERR": 0,
	"OK":  1,
}
View Source
var GitRepoResultStateRevMap = map[GitRepoResultState]string{
	0: "ERR",
	1: "OK",
}
View Source
var HomeScreenItemTypeMap = map[string]HomeScreenItemType{
	"TODO":         1,
	"PEOPLE":       2,
	"ANNOUNCEMENT": 3,
}
View Source
var HomeScreenItemTypeRevMap = map[HomeScreenItemType]string{
	1: "TODO",
	2: "PEOPLE",
	3: "ANNOUNCEMENT",
}
View Source
var HomeScreenPeopleNotificationTypeMap = map[string]HomeScreenPeopleNotificationType{
	"FOLLOWED":       1,
	"FOLLOWED_MULTI": 2,
	"CONTACT":        3,
	"CONTACT_MULTI":  4,
}
View Source
var HomeScreenPeopleNotificationTypeRevMap = map[HomeScreenPeopleNotificationType]string{
	1: "FOLLOWED",
	2: "FOLLOWED_MULTI",
	3: "CONTACT",
	4: "CONTACT_MULTI",
}
View Source
var HomeScreenTodoTypeMap = map[string]HomeScreenTodoType{
	"NONE":                    0,
	"BIO":                     1,
	"PROOF":                   2,
	"DEVICE":                  3,
	"FOLLOW":                  4,
	"PAPERKEY":                6,
	"TEAM":                    7,
	"FOLDER":                  8,
	"GIT_REPO":                9,
	"TEAM_SHOWCASE":           10,
	"AVATAR_TEAM":             12,
	"ADD_PHONE_NUMBER":        18,
	"VERIFY_ALL_PHONE_NUMBER": 19,
	"VERIFY_ALL_EMAIL":        20,
	"LEGACY_EMAIL_VISIBILITY": 21,
	"ADD_EMAIL":               22,
	"AVATAR_USER":             23,
	"CHAT":                    24,
	"ANNONCEMENT_PLACEHOLDER": 10000,
}
View Source
var HomeScreenTodoTypeRevMap = map[HomeScreenTodoType]string{
	0:     "NONE",
	1:     "BIO",
	2:     "PROOF",
	3:     "DEVICE",
	4:     "FOLLOW",
	6:     "PAPERKEY",
	7:     "TEAM",
	8:     "FOLDER",
	9:     "GIT_REPO",
	10:    "TEAM_SHOWCASE",
	12:    "AVATAR_TEAM",
	18:    "ADD_PHONE_NUMBER",
	19:    "VERIFY_ALL_PHONE_NUMBER",
	20:    "VERIFY_ALL_EMAIL",
	21:    "LEGACY_EMAIL_VISIBILITY",
	22:    "ADD_EMAIL",
	23:    "AVATAR_USER",
	24:    "CHAT",
	10000: "ANNONCEMENT_PLACEHOLDER",
}
View Source
var Identify3ResultTypeMap = map[string]Identify3ResultType{
	"OK":            0,
	"BROKEN":        1,
	"NEEDS_UPGRADE": 2,
	"CANCELED":      3,
}
View Source
var Identify3ResultTypeRevMap = map[Identify3ResultType]string{
	0: "OK",
	1: "BROKEN",
	2: "NEEDS_UPGRADE",
	3: "CANCELED",
}
View Source
var Identify3RowColorMap = map[string]Identify3RowColor{
	"BLUE":   1,
	"RED":    2,
	"BLACK":  3,
	"GREEN":  4,
	"GRAY":   5,
	"YELLOW": 6,
	"ORANGE": 7,
}
View Source
var Identify3RowColorRevMap = map[Identify3RowColor]string{
	1: "BLUE",
	2: "RED",
	3: "BLACK",
	4: "GREEN",
	5: "GRAY",
	6: "YELLOW",
	7: "ORANGE",
}
View Source
var Identify3RowStateMap = map[string]Identify3RowState{
	"CHECKING": 1,
	"VALID":    2,
	"ERROR":    3,
	"WARNING":  4,
	"REVOKED":  5,
}
View Source
var Identify3RowStateRevMap = map[Identify3RowState]string{
	1: "CHECKING",
	2: "VALID",
	3: "ERROR",
	4: "WARNING",
	5: "REVOKED",
}
View Source
var IdentifyReasonTypeMap = map[string]IdentifyReasonType{
	"NONE":       0,
	"ID":         1,
	"TRACK":      2,
	"ENCRYPT":    3,
	"DECRYPT":    4,
	"VERIFY":     5,
	"RESOURCE":   6,
	"BACKGROUND": 7,
}
View Source
var IdentifyReasonTypeRevMap = map[IdentifyReasonType]string{
	0: "NONE",
	1: "ID",
	2: "TRACK",
	3: "ENCRYPT",
	4: "DECRYPT",
	5: "VERIFY",
	6: "RESOURCE",
	7: "BACKGROUND",
}
View Source
var IdentityVisibilityMap = map[string]IdentityVisibility{
	"PRIVATE": 0,
	"PUBLIC":  1,
}
View Source
var IdentityVisibilityRevMap = map[IdentityVisibility]string{
	0: "PRIVATE",
	1: "PUBLIC",
}
View Source
var IncomingShareCompressPreferenceMap = map[string]IncomingShareCompressPreference{
	"ORIGINAL":   0,
	"COMPRESSED": 1,
}
View Source
var IncomingShareCompressPreferenceRevMap = map[IncomingShareCompressPreference]string{
	0: "ORIGINAL",
	1: "COMPRESSED",
}
View Source
var IncomingShareTypeMap = map[string]IncomingShareType{
	"FILE":  0,
	"TEXT":  1,
	"IMAGE": 2,
	"VIDEO": 3,
}
View Source
var IncomingShareTypeRevMap = map[IncomingShareType]string{
	0: "FILE",
	1: "TEXT",
	2: "IMAGE",
	3: "VIDEO",
}
View Source
var InstallActionMap = map[string]InstallAction{
	"UNKNOWN":   0,
	"NONE":      1,
	"UPGRADE":   2,
	"REINSTALL": 3,
	"INSTALL":   4,
}
View Source
var InstallActionRevMap = map[InstallAction]string{
	0: "UNKNOWN",
	1: "NONE",
	2: "UPGRADE",
	3: "REINSTALL",
	4: "INSTALL",
}
View Source
var InstallStatusMap = map[string]InstallStatus{
	"UNKNOWN":       0,
	"ERROR":         1,
	"NOT_INSTALLED": 2,
	"INSTALLED":     4,
}
View Source
var InstallStatusRevMap = map[InstallStatus]string{
	0: "UNKNOWN",
	1: "ERROR",
	2: "NOT_INSTALLED",
	4: "INSTALLED",
}
View Source
var KBFSArchivedTypeMap = map[string]KBFSArchivedType{
	"REVISION":        0,
	"TIME":            1,
	"TIME_STRING":     2,
	"REL_TIME_STRING": 3,
}
View Source
var KBFSArchivedTypeRevMap = map[KBFSArchivedType]string{
	0: "REVISION",
	1: "TIME",
	2: "TIME_STRING",
	3: "REL_TIME_STRING",
}
View Source
var KbfsOnlineStatusMap = map[string]KbfsOnlineStatus{
	"OFFLINE": 0,
	"TRYING":  1,
	"ONLINE":  2,
}
View Source
var KbfsOnlineStatusRevMap = map[KbfsOnlineStatus]string{
	0: "OFFLINE",
	1: "TRYING",
	2: "ONLINE",
}
View Source
var KeyTypeMap = map[string]KeyType{
	"NONE": 0,
	"NACL": 1,
	"PGP":  2,
}
View Source
var KeyTypeRevMap = map[KeyType]string{
	0: "NONE",
	1: "NACL",
	2: "PGP",
}
View Source
var ListFilterMap = map[string]ListFilter{
	"NO_FILTER":            0,
	"FILTER_ALL_HIDDEN":    1,
	"FILTER_SYSTEM_HIDDEN": 2,
}
View Source
var ListFilterRevMap = map[ListFilter]string{
	0: "NO_FILTER",
	1: "FILTER_ALL_HIDDEN",
	2: "FILTER_SYSTEM_HIDDEN",
}
View Source
var LogLevelMap = map[string]LogLevel{
	"NONE":     0,
	"DEBUG":    1,
	"INFO":     2,
	"NOTICE":   3,
	"WARN":     4,
	"ERROR":    5,
	"CRITICAL": 6,
	"FATAL":    7,
}
View Source
var LogLevelRevMap = map[LogLevel]string{
	0: "NONE",
	1: "DEBUG",
	2: "INFO",
	3: "NOTICE",
	4: "WARN",
	5: "ERROR",
	6: "CRITICAL",
	7: "FATAL",
}
View Source
var MerkleTreeIDMap = map[string]MerkleTreeID{
	"MASTER":           0,
	"KBFS_PUBLIC":      1,
	"KBFS_PRIVATE":     2,
	"KBFS_PRIVATETEAM": 3,
}
View Source
var MerkleTreeIDRevMap = map[MerkleTreeID]string{
	0: "MASTER",
	1: "KBFS_PUBLIC",
	2: "KBFS_PRIVATE",
	3: "KBFS_PRIVATETEAM",
}
View Source
var MobileAppStateMap = map[string]MobileAppState{
	"FOREGROUND":       0,
	"BACKGROUND":       1,
	"INACTIVE":         2,
	"BACKGROUNDACTIVE": 3,
}
View Source
var MobileAppStateRevMap = map[MobileAppState]string{
	0: "FOREGROUND",
	1: "BACKGROUND",
	2: "INACTIVE",
	3: "BACKGROUNDACTIVE",
}
View Source
var MobileNetworkStateMap = map[string]MobileNetworkState{
	"NONE":         0,
	"WIFI":         1,
	"CELLULAR":     2,
	"UNKNOWN":      3,
	"NOTAVAILABLE": 4,
}
View Source
var MobileNetworkStateRevMap = map[MobileNetworkState]string{
	0: "NONE",
	1: "WIFI",
	2: "CELLULAR",
	3: "UNKNOWN",
	4: "NOTAVAILABLE",
}
View Source
var NetworkSourceMap = map[string]NetworkSource{
	"LOCAL":  0,
	"REMOTE": 1,
}
View Source
var NetworkSourceRevMap = map[NetworkSource]string{
	0: "LOCAL",
	1: "REMOTE",
}
View Source
var OfflineAvailabilityMap = map[string]OfflineAvailability{
	"NONE":        0,
	"BEST_EFFORT": 1,
}
View Source
var OfflineAvailabilityRevMap = map[OfflineAvailability]string{
	0: "NONE",
	1: "BEST_EFFORT",
}
View Source
var OnLoginStartupStatusMap = map[string]OnLoginStartupStatus{
	"UNKNOWN":  0,
	"DISABLED": 1,
	"ENABLED":  2,
}
View Source
var OnLoginStartupStatusRevMap = map[OnLoginStartupStatus]string{
	0: "UNKNOWN",
	1: "DISABLED",
	2: "ENABLED",
}
View Source
var OpenFlagsMap = map[string]OpenFlags{
	"READ":      0,
	"REPLACE":   1,
	"EXISTING":  2,
	"WRITE":     4,
	"APPEND":    8,
	"DIRECTORY": 16,
}
View Source
var OpenFlagsRevMap = map[OpenFlags]string{
	0:  "READ",
	1:  "REPLACE",
	2:  "EXISTING",
	4:  "WRITE",
	8:  "APPEND",
	16: "DIRECTORY",
}
View Source
var OutcomeMap = map[string]Outcome{
	"NONE":    0,
	"FIXED":   1,
	"IGNORED": 2,
}
View Source
var OutcomeRevMap = map[Outcome]string{
	0: "NONE",
	1: "FIXED",
	2: "IGNORED",
}
View Source
var PTKTypeMap = map[string]PTKType{
	"READER": 0,
}
View Source
var PTKTypeRevMap = map[PTKType]string{
	0: "READER",
}
View Source
var PassphraseRecoveryPromptTypeMap = map[string]PassphraseRecoveryPromptType{
	"ENCRYPTED_PGP_KEYS": 0,
}
View Source
var PassphraseRecoveryPromptTypeRevMap = map[PassphraseRecoveryPromptType]string{
	0: "ENCRYPTED_PGP_KEYS",
}
View Source
var PassphraseStateMap = map[string]PassphraseState{
	"KNOWN":  0,
	"RANDOM": 1,
}
View Source
var PassphraseStateRevMap = map[PassphraseState]string{
	0: "KNOWN",
	1: "RANDOM",
}
View Source
var PassphraseTypeMap = map[string]PassphraseType{
	"NONE":               0,
	"PAPER_KEY":          1,
	"PASS_PHRASE":        2,
	"VERIFY_PASS_PHRASE": 3,
}
View Source
var PassphraseTypeRevMap = map[PassphraseType]string{
	0: "NONE",
	1: "PAPER_KEY",
	2: "PASS_PHRASE",
	3: "VERIFY_PASS_PHRASE",
}
View Source
var PathSubscriptionTopicMap = map[string]PathSubscriptionTopic{
	"CHILDREN": 0,
	"STAT":     1,
}
View Source
var PathSubscriptionTopicRevMap = map[PathSubscriptionTopic]string{
	0: "CHILDREN",
	1: "STAT",
}
View Source
var PathTypeMap = map[string]PathType{
	"LOCAL":         0,
	"KBFS":          1,
	"KBFS_ARCHIVED": 2,
}
View Source
var PathTypeRevMap = map[PathType]string{
	0: "LOCAL",
	1: "KBFS",
	2: "KBFS_ARCHIVED",
}
View Source
var PerTeamSeedCheckVersionMap = map[string]PerTeamSeedCheckVersion{
	"V1": 1,
}
View Source
var PerTeamSeedCheckVersionRevMap = map[PerTeamSeedCheckVersion]string{
	1: "V1",
}
View Source
var PerfEventTypeMap = map[string]PerfEventType{
	"NETWORK":      0,
	"TEAMBOXAUDIT": 1,
	"TEAMAUDIT":    2,
	"USERCHAIN":    3,
	"TEAMCHAIN":    4,
	"CLEARCONV":    5,
	"CLEARINBOX":   6,
	"TEAMTREELOAD": 7,
}
View Source
var PerfEventTypeRevMap = map[PerfEventType]string{
	0: "NETWORK",
	1: "TEAMBOXAUDIT",
	2: "TEAMAUDIT",
	3: "USERCHAIN",
	4: "TEAMCHAIN",
	5: "CLEARCONV",
	6: "CLEARINBOX",
	7: "TEAMTREELOAD",
}
View Source
var PrefetchStatusMap = map[string]PrefetchStatus{
	"NOT_STARTED": 0,
	"IN_PROGRESS": 1,
	"COMPLETE":    2,
}
View Source
var PrefetchStatusRevMap = map[PrefetchStatus]string{
	0: "NOT_STARTED",
	1: "IN_PROGRESS",
	2: "COMPLETE",
}
View Source
var ProcessTypeMap = map[string]ProcessType{
	"MAIN": 0,
	"KBFS": 1,
}
View Source
var ProcessTypeRevMap = map[ProcessType]string{
	0: "MAIN",
	1: "KBFS",
}
View Source
var PromptDefaultMap = map[string]PromptDefault{
	"NONE": 0,
	"YES":  1,
	"NO":   2,
}
View Source
var PromptDefaultRevMap = map[PromptDefault]string{
	0: "NONE",
	1: "YES",
	2: "NO",
}
View Source
var PromptOverwriteTypeMap = map[string]PromptOverwriteType{
	"SOCIAL": 0,
	"SITE":   1,
}
View Source
var PromptOverwriteTypeRevMap = map[PromptOverwriteType]string{
	0: "SOCIAL",
	1: "SITE",
}
View Source
var ProofStateMap = map[string]ProofState{
	"NONE":             0,
	"OK":               1,
	"TEMP_FAILURE":     2,
	"PERM_FAILURE":     3,
	"LOOKING":          4,
	"SUPERSEDED":       5,
	"POSTED":           6,
	"REVOKED":          7,
	"DELETED":          8,
	"UNKNOWN_TYPE":     9,
	"SIG_HINT_MISSING": 10,
	"UNCHECKED":        11,
}
View Source
var ProofStateRevMap = map[ProofState]string{
	0:  "NONE",
	1:  "OK",
	2:  "TEMP_FAILURE",
	3:  "PERM_FAILURE",
	4:  "LOOKING",
	5:  "SUPERSEDED",
	6:  "POSTED",
	7:  "REVOKED",
	8:  "DELETED",
	9:  "UNKNOWN_TYPE",
	10: "SIG_HINT_MISSING",
	11: "UNCHECKED",
}
View Source
var ProofStatusMap = map[string]ProofStatus{
	"NONE":              0,
	"OK":                1,
	"LOCAL":             2,
	"FOUND":             3,
	"BASE_ERROR":        100,
	"HOST_UNREACHABLE":  101,
	"PERMISSION_DENIED": 103,
	"FAILED_PARSE":      106,
	"DNS_ERROR":         107,
	"AUTH_FAILED":       108,
	"HTTP_429":          129,
	"HTTP_500":          150,
	"TIMEOUT":           160,
	"INTERNAL_ERROR":    170,
	"UNCHECKED":         171,
	"MISSING_PVL":       172,
	"BASE_HARD_ERROR":   200,
	"NOT_FOUND":         201,
	"CONTENT_FAILURE":   202,
	"BAD_USERNAME":      203,
	"BAD_REMOTE_ID":     204,
	"TEXT_NOT_FOUND":    205,
	"BAD_ARGS":          206,
	"CONTENT_MISSING":   207,
	"TITLE_NOT_FOUND":   208,
	"SERVICE_ERROR":     209,
	"TOR_SKIPPED":       210,
	"TOR_INCOMPATIBLE":  211,
	"HTTP_300":          230,
	"HTTP_400":          240,
	"HTTP_OTHER":        260,
	"EMPTY_JSON":        270,
	"DELETED":           301,
	"SERVICE_DEAD":      302,
	"BAD_SIGNATURE":     303,
	"BAD_API_URL":       304,
	"UNKNOWN_TYPE":      305,
	"NO_HINT":           306,
	"BAD_HINT_TEXT":     307,
	"INVALID_PVL":       308,
}
View Source
var ProofStatusRevMap = map[ProofStatus]string{
	0:   "NONE",
	1:   "OK",
	2:   "LOCAL",
	3:   "FOUND",
	100: "BASE_ERROR",
	101: "HOST_UNREACHABLE",
	103: "PERMISSION_DENIED",
	106: "FAILED_PARSE",
	107: "DNS_ERROR",
	108: "AUTH_FAILED",
	129: "HTTP_429",
	150: "HTTP_500",
	160: "TIMEOUT",
	170: "INTERNAL_ERROR",
	171: "UNCHECKED",
	172: "MISSING_PVL",
	200: "BASE_HARD_ERROR",
	201: "NOT_FOUND",
	202: "CONTENT_FAILURE",
	203: "BAD_USERNAME",
	204: "BAD_REMOTE_ID",
	205: "TEXT_NOT_FOUND",
	206: "BAD_ARGS",
	207: "CONTENT_MISSING",
	208: "TITLE_NOT_FOUND",
	209: "SERVICE_ERROR",
	210: "TOR_SKIPPED",
	211: "TOR_INCOMPATIBLE",
	230: "HTTP_300",
	240: "HTTP_400",
	260: "HTTP_OTHER",
	270: "EMPTY_JSON",
	301: "DELETED",
	302: "SERVICE_DEAD",
	303: "BAD_SIGNATURE",
	304: "BAD_API_URL",
	305: "UNKNOWN_TYPE",
	306: "NO_HINT",
	307: "BAD_HINT_TEXT",
	308: "INVALID_PVL",
}
View Source
var ProofTypeMap = map[string]ProofType{
	"NONE":             0,
	"KEYBASE":          1,
	"TWITTER":          2,
	"GITHUB":           3,
	"REDDIT":           4,
	"COINBASE":         5,
	"HACKERNEWS":       6,
	"FACEBOOK":         8,
	"GENERIC_SOCIAL":   9,
	"GENERIC_WEB_SITE": 1000,
	"DNS":              1001,
	"PGP":              1002,
	"ROOTER":           100001,
}
View Source
var ProofTypeRevMap = map[ProofType]string{
	0:      "NONE",
	1:      "KEYBASE",
	2:      "TWITTER",
	3:      "GITHUB",
	4:      "REDDIT",
	5:      "COINBASE",
	6:      "HACKERNEWS",
	8:      "FACEBOOK",
	9:      "GENERIC_SOCIAL",
	1000:   "GENERIC_WEB_SITE",
	1001:   "DNS",
	1002:   "PGP",
	100001: "ROOTER",
}
View Source
var ProvisionMethodMap = map[string]ProvisionMethod{
	"DEVICE":     0,
	"PAPER_KEY":  1,
	"PASSPHRASE": 2,
	"GPG_IMPORT": 3,
	"GPG_SIGN":   4,
}
View Source
var ProvisionMethodRevMap = map[ProvisionMethod]string{
	0: "DEVICE",
	1: "PAPER_KEY",
	2: "PASSPHRASE",
	3: "GPG_IMPORT",
	4: "GPG_SIGN",
}
View Source
var ProxyTypeMap = map[string]ProxyType{
	"No_Proxy":     0,
	"HTTP_Connect": 1,
	"Socks":        2,
}
View Source
var ProxyTypeRevMap = map[ProxyType]string{
	0: "No_Proxy",
	1: "HTTP_Connect",
	2: "Socks",
}
View Source
var PublicUID = UID(PUBLIC_UID)

UID for the special "public" user.

View Source
var PushReasonMap = map[string]PushReason{
	"NONE":        0,
	"RECONNECTED": 1,
	"NEW_DATA":    2,
}
View Source
var PushReasonRevMap = map[PushReason]string{
	0: "NONE",
	1: "RECONNECTED",
	2: "NEW_DATA",
}
View Source
var RatchetTypeMap = map[string]RatchetType{
	"MAIN":        0,
	"BLINDED":     1,
	"SELF":        2,
	"UNCOMMITTED": 3,
}
View Source
var RatchetTypeRevMap = map[RatchetType]string{
	0: "MAIN",
	1: "BLINDED",
	2: "SELF",
	3: "UNCOMMITTED",
}
View Source
var ReachableMap = map[string]Reachable{
	"UNKNOWN": 0,
	"YES":     1,
	"NO":      2,
}
View Source
var ReachableRevMap = map[Reachable]string{
	0: "UNKNOWN",
	1: "YES",
	2: "NO",
}
View Source
var ReacjiSkinToneMap = map[string]ReacjiSkinTone{
	"NONE":      0,
	"SKINTONE1": 1,
	"SKINTONE2": 2,
	"SKINTONE3": 3,
	"SKINTONE4": 4,
	"SKINTONE5": 5,
}
View Source
var ReacjiSkinToneRevMap = map[ReacjiSkinTone]string{
	0: "NONE",
	1: "SKINTONE1",
	2: "SKINTONE2",
	3: "SKINTONE3",
	4: "SKINTONE4",
	5: "SKINTONE5",
}
View Source
var RekeyEventTypeMap = map[string]RekeyEventType{
	"NONE":                     0,
	"NOT_LOGGED_IN":            1,
	"API_ERROR":                2,
	"NO_PROBLEMS":              3,
	"LOAD_ME_ERROR":            4,
	"CURRENT_DEVICE_CAN_REKEY": 5,
	"DEVICE_LOAD_ERROR":        6,
	"HARASS":                   7,
	"NO_GREGOR_MESSAGES":       8,
}
View Source
var RekeyEventTypeRevMap = map[RekeyEventType]string{
	0: "NONE",
	1: "NOT_LOGGED_IN",
	2: "API_ERROR",
	3: "NO_PROBLEMS",
	4: "LOAD_ME_ERROR",
	5: "CURRENT_DEVICE_CAN_REKEY",
	6: "DEVICE_LOAD_ERROR",
	7: "HARASS",
	8: "NO_GREGOR_MESSAGES",
}
View Source
var ResetMessageMap = map[string]ResetMessage{
	"ENTERED_VERIFIED":     0,
	"ENTERED_PASSWORDLESS": 1,
	"REQUEST_VERIFIED":     2,
	"NOT_COMPLETED":        3,
	"CANCELED":             4,
	"COMPLETED":            5,
	"RESET_LINK_SENT":      6,
}
View Source
var ResetMessageRevMap = map[ResetMessage]string{
	0: "ENTERED_VERIFIED",
	1: "ENTERED_PASSWORDLESS",
	2: "REQUEST_VERIFIED",
	3: "NOT_COMPLETED",
	4: "CANCELED",
	5: "COMPLETED",
	6: "RESET_LINK_SENT",
}
View Source
var ResetPromptResponseMap = map[string]ResetPromptResponse{
	"NOTHING":       0,
	"CANCEL_RESET":  1,
	"CONFIRM_RESET": 2,
}
View Source
var ResetPromptResponseRevMap = map[ResetPromptResponse]string{
	0: "NOTHING",
	1: "CANCEL_RESET",
	2: "CONFIRM_RESET",
}
View Source
var ResetPromptTypeMap = map[string]ResetPromptType{
	"COMPLETE":         0,
	"ENTER_NO_DEVICES": 1,
	"ENTER_FORGOT_PW":  2,
	"ENTER_RESET_PW":   3,
}
View Source
var ResetPromptTypeRevMap = map[ResetPromptType]string{
	0: "COMPLETE",
	1: "ENTER_NO_DEVICES",
	2: "ENTER_FORGOT_PW",
	3: "ENTER_RESET_PW",
}
View Source
var ResetTypeMap = map[string]ResetType{
	"NONE":   0,
	"RESET":  1,
	"DELETE": 2,
}
View Source
var ResetTypeRevMap = map[ResetType]string{
	0: "NONE",
	1: "RESET",
	2: "DELETE",
}
View Source
var RevisionSpanTypeMap = map[string]RevisionSpanType{
	"DEFAULT":   0,
	"LAST_FIVE": 1,
}
View Source
var RevisionSpanTypeRevMap = map[RevisionSpanType]string{
	0: "DEFAULT",
	1: "LAST_FIVE",
}
View Source
var RotationTypeMap = map[string]RotationType{
	"VISIBLE": 0,
	"HIDDEN":  1,
	"CLKR":    2,
}
View Source
var RotationTypeRevMap = map[RotationType]string{
	0: "VISIBLE",
	1: "HIDDEN",
	2: "CLKR",
}
View Source
var RuntimeGroupMap = map[string]RuntimeGroup{
	"UNKNOWN":     0,
	"LINUXLIKE":   1,
	"DARWINLIKE":  2,
	"WINDOWSLIKE": 3,
}
View Source
var RuntimeGroupRevMap = map[RuntimeGroup]string{
	0: "UNKNOWN",
	1: "LINUXLIKE",
	2: "DARWINLIKE",
	3: "WINDOWSLIKE",
}
View Source
var SaltpackOperationTypeMap = map[string]SaltpackOperationType{
	"ENCRYPT": 0,
	"DECRYPT": 1,
	"SIGN":    2,
	"VERIFY":  3,
}
View Source
var SaltpackOperationTypeRevMap = map[SaltpackOperationType]string{
	0: "ENCRYPT",
	1: "DECRYPT",
	2: "SIGN",
	3: "VERIFY",
}
View Source
var SaltpackSenderTypeMap = map[string]SaltpackSenderType{
	"NOT_TRACKED":    0,
	"UNKNOWN":        1,
	"ANONYMOUS":      2,
	"TRACKING_BROKE": 3,
	"TRACKING_OK":    4,
	"SELF":           5,
	"REVOKED":        6,
	"EXPIRED":        7,
}
View Source
var SaltpackSenderTypeRevMap = map[SaltpackSenderType]string{
	0: "NOT_TRACKED",
	1: "UNKNOWN",
	2: "ANONYMOUS",
	3: "TRACKING_BROKE",
	4: "TRACKING_OK",
	5: "SELF",
	6: "REVOKED",
	7: "EXPIRED",
}
View Source
var SeitanKeyAndLabelVersionMap = map[string]SeitanKeyAndLabelVersion{
	"V1":         1,
	"V2":         2,
	"Invitelink": 3,
}
View Source
var SeitanKeyAndLabelVersionRevMap = map[SeitanKeyAndLabelVersion]string{
	1: "V1",
	2: "V2",
	3: "Invitelink",
}
View Source
var SeitanKeyLabelTypeMap = map[string]SeitanKeyLabelType{
	"SMS":     1,
	"GENERIC": 2,
}
View Source
var SeitanKeyLabelTypeRevMap = map[SeitanKeyLabelType]string{
	1: "SMS",
	2: "GENERIC",
}
View Source
var SeqTypeMap = map[string]SeqType{
	"NONE":                0,
	"PUBLIC":              1,
	"PRIVATE":             2,
	"SEMIPRIVATE":         3,
	"USER_PRIVATE_HIDDEN": 16,
	"TEAM_PRIVATE_HIDDEN": 17,
}
View Source
var SeqTypeRevMap = map[SeqType]string{
	0:  "NONE",
	1:  "PUBLIC",
	2:  "PRIVATE",
	3:  "SEMIPRIVATE",
	16: "USER_PRIVATE_HIDDEN",
	17: "TEAM_PRIVATE_HIDDEN",
}
View Source
var SignModeMap = map[string]SignMode{
	"ATTACHED": 0,
	"DETACHED": 1,
	"CLEAR":    2,
}
View Source
var SignModeRevMap = map[SignMode]string{
	0: "ATTACHED",
	1: "DETACHED",
	2: "CLEAR",
}
View Source
var SimpleFSArchiveJobPhaseMap = map[string]SimpleFSArchiveJobPhase{
	"Queued":   0,
	"Indexing": 1,
	"Indexed":  2,
	"Copying":  3,
	"Copied":   4,
	"Zipping":  5,
	"Done":     6,
}
View Source
var SimpleFSArchiveJobPhaseRevMap = map[SimpleFSArchiveJobPhase]string{
	0: "Queued",
	1: "Indexing",
	2: "Indexed",
	3: "Copying",
	4: "Copied",
	5: "Zipping",
	6: "Done",
}
View Source
var SimpleFSFileArchiveStateMap = map[string]SimpleFSFileArchiveState{
	"ToDo":       0,
	"InProgress": 1,
	"Complete":   2,
	"Skipped":    3,
}
View Source
var SimpleFSFileArchiveStateRevMap = map[SimpleFSFileArchiveState]string{
	0: "ToDo",
	1: "InProgress",
	2: "Complete",
	3: "Skipped",
}
View Source
var StatsSeverityLevelMap = map[string]StatsSeverityLevel{
	"NORMAL":  0,
	"WARNING": 1,
	"SEVERE":  2,
}
View Source
var StatsSeverityLevelRevMap = map[StatsSeverityLevel]string{
	0: "NORMAL",
	1: "WARNING",
	2: "SEVERE",
}
View Source
var StatusCodeMap = map[string]StatusCode{}/* 246 elements not displayed */
View Source
var StatusCodeRevMap = map[StatusCode]string{}/* 246 elements not displayed */
View Source
var SubscriptionTopicMap = map[string]SubscriptionTopic{
	"FAVORITES":           0,
	"JOURNAL_STATUS":      1,
	"ONLINE_STATUS":       2,
	"DOWNLOAD_STATUS":     3,
	"FILES_TAB_BADGE":     4,
	"OVERALL_SYNC_STATUS": 5,
	"SETTINGS":            6,
	"UPLOAD_STATUS":       7,
}
View Source
var SubscriptionTopicRevMap = map[SubscriptionTopic]string{
	0: "FAVORITES",
	1: "JOURNAL_STATUS",
	2: "ONLINE_STATUS",
	3: "DOWNLOAD_STATUS",
	4: "FILES_TAB_BADGE",
	5: "OVERALL_SYNC_STATUS",
	6: "SETTINGS",
	7: "UPLOAD_STATUS",
}
View Source
var TLFIdentifyBehaviorMap = map[string]TLFIdentifyBehavior{
	"UNSET":              0,
	"CHAT_CLI":           1,
	"CHAT_GUI":           2,
	"REMOVED_AND_UNUSED": 3,
	"KBFS_REKEY":         4,
	"KBFS_QR":            5,
	"CHAT_SKIP":          6,
	"SALTPACK":           7,
	"CLI":                8,
	"GUI":                9,
	"DEFAULT_KBFS":       10,
	"KBFS_CHAT":          11,
	"RESOLVE_AND_CHECK":  12,
	"GUI_PROFILE":        13,
	"KBFS_INIT":          14,
	"FS_GUI":             15,
}
View Source
var TLFIdentifyBehaviorRevMap = map[TLFIdentifyBehavior]string{
	0:  "UNSET",
	1:  "CHAT_CLI",
	2:  "CHAT_GUI",
	3:  "REMOVED_AND_UNUSED",
	4:  "KBFS_REKEY",
	5:  "KBFS_QR",
	6:  "CHAT_SKIP",
	7:  "SALTPACK",
	8:  "CLI",
	9:  "GUI",
	10: "DEFAULT_KBFS",
	11: "KBFS_CHAT",
	12: "RESOLVE_AND_CHECK",
	13: "GUI_PROFILE",
	14: "KBFS_INIT",
	15: "FS_GUI",
}
View Source
var TLFVisibilityMap = map[string]TLFVisibility{
	"ANY":     0,
	"PUBLIC":  1,
	"PRIVATE": 2,
}
View Source
var TLFVisibilityRevMap = map[TLFVisibility]string{
	0: "ANY",
	1: "PUBLIC",
	2: "PRIVATE",
}
View Source
var TeamApplicationMap = map[string]TeamApplication{
	"KBFS":                1,
	"CHAT":                2,
	"SALTPACK":            3,
	"GIT_METADATA":        4,
	"SEITAN_INVITE_TOKEN": 5,
	"STELLAR_RELAY":       6,
	"KVSTORE":             7,
}
View Source
var TeamApplicationRevMap = map[TeamApplication]string{
	1: "KBFS",
	2: "CHAT",
	3: "SALTPACK",
	4: "GIT_METADATA",
	5: "SEITAN_INVITE_TOKEN",
	6: "STELLAR_RELAY",
	7: "KVSTORE",
}
View Source
var TeamChangedSourceMap = map[string]TeamChangedSource{
	"SERVER":       0,
	"LOCAL":        1,
	"LOCAL_RENAME": 2,
}
View Source
var TeamChangedSourceRevMap = map[TeamChangedSource]string{
	0: "SERVER",
	1: "LOCAL",
	2: "LOCAL_RENAME",
}
View Source
var TeamEphemeralKeyTypeMap = map[string]TeamEphemeralKeyType{
	"TEAM":    0,
	"TEAMBOT": 1,
}
View Source
var TeamEphemeralKeyTypeRevMap = map[TeamEphemeralKeyType]string{
	0: "TEAM",
	1: "TEAMBOT",
}
View Source
var TeamInviteCategoryMap = map[string]TeamInviteCategory{
	"NONE":       0,
	"UNKNOWN":    1,
	"KEYBASE":    2,
	"EMAIL":      3,
	"SBS":        4,
	"SEITAN":     5,
	"PHONE":      6,
	"INVITELINK": 7,
}
View Source
var TeamInviteCategoryRevMap = map[TeamInviteCategory]string{
	0: "NONE",
	1: "UNKNOWN",
	2: "KEYBASE",
	3: "EMAIL",
	4: "SBS",
	5: "SEITAN",
	6: "PHONE",
	7: "INVITELINK",
}
View Source
var TeamInviteMetadataStatusCodeMap = map[string]TeamInviteMetadataStatusCode{
	"ACTIVE":    0,
	"OBSOLETE":  1,
	"CANCELLED": 2,
	"COMPLETED": 3,
}
View Source
var TeamInviteMetadataStatusCodeRevMap = map[TeamInviteMetadataStatusCode]string{
	0: "ACTIVE",
	1: "OBSOLETE",
	2: "CANCELLED",
	3: "COMPLETED",
}
View Source
var TeamMemberStatusMap = map[string]TeamMemberStatus{
	"ACTIVE":  0,
	"RESET":   1,
	"DELETED": 2,
}
View Source
var TeamMemberStatusRevMap = map[TeamMemberStatus]string{
	0: "ACTIVE",
	1: "RESET",
	2: "DELETED",
}
View Source
var TeamMemberToRemoveTypeMap = map[string]TeamMemberToRemoveType{
	"ASSERTION": 0,
	"INVITEID":  1,
}
View Source
var TeamMemberToRemoveTypeRevMap = map[TeamMemberToRemoveType]string{
	0: "ASSERTION",
	1: "INVITEID",
}
View Source
var TeamRoleMap = map[string]TeamRole{
	"NONE":          0,
	"READER":        1,
	"WRITER":        2,
	"ADMIN":         3,
	"OWNER":         4,
	"BOT":           5,
	"RESTRICTEDBOT": 6,
}
View Source
var TeamRoleRevMap = map[TeamRole]string{
	0: "NONE",
	1: "READER",
	2: "WRITER",
	3: "ADMIN",
	4: "OWNER",
	5: "BOT",
	6: "RESTRICTEDBOT",
}
View Source
var TeamStatusMap = map[string]TeamStatus{
	"NONE":      0,
	"LIVE":      1,
	"DELETED":   2,
	"ABANDONED": 3,
}
View Source
var TeamStatusRevMap = map[TeamStatus]string{
	0: "NONE",
	1: "LIVE",
	2: "DELETED",
	3: "ABANDONED",
}
View Source
var TeamTreeMembershipStatusMap = map[string]TeamTreeMembershipStatus{
	"OK":     0,
	"ERROR":  1,
	"HIDDEN": 2,
}
View Source
var TeamTreeMembershipStatusRevMap = map[TeamTreeMembershipStatus]string{
	0: "OK",
	1: "ERROR",
	2: "HIDDEN",
}
View Source
var TeamTypeMap = map[string]TeamType{
	"NONE":   0,
	"LEGACY": 1,
	"MODERN": 2,
}
View Source
var TeamTypeRevMap = map[TeamType]string{
	0: "NONE",
	1: "LEGACY",
	2: "MODERN",
}
View Source
var TrackDiffTypeMap = map[string]TrackDiffType{
	"NONE":               0,
	"ERROR":              1,
	"CLASH":              2,
	"REVOKED":            3,
	"UPGRADED":           4,
	"NEW":                5,
	"REMOTE_FAIL":        6,
	"REMOTE_WORKING":     7,
	"REMOTE_CHANGED":     8,
	"NEW_ELDEST":         9,
	"NONE_VIA_TEMPORARY": 10,
}
View Source
var TrackDiffTypeRevMap = map[TrackDiffType]string{
	0:  "NONE",
	1:  "ERROR",
	2:  "CLASH",
	3:  "REVOKED",
	4:  "UPGRADED",
	5:  "NEW",
	6:  "REMOTE_FAIL",
	7:  "REMOTE_WORKING",
	8:  "REMOTE_CHANGED",
	9:  "NEW_ELDEST",
	10: "NONE_VIA_TEMPORARY",
}
View Source
var TrackStatusMap = map[string]TrackStatus{
	"NEW_OK":                      1,
	"NEW_ZERO_PROOFS":             2,
	"NEW_FAIL_PROOFS":             3,
	"UPDATE_BROKEN_FAILED_PROOFS": 4,
	"UPDATE_NEW_PROOFS":           5,
	"UPDATE_OK":                   6,
	"UPDATE_BROKEN_REVOKED":       7,
}
View Source
var TrackStatusRevMap = map[TrackStatus]string{
	1: "NEW_OK",
	2: "NEW_ZERO_PROOFS",
	3: "NEW_FAIL_PROOFS",
	4: "UPDATE_BROKEN_FAILED_PROOFS",
	5: "UPDATE_NEW_PROOFS",
	6: "UPDATE_OK",
	7: "UPDATE_BROKEN_REVOKED",
}
View Source
var UPAKVersionMap = map[string]UPAKVersion{
	"V1": 1,
	"V2": 2,
}
View Source
var UPAKVersionRevMap = map[UPAKVersion]string{
	1: "V1",
	2: "V2",
}
View Source
var UPK2MinorVersionMap = map[string]UPK2MinorVersion{
	"V0": 0,
	"V1": 1,
	"V2": 2,
	"V3": 3,
	"V4": 4,
	"V5": 5,
	"V6": 6,
}
View Source
var UPK2MinorVersionRevMap = map[UPK2MinorVersion]string{
	0: "V0",
	1: "V1",
	2: "V2",
	3: "V3",
	4: "V4",
	5: "V5",
	6: "V6",
}
View Source
var UPKLiteMinorVersionMap = map[string]UPKLiteMinorVersion{
	"V0": 0,
}
View Source
var UPKLiteMinorVersionRevMap = map[UPKLiteMinorVersion]string{
	0: "V0",
}
View Source
var UpdateInfoStatus2Map = map[string]UpdateInfoStatus2{
	"OK":        0,
	"SUGGESTED": 1,
	"CRITICAL":  2,
}
View Source
var UpdateInfoStatus2RevMap = map[UpdateInfoStatus2]string{
	0: "OK",
	1: "SUGGESTED",
	2: "CRITICAL",
}
View Source
var UpdateInfoStatusMap = map[string]UpdateInfoStatus{
	"UP_TO_DATE":             0,
	"NEED_UPDATE":            1,
	"CRITICALLY_OUT_OF_DATE": 2,
}
View Source
var UpdateInfoStatusRevMap = map[UpdateInfoStatus]string{
	0: "UP_TO_DATE",
	1: "NEED_UPDATE",
	2: "CRITICALLY_OUT_OF_DATE",
}
View Source
var UserBlockTypeMap = map[string]UserBlockType{
	"CHAT":   0,
	"FOLLOW": 1,
}
View Source
var UserBlockTypeRevMap = map[UserBlockType]string{
	0: "CHAT",
	1: "FOLLOW",
}
View Source
var UserOrTeamResultMap = map[string]UserOrTeamResult{
	"USER": 1,
	"TEAM": 2,
}
View Source
var UserOrTeamResultRevMap = map[UserOrTeamResult]string{
	1: "USER",
	2: "TEAM",
}
View Source
var WotReactionTypeMap = map[string]WotReactionType{
	"REJECT": 0,
	"ACCEPT": 1,
}
View Source
var WotReactionTypeRevMap = map[WotReactionType]string{
	0: "REJECT",
	1: "ACCEPT",
}
View Source
var WotStatusTypeMap = map[string]WotStatusType{
	"NONE":     0,
	"PROPOSED": 1,
	"ACCEPTED": 2,
	"REJECTED": 3,
	"REVOKED":  4,
}
View Source
var WotStatusTypeRevMap = map[WotStatusType]string{
	0: "NONE",
	1: "PROPOSED",
	2: "ACCEPTED",
	3: "REJECTED",
	4: "REVOKED",
}

Functions

func AccountProtocol

func AccountProtocol(i AccountInterface) rpc.Protocol

func AirdropProtocol

func AirdropProtocol(i AirdropInterface) rpc.Protocol

func ApiserverProtocol

func ApiserverProtocol(i ApiserverInterface) rpc.Protocol

func AppStateProtocol

func AppStateProtocol(i AppStateInterface) rpc.Protocol

func AuditProtocol

func AuditProtocol(i AuditInterface) rpc.Protocol

func AvatarsProtocol

func AvatarsProtocol(i AvatarsInterface) rpc.Protocol

func BTCProtocol

func BTCProtocol(i BTCInterface) rpc.Protocol

func BackendCommonProtocol

func BackendCommonProtocol(i BackendCommonInterface) rpc.Protocol

func BadgerProtocol

func BadgerProtocol(i BadgerInterface) rpc.Protocol

func BlockProtocol

func BlockProtocol(i BlockInterface) rpc.Protocol

func BotProtocol

func BotProtocol(i BotInterface) rpc.Protocol

func CommonProtocol

func CommonProtocol(i CommonInterface) rpc.Protocol

func ConfigProtocol

func ConfigProtocol(i ConfigInterface) rpc.Protocol

func ConstantsProtocol

func ConstantsProtocol(i ConstantsInterface) rpc.Protocol

func ContactsProtocol

func ContactsProtocol(i ContactsInterface) rpc.Protocol

func CryptoProtocol

func CryptoProtocol(i CryptoInterface) rpc.Protocol

func CryptocurrencyProtocol

func CryptocurrencyProtocol(i CryptocurrencyInterface) rpc.Protocol

func CtlProtocol

func CtlProtocol(i CtlInterface) rpc.Protocol

func DebuggingProtocol

func DebuggingProtocol(i DebuggingInterface) rpc.Protocol

func DelegateUiCtlProtocol

func DelegateUiCtlProtocol(i DelegateUiCtlInterface) rpc.Protocol

func DeviceProtocol

func DeviceProtocol(i DeviceInterface) rpc.Protocol

func EmailsProtocol

func EmailsProtocol(i EmailsInterface) rpc.Protocol

func EphemeralProtocol

func EphemeralProtocol(i EphemeralInterface) rpc.Protocol

func FavoriteProtocol

func FavoriteProtocol(i FavoriteInterface) rpc.Protocol

func FeaturedBotProtocol

func FeaturedBotProtocol(i FeaturedBotInterface) rpc.Protocol

func FormatTime

func FormatTime(t Time) string

func FormatUnixTime

func FormatUnixTime(u UnixTime) string

func FromTime

func FromTime(t Time) time.Time

func FromUnixTime

func FromUnixTime(u UnixTime) time.Time

func FsProtocol

func FsProtocol(i FsInterface) rpc.Protocol

func GitProtocol

func GitProtocol(i GitInterface) rpc.Protocol

func GpgCommonProtocol

func GpgCommonProtocol(i GpgCommonInterface) rpc.Protocol

func GpgUiProtocol

func GpgUiProtocol(i GpgUiInterface) rpc.Protocol

func GregorProtocol

func GregorProtocol(i GregorInterface) rpc.Protocol

func GregorUIProtocol

func GregorUIProtocol(i GregorUIInterface) rpc.Protocol

func HomeProtocol

func HomeProtocol(i HomeInterface) rpc.Protocol

func HomeUIProtocol

func HomeUIProtocol(i HomeUIInterface) rpc.Protocol

func Identify3CommonProtocol

func Identify3CommonProtocol(i Identify3CommonInterface) rpc.Protocol

func Identify3Protocol

func Identify3Protocol(i Identify3Interface) rpc.Protocol

func Identify3UiProtocol

func Identify3UiProtocol(i Identify3UiInterface) rpc.Protocol

func IdentifyCommonProtocol

func IdentifyCommonProtocol(i IdentifyCommonInterface) rpc.Protocol

func IdentifyProtocol

func IdentifyProtocol(i IdentifyInterface) rpc.Protocol

func IdentifyUiProtocol

func IdentifyUiProtocol(i IdentifyUiInterface) rpc.Protocol

func ImplicitTeamMigrationProtocol

func ImplicitTeamMigrationProtocol(i ImplicitTeamMigrationInterface) rpc.Protocol

func IncomingShareProtocol

func IncomingShareProtocol(i IncomingShareInterface) rpc.Protocol

func InstallProtocol

func InstallProtocol(i InstallInterface) rpc.Protocol

func InviteFriendsProtocol

func InviteFriendsProtocol(i InviteFriendsInterface) rpc.Protocol

func KBFSGitProtocol

func KBFSGitProtocol(i KBFSGitInterface) rpc.Protocol

func KbfsCommonProtocol

func KbfsCommonProtocol(i KbfsCommonInterface) rpc.Protocol

func KbfsMountProtocol

func KbfsMountProtocol(i KbfsMountInterface) rpc.Protocol

func KbfsProtocol

func KbfsProtocol(i KbfsInterface) rpc.Protocol

func Kex2Provisionee2Protocol

func Kex2Provisionee2Protocol(i Kex2Provisionee2Interface) rpc.Protocol

func Kex2ProvisioneeProtocol

func Kex2ProvisioneeProtocol(i Kex2ProvisioneeInterface) rpc.Protocol

func Kex2ProvisionerProtocol

func Kex2ProvisionerProtocol(i Kex2ProvisionerInterface) rpc.Protocol

func KvstoreProtocol

func KvstoreProtocol(i KvstoreInterface) rpc.Protocol

func LogProtocol

func LogProtocol(i LogInterface) rpc.Protocol

func LogUiProtocol

func LogUiProtocol(i LogUiInterface) rpc.Protocol

func LoginProtocol

func LoginProtocol(i LoginInterface) rpc.Protocol

func LoginUiProtocol

func LoginUiProtocol(i LoginUiInterface) rpc.Protocol

func LogsendProtocol

func LogsendProtocol(i LogsendInterface) rpc.Protocol

func MerkleProtocol

func MerkleProtocol(i MerkleInterface) rpc.Protocol

func Merkle_storeProtocol

func Merkle_storeProtocol(i Merkle_storeInterface) rpc.Protocol

func MetadataProtocol

func MetadataProtocol(i MetadataInterface) rpc.Protocol

func MetadataUpdateProtocol

func MetadataUpdateProtocol(i MetadataUpdateInterface) rpc.Protocol

func NetworkStatsProtocol

func NetworkStatsProtocol(i NetworkStatsInterface) rpc.Protocol

func NotifyAppProtocol

func NotifyAppProtocol(i NotifyAppInterface) rpc.Protocol

func NotifyAuditProtocol

func NotifyAuditProtocol(i NotifyAuditInterface) rpc.Protocol

func NotifyBadgesProtocol

func NotifyBadgesProtocol(i NotifyBadgesInterface) rpc.Protocol

func NotifyCanUserPerformProtocol

func NotifyCanUserPerformProtocol(i NotifyCanUserPerformInterface) rpc.Protocol

func NotifyCtlProtocol

func NotifyCtlProtocol(i NotifyCtlInterface) rpc.Protocol

func NotifyDeviceCloneProtocol

func NotifyDeviceCloneProtocol(i NotifyDeviceCloneInterface) rpc.Protocol

func NotifyEmailAddressProtocol

func NotifyEmailAddressProtocol(i NotifyEmailAddressInterface) rpc.Protocol

func NotifyEphemeralProtocol

func NotifyEphemeralProtocol(i NotifyEphemeralInterface) rpc.Protocol

func NotifyFSProtocol

func NotifyFSProtocol(i NotifyFSInterface) rpc.Protocol

func NotifyFSRequestProtocol

func NotifyFSRequestProtocol(i NotifyFSRequestInterface) rpc.Protocol

func NotifyFavoritesProtocol

func NotifyFavoritesProtocol(i NotifyFavoritesInterface) rpc.Protocol

func NotifyFeaturedBotsProtocol

func NotifyFeaturedBotsProtocol(i NotifyFeaturedBotsInterface) rpc.Protocol

func NotifyInviteFriendsProtocol

func NotifyInviteFriendsProtocol(i NotifyInviteFriendsInterface) rpc.Protocol

func NotifyKeyfamilyProtocol

func NotifyKeyfamilyProtocol(i NotifyKeyfamilyInterface) rpc.Protocol

func NotifyPGPProtocol

func NotifyPGPProtocol(i NotifyPGPInterface) rpc.Protocol

func NotifyPaperKeyProtocol

func NotifyPaperKeyProtocol(i NotifyPaperKeyInterface) rpc.Protocol

func NotifyPhoneNumberProtocol

func NotifyPhoneNumberProtocol(i NotifyPhoneNumberInterface) rpc.Protocol

func NotifyRuntimeStatsProtocol

func NotifyRuntimeStatsProtocol(i NotifyRuntimeStatsInterface) rpc.Protocol

func NotifySaltpackProtocol

func NotifySaltpackProtocol(i NotifySaltpackInterface) rpc.Protocol

func NotifyServiceProtocol

func NotifyServiceProtocol(i NotifyServiceInterface) rpc.Protocol

func NotifySessionProtocol

func NotifySessionProtocol(i NotifySessionInterface) rpc.Protocol

func NotifySimpleFSProtocol

func NotifySimpleFSProtocol(i NotifySimpleFSInterface) rpc.Protocol

func NotifyTeamProtocol

func NotifyTeamProtocol(i NotifyTeamInterface) rpc.Protocol

func NotifyTeambotProtocol

func NotifyTeambotProtocol(i NotifyTeambotInterface) rpc.Protocol

func NotifyTrackingProtocol

func NotifyTrackingProtocol(i NotifyTrackingInterface) rpc.Protocol

func NotifyUsersProtocol

func NotifyUsersProtocol(i NotifyUsersInterface) rpc.Protocol

func PGPProtocol

func PGPProtocol(i PGPInterface) rpc.Protocol

func PGPUiProtocol

func PGPUiProtocol(i PGPUiInterface) rpc.Protocol

func PaperprovisionProtocol

func PaperprovisionProtocol(i PaperprovisionInterface) rpc.Protocol

func PassphraseCommonProtocol

func PassphraseCommonProtocol(i PassphraseCommonInterface) rpc.Protocol

func PhoneNumberToAssertionValue

func PhoneNumberToAssertionValue(phoneNumber string) string

func PhoneNumbersProtocol

func PhoneNumbersProtocol(i PhoneNumbersInterface) rpc.Protocol

func PprofProtocol

func PprofProtocol(i PprofInterface) rpc.Protocol

func ProcessProtocol

func ProcessProtocol(i ProcessInterface) rpc.Protocol

func ProveCommonProtocol

func ProveCommonProtocol(i ProveCommonInterface) rpc.Protocol

func ProveProtocol

func ProveProtocol(i ProveInterface) rpc.Protocol

func ProveUiProtocol

func ProveUiProtocol(i ProveUiInterface) rpc.Protocol

func ProvisionUiProtocol

func ProvisionUiProtocol(i ProvisionUiInterface) rpc.Protocol

func QuotaProtocol

func QuotaProtocol(i QuotaInterface) rpc.Protocol

func Quote

func Quote(s string) []byte

func ReachabilityProtocol

func ReachabilityProtocol(i ReachabilityInterface) rpc.Protocol

func RefNames

func RefNames(refs []GitRefMetadata) string

func RekeyProtocol

func RekeyProtocol(i RekeyInterface) rpc.Protocol

func RekeyUIProtocol

func RekeyUIProtocol(i RekeyUIInterface) rpc.Protocol

func ResetProtocol

func ResetProtocol(i ResetInterface) rpc.Protocol

func RevokeProtocol

func RevokeProtocol(i RevokeInterface) rpc.Protocol

func RuntimeProtocol

func RuntimeProtocol(i RuntimeInterface) rpc.Protocol

func SaltpackProtocol

func SaltpackProtocol(i SaltpackInterface) rpc.Protocol

func SaltpackUiProtocol

func SaltpackUiProtocol(i SaltpackUiInterface) rpc.Protocol

func ScanProofsProtocol

func ScanProofsProtocol(i ScanProofsInterface) rpc.Protocol

func SecretKeysProtocol

func SecretKeysProtocol(i SecretKeysInterface) rpc.Protocol

func SecretUiProtocol

func SecretUiProtocol(i SecretUiInterface) rpc.Protocol

func SelfprovisionProtocol

func SelfprovisionProtocol(i SelfprovisionInterface) rpc.Protocol

func SessionProtocol

func SessionProtocol(i SessionInterface) rpc.Protocol

func SignupProtocol

func SignupProtocol(i SignupInterface) rpc.Protocol

func SigsProtocol

func SigsProtocol(i SigsInterface) rpc.Protocol

func SimpleFSProtocol

func SimpleFSProtocol(i SimpleFSInterface) rpc.Protocol

func StreamUiProtocol

func StreamUiProtocol(i StreamUiInterface) rpc.Protocol

func TeamSearchProtocol

func TeamSearchProtocol(i TeamSearchInterface) rpc.Protocol

func TeambotProtocol

func TeambotProtocol(i TeambotInterface) rpc.Protocol

func TeamsProtocol

func TeamsProtocol(i TeamsInterface) rpc.Protocol

func TeamsUiProtocol

func TeamsUiProtocol(i TeamsUiInterface) rpc.Protocol

func TestProtocol

func TestProtocol(i TestInterface) rpc.Protocol

func TlfKeysProtocol

func TlfKeysProtocol(i TlfKeysInterface) rpc.Protocol

func TlfProtocol

func TlfProtocol(i TlfInterface) rpc.Protocol

func TotalNumberOfCommits

func TotalNumberOfCommits(refs []GitRefMetadata) (total int)

func TrackProtocol

func TrackProtocol(i TrackInterface) rpc.Protocol

func UPKProtocol

func UPKProtocol(i UPKInterface) rpc.Protocol

func UiProtocol

func UiProtocol(i UiInterface) rpc.Protocol

func Unquote

func Unquote(data []byte) string

func UnquoteBytes

func UnquoteBytes(data []byte) []byte

func UserProtocol

func UserProtocol(i UserInterface) rpc.Protocol

func UserRolePairsHaveOwner

func UserRolePairsHaveOwner(users []UserRolePair) bool

UserRolePairsHaveOwner check if a list of UserRolePair has user with role OWNER.

func UserSearchProtocol

func UserSearchProtocol(i UserSearchInterface) rpc.Protocol

func WotProtocol

func WotProtocol(i WotInterface) rpc.Protocol

func WrapError

func WrapError(e error) interface{}

WrapError is a generic method that converts a Go Error into a RPC error status object. If the error is itself a Status object to being with, then it will just return that status object. If it is something that can be made into a Status object via the ToStatusAble interface, then we'll try that. Otherwise, we'll just make a generic Error type.

Types

type APIRes

type APIRes struct {
	Status     string `codec:"status" json:"status"`
	Body       string `codec:"body" json:"body"`
	HttpStatus int    `codec:"httpStatus" json:"httpStatus"`
	AppStatus  string `codec:"appStatus" json:"appStatus"`
}

func (APIRes) DeepCopy

func (o APIRes) DeepCopy() APIRes

type APIStatus

type APIStatus interface {
	Status() Status
}

type APIUserKeybaseResult

type APIUserKeybaseResult struct {
	Username   string  `codec:"username" json:"username"`
	Uid        UID     `codec:"uid" json:"uid"`
	PictureUrl *string `codec:"pictureUrl,omitempty" json:"picture_url,omitempty"`
	FullName   *string `codec:"fullName,omitempty" json:"full_name,omitempty"`
	RawScore   float64 `codec:"rawScore" json:"raw_score"`
	Stellar    *string `codec:"stellar,omitempty" json:"stellar,omitempty"`
	IsFollowee bool    `codec:"isFollowee" json:"is_followee"`
}

func (APIUserKeybaseResult) DeepCopy

type APIUserSearchResult

type APIUserSearchResult struct {
	Score           float64                                    `codec:"score" json:"score"`
	Keybase         *APIUserKeybaseResult                      `codec:"keybase,omitempty" json:"keybase,omitempty"`
	Service         *APIUserServiceResult                      `codec:"service,omitempty" json:"service,omitempty"`
	Contact         *ProcessedContact                          `codec:"contact,omitempty" json:"contact,omitempty"`
	Imptofu         *ImpTofuSearchResult                       `codec:"imptofu,omitempty" json:"imptofu,omitempty"`
	ServicesSummary map[APIUserServiceID]APIUserServiceSummary `codec:"servicesSummary" json:"services_summary"`
	RawScore        float64                                    `codec:"rawScore" json:"rawScore"`
}

func (APIUserSearchResult) DeepCopy

func (APIUserSearchResult) GetStringIDForCompare

func (r APIUserSearchResult) GetStringIDForCompare() string

type APIUserServiceID

type APIUserServiceID string

func (APIUserServiceID) DeepCopy

func (o APIUserServiceID) DeepCopy() APIUserServiceID

type APIUserServiceResult

type APIUserServiceResult struct {
	ServiceName APIUserServiceID `codec:"serviceName" json:"service_name"`
	Username    string           `codec:"username" json:"username"`
	PictureUrl  string           `codec:"pictureUrl" json:"picture_url"`
	Bio         string           `codec:"bio" json:"bio"`
	Location    string           `codec:"location" json:"location"`
	FullName    string           `codec:"fullName" json:"full_name"`
	Confirmed   *bool            `codec:"confirmed,omitempty" json:"confirmed,omitempty"`
}

func (APIUserServiceResult) DeepCopy

type APIUserServiceSummary

type APIUserServiceSummary struct {
	ServiceName APIUserServiceID `codec:"serviceName" json:"service_name"`
	Username    string           `codec:"username" json:"username"`
}

func (APIUserServiceSummary) DeepCopy

type AccountClient

type AccountClient struct {
	Cli rpc.GenericClient
}

func (AccountClient) CancelReset

func (c AccountClient) CancelReset(ctx context.Context, sessionID int) (err error)

Aborts the reset process

func (AccountClient) EmailChange

func (c AccountClient) EmailChange(ctx context.Context, __arg EmailChangeArg) (err error)

* change email to the new given email by signing a statement.

func (AccountClient) EnterResetPipeline

func (c AccountClient) EnterResetPipeline(ctx context.Context, __arg EnterResetPipelineArg) (err error)

Start reset process for the user based on their username or email. If neither are known the user will be prompted for their passphrase to start the process. TODO: change this to just username

func (AccountClient) GetLockdownMode

func (c AccountClient) GetLockdownMode(ctx context.Context, sessionID int) (res GetLockdownResponse, err error)

func (AccountClient) GuessCurrentLocation

func (c AccountClient) GuessCurrentLocation(ctx context.Context, __arg GuessCurrentLocationArg) (res string, err error)

func (AccountClient) HasServerKeys

func (c AccountClient) HasServerKeys(ctx context.Context, sessionID int) (res HasServerKeysRes, err error)

* Whether the logged-in user has uploaded private keys * Will error if not logged in.

func (AccountClient) PassphraseChange

func (c AccountClient) PassphraseChange(ctx context.Context, __arg PassphraseChangeArg) (err error)

Change the passphrase from old to new. If old isn't set, and force is false, then prompt at the UI for it. If old isn't set and force is true, then we'll try to force a passphrase change.

func (AccountClient) PassphraseCheck

func (c AccountClient) PassphraseCheck(ctx context.Context, __arg PassphraseCheckArg) (res bool, err error)

* Check if user passphrase matches argument. Launches SecretUI prompt if * passphrase argument is empty. Returns `true` if passphrase is correct, * false if not, or an error if something else went wrong.

func (AccountClient) PassphrasePrompt

func (c AccountClient) PassphrasePrompt(ctx context.Context, __arg PassphrasePromptArg) (res GetPassphraseRes, err error)

func (AccountClient) RecoverUsernameWithEmail

func (c AccountClient) RecoverUsernameWithEmail(ctx context.Context, __arg RecoverUsernameWithEmailArg) (err error)

func (AccountClient) RecoverUsernameWithPhone

func (c AccountClient) RecoverUsernameWithPhone(ctx context.Context, __arg RecoverUsernameWithPhoneArg) (err error)

func (AccountClient) ResetAccount

func (c AccountClient) ResetAccount(ctx context.Context, __arg ResetAccountArg) (err error)

resetAccount resets the user's account. It is used in the CLI. passphrase is optional and will be prompted for if not supplied.

func (AccountClient) SetLockdownMode

func (c AccountClient) SetLockdownMode(ctx context.Context, __arg SetLockdownModeArg) (err error)

func (AccountClient) TimeTravelReset

func (c AccountClient) TimeTravelReset(ctx context.Context, __arg TimeTravelResetArg) (err error)

func (AccountClient) UserGetContactSettings

func (c AccountClient) UserGetContactSettings(ctx context.Context) (res ContactSettings, err error)

func (AccountClient) UserSetContactSettings

func (c AccountClient) UserSetContactSettings(ctx context.Context, settings ContactSettings) (err error)

type AccountDeleteArg

type AccountDeleteArg struct {
	SessionID  int     `codec:"sessionID" json:"sessionID"`
	Passphrase *string `codec:"passphrase,omitempty" json:"passphrase,omitempty"`
}

type AccountInterface

type AccountInterface interface {
	// Change the passphrase from old to new. If old isn't set, and force is false,
	// then prompt at the UI for it. If old isn't set and force is true, then
	// we'll try to force a passphrase change.
	PassphraseChange(context.Context, PassphraseChangeArg) error
	PassphrasePrompt(context.Context, PassphrasePromptArg) (GetPassphraseRes, error)
	// * Check if user passphrase matches argument. Launches SecretUI prompt if
	// * passphrase argument is empty. Returns `true` if passphrase is correct,
	// * false if not, or an error if something else went wrong.
	PassphraseCheck(context.Context, PassphraseCheckArg) (bool, error)
	// * change email to the new given email by signing a statement.
	EmailChange(context.Context, EmailChangeArg) error
	// * Whether the logged-in user has uploaded private keys
	// * Will error if not logged in.
	HasServerKeys(context.Context, int) (HasServerKeysRes, error)
	// resetAccount resets the user's account. It is used in the CLI.
	// passphrase is optional and will be prompted for if not supplied.
	ResetAccount(context.Context, ResetAccountArg) error
	GetLockdownMode(context.Context, int) (GetLockdownResponse, error)
	SetLockdownMode(context.Context, SetLockdownModeArg) error
	RecoverUsernameWithEmail(context.Context, RecoverUsernameWithEmailArg) error
	RecoverUsernameWithPhone(context.Context, RecoverUsernameWithPhoneArg) error
	// Start reset process for the user based on their username or email.  If
	// neither are known the user will be prompted for their passphrase to start
	// the process.
	// TODO: change this to just username
	EnterResetPipeline(context.Context, EnterResetPipelineArg) error
	// Aborts the reset process
	CancelReset(context.Context, int) error
	TimeTravelReset(context.Context, TimeTravelResetArg) error
	GuessCurrentLocation(context.Context, GuessCurrentLocationArg) (string, error)
	UserGetContactSettings(context.Context) (ContactSettings, error)
	UserSetContactSettings(context.Context, ContactSettings) error
}

type AddEmailArg

type AddEmailArg struct {
	SessionID  int                `codec:"sessionID" json:"sessionID"`
	Email      EmailAddress       `codec:"email" json:"email"`
	Visibility IdentityVisibility `codec:"visibility" json:"visibility"`
}

type AddPhoneNumberArg

type AddPhoneNumberArg struct {
	SessionID   int                `codec:"sessionID" json:"sessionID"`
	PhoneNumber PhoneNumber        `codec:"phoneNumber" json:"phoneNumber"`
	Visibility  IdentityVisibility `codec:"visibility" json:"visibility"`
}

type AddReferenceArg

type AddReferenceArg struct {
	Folder string         `codec:"folder" json:"folder"`
	Ref    BlockReference `codec:"ref" json:"ref"`
}

type AirdropClient

type AirdropClient struct {
	Cli rpc.GenericClient
}

func (AirdropClient) Reg1

func (c AirdropClient) Reg1(ctx context.Context, __arg Reg1Arg) (res BinaryKID, err error)

func (AirdropClient) Reg2

func (c AirdropClient) Reg2(ctx context.Context, ctext []byte) (err error)

type AirdropDetails

type AirdropDetails struct {
	Uid  UID       `codec:"uid" json:"uid"`
	Kid  BinaryKID `codec:"kid" json:"kid"`
	Vid  VID       `codec:"vid" json:"vid"`
	Vers string    `codec:"vers" json:"vers"`
	Time Time      `codec:"time" json:"time"`
}

func (AirdropDetails) DeepCopy

func (o AirdropDetails) DeepCopy() AirdropDetails

type AirdropInterface

type AirdropInterface interface {
	Reg1(context.Context, Reg1Arg) (BinaryKID, error)
	Reg2(context.Context, []byte) error
}

type AllProvisionedUsernames

type AllProvisionedUsernames struct {
	DefaultUsername      string   `codec:"defaultUsername" json:"defaultUsername"`
	ProvisionedUsernames []string `codec:"provisionedUsernames" json:"provisionedUsernames"`
	HasProvisionedUser   bool     `codec:"hasProvisionedUser" json:"hasProvisionedUser"`
}

func (AllProvisionedUsernames) DeepCopy

type AnnotatedMemberInfo

type AnnotatedMemberInfo struct {
	UserID              UID              `codec:"userID" json:"uid"`
	TeamID              TeamID           `codec:"teamID" json:"team_id"`
	Username            string           `codec:"username" json:"username"`
	FullName            string           `codec:"fullName" json:"full_name"`
	FqName              string           `codec:"fqName" json:"fq_name"`
	IsImplicitTeam      bool             `codec:"isImplicitTeam" json:"is_implicit_team"`
	ImpTeamDisplayName  string           `codec:"impTeamDisplayName" json:"implicit_team_display_name"`
	IsOpenTeam          bool             `codec:"isOpenTeam" json:"is_open_team"`
	Role                TeamRole         `codec:"role" json:"role"`
	Implicit            *ImplicitRole    `codec:"implicit,omitempty" json:"implicit,omitempty"`
	NeedsPUK            bool             `codec:"needsPUK" json:"needsPUK"`
	MemberCount         int              `codec:"memberCount" json:"member_count"`
	EldestSeqno         Seqno            `codec:"eldestSeqno" json:"member_eldest_seqno"`
	AllowProfilePromote bool             `codec:"allowProfilePromote" json:"allow_profile_promote"`
	IsMemberShowcased   bool             `codec:"isMemberShowcased" json:"is_member_showcased"`
	Status              TeamMemberStatus `codec:"status" json:"status"`
}

func (AnnotatedMemberInfo) DeepCopy

type AnnotatedTeam

type AnnotatedTeam struct {
	TeamID                       TeamID                `codec:"teamID" json:"teamID"`
	Name                         string                `codec:"name" json:"name"`
	TransitiveSubteamsUnverified SubteamListResult     `codec:"transitiveSubteamsUnverified" json:"transitiveSubteamsUnverified"`
	Members                      []TeamMemberDetails   `codec:"members" json:"members"`
	Invites                      []AnnotatedTeamInvite `codec:"invites" json:"invites"`
	Settings                     TeamSettings          `codec:"settings" json:"settings"`
	KeyGeneration                PerTeamKeyGeneration  `codec:"keyGeneration" json:"keyGeneration"`
	Showcase                     TeamShowcase          `codec:"showcase" json:"showcase"`
	JoinRequests                 []TeamJoinRequest     `codec:"joinRequests" json:"joinRequests"`
	TarsDisabled                 bool                  `codec:"tarsDisabled" json:"tarsDisabled"`
}

func (AnnotatedTeam) DeepCopy

func (o AnnotatedTeam) DeepCopy() AnnotatedTeam

func (AnnotatedTeam) ToLegacyTeamDetails

func (a AnnotatedTeam) ToLegacyTeamDetails() TeamDetails

type AnnotatedTeamInvite

type AnnotatedTeamInvite struct {
	InviteMetadata      TeamInviteMetadata     `codec:"inviteMetadata" json:"inviteMetadata"`
	DisplayName         TeamInviteDisplayName  `codec:"displayName" json:"displayName"`
	InviterUsername     string                 `codec:"inviterUsername" json:"inviterUsername"`
	TeamName            string                 `codec:"teamName" json:"teamName"`
	IsValid             bool                   `codec:"isValid" json:"isValid"`
	ValidityDescription string                 `codec:"validityDescription" json:"validityDescription"`
	InviteExt           AnnotatedTeamInviteExt `codec:"inviteExt" json:"inviteExt"`
}

func (AnnotatedTeamInvite) DeepCopy

type AnnotatedTeamInviteExt

type AnnotatedTeamInviteExt struct {
	C__          TeamInviteCategory   `codec:"c" json:"c"`
	Keybase__    *KeybaseInviteExt    `codec:"keybase,omitempty" json:"keybase,omitempty"`
	Invitelink__ *InvitelinkInviteExt `codec:"invitelink,omitempty" json:"invitelink,omitempty"`
}

func NewAnnotatedTeamInviteExtDefault

func NewAnnotatedTeamInviteExtDefault(c TeamInviteCategory) AnnotatedTeamInviteExt
func NewAnnotatedTeamInviteExtWithInvitelink(v InvitelinkInviteExt) AnnotatedTeamInviteExt

func NewAnnotatedTeamInviteExtWithKeybase

func NewAnnotatedTeamInviteExtWithKeybase(v KeybaseInviteExt) AnnotatedTeamInviteExt

func (*AnnotatedTeamInviteExt) C

func (AnnotatedTeamInviteExt) DeepCopy

func (o AnnotatedTeamInviteExt) Invitelink() (res InvitelinkInviteExt)

func (AnnotatedTeamInviteExt) Keybase

func (o AnnotatedTeamInviteExt) Keybase() (res KeybaseInviteExt)

type AnnotatedTeamList

type AnnotatedTeamList struct {
	Teams []AnnotatedMemberInfo `codec:"teams" json:"teams"`
}

func (AnnotatedTeamList) DeepCopy

func (o AnnotatedTeamList) DeepCopy() AnnotatedTeamList

type AnnotatedTeamUsedInviteLogPoint

type AnnotatedTeamUsedInviteLogPoint struct {
	Username               string                 `codec:"username" json:"username"`
	TeamUsedInviteLogPoint TeamUsedInviteLogPoint `codec:"teamUsedInviteLogPoint" json:"teamUsedInviteLogPoint"`
}

func (AnnotatedTeamUsedInviteLogPoint) DeepCopy

type ApiserverClient

type ApiserverClient struct {
	Cli rpc.GenericClient
}

func (ApiserverClient) Delete

func (c ApiserverClient) Delete(ctx context.Context, __arg DeleteArg) (res APIRes, err error)

func (ApiserverClient) Get

func (c ApiserverClient) Get(ctx context.Context, __arg GetArg) (res APIRes, err error)

func (ApiserverClient) GetWithSession

func (c ApiserverClient) GetWithSession(ctx context.Context, __arg GetWithSessionArg) (res APIRes, err error)

func (ApiserverClient) Post

func (c ApiserverClient) Post(ctx context.Context, __arg PostArg) (res APIRes, err error)

func (ApiserverClient) PostJSON

func (c ApiserverClient) PostJSON(ctx context.Context, __arg PostJSONArg) (res APIRes, err error)

type ApiserverInterface

type ApiserverInterface interface {
	Get(context.Context, GetArg) (APIRes, error)
	Delete(context.Context, DeleteArg) (APIRes, error)
	GetWithSession(context.Context, GetWithSessionArg) (APIRes, error)
	Post(context.Context, PostArg) (APIRes, error)
	PostJSON(context.Context, PostJSONArg) (APIRes, error)
}

type AppExitArg

type AppExitArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type AppLinkType

type AppLinkType int
const (
	AppLinkType_NONE     AppLinkType = 0
	AppLinkType_PEOPLE   AppLinkType = 1
	AppLinkType_CHAT     AppLinkType = 2
	AppLinkType_FILES    AppLinkType = 3
	AppLinkType_WALLET   AppLinkType = 4
	AppLinkType_GIT      AppLinkType = 5
	AppLinkType_DEVICES  AppLinkType = 6
	AppLinkType_SETTINGS AppLinkType = 7
	AppLinkType_TEAMS    AppLinkType = 8
)

func (AppLinkType) DeepCopy

func (o AppLinkType) DeepCopy() AppLinkType

func (AppLinkType) String

func (e AppLinkType) String() string

type AppStateClient

type AppStateClient struct {
	Cli rpc.GenericClient
}

func (AppStateClient) PowerMonitorEvent

func (c AppStateClient) PowerMonitorEvent(ctx context.Context, event string) (err error)

func (AppStateClient) UpdateMobileNetState

func (c AppStateClient) UpdateMobileNetState(ctx context.Context, state string) (err error)

type AppStateInterface

type AppStateInterface interface {
	UpdateMobileNetState(context.Context, string) error
	PowerMonitorEvent(context.Context, string) error
}

type AppendGUILogsArg

type AppendGUILogsArg struct {
	Content string `codec:"content" json:"content"`
}

type ArchiveJobStartPath

type ArchiveJobStartPath struct {
	ArchiveJobStartPathType__ ArchiveJobStartPathType `codec:"archiveJobStartPathType" json:"archiveJobStartPathType"`
	Kbfs__                    *KBFSPath               `codec:"kbfs,omitempty" json:"kbfs,omitempty"`
	Git__                     *string                 `codec:"git,omitempty" json:"git,omitempty"`
}

func NewArchiveJobStartPathWithGit

func NewArchiveJobStartPathWithGit(v string) ArchiveJobStartPath

func NewArchiveJobStartPathWithKbfs

func NewArchiveJobStartPathWithKbfs(v KBFSPath) ArchiveJobStartPath

func (*ArchiveJobStartPath) ArchiveJobStartPathType

func (o *ArchiveJobStartPath) ArchiveJobStartPathType() (ret ArchiveJobStartPathType, err error)

func (ArchiveJobStartPath) DeepCopy

func (ArchiveJobStartPath) Git

func (o ArchiveJobStartPath) Git() (res string)

func (ArchiveJobStartPath) Kbfs

func (o ArchiveJobStartPath) Kbfs() (res KBFSPath)

type ArchiveJobStartPathType

type ArchiveJobStartPathType int
const (
	ArchiveJobStartPathType_KBFS ArchiveJobStartPathType = 0
	ArchiveJobStartPathType_GIT  ArchiveJobStartPathType = 1
)

func (ArchiveJobStartPathType) DeepCopy

func (ArchiveJobStartPathType) String

func (e ArchiveJobStartPathType) String() string

type ArchiveReferenceArg

type ArchiveReferenceArg struct {
	Folder string           `codec:"folder" json:"folder"`
	Refs   []BlockReference `codec:"refs" json:"refs"`
}

type ArchiveReferenceWithCountArg

type ArchiveReferenceWithCountArg struct {
	Folder string           `codec:"folder" json:"folder"`
	Refs   []BlockReference `codec:"refs" json:"refs"`
}

type AssertionTeamMemberToRemove

type AssertionTeamMemberToRemove struct {
	Assertion         string `codec:"assertion" json:"assertion"`
	RemoveFromSubtree bool   `codec:"removeFromSubtree" json:"removeFromSubtree"`
}

func (AssertionTeamMemberToRemove) DeepCopy

type AsyncOps

type AsyncOps int
const (
	AsyncOps_LIST                    AsyncOps = 0
	AsyncOps_LIST_RECURSIVE          AsyncOps = 1
	AsyncOps_READ                    AsyncOps = 2
	AsyncOps_WRITE                   AsyncOps = 3
	AsyncOps_COPY                    AsyncOps = 4
	AsyncOps_MOVE                    AsyncOps = 5
	AsyncOps_REMOVE                  AsyncOps = 6
	AsyncOps_LIST_RECURSIVE_TO_DEPTH AsyncOps = 7
	AsyncOps_GET_REVISIONS           AsyncOps = 8
)

func (AsyncOps) DeepCopy

func (o AsyncOps) DeepCopy() AsyncOps

func (AsyncOps) String

func (e AsyncOps) String() string

type AttemptBoxAuditArg

type AttemptBoxAuditArg struct {
	SessionID         int    `codec:"sessionID" json:"sessionID"`
	TeamID            TeamID `codec:"teamID" json:"teamID"`
	RotateBeforeAudit bool   `codec:"rotateBeforeAudit" json:"rotateBeforeAudit"`
}

type Audit

type Audit struct {
	Time           Time  `codec:"time" json:"time"`
	MaxMerkleSeqno Seqno `codec:"mms" json:"mms"`
	MaxChainSeqno  Seqno `codec:"mcs" json:"mcs"`
	MaxHiddenSeqno Seqno `codec:"mhs" json:"mhs"`
	MaxMerkleProbe Seqno `codec:"mmp" json:"mmp"`
}

func (Audit) DeepCopy

func (o Audit) DeepCopy() Audit

type AuditClient

type AuditClient struct {
	Cli rpc.GenericClient
}

func (AuditClient) AttemptBoxAudit

func (c AuditClient) AttemptBoxAudit(ctx context.Context, __arg AttemptBoxAuditArg) (res BoxAuditAttempt, err error)

func (AuditClient) BoxAuditTeam

func (c AuditClient) BoxAuditTeam(ctx context.Context, __arg BoxAuditTeamArg) (res *BoxAuditAttempt, err error)

func (AuditClient) IsInJail

func (c AuditClient) IsInJail(ctx context.Context, __arg IsInJailArg) (res bool, err error)

func (AuditClient) KnownTeamIDs

func (c AuditClient) KnownTeamIDs(ctx context.Context, sessionID int) (res []TeamID, err error)

type AuditHistory

type AuditHistory struct {
	ID                TeamID           `codec:"ID" json:"ID"`
	Public            bool             `codec:"public" json:"public"`
	PriorMerkleSeqno  Seqno            `codec:"priorMerkleSeqno" json:"priorMerkleSeqno"`
	Version           AuditVersion     `codec:"version" json:"version"`
	Audits            []Audit          `codec:"audits" json:"audits"`
	PreProbes         map[Seqno]Probe  `codec:"preProbes" json:"preProbes"`
	PostProbes        map[Seqno]Probe  `codec:"postProbes" json:"postProbes"`
	Tails             map[Seqno]LinkID `codec:"tails" json:"tails"`
	HiddenTails       map[Seqno]LinkID `codec:"hiddenTails" json:"hiddenTails"`
	PreProbesToRetry  []Seqno          `codec:"preProbesToRetry" json:"preProbesToRetry"`
	PostProbesToRetry []Seqno          `codec:"postProbesToRetry" json:"postProbesToRetry"`
	SkipUntil         Time             `codec:"skipUntil" json:"skipUntil"`
}

func (AuditHistory) DeepCopy

func (o AuditHistory) DeepCopy() AuditHistory

type AuditInterface

type AuditInterface interface {
	IsInJail(context.Context, IsInJailArg) (bool, error)
	BoxAuditTeam(context.Context, BoxAuditTeamArg) (*BoxAuditAttempt, error)
	AttemptBoxAudit(context.Context, AttemptBoxAuditArg) (BoxAuditAttempt, error)
	KnownTeamIDs(context.Context, int) ([]TeamID, error)
}

type AuditMode

type AuditMode int
const (
	AuditMode_STANDARD           AuditMode = 0
	AuditMode_JUST_CREATED       AuditMode = 1
	AuditMode_SKIP               AuditMode = 2
	AuditMode_STANDARD_NO_HIDDEN AuditMode = 3
)

func (AuditMode) DeepCopy

func (o AuditMode) DeepCopy() AuditMode

func (AuditMode) String

func (e AuditMode) String() string

type AuditVersion

type AuditVersion int
const (
	AuditVersion_V0 AuditVersion = 0
	AuditVersion_V1 AuditVersion = 1
	AuditVersion_V2 AuditVersion = 2
	AuditVersion_V3 AuditVersion = 3
	AuditVersion_V4 AuditVersion = 4
)

func (AuditVersion) DeepCopy

func (o AuditVersion) DeepCopy() AuditVersion

func (AuditVersion) String

func (e AuditVersion) String() string

type AuthenticateArg

type AuthenticateArg struct {
	Signature string `codec:"signature" json:"signature"`
}

type AuthenticateSessionArg

type AuthenticateSessionArg struct {
	Signature string `codec:"signature" json:"signature"`
}

type AuthenticityType

type AuthenticityType int
const (
	AuthenticityType_SIGNED     AuthenticityType = 0
	AuthenticityType_REPUDIABLE AuthenticityType = 1
	AuthenticityType_ANONYMOUS  AuthenticityType = 2
)

func (AuthenticityType) DeepCopy

func (o AuthenticityType) DeepCopy() AuthenticityType

func (AuthenticityType) String

func (e AuthenticityType) String() string

type AvatarClearCacheMsg

type AvatarClearCacheMsg struct {
	Name    string           `codec:"name" json:"name"`
	Formats []AvatarFormat   `codec:"formats" json:"formats"`
	Typ     AvatarUpdateType `codec:"typ" json:"typ"`
}

func (AvatarClearCacheMsg) DeepCopy

type AvatarFormat

type AvatarFormat string

func (AvatarFormat) DeepCopy

func (o AvatarFormat) DeepCopy() AvatarFormat

func (AvatarFormat) String

func (f AvatarFormat) String() string

type AvatarUpdateType

type AvatarUpdateType int
const (
	AvatarUpdateType_NONE AvatarUpdateType = 0
	AvatarUpdateType_USER AvatarUpdateType = 1
	AvatarUpdateType_TEAM AvatarUpdateType = 2
)

func (AvatarUpdateType) DeepCopy

func (o AvatarUpdateType) DeepCopy() AvatarUpdateType

func (AvatarUpdateType) String

func (e AvatarUpdateType) String() string

type AvatarUpdatedArg

type AvatarUpdatedArg struct {
	Name    string           `codec:"name" json:"name"`
	Formats []AvatarFormat   `codec:"formats" json:"formats"`
	Typ     AvatarUpdateType `codec:"typ" json:"typ"`
}

type AvatarUrl

type AvatarUrl string

func MakeAvatarURL

func MakeAvatarURL(u string) AvatarUrl

func (AvatarUrl) DeepCopy

func (o AvatarUrl) DeepCopy() AvatarUrl

func (AvatarUrl) String

func (u AvatarUrl) String() string

type AvatarsClient

type AvatarsClient struct {
	Cli rpc.GenericClient
}

func (AvatarsClient) LoadTeamAvatars

func (c AvatarsClient) LoadTeamAvatars(ctx context.Context, __arg LoadTeamAvatarsArg) (res LoadAvatarsRes, err error)

func (AvatarsClient) LoadUserAvatars

func (c AvatarsClient) LoadUserAvatars(ctx context.Context, __arg LoadUserAvatarsArg) (res LoadAvatarsRes, err error)

type AvatarsInterface

type AvatarsInterface interface {
	LoadUserAvatars(context.Context, LoadUserAvatarsArg) (LoadAvatarsRes, error)
	LoadTeamAvatars(context.Context, LoadTeamAvatarsArg) (LoadAvatarsRes, error)
}

type BTCClient

type BTCClient struct {
	Cli rpc.GenericClient
}

func (BTCClient) RegisterBTC

func (c BTCClient) RegisterBTC(ctx context.Context, __arg RegisterBTCArg) (err error)

type BTCInterface

type BTCInterface interface {
	RegisterBTC(context.Context, RegisterBTCArg) error
}

type BackendCommonClient

type BackendCommonClient struct {
	Cli rpc.GenericClient
}

type BackendCommonInterface

type BackendCommonInterface interface {
}

type BadgeConversationInfo

type BadgeConversationInfo struct {
	ConvID         ChatConversationID `codec:"convID" json:"convID"`
	BadgeCount     int                `codec:"badgeCount" json:"badgeCount"`
	UnreadMessages int                `codec:"unreadMessages" json:"unreadMessages"`
}

func (BadgeConversationInfo) DeepCopy

func (BadgeConversationInfo) IsEmpty

func (b BadgeConversationInfo) IsEmpty() bool

type BadgeState

type BadgeState struct {
	NewTlfs                   int                     `codec:"newTlfs" json:"newTlfs"`
	RekeysNeeded              int                     `codec:"rekeysNeeded" json:"rekeysNeeded"`
	NewFollowers              int                     `codec:"newFollowers" json:"newFollowers"`
	InboxVers                 int                     `codec:"inboxVers" json:"inboxVers"`
	HomeTodoItems             int                     `codec:"homeTodoItems" json:"homeTodoItems"`
	UnverifiedEmails          int                     `codec:"unverifiedEmails" json:"unverifiedEmails"`
	UnverifiedPhones          int                     `codec:"unverifiedPhones" json:"unverifiedPhones"`
	SmallTeamBadgeCount       int                     `codec:"smallTeamBadgeCount" json:"smallTeamBadgeCount"`
	BigTeamBadgeCount         int                     `codec:"bigTeamBadgeCount" json:"bigTeamBadgeCount"`
	NewTeamAccessRequestCount int                     `codec:"newTeamAccessRequestCount" json:"newTeamAccessRequestCount"`
	NewDevices                []DeviceID              `codec:"newDevices" json:"newDevices"`
	RevokedDevices            []DeviceID              `codec:"revokedDevices" json:"revokedDevices"`
	Conversations             []BadgeConversationInfo `codec:"conversations" json:"conversations"`
	NewGitRepoGlobalUniqueIDs []string                `codec:"newGitRepoGlobalUniqueIDs" json:"newGitRepoGlobalUniqueIDs"`
	NewTeams                  []TeamID                `codec:"newTeams" json:"newTeams"`
	DeletedTeams              []DeletedTeamInfo       `codec:"deletedTeams" json:"deletedTeams"`
	TeamsWithResetUsers       []TeamMemberOutReset    `codec:"teamsWithResetUsers" json:"teamsWithResetUsers"`
	UnreadWalletAccounts      []WalletAccountInfo     `codec:"unreadWalletAccounts" json:"unreadWalletAccounts"`
	WotUpdates                map[string]WotUpdate    `codec:"wotUpdates" json:"wotUpdates"`
	ResetState                ResetState              `codec:"resetState" json:"resetState"`
}

func (BadgeState) DeepCopy

func (o BadgeState) DeepCopy() BadgeState

type BadgeStateArg

type BadgeStateArg struct {
	BadgeState BadgeState `codec:"badgeState" json:"badgeState"`
}

type BadgerClient

type BadgerClient struct {
	Cli rpc.GenericClient
}

func (BadgerClient) GetBadgeState

func (c BadgerClient) GetBadgeState(ctx context.Context) (res BadgeState, err error)

type BadgerInterface

type BadgerInterface interface {
	GetBadgeState(context.Context) (BadgeState, error)
}

type BinaryKID

type BinaryKID []byte

func (BinaryKID) DeepCopy

func (o BinaryKID) DeepCopy() BinaryKID

func (BinaryKID) Equal

func (b BinaryKID) Equal(c BinaryKID) bool

func (BinaryKID) ToKID

func (b BinaryKID) ToKID() KID

type BinaryLinkID

type BinaryLinkID []byte

func (BinaryLinkID) DeepCopy

func (o BinaryLinkID) DeepCopy() BinaryLinkID

type BlockClient

type BlockClient struct {
	Cli rpc.GenericClient
}

func (BlockClient) AddReference

func (c BlockClient) AddReference(ctx context.Context, __arg AddReferenceArg) (err error)

func (BlockClient) ArchiveReference

func (c BlockClient) ArchiveReference(ctx context.Context, __arg ArchiveReferenceArg) (res []BlockReference, err error)

func (BlockClient) ArchiveReferenceWithCount

func (c BlockClient) ArchiveReferenceWithCount(ctx context.Context, __arg ArchiveReferenceWithCountArg) (res DowngradeReferenceRes, err error)

func (BlockClient) AuthenticateSession

func (c BlockClient) AuthenticateSession(ctx context.Context, signature string) (err error)

func (BlockClient) BlockPing

func (c BlockClient) BlockPing(ctx context.Context) (res BlockPingResponse, err error)

func (BlockClient) DelReference

func (c BlockClient) DelReference(ctx context.Context, __arg DelReferenceArg) (err error)

func (BlockClient) DelReferenceWithCount

func (c BlockClient) DelReferenceWithCount(ctx context.Context, __arg DelReferenceWithCountArg) (res DowngradeReferenceRes, err error)

func (BlockClient) GetBlock

func (c BlockClient) GetBlock(ctx context.Context, __arg GetBlockArg) (res GetBlockRes, err error)

func (BlockClient) GetBlockSizes

func (c BlockClient) GetBlockSizes(ctx context.Context, __arg GetBlockSizesArg) (res GetBlockSizesRes, err error)

func (BlockClient) GetReferenceCount

func (c BlockClient) GetReferenceCount(ctx context.Context, __arg GetReferenceCountArg) (res ReferenceCountRes, err error)

func (BlockClient) GetSessionChallenge

func (c BlockClient) GetSessionChallenge(ctx context.Context) (res ChallengeInfo, err error)

func (BlockClient) GetTeamQuotaInfo

func (c BlockClient) GetTeamQuotaInfo(ctx context.Context, tid TeamID) (res []byte, err error)

func (BlockClient) GetTeamQuotaInfo2

func (c BlockClient) GetTeamQuotaInfo2(ctx context.Context, __arg GetTeamQuotaInfo2Arg) (res BlockQuotaInfo, err error)

func (BlockClient) GetUserQuotaInfo

func (c BlockClient) GetUserQuotaInfo(ctx context.Context) (res []byte, err error)

func (BlockClient) GetUserQuotaInfo2

func (c BlockClient) GetUserQuotaInfo2(ctx context.Context, includeFolders bool) (res BlockQuotaInfo, err error)

func (BlockClient) PutBlock

func (c BlockClient) PutBlock(ctx context.Context, __arg PutBlockArg) (err error)

func (BlockClient) PutBlockAgain

func (c BlockClient) PutBlockAgain(ctx context.Context, __arg PutBlockAgainArg) (err error)

type BlockIdCombo

type BlockIdCombo struct {
	BlockHash string       `codec:"blockHash" json:"blockHash"`
	ChargedTo UserOrTeamID `codec:"chargedTo" json:"chargedTo"`
	BlockType BlockType    `codec:"blockType" json:"blockType"`
}

func (BlockIdCombo) DeepCopy

func (o BlockIdCombo) DeepCopy() BlockIdCombo

type BlockIdCount

type BlockIdCount struct {
	Id        BlockIdCombo `codec:"id" json:"id"`
	LiveCount int          `codec:"liveCount" json:"liveCount"`
}

func (BlockIdCount) DeepCopy

func (o BlockIdCount) DeepCopy() BlockIdCount

type BlockPingArg

type BlockPingArg struct {
}

type BlockPingResponse

type BlockPingResponse struct {
}

func (BlockPingResponse) DeepCopy

func (o BlockPingResponse) DeepCopy() BlockPingResponse

type BlockQuotaInfo

type BlockQuotaInfo struct {
	Folders  []FolderUsageStat `codec:"folders" json:"folders"`
	Total    UsageStat         `codec:"total" json:"total"`
	Limit    int64             `codec:"limit" json:"limit"`
	GitLimit int64             `codec:"gitLimit" json:"gitLimit"`
}

func (BlockQuotaInfo) DeepCopy

func (o BlockQuotaInfo) DeepCopy() BlockQuotaInfo

type BlockRefNonce

type BlockRefNonce [8]byte

func (BlockRefNonce) DeepCopy

func (o BlockRefNonce) DeepCopy() BlockRefNonce

type BlockReference

type BlockReference struct {
	Bid       BlockIdCombo  `codec:"bid" json:"bid"`
	Nonce     BlockRefNonce `codec:"nonce" json:"nonce"`
	ChargedTo UserOrTeamID  `codec:"chargedTo" json:"chargedTo"`
}

func (BlockReference) DeepCopy

func (o BlockReference) DeepCopy() BlockReference

func (BlockReference) String

func (r BlockReference) String() string

type BlockReferenceCount

type BlockReferenceCount struct {
	Ref       BlockReference `codec:"ref" json:"ref"`
	LiveCount int            `codec:"liveCount" json:"liveCount"`
}

func (BlockReferenceCount) DeepCopy

func (BlockReferenceCount) String

func (r BlockReferenceCount) String() string

type BlockStatus

type BlockStatus int
const (
	BlockStatus_UNKNOWN  BlockStatus = 0
	BlockStatus_LIVE     BlockStatus = 1
	BlockStatus_ARCHIVED BlockStatus = 2
)

func (BlockStatus) DeepCopy

func (o BlockStatus) DeepCopy() BlockStatus

func (BlockStatus) String

func (e BlockStatus) String() string

type BlockType

type BlockType int
const (
	BlockType_DATA BlockType = 0
	BlockType_MD   BlockType = 1
	BlockType_GIT  BlockType = 2
)

func (BlockType) DeepCopy

func (o BlockType) DeepCopy() BlockType

func (BlockType) String

func (e BlockType) String() string

type BlockUserArg

type BlockUserArg struct {
	Username string `codec:"username" json:"username"`
}

type BootstrapStatus

type BootstrapStatus struct {
	Registered  bool         `codec:"registered" json:"registered"`
	LoggedIn    bool         `codec:"loggedIn" json:"loggedIn"`
	Uid         UID          `codec:"uid" json:"uid"`
	Username    string       `codec:"username" json:"username"`
	DeviceID    DeviceID     `codec:"deviceID" json:"deviceID"`
	DeviceName  string       `codec:"deviceName" json:"deviceName"`
	Fullname    FullName     `codec:"fullname" json:"fullname"`
	UserReacjis UserReacjis  `codec:"userReacjis" json:"userReacjis"`
	HttpSrvInfo *HttpSrvInfo `codec:"httpSrvInfo,omitempty" json:"httpSrvInfo,omitempty"`
}

func (BootstrapStatus) DeepCopy

func (o BootstrapStatus) DeepCopy() BootstrapStatus

type BotClient

type BotClient struct {
	Cli rpc.GenericClient
}

func (BotClient) BotTokenCreate

func (c BotClient) BotTokenCreate(ctx context.Context) (res BotToken, err error)

func (BotClient) BotTokenDelete

func (c BotClient) BotTokenDelete(ctx context.Context, token BotToken) (err error)

func (BotClient) BotTokenList

func (c BotClient) BotTokenList(ctx context.Context) (res []BotTokenInfo, err error)

type BotInterface

type BotInterface interface {
	BotTokenList(context.Context) ([]BotTokenInfo, error)
	BotTokenCreate(context.Context) (BotToken, error)
	BotTokenDelete(context.Context, BotToken) error
}

type BotToken

type BotToken string

func NewBotToken

func NewBotToken(s string) (BotToken, error)

func (BotToken) DeepCopy

func (o BotToken) DeepCopy() BotToken

func (BotToken) Exists

func (b BotToken) Exists() bool

func (BotToken) IsNil

func (b BotToken) IsNil() bool

func (BotToken) String

func (b BotToken) String() string

type BotTokenCreateArg

type BotTokenCreateArg struct {
}

type BotTokenDeleteArg

type BotTokenDeleteArg struct {
	Token BotToken `codec:"token" json:"token"`
}

type BotTokenInfo

type BotTokenInfo struct {
	Token BotToken `codec:"token" json:"bot_token"`
	Ctime Time     `codec:"ctime" json:"ctime"`
}

func (BotTokenInfo) DeepCopy

func (o BotTokenInfo) DeepCopy() BotTokenInfo

type BotTokenListArg

type BotTokenListArg struct {
}

type BoxAuditAttempt

type BoxAuditAttempt struct {
	Ctime      UnixTime              `codec:"ctime" json:"ctime"`
	Error      *string               `codec:"error,omitempty" json:"error,omitempty"`
	Result     BoxAuditAttemptResult `codec:"result" json:"result"`
	Generation *PerTeamKeyGeneration `codec:"generation,omitempty" json:"generation,omitempty"`
	Rotated    bool                  `codec:"rotated" json:"rotated"`
}

func (BoxAuditAttempt) DeepCopy

func (o BoxAuditAttempt) DeepCopy() BoxAuditAttempt

func (BoxAuditAttempt) String

func (a BoxAuditAttempt) String() string

type BoxAuditAttemptResult

type BoxAuditAttemptResult int
const (
	BoxAuditAttemptResult_FAILURE_RETRYABLE         BoxAuditAttemptResult = 0
	BoxAuditAttemptResult_FAILURE_MALICIOUS_SERVER  BoxAuditAttemptResult = 1
	BoxAuditAttemptResult_OK_VERIFIED               BoxAuditAttemptResult = 2
	BoxAuditAttemptResult_OK_NOT_ATTEMPTED_ROLE     BoxAuditAttemptResult = 3
	BoxAuditAttemptResult_OK_NOT_ATTEMPTED_OPENTEAM BoxAuditAttemptResult = 4
	BoxAuditAttemptResult_OK_NOT_ATTEMPTED_SUBTEAM  BoxAuditAttemptResult = 5
)

func (BoxAuditAttemptResult) DeepCopy

func (BoxAuditAttemptResult) IsOK

func (r BoxAuditAttemptResult) IsOK() bool

func (BoxAuditAttemptResult) String

func (e BoxAuditAttemptResult) String() string

type BoxAuditErrorArg

type BoxAuditErrorArg struct {
	Message string `codec:"message" json:"message"`
}

type BoxAuditTeamArg

type BoxAuditTeamArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamID    TeamID `codec:"teamID" json:"teamID"`
}

type BoxNonce

type BoxNonce [24]byte

func (BoxNonce) DeepCopy

func (o BoxNonce) DeepCopy() BoxNonce

type BoxPublicKey

type BoxPublicKey [32]byte

func (BoxPublicKey) DeepCopy

func (o BoxPublicKey) DeepCopy() BoxPublicKey

type BoxSummaryHash

type BoxSummaryHash string

func (BoxSummaryHash) DeepCopy

func (o BoxSummaryHash) DeepCopy() BoxSummaryHash

func (BoxSummaryHash) String

func (h BoxSummaryHash) String() string

type BulkEmailOrPhoneSearchArg

type BulkEmailOrPhoneSearchArg struct {
	SessionID    int           `codec:"sessionID" json:"sessionID"`
	Emails       string        `codec:"emails" json:"emails"`
	PhoneNumbers []PhoneNumber `codec:"phoneNumbers" json:"phoneNumbers"`
}

type BulkRes

type BulkRes struct {
	Malformed []string `codec:"malformed" json:"malformed"`
}

func (BulkRes) DeepCopy

func (o BulkRes) DeepCopy() BulkRes

type ByUserVersionID

type ByUserVersionID []UserVersion

func (ByUserVersionID) Len

func (b ByUserVersionID) Len() int

func (ByUserVersionID) Less

func (b ByUserVersionID) Less(i, j int) bool

func (ByUserVersionID) Swap

func (b ByUserVersionID) Swap(i, j int)

type Bytes32

type Bytes32 [32]byte

func (Bytes32) DeepCopy

func (o Bytes32) DeepCopy() Bytes32

func (Bytes32) IsBlank

func (b Bytes32) IsBlank() bool

type CanLogoutArg

type CanLogoutArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type CanLogoutRes

type CanLogoutRes struct {
	CanLogout       bool            `codec:"canLogout" json:"canLogout"`
	Reason          string          `codec:"reason" json:"reason"`
	PassphraseState PassphraseState `codec:"passphraseState" json:"passphraseState"`
}

func (CanLogoutRes) DeepCopy

func (o CanLogoutRes) DeepCopy() CanLogoutRes

type CanUserPerformArg

type CanUserPerformArg struct {
	Name string `codec:"name" json:"name"`
}

type CanUserPerformChangedArg

type CanUserPerformChangedArg struct {
	TeamName string `codec:"teamName" json:"teamName"`
}

type CancelArg

type CancelArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type CancelResetArg

type CancelResetArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type CanonicalTLFNameAndIDWithBreaks

type CanonicalTLFNameAndIDWithBreaks struct {
	TlfID         TLFID            `codec:"tlfID" json:"tlfID"`
	CanonicalName CanonicalTlfName `codec:"CanonicalName" json:"CanonicalName"`
	Breaks        TLFBreak         `codec:"breaks" json:"breaks"`
}

func (CanonicalTLFNameAndIDWithBreaks) DeepCopy

func (CanonicalTLFNameAndIDWithBreaks) Eq

type CanonicalTlfName

type CanonicalTlfName string

func (CanonicalTlfName) DeepCopy

func (o CanonicalTlfName) DeepCopy() CanonicalTlfName

func (CanonicalTlfName) String

func (c CanonicalTlfName) String() string

type ChallengeInfo

type ChallengeInfo struct {
	Now       int64  `codec:"now" json:"now"`
	Challenge string `codec:"challenge" json:"challenge"`
}

func (ChallengeInfo) DeepCopy

func (o ChallengeInfo) DeepCopy() ChallengeInfo

type ChatConversationID

type ChatConversationID []byte

func (ChatConversationID) Bytes

func (s ChatConversationID) Bytes() []byte

func (ChatConversationID) DeepCopy

func (ChatConversationID) String

func (s ChatConversationID) String() string

type CheckAPIServerOutOfDateWarningArg

type CheckAPIServerOutOfDateWarningArg struct {
}

type CheckDeviceNameForUserArg

type CheckDeviceNameForUserArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Username   string `codec:"username" json:"username"`
	Devicename string `codec:"devicename" json:"devicename"`
}

type CheckDeviceNameFormatArg

type CheckDeviceNameFormatArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
}

type CheckInvitationCodeArg

type CheckInvitationCodeArg struct {
	SessionID      int    `codec:"sessionID" json:"sessionID"`
	InvitationCode string `codec:"invitationCode" json:"invitationCode"`
}

type CheckProofArg

type CheckProofArg struct {
	SessionID int   `codec:"sessionID" json:"sessionID"`
	SigID     SigID `codec:"sigID" json:"sigID"`
}

type CheckProofStatus

type CheckProofStatus struct {
	Found     bool        `codec:"found" json:"found"`
	Status    ProofStatus `codec:"status" json:"status"`
	ProofText string      `codec:"proofText" json:"proofText"`
	State     ProofState  `codec:"state" json:"state"`
}

func (CheckProofStatus) DeepCopy

func (o CheckProofStatus) DeepCopy() CheckProofStatus

type CheckReachabilityArg

type CheckReachabilityArg struct {
}

type CheckResult

type CheckResult struct {
	ProofResult ProofResult          `codec:"proofResult" json:"proofResult"`
	Time        Time                 `codec:"time" json:"time"`
	Freshness   CheckResultFreshness `codec:"freshness" json:"freshness"`
}

func (CheckResult) DeepCopy

func (o CheckResult) DeepCopy() CheckResult

type CheckResultFreshness

type CheckResultFreshness int
const (
	CheckResultFreshness_FRESH  CheckResultFreshness = 0
	CheckResultFreshness_AGED   CheckResultFreshness = 1
	CheckResultFreshness_RANCID CheckResultFreshness = 2
)

func (CheckResultFreshness) DeepCopy

func (CheckResultFreshness) String

func (e CheckResultFreshness) String() string

type CheckTrackingArg

type CheckTrackingArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type CheckUsernameAvailableArg

type CheckUsernameAvailableArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Username  string `codec:"username" json:"username"`
}

type CheckingArg

type CheckingArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
}

type ChooseDeviceArg

type ChooseDeviceArg struct {
	SessionID         int      `codec:"sessionID" json:"sessionID"`
	Devices           []Device `codec:"devices" json:"devices"`
	CanSelectNoDevice bool     `codec:"canSelectNoDevice" json:"canSelectNoDevice"`
}

type ChooseDeviceToRecoverWithArg

type ChooseDeviceToRecoverWithArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Devices   []Device `codec:"devices" json:"devices"`
}

type ChooseDeviceTypeArg

type ChooseDeviceTypeArg struct {
	SessionID int        `codec:"sessionID" json:"sessionID"`
	Kind      ChooseType `codec:"kind" json:"kind"`
}

type ChooseGPGMethodArg

type ChooseGPGMethodArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Keys      []GPGKey `codec:"keys" json:"keys"`
}

type ChooseProvisioningMethodArg

type ChooseProvisioningMethodArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	GpgOption bool `codec:"gpgOption" json:"gpgOption"`
}

type ChooseType

type ChooseType int
const (
	ChooseType_EXISTING_DEVICE ChooseType = 0
	ChooseType_NEW_DEVICE      ChooseType = 1
)

func (ChooseType) DeepCopy

func (o ChooseType) DeepCopy() ChooseType

func (ChooseType) String

func (e ChooseType) String() string

type CiphertextBundle

type CiphertextBundle struct {
	Kid        KID              `codec:"kid" json:"kid"`
	Ciphertext EncryptedBytes32 `codec:"ciphertext" json:"ciphertext"`
	Nonce      BoxNonce         `codec:"nonce" json:"nonce"`
	PublicKey  BoxPublicKey     `codec:"publicKey" json:"publicKey"`
}

func (CiphertextBundle) DeepCopy

func (o CiphertextBundle) DeepCopy() CiphertextBundle

type ClearValueArg

type ClearValueArg struct {
	Path string `codec:"path" json:"path"`
}

type ClientDetails

type ClientDetails struct {
	Pid        int        `codec:"pid" json:"pid"`
	ClientType ClientType `codec:"clientType" json:"clientType"`
	Argv       []string   `codec:"argv" json:"argv"`
	Desc       string     `codec:"desc" json:"desc"`
	Version    string     `codec:"version" json:"version"`
}

func (ClientDetails) DeepCopy

func (o ClientDetails) DeepCopy() ClientDetails

func (*ClientDetails) Redact

func (d *ClientDetails) Redact()

Redact modifies the given ClientDetails struct

type ClientOutOfDateArg

type ClientOutOfDateArg struct {
	UpgradeTo  string `codec:"upgradeTo" json:"upgradeTo"`
	UpgradeURI string `codec:"upgradeURI" json:"upgradeURI"`
	UpgradeMsg string `codec:"upgradeMsg" json:"upgradeMsg"`
}

type ClientStatus

type ClientStatus struct {
	Details              ClientDetails        `codec:"details" json:"details"`
	ConnectionID         int                  `codec:"connectionID" json:"connectionID"`
	NotificationChannels NotificationChannels `codec:"notificationChannels" json:"notificationChannels"`
}

func (ClientStatus) DeepCopy

func (o ClientStatus) DeepCopy() ClientStatus

type ClientType

type ClientType int
const (
	ClientType_NONE       ClientType = 0
	ClientType_CLI        ClientType = 1
	ClientType_GUI_MAIN   ClientType = 2
	ClientType_KBFS       ClientType = 3
	ClientType_GUI_HELPER ClientType = 4
)

func (ClientType) DeepCopy

func (o ClientType) DeepCopy() ClientType

func (ClientType) String

func (t ClientType) String() string

type CloseArg

type CloseArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	S         Stream `codec:"s" json:"s"`
}

type CommonClient

type CommonClient struct {
	Cli rpc.GenericClient
}

type CommonInterface

type CommonInterface interface {
}

type CompatibilityTeamID

type CompatibilityTeamID struct {
	Typ__    TeamType `codec:"typ" json:"typ"`
	Legacy__ *TLFID   `codec:"legacy,omitempty" json:"legacy,omitempty"`
	Modern__ *TeamID  `codec:"modern,omitempty" json:"modern,omitempty"`
}

func NewCompatibilityTeamIDWithLegacy

func NewCompatibilityTeamIDWithLegacy(v TLFID) CompatibilityTeamID

func NewCompatibilityTeamIDWithModern

func NewCompatibilityTeamIDWithModern(v TeamID) CompatibilityTeamID

func (CompatibilityTeamID) DeepCopy

func (CompatibilityTeamID) Legacy

func (o CompatibilityTeamID) Legacy() (res TLFID)

func (CompatibilityTeamID) Modern

func (o CompatibilityTeamID) Modern() (res TeamID)

func (*CompatibilityTeamID) Typ

func (o *CompatibilityTeamID) Typ() (ret TeamType, err error)

type CompleteAndCanonicalizePrivateTlfNameArg

type CompleteAndCanonicalizePrivateTlfNameArg struct {
	Query TLFQuery `codec:"query" json:"query"`
}

type ComponentResult

type ComponentResult struct {
	Name     string `codec:"name" json:"name"`
	Status   Status `codec:"status" json:"status"`
	ExitCode int    `codec:"exitCode" json:"exitCode"`
}

func (ComponentResult) DeepCopy

func (o ComponentResult) DeepCopy() ComponentResult

type Confidence

type Confidence struct {
	UsernameVerifiedVia UsernameVerificationType `codec:"usernameVerifiedVia" json:"username_verified_via,omitempty"`
	Proofs              []WotProof               `codec:"proofs" json:"proofs,omitempty"`
	Other               string                   `codec:"other" json:"other,omitempty"`
}

func (Confidence) DeepCopy

func (o Confidence) DeepCopy() Confidence

type Config

type Config struct {
	ServerURI      string   `codec:"serverURI" json:"serverURI"`
	SocketFile     string   `codec:"socketFile" json:"socketFile"`
	Label          string   `codec:"label" json:"label"`
	RunMode        string   `codec:"runMode" json:"runMode"`
	GpgExists      bool     `codec:"gpgExists" json:"gpgExists"`
	GpgPath        string   `codec:"gpgPath" json:"gpgPath"`
	Version        string   `codec:"version" json:"version"`
	Path           string   `codec:"path" json:"path"`
	BinaryRealpath string   `codec:"binaryRealpath" json:"binaryRealpath"`
	ConfigPath     string   `codec:"configPath" json:"configPath"`
	VersionShort   string   `codec:"versionShort" json:"versionShort"`
	VersionFull    string   `codec:"versionFull" json:"versionFull"`
	IsAutoForked   bool     `codec:"isAutoForked" json:"isAutoForked"`
	ForkType       ForkType `codec:"forkType" json:"forkType"`
}

func (Config) DeepCopy

func (o Config) DeepCopy() Config

type ConfigClient

type ConfigClient struct {
	Cli rpc.GenericClient
}

func (ConfigClient) AppendGUILogs

func (c ConfigClient) AppendGUILogs(ctx context.Context, content string) (err error)

func (ConfigClient) CheckAPIServerOutOfDateWarning

func (c ConfigClient) CheckAPIServerOutOfDateWarning(ctx context.Context) (res OutOfDateInfo, err error)

Check whether the API server has told us we're out of date.

func (ConfigClient) ClearValue

func (c ConfigClient) ClearValue(ctx context.Context, path string) (err error)

func (ConfigClient) GenerateWebAuthToken

func (c ConfigClient) GenerateWebAuthToken(ctx context.Context) (res string, err error)

func (ConfigClient) GetAllProvisionedUsernames

func (c ConfigClient) GetAllProvisionedUsernames(ctx context.Context, sessionID int) (res AllProvisionedUsernames, err error)

func (ConfigClient) GetBootstrapStatus

func (c ConfigClient) GetBootstrapStatus(ctx context.Context, sessionID int) (res BootstrapStatus, err error)

func (ConfigClient) GetClientStatus

func (c ConfigClient) GetClientStatus(ctx context.Context, sessionID int) (res []ClientStatus, err error)

func (ConfigClient) GetConfig

func (c ConfigClient) GetConfig(ctx context.Context, sessionID int) (res Config, err error)

func (ConfigClient) GetCurrentStatus

func (c ConfigClient) GetCurrentStatus(ctx context.Context, sessionID int) (res CurrentStatus, err error)

func (ConfigClient) GetFullStatus

func (c ConfigClient) GetFullStatus(ctx context.Context, sessionID int) (res *FullStatus, err error)

func (ConfigClient) GetNetworkStats

func (c ConfigClient) GetNetworkStats(ctx context.Context, __arg GetNetworkStatsArg) (res []InstrumentationStat, err error)

func (ConfigClient) GetProxyData

func (c ConfigClient) GetProxyData(ctx context.Context) (res ProxyData, err error)

func (ConfigClient) GetRememberPassphrase

func (c ConfigClient) GetRememberPassphrase(ctx context.Context, sessionID int) (res bool, err error)

func (ConfigClient) GetUpdateInfo

func (c ConfigClient) GetUpdateInfo(ctx context.Context) (res UpdateInfo, err error)

func (ConfigClient) GetUpdateInfo2

func (c ConfigClient) GetUpdateInfo2(ctx context.Context, __arg GetUpdateInfo2Arg) (res UpdateInfo2, err error)

getUpdateInfo2 is to drive the redbar on mobile and desktop apps. The redbar tells you if you are critically out of date.

func (ConfigClient) GetValue

func (c ConfigClient) GetValue(ctx context.Context, path string) (res ConfigValue, err error)

func (ConfigClient) GuiClearValue

func (c ConfigClient) GuiClearValue(ctx context.Context, path string) (err error)

func (ConfigClient) GuiGetValue

func (c ConfigClient) GuiGetValue(ctx context.Context, path string) (res ConfigValue, err error)

func (ConfigClient) GuiSetValue

func (c ConfigClient) GuiSetValue(ctx context.Context, __arg GuiSetValueArg) (err error)

func (ConfigClient) HelloIAm

func (c ConfigClient) HelloIAm(ctx context.Context, details ClientDetails) (err error)

func (ConfigClient) IsKBFSRunning

func (c ConfigClient) IsKBFSRunning(ctx context.Context, sessionID int) (res bool, err error)

func (ConfigClient) IsServiceRunning

func (c ConfigClient) IsServiceRunning(ctx context.Context, sessionID int) (res bool, err error)

func (ConfigClient) LogSend

func (c ConfigClient) LogSend(ctx context.Context, __arg LogSendArg) (res LogSendID, err error)

func (ConfigClient) RequestFollowingAndUnverifiedFollowers

func (c ConfigClient) RequestFollowingAndUnverifiedFollowers(ctx context.Context, sessionID int) (err error)

func (ConfigClient) SetPath

func (c ConfigClient) SetPath(ctx context.Context, __arg SetPathArg) (err error)

func (ConfigClient) SetProxyData

func (c ConfigClient) SetProxyData(ctx context.Context, proxyData ProxyData) (err error)

func (ConfigClient) SetRememberPassphrase

func (c ConfigClient) SetRememberPassphrase(ctx context.Context, __arg SetRememberPassphraseArg) (err error)

func (ConfigClient) SetUserConfig

func (c ConfigClient) SetUserConfig(ctx context.Context, __arg SetUserConfigArg) (err error)

Change user config. For example, to update primary picture source: key=picture.source, value=twitter (or github)

func (ConfigClient) SetValue

func (c ConfigClient) SetValue(ctx context.Context, __arg SetValueArg) (err error)

func (ConfigClient) StartUpdateIfNeeded

func (c ConfigClient) StartUpdateIfNeeded(ctx context.Context) (err error)

func (ConfigClient) ToggleRuntimeStats

func (c ConfigClient) ToggleRuntimeStats(ctx context.Context) (err error)

func (ConfigClient) UpdateLastLoggedInAndServerConfig

func (c ConfigClient) UpdateLastLoggedInAndServerConfig(ctx context.Context, serverConfigPath string) (err error)

func (ConfigClient) WaitForClient

func (c ConfigClient) WaitForClient(ctx context.Context, __arg WaitForClientArg) (res bool, err error)

Wait for client type to connect to service.

type ConfigInterface

type ConfigInterface interface {
	GetCurrentStatus(context.Context, int) (CurrentStatus, error)
	GetClientStatus(context.Context, int) ([]ClientStatus, error)
	GetFullStatus(context.Context, int) (*FullStatus, error)
	IsServiceRunning(context.Context, int) (bool, error)
	IsKBFSRunning(context.Context, int) (bool, error)
	GetNetworkStats(context.Context, GetNetworkStatsArg) ([]InstrumentationStat, error)
	LogSend(context.Context, LogSendArg) (LogSendID, error)
	GetAllProvisionedUsernames(context.Context, int) (AllProvisionedUsernames, error)
	GetConfig(context.Context, int) (Config, error)
	// Change user config.
	// For example, to update primary picture source:
	// key=picture.source, value=twitter (or github)
	SetUserConfig(context.Context, SetUserConfigArg) error
	SetPath(context.Context, SetPathArg) error
	HelloIAm(context.Context, ClientDetails) error
	SetValue(context.Context, SetValueArg) error
	ClearValue(context.Context, string) error
	GetValue(context.Context, string) (ConfigValue, error)
	GuiSetValue(context.Context, GuiSetValueArg) error
	GuiClearValue(context.Context, string) error
	GuiGetValue(context.Context, string) (ConfigValue, error)
	// Check whether the API server has told us we're out of date.
	CheckAPIServerOutOfDateWarning(context.Context) (OutOfDateInfo, error)
	GetUpdateInfo(context.Context) (UpdateInfo, error)
	StartUpdateIfNeeded(context.Context) error
	// Wait for client type to connect to service.
	WaitForClient(context.Context, WaitForClientArg) (bool, error)
	GetBootstrapStatus(context.Context, int) (BootstrapStatus, error)
	RequestFollowingAndUnverifiedFollowers(context.Context, int) error
	GetRememberPassphrase(context.Context, int) (bool, error)
	SetRememberPassphrase(context.Context, SetRememberPassphraseArg) error
	// getUpdateInfo2 is to drive the redbar on mobile and desktop apps. The redbar tells you if
	// you are critically out of date.
	GetUpdateInfo2(context.Context, GetUpdateInfo2Arg) (UpdateInfo2, error)
	SetProxyData(context.Context, ProxyData) error
	GetProxyData(context.Context) (ProxyData, error)
	ToggleRuntimeStats(context.Context) error
	AppendGUILogs(context.Context, string) error
	GenerateWebAuthToken(context.Context) (string, error)
	UpdateLastLoggedInAndServerConfig(context.Context, string) error
}

type ConfigValue

type ConfigValue struct {
	IsNull bool     `codec:"isNull" json:"isNull"`
	B      *bool    `codec:"b,omitempty" json:"b,omitempty"`
	I      *int     `codec:"i,omitempty" json:"i,omitempty"`
	F      *float64 `codec:"f,omitempty" json:"f,omitempty"`
	S      *string  `codec:"s,omitempty" json:"s,omitempty"`
	O      *string  `codec:"o,omitempty" json:"o,omitempty"`
}

func (ConfigValue) DeepCopy

func (o ConfigValue) DeepCopy() ConfigValue

type ConfiguredAccount

type ConfiguredAccount struct {
	Username        string   `codec:"username" json:"username"`
	Fullname        FullName `codec:"fullname" json:"fullname"`
	HasStoredSecret bool     `codec:"hasStoredSecret" json:"hasStoredSecret"`
	IsCurrent       bool     `codec:"isCurrent" json:"isCurrent"`
}

func (ConfiguredAccount) DeepCopy

func (o ConfiguredAccount) DeepCopy() ConfiguredAccount

type ConfirmArg

type ConfirmArg struct {
	SessionID int             `codec:"sessionID" json:"sessionID"`
	Outcome   IdentifyOutcome `codec:"outcome" json:"outcome"`
}

type ConfirmDuplicateKeyChosenArg

type ConfirmDuplicateKeyChosenArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type ConfirmImportSecretToExistingKeyArg

type ConfirmImportSecretToExistingKeyArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type ConfirmInviteLinkAcceptArg

type ConfirmInviteLinkAcceptArg struct {
	SessionID int               `codec:"sessionID" json:"sessionID"`
	Details   InviteLinkDetails `codec:"details" json:"details"`
}

type ConfirmResult

type ConfirmResult struct {
	IdentityConfirmed bool `codec:"identityConfirmed" json:"identityConfirmed"`
	RemoteConfirmed   bool `codec:"remoteConfirmed" json:"remoteConfirmed"`
	ExpiringLocal     bool `codec:"expiringLocal" json:"expiringLocal"`
	AutoConfirmed     bool `codec:"autoConfirmed" json:"autoConfirmed"`
}

func (ConfirmResult) DeepCopy

func (o ConfirmResult) DeepCopy() ConfirmResult

type ConfirmRootTeamDeleteArg

type ConfirmRootTeamDeleteArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamName  string `codec:"teamName" json:"teamName"`
}

type ConfirmSubteamDeleteArg

type ConfirmSubteamDeleteArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamName  string `codec:"teamName" json:"teamName"`
}

type ConflictGeneration

type ConflictGeneration int

func (ConflictGeneration) DeepCopy

type ConflictState

type ConflictState struct {
	ConflictStateType__        ConflictStateType                       `codec:"conflictStateType" json:"conflictStateType"`
	Normalview__               *FolderNormalView                       `codec:"normalview,omitempty" json:"normalview,omitempty"`
	Manualresolvinglocalview__ *FolderConflictManualResolvingLocalView `codec:"manualresolvinglocalview,omitempty" json:"manualresolvinglocalview,omitempty"`
}

func NewConflictStateWithNormalview

func NewConflictStateWithNormalview(v FolderNormalView) ConflictState

func (*ConflictState) ConflictStateType

func (o *ConflictState) ConflictStateType() (ret ConflictStateType, err error)

func (ConflictState) DeepCopy

func (o ConflictState) DeepCopy() ConflictState

func (ConflictState) Manualresolvinglocalview

func (o ConflictState) Manualresolvinglocalview() (res FolderConflictManualResolvingLocalView)

func (ConflictState) Normalview

func (o ConflictState) Normalview() (res FolderNormalView)

type ConflictStateType

type ConflictStateType int
const (
	ConflictStateType_NormalView               ConflictStateType = 1
	ConflictStateType_ManualResolvingLocalView ConflictStateType = 2
)

func (ConflictStateType) DeepCopy

func (o ConflictStateType) DeepCopy() ConflictStateType

func (ConflictStateType) String

func (e ConflictStateType) String() string

type ConstantsClient

type ConstantsClient struct {
	Cli rpc.GenericClient
}

type ConstantsInterface

type ConstantsInterface interface {
}

type Contact

type Contact struct {
	Name       string             `codec:"name" json:"name"`
	Components []ContactComponent `codec:"components" json:"components"`
}

func (Contact) DeepCopy

func (o Contact) DeepCopy() Contact

type ContactComponent

type ContactComponent struct {
	Label       string          `codec:"label" json:"label"`
	PhoneNumber *RawPhoneNumber `codec:"phoneNumber,omitempty" json:"phoneNumber,omitempty"`
	Email       *EmailAddress   `codec:"email,omitempty" json:"email,omitempty"`
}

func (ContactComponent) AssertionType

func (c ContactComponent) AssertionType() string

func (ContactComponent) DeepCopy

func (o ContactComponent) DeepCopy() ContactComponent

func (ContactComponent) FormatDisplayLabel

func (c ContactComponent) FormatDisplayLabel(addLabel bool) string

func (ContactComponent) ValueString

func (c ContactComponent) ValueString() string

type ContactListResolutionResult

type ContactListResolutionResult struct {
	NewlyResolved []ProcessedContact `codec:"newlyResolved" json:"newlyResolved"`
	Resolved      []ProcessedContact `codec:"resolved" json:"resolved"`
}

func (ContactListResolutionResult) DeepCopy

type ContactSettings

type ContactSettings struct {
	Version              *int                  `codec:"version,omitempty" json:"version,omitempty"`
	AllowFolloweeDegrees int                   `codec:"allowFolloweeDegrees" json:"allow_followee_degrees"`
	AllowGoodTeams       bool                  `codec:"allowGoodTeams" json:"allow_good_teams"`
	Enabled              bool                  `codec:"enabled" json:"enabled"`
	Teams                []TeamContactSettings `codec:"teams" json:"teams"`
}

func (ContactSettings) DeepCopy

func (o ContactSettings) DeepCopy() ContactSettings

type ContactsClient

type ContactsClient struct {
	Cli rpc.GenericClient
}

func (ContactsClient) GetContactsForUserRecommendations

func (c ContactsClient) GetContactsForUserRecommendations(ctx context.Context, sessionID int) (res []ProcessedContact, err error)

func (ContactsClient) LookupContactList

func (c ContactsClient) LookupContactList(ctx context.Context, __arg LookupContactListArg) (res []ProcessedContact, err error)

func (ContactsClient) LookupSavedContactsList

func (c ContactsClient) LookupSavedContactsList(ctx context.Context, sessionID int) (res []ProcessedContact, err error)

func (ContactsClient) SaveContactList

func (c ContactsClient) SaveContactList(ctx context.Context, __arg SaveContactListArg) (res ContactListResolutionResult, err error)

type ContactsInterface

type ContactsInterface interface {
	LookupContactList(context.Context, LookupContactListArg) ([]ProcessedContact, error)
	SaveContactList(context.Context, SaveContactListArg) (ContactListResolutionResult, error)
	LookupSavedContactsList(context.Context, int) ([]ProcessedContact, error)
	GetContactsForUserRecommendations(context.Context, int) ([]ProcessedContact, error)
}

type ContinueCheckingArg

type ContinueCheckingArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type CopyArgs

type CopyArgs struct {
	OpID                   OpID `codec:"opID" json:"opID"`
	Src                    Path `codec:"src" json:"src"`
	Dest                   Path `codec:"dest" json:"dest"`
	OverwriteExistingFiles bool `codec:"overwriteExistingFiles" json:"overwriteExistingFiles"`
}

func (CopyArgs) DeepCopy

func (o CopyArgs) DeepCopy() CopyArgs

type CreatePersonalRepoArg

type CreatePersonalRepoArg struct {
	RepoName GitRepoName `codec:"repoName" json:"repoName"`
}

type CreateRepoArg

type CreateRepoArg struct {
	Folder FolderHandle `codec:"folder" json:"folder"`
	Name   GitRepoName  `codec:"name" json:"name"`
}

type CreateTLFArg

type CreateTLFArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
	TlfID  TLFID  `codec:"tlfID" json:"tlfID"`
}

type CreateTeamRepoArg

type CreateTeamRepoArg struct {
	RepoName   GitRepoName `codec:"repoName" json:"repoName"`
	TeamName   TeamName    `codec:"teamName" json:"teamName"`
	NotifyTeam bool        `codec:"notifyTeam" json:"notifyTeam"`
}

type CryptKey

type CryptKey struct {
	KeyGeneration int     `codec:"KeyGeneration" json:"KeyGeneration"`
	Key           Bytes32 `codec:"Key" json:"Key"`
}

func (CryptKey) DeepCopy

func (o CryptKey) DeepCopy() CryptKey

func (CryptKey) Generation

func (k CryptKey) Generation() int

func (CryptKey) Material

func (k CryptKey) Material() Bytes32

type CryptKeysArg

type CryptKeysArg struct {
	Query TLFQuery `codec:"query" json:"query"`
}

type CryptoClient

type CryptoClient struct {
	Cli rpc.GenericClient
}

func (CryptoClient) SignED25519

func (c CryptoClient) SignED25519(ctx context.Context, __arg SignED25519Arg) (res ED25519SignatureInfo, err error)

Sign the given message (which should be small) using the device's private signing ED25519 key, and return the signature as well as the corresponding public key that can be used to verify the signature. The 'reason' parameter is used as part of the SecretEntryArg object passed into secretUi.getSecret().

func (CryptoClient) SignED25519ForKBFS

func (c CryptoClient) SignED25519ForKBFS(ctx context.Context, __arg SignED25519ForKBFSArg) (res ED25519SignatureInfo, err error)

Same as the above except a KBFS-specific prefix is added to the payload to be signed.

func (CryptoClient) SignToString

func (c CryptoClient) SignToString(ctx context.Context, __arg SignToStringArg) (res string, err error)

Same as the above except the full marshaled and encoded NaclSigInfo.

func (CryptoClient) UnboxBytes32

func (c CryptoClient) UnboxBytes32(ctx context.Context, __arg UnboxBytes32Arg) (res Bytes32, err error)

Decrypt exactly 32 bytes using nacl/box with the given nonce, the given peer's public key, and the device's private encryption key, and return the decrypted data. The 'reason' parameter is used as part of the SecretEntryArg object passed into secretUi.getSecret().

func (CryptoClient) UnboxBytes32Any

func (c CryptoClient) UnboxBytes32Any(ctx context.Context, __arg UnboxBytes32AnyArg) (res UnboxAnyRes, err error)

type CryptoInterface

type CryptoInterface interface {
	// Sign the given message (which should be small) using the device's private
	// signing ED25519 key, and return the signature as well as the corresponding
	// public key that can be used to verify the signature. The 'reason' parameter
	// is used as part of the SecretEntryArg object passed into
	// secretUi.getSecret().
	SignED25519(context.Context, SignED25519Arg) (ED25519SignatureInfo, error)
	// Same as the above except a KBFS-specific prefix is added to the payload to be signed.
	SignED25519ForKBFS(context.Context, SignED25519ForKBFSArg) (ED25519SignatureInfo, error)
	// Same as the above except the full marshaled and encoded NaclSigInfo.
	SignToString(context.Context, SignToStringArg) (string, error)
	// Decrypt exactly 32 bytes using nacl/box with the given nonce, the given
	// peer's public key, and the device's private encryption key, and return the
	// decrypted data. The 'reason' parameter is used as part of the
	// SecretEntryArg object passed into secretUi.getSecret().
	UnboxBytes32(context.Context, UnboxBytes32Arg) (Bytes32, error)
	UnboxBytes32Any(context.Context, UnboxBytes32AnyArg) (UnboxAnyRes, error)
}

type Cryptocurrency

type Cryptocurrency struct {
	RowId   int    `codec:"rowId" json:"rowId"`
	Pkhash  []byte `codec:"pkhash" json:"pkhash"`
	Address string `codec:"address" json:"address"`
	SigID   SigID  `codec:"sigID" json:"sigID"`
	Type    string `codec:"type" json:"type"`
	Family  string `codec:"family" json:"family"`
}

func (Cryptocurrency) DeepCopy

func (o Cryptocurrency) DeepCopy() Cryptocurrency

type CryptocurrencyClient

type CryptocurrencyClient struct {
	Cli rpc.GenericClient
}

func (CryptocurrencyClient) RegisterAddress

func (c CryptocurrencyClient) RegisterAddress(ctx context.Context, __arg RegisterAddressArg) (res RegisterAddressRes, err error)

type CryptocurrencyInterface

type CryptocurrencyInterface interface {
	RegisterAddress(context.Context, RegisterAddressArg) (RegisterAddressRes, error)
}

type CsrfToken

type CsrfToken string

func (CsrfToken) DeepCopy

func (o CsrfToken) DeepCopy() CsrfToken

type CtlClient

type CtlClient struct {
	Cli rpc.GenericClient
}

func (CtlClient) AppExit

func (c CtlClient) AppExit(ctx context.Context, sessionID int) (err error)

func (CtlClient) DbClean

func (c CtlClient) DbClean(ctx context.Context, __arg DbCleanArg) (err error)

func (CtlClient) DbDelete

func (c CtlClient) DbDelete(ctx context.Context, __arg DbDeleteArg) (err error)

func (CtlClient) DbGet

func (c CtlClient) DbGet(ctx context.Context, __arg DbGetArg) (res *DbValue, err error)

func (CtlClient) DbKeysWithPrefixes

func (c CtlClient) DbKeysWithPrefixes(ctx context.Context, __arg DbKeysWithPrefixesArg) (res []DbKey, err error)

func (CtlClient) DbNuke

func (c CtlClient) DbNuke(ctx context.Context, sessionID int) (err error)

func (CtlClient) DbPut

func (c CtlClient) DbPut(ctx context.Context, __arg DbPutArg) (err error)

func (CtlClient) GetOnLoginStartup

func (c CtlClient) GetOnLoginStartup(ctx context.Context) (res OnLoginStartupStatus, err error)

func (CtlClient) LogRotate

func (c CtlClient) LogRotate(ctx context.Context, sessionID int) (err error)

func (CtlClient) Reload

func (c CtlClient) Reload(ctx context.Context, sessionID int) (err error)

func (CtlClient) SetOnLoginStartup

func (c CtlClient) SetOnLoginStartup(ctx context.Context, enabled bool) (err error)

func (CtlClient) Stop

func (c CtlClient) Stop(ctx context.Context, __arg StopArg) (err error)

func (CtlClient) StopService

func (c CtlClient) StopService(ctx context.Context, __arg StopServiceArg) (err error)

type CtlInterface

type CtlInterface interface {
	Stop(context.Context, StopArg) error
	StopService(context.Context, StopServiceArg) error
	LogRotate(context.Context, int) error
	Reload(context.Context, int) error
	DbNuke(context.Context, int) error
	DbClean(context.Context, DbCleanArg) error
	AppExit(context.Context, int) error
	DbDelete(context.Context, DbDeleteArg) error
	DbPut(context.Context, DbPutArg) error
	DbGet(context.Context, DbGetArg) (*DbValue, error)
	DbKeysWithPrefixes(context.Context, DbKeysWithPrefixesArg) ([]DbKey, error)
	SetOnLoginStartup(context.Context, bool) error
	GetOnLoginStartup(context.Context) (OnLoginStartupStatus, error)
}

type CurrentSessionArg

type CurrentSessionArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type CurrentStatus

type CurrentStatus struct {
	Configured     bool   `codec:"configured" json:"configured"`
	Registered     bool   `codec:"registered" json:"registered"`
	LoggedIn       bool   `codec:"loggedIn" json:"loggedIn"`
	SessionIsValid bool   `codec:"sessionIsValid" json:"sessionIsValid"`
	User           *User  `codec:"user,omitempty" json:"user,omitempty"`
	DeviceName     string `codec:"deviceName" json:"deviceName"`
}

func (CurrentStatus) DeepCopy

func (o CurrentStatus) DeepCopy() CurrentStatus

type DbCleanArg

type DbCleanArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Force     bool   `codec:"force" json:"force"`
	DbType    DbType `codec:"dbType" json:"dbType"`
}

type DbDeleteArg

type DbDeleteArg struct {
	SessionID int   `codec:"sessionID" json:"sessionID"`
	Key       DbKey `codec:"key" json:"key"`
}

type DbGetArg

type DbGetArg struct {
	SessionID int   `codec:"sessionID" json:"sessionID"`
	Key       DbKey `codec:"key" json:"key"`
}

type DbKey

type DbKey struct {
	DbType  DbType `codec:"dbType" json:"dbType"`
	ObjType int    `codec:"objType" json:"objType"`
	Key     string `codec:"key" json:"key"`
}

func (DbKey) DeepCopy

func (o DbKey) DeepCopy() DbKey

type DbKeysWithPrefixesArg

type DbKeysWithPrefixesArg struct {
	SessionID int   `codec:"sessionID" json:"sessionID"`
	Prefix    DbKey `codec:"prefix" json:"prefix"`
}

type DbNukeArg

type DbNukeArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type DbPutArg

type DbPutArg struct {
	SessionID int     `codec:"sessionID" json:"sessionID"`
	Key       DbKey   `codec:"key" json:"key"`
	Value     DbValue `codec:"value" json:"value"`
}

type DbStats

type DbStats struct {
	Type            DbType `codec:"type" json:"type"`
	MemCompActive   bool   `codec:"memCompActive" json:"memCompActive"`
	TableCompActive bool   `codec:"tableCompActive" json:"tableCompActive"`
}

func (DbStats) DeepCopy

func (o DbStats) DeepCopy() DbStats

type DbType

type DbType int
const (
	DbType_MAIN                     DbType = 0
	DbType_CHAT                     DbType = 1
	DbType_FS_BLOCK_CACHE           DbType = 2
	DbType_FS_BLOCK_CACHE_META      DbType = 3
	DbType_FS_SYNC_BLOCK_CACHE      DbType = 4
	DbType_FS_SYNC_BLOCK_CACHE_META DbType = 5
)

func (DbType) DeepCopy

func (o DbType) DeepCopy() DbType

func (DbType) String

func (e DbType) String() string

type DbValue

type DbValue []byte

func (DbValue) DeepCopy

func (o DbValue) DeepCopy() DbValue

type DebugShowRekeyStatusArg

type DebugShowRekeyStatusArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type DebuggingClient

type DebuggingClient struct {
	Cli rpc.GenericClient
}

func (DebuggingClient) FirstStep

func (c DebuggingClient) FirstStep(ctx context.Context, __arg FirstStepArg) (res FirstStepResult, err error)

func (DebuggingClient) Increment

func (c DebuggingClient) Increment(ctx context.Context, __arg IncrementArg) (res int, err error)

func (DebuggingClient) Script

func (c DebuggingClient) Script(ctx context.Context, __arg ScriptArg) (res string, err error)

func (DebuggingClient) SecondStep

func (c DebuggingClient) SecondStep(ctx context.Context, __arg SecondStepArg) (res int, err error)

type DebuggingInterface

type DebuggingInterface interface {
	FirstStep(context.Context, FirstStepArg) (FirstStepResult, error)
	SecondStep(context.Context, SecondStepArg) (int, error)
	Increment(context.Context, IncrementArg) (int, error)
	Script(context.Context, ScriptArg) (string, error)
}

type DecryptFavoritesArg

type DecryptFavoritesArg struct {
	DataToEncrypt []byte `codec:"dataToEncrypt" json:"dataToEncrypt"`
}

type DelKVEntryArg

type DelKVEntryArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamName  string `codec:"teamName" json:"teamName"`
	Namespace string `codec:"namespace" json:"namespace"`
	EntryKey  string `codec:"entryKey" json:"entryKey"`
	Revision  int    `codec:"revision" json:"revision"`
}

type DelReferenceArg

type DelReferenceArg struct {
	Folder string         `codec:"folder" json:"folder"`
	Ref    BlockReference `codec:"ref" json:"ref"`
}

type DelReferenceWithCountArg

type DelReferenceWithCountArg struct {
	Folder string           `codec:"folder" json:"folder"`
	Refs   []BlockReference `codec:"refs" json:"refs"`
}

type DelegateIdentifyUIArg

type DelegateIdentifyUIArg struct {
}

type DelegateRekeyUIArg

type DelegateRekeyUIArg struct {
}

type DelegateUiCtlClient

type DelegateUiCtlClient struct {
	Cli rpc.GenericClient
}

func (DelegateUiCtlClient) RegisterChatUI

func (c DelegateUiCtlClient) RegisterChatUI(ctx context.Context) (err error)

func (DelegateUiCtlClient) RegisterGregorFirehose

func (c DelegateUiCtlClient) RegisterGregorFirehose(ctx context.Context) (err error)

func (DelegateUiCtlClient) RegisterGregorFirehoseFiltered

func (c DelegateUiCtlClient) RegisterGregorFirehoseFiltered(ctx context.Context, systems []string) (err error)

registerGregorFirehoseFilter allows a client to register for a filtered firehose, limited to only the OOBMs of the systems provided. Like the firehose handler, but less pressure.

func (DelegateUiCtlClient) RegisterHomeUI

func (c DelegateUiCtlClient) RegisterHomeUI(ctx context.Context) (err error)

func (DelegateUiCtlClient) RegisterIdentify3UI

func (c DelegateUiCtlClient) RegisterIdentify3UI(ctx context.Context) (err error)

func (DelegateUiCtlClient) RegisterIdentifyUI

func (c DelegateUiCtlClient) RegisterIdentifyUI(ctx context.Context) (err error)

func (DelegateUiCtlClient) RegisterLogUI

func (c DelegateUiCtlClient) RegisterLogUI(ctx context.Context) (err error)

func (DelegateUiCtlClient) RegisterRekeyUI

func (c DelegateUiCtlClient) RegisterRekeyUI(ctx context.Context) (err error)

func (DelegateUiCtlClient) RegisterSecretUI

func (c DelegateUiCtlClient) RegisterSecretUI(ctx context.Context) (err error)

func (DelegateUiCtlClient) RegisterUpdateUI

func (c DelegateUiCtlClient) RegisterUpdateUI(ctx context.Context) (err error)

type DelegateUiCtlInterface

type DelegateUiCtlInterface interface {
	RegisterIdentifyUI(context.Context) error
	RegisterSecretUI(context.Context) error
	RegisterUpdateUI(context.Context) error
	RegisterRekeyUI(context.Context) error
	RegisterHomeUI(context.Context) error
	RegisterIdentify3UI(context.Context) error
	RegisterChatUI(context.Context) error
	RegisterLogUI(context.Context) error
	RegisterGregorFirehose(context.Context) error
	// registerGregorFirehoseFilter allows a client to register for a filtered
	// firehose, limited to only the OOBMs of the systems provided.
	// Like the firehose handler, but less pressure.
	RegisterGregorFirehoseFiltered(context.Context, []string) error
}

type DeleteArg

type DeleteArg struct {
	Endpoint      string         `codec:"endpoint" json:"endpoint"`
	Args          []StringKVPair `codec:"args" json:"args"`
	HttpStatus    []int          `codec:"httpStatus" json:"httpStatus"`
	AppStatusCode []int          `codec:"appStatusCode" json:"appStatusCode"`
}

func (DeleteArg) GetAppStatusCodes

func (a DeleteArg) GetAppStatusCodes() []int

func (DeleteArg) GetEndpoint

func (a DeleteArg) GetEndpoint() string

func (DeleteArg) GetHTTPArgs

func (a DeleteArg) GetHTTPArgs() []StringKVPair

func (DeleteArg) GetHttpStatuses

func (a DeleteArg) GetHttpStatuses() []int

type DeleteEmailArg

type DeleteEmailArg struct {
	SessionID int          `codec:"sessionID" json:"sessionID"`
	Email     EmailAddress `codec:"email" json:"email"`
}

type DeleteGitMetadataArg

type DeleteGitMetadataArg struct {
	Folder   FolderHandle `codec:"folder" json:"folder"`
	RepoName GitRepoName  `codec:"repoName" json:"repoName"`
}

type DeleteKeyArg

type DeleteKeyArg struct {
	Uid       UID               `codec:"uid" json:"uid"`
	DeviceKID KID               `codec:"deviceKID" json:"deviceKID"`
	KeyHalfID []byte            `codec:"keyHalfID" json:"keyHalfID"`
	LogTags   map[string]string `codec:"logTags" json:"logTags"`
}

type DeletePersonalRepoArg

type DeletePersonalRepoArg struct {
	RepoName GitRepoName `codec:"repoName" json:"repoName"`
}

type DeletePhoneNumberArg

type DeletePhoneNumberArg struct {
	SessionID   int         `codec:"sessionID" json:"sessionID"`
	PhoneNumber PhoneNumber `codec:"phoneNumber" json:"phoneNumber"`
}

type DeleteRepoArg

type DeleteRepoArg struct {
	Folder FolderHandle `codec:"folder" json:"folder"`
	Name   GitRepoName  `codec:"name" json:"name"`
}

type DeleteTeamRepoArg

type DeleteTeamRepoArg struct {
	RepoName   GitRepoName `codec:"repoName" json:"repoName"`
	TeamName   TeamName    `codec:"teamName" json:"teamName"`
	NotifyTeam bool        `codec:"notifyTeam" json:"notifyTeam"`
}

type DeletedTeamInfo

type DeletedTeamInfo struct {
	TeamName  string        `codec:"teamName" json:"teamName"`
	DeletedBy string        `codec:"deletedBy" json:"deletedBy"`
	Id        gregor1.MsgID `codec:"id" json:"id"`
}

func (DeletedTeamInfo) DeepCopy

func (o DeletedTeamInfo) DeepCopy() DeletedTeamInfo

type DeprovisionArg

type DeprovisionArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Username  string `codec:"username" json:"username"`
	DoRevoke  bool   `codec:"doRevoke" json:"doRevoke"`
}

type DesktopStatus

type DesktopStatus struct {
	Version string `codec:"version" json:"version"`
	Running bool   `codec:"running" json:"running"`
	Log     string `codec:"log" json:"log"`
}

func (DesktopStatus) DeepCopy

func (o DesktopStatus) DeepCopy() DesktopStatus

type Device

type Device struct {
	Type               DeviceTypeV2 `codec:"type" json:"type"`
	Name               string       `codec:"name" json:"name"`
	DeviceID           DeviceID     `codec:"deviceID" json:"deviceID"`
	DeviceNumberOfType int          `codec:"deviceNumberOfType" json:"deviceNumberOfType"`
	CTime              Time         `codec:"cTime" json:"cTime"`
	MTime              Time         `codec:"mTime" json:"mTime"`
	LastUsedTime       Time         `codec:"lastUsedTime" json:"lastUsedTime"`
	EncryptKey         KID          `codec:"encryptKey" json:"encryptKey"`
	VerifyKey          KID          `codec:"verifyKey" json:"verifyKey"`
	Status             int          `codec:"status" json:"status"`
}

func (Device) DeepCopy

func (o Device) DeepCopy() Device

type DeviceAddArg

type DeviceAddArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type DeviceClient

type DeviceClient struct {
	Cli rpc.GenericClient
}

func (DeviceClient) CheckDeviceNameForUser

func (c DeviceClient) CheckDeviceNameForUser(ctx context.Context, __arg CheckDeviceNameForUserArg) (err error)

Checks a given device against all of user's past devices, including those that predate a reset. It will also check a device name for proper formatting. Return null error on success, and a non-null error otherwise.

func (DeviceClient) CheckDeviceNameFormat

func (c DeviceClient) CheckDeviceNameFormat(ctx context.Context, __arg CheckDeviceNameFormatArg) (res bool, err error)

Checks the device name format.

func (DeviceClient) DeviceAdd

func (c DeviceClient) DeviceAdd(ctx context.Context, sessionID int) (err error)

Starts the process of adding a new device using an existing device. It is called on the existing device. This is for kex2.

func (DeviceClient) DeviceHistoryList

func (c DeviceClient) DeviceHistoryList(ctx context.Context, sessionID int) (res []DeviceDetail, err error)

List all devices with detailed history and status information.

func (DeviceClient) DeviceList

func (c DeviceClient) DeviceList(ctx context.Context, sessionID int) (res []Device, err error)

List devices for the user.

func (DeviceClient) DismissDeviceChangeNotifications

func (c DeviceClient) DismissDeviceChangeNotifications(ctx context.Context) (err error)

Dismisses the notifications for a new or revoked device assuming this is not that device.

type DeviceCloneCountChangedArg

type DeviceCloneCountChangedArg struct {
	NewClones int `codec:"newClones" json:"newClones"`
}

type DeviceDetail

type DeviceDetail struct {
	Device          Device  `codec:"device" json:"device"`
	Eldest          bool    `codec:"eldest" json:"eldest"`
	Provisioner     *Device `codec:"provisioner,omitempty" json:"provisioner,omitempty"`
	ProvisionedAt   *Time   `codec:"provisionedAt,omitempty" json:"provisionedAt,omitempty"`
	RevokedAt       *Time   `codec:"revokedAt,omitempty" json:"revokedAt,omitempty"`
	RevokedBy       KID     `codec:"revokedBy" json:"revokedBy"`
	RevokedByDevice *Device `codec:"revokedByDevice,omitempty" json:"revokedByDevice,omitempty"`
	CurrentDevice   bool    `codec:"currentDevice" json:"currentDevice"`
}

func (DeviceDetail) DeepCopy

func (o DeviceDetail) DeepCopy() DeviceDetail

type DeviceEk

type DeviceEk struct {
	Seed     Bytes32          `codec:"seed" json:"seed"`
	Metadata DeviceEkMetadata `codec:"metadata" json:"metadata"`
}

func (DeviceEk) DeepCopy

func (o DeviceEk) DeepCopy() DeviceEk

type DeviceEkMetadata

type DeviceEkMetadata struct {
	Kid         KID          `codec:"kid" json:"device_ephemeral_dh_public"`
	HashMeta    HashMeta     `codec:"hashMeta" json:"hash_meta"`
	Generation  EkGeneration `codec:"generation" json:"generation"`
	Ctime       Time         `codec:"ctime" json:"ctime"`
	DeviceCtime Time         `codec:"deviceCtime" json:"deviceCtime"`
}

func (DeviceEkMetadata) DeepCopy

func (o DeviceEkMetadata) DeepCopy() DeviceEkMetadata

type DeviceEkStatement

type DeviceEkStatement struct {
	CurrentDeviceEkMetadata DeviceEkMetadata `codec:"currentDeviceEkMetadata" json:"current_device_ek_metadata"`
}

func (DeviceEkStatement) DeepCopy

func (o DeviceEkStatement) DeepCopy() DeviceEkStatement

type DeviceHistoryListArg

type DeviceHistoryListArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type DeviceID

type DeviceID string

func DeviceIDFromBytes

func DeviceIDFromBytes(b [DeviceIDLen]byte) DeviceID

func DeviceIDFromSlice

func DeviceIDFromSlice(b []byte) (DeviceID, error)

func DeviceIDFromString

func DeviceIDFromString(s string) (DeviceID, error)

func (DeviceID) DeepCopy

func (o DeviceID) DeepCopy() DeviceID

func (DeviceID) Eq

func (d DeviceID) Eq(d2 DeviceID) bool

func (DeviceID) Exists

func (d DeviceID) Exists() bool

func (DeviceID) IsNil

func (d DeviceID) IsNil() bool

func (DeviceID) String

func (d DeviceID) String() string

func (DeviceID) ToBytes

func (d DeviceID) ToBytes(out []byte) error

type DeviceInterface

type DeviceInterface interface {
	// List devices for the user.
	DeviceList(context.Context, int) ([]Device, error)
	// List all devices with detailed history and status information.
	DeviceHistoryList(context.Context, int) ([]DeviceDetail, error)
	// Starts the process of adding a new device using an existing
	// device.  It is called on the existing device.
	// This is for kex2.
	DeviceAdd(context.Context, int) error
	// Checks the device name format.
	CheckDeviceNameFormat(context.Context, CheckDeviceNameFormatArg) (bool, error)
	// Dismisses the notifications for a new or revoked device
	// assuming this is not that device.
	DismissDeviceChangeNotifications(context.Context) error
	// Checks a given device against all of user's past devices,
	// including those that predate a reset. It will also check a device name
	// for proper formatting. Return null error on success, and a non-null
	// error otherwise.
	CheckDeviceNameForUser(context.Context, CheckDeviceNameForUserArg) error
}

type DeviceListArg

type DeviceListArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type DeviceType

type DeviceType int
const (
	DeviceType_DESKTOP DeviceType = 0
	DeviceType_MOBILE  DeviceType = 1
)

func (DeviceType) DeepCopy

func (o DeviceType) DeepCopy() DeviceType

func (DeviceType) String

func (e DeviceType) String() string

type DeviceTypeV2

type DeviceTypeV2 string
const (
	DeviceTypeV2_NONE    DeviceTypeV2 = "none"
	DeviceTypeV2_PAPER   DeviceTypeV2 = "backup"
	DeviceTypeV2_DESKTOP DeviceTypeV2 = "desktop"
	DeviceTypeV2_MOBILE  DeviceTypeV2 = "mobile"
)

func StringToDeviceTypeV2

func StringToDeviceTypeV2(s string) (d DeviceTypeV2, err error)

func (DeviceTypeV2) DeepCopy

func (o DeviceTypeV2) DeepCopy() DeviceTypeV2

func (DeviceTypeV2) String

func (d DeviceTypeV2) String() string

func (*DeviceTypeV2) ToDeviceType

func (dt *DeviceTypeV2) ToDeviceType() DeviceType

defaults to Desktop

type DidCounterSign2Arg

type DidCounterSign2Arg struct {
	Sig          []byte         `codec:"sig" json:"sig"`
	PpsEncrypted string         `codec:"ppsEncrypted" json:"ppsEncrypted"`
	PukBox       *PerUserKeyBox `codec:"pukBox,omitempty" json:"pukBox,omitempty"`
	UserEkBox    *UserEkBoxed   `codec:"userEkBox,omitempty" json:"userEkBox,omitempty"`
}

type DidCounterSignArg

type DidCounterSignArg struct {
	Sig []byte `codec:"sig" json:"sig"`
}

type DirSizeInfo

type DirSizeInfo struct {
	NumFiles  int    `codec:"numFiles" json:"numFiles"`
	Name      string `codec:"name" json:"name"`
	HumanSize string `codec:"humanSize" json:"humanSize"`
}

func (DirSizeInfo) DeepCopy

func (o DirSizeInfo) DeepCopy() DirSizeInfo

type Dirent

type Dirent struct {
	Time                 Time             `codec:"time" json:"time"`
	Size                 int              `codec:"size" json:"size"`
	Name                 string           `codec:"name" json:"name"`
	DirentType           DirentType       `codec:"direntType" json:"direntType"`
	LastWriterUnverified User             `codec:"lastWriterUnverified" json:"lastWriterUnverified"`
	Writable             bool             `codec:"writable" json:"writable"`
	PrefetchStatus       PrefetchStatus   `codec:"prefetchStatus" json:"prefetchStatus"`
	PrefetchProgress     PrefetchProgress `codec:"prefetchProgress" json:"prefetchProgress"`
	SymlinkTarget        string           `codec:"symlinkTarget" json:"symlinkTarget"`
}

func (Dirent) DeepCopy

func (o Dirent) DeepCopy() Dirent

type DirentType

type DirentType int
const (
	DirentType_FILE DirentType = 0
	DirentType_DIR  DirentType = 1
	DirentType_SYM  DirentType = 2
	DirentType_EXEC DirentType = 3
)

func (DirentType) DeepCopy

func (o DirentType) DeepCopy() DirentType

func (DirentType) String

func (e DirentType) String() string

type DirentWithRevision

type DirentWithRevision struct {
	Entry    Dirent       `codec:"entry" json:"entry"`
	Revision KBFSRevision `codec:"revision" json:"revision"`
}

func (DirentWithRevision) DeepCopy

type DismissArg

type DismissArg struct {
	SessionID int           `codec:"sessionID" json:"sessionID"`
	Username  string        `codec:"username" json:"username"`
	Reason    DismissReason `codec:"reason" json:"reason"`
}

type DismissBlockButtonsArg

type DismissBlockButtonsArg struct {
	TlfID TLFID `codec:"tlfID" json:"tlfID"`
}

type DismissCategoryArg

type DismissCategoryArg struct {
	Category gregor1.Category `codec:"category" json:"category"`
}

type DismissDeviceChangeNotificationsArg

type DismissDeviceChangeNotificationsArg struct {
}

type DismissItemArg

type DismissItemArg struct {
	Id gregor1.MsgID `codec:"id" json:"id"`
}

type DismissReason

type DismissReason struct {
	Type     DismissReasonType `codec:"type" json:"type"`
	Reason   string            `codec:"reason" json:"reason"`
	Resource string            `codec:"resource" json:"resource"`
}

func (DismissReason) DeepCopy

func (o DismissReason) DeepCopy() DismissReason

type DismissReasonType

type DismissReasonType int
const (
	DismissReasonType_NONE              DismissReasonType = 0
	DismissReasonType_HANDLED_ELSEWHERE DismissReasonType = 1
)

func (DismissReasonType) DeepCopy

func (o DismissReasonType) DeepCopy() DismissReasonType

func (DismissReasonType) String

func (e DismissReasonType) String() string

type DismissWithTokenArg

type DismissWithTokenArg struct {
	SessionID  int        `codec:"sessionID" json:"sessionID"`
	TrackToken TrackToken `codec:"trackToken" json:"trackToken"`
}

type DismissWotNotificationsArg

type DismissWotNotificationsArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Voucher   string `codec:"voucher" json:"voucher"`
	Vouchee   string `codec:"vouchee" json:"vouchee"`
}

type DisplayAndPromptSecretArg

type DisplayAndPromptSecretArg struct {
	SessionID       int        `codec:"sessionID" json:"sessionID"`
	Secret          []byte     `codec:"secret" json:"secret"`
	Phrase          string     `codec:"phrase" json:"phrase"`
	OtherDeviceType DeviceType `codec:"otherDeviceType" json:"otherDeviceType"`
	PreviousErr     string     `codec:"previousErr" json:"previousErr"`
}

type DisplayCryptocurrencyArg

type DisplayCryptocurrencyArg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	C         Cryptocurrency `codec:"c" json:"c"`
}

type DisplayKeyArg

type DisplayKeyArg struct {
	SessionID int         `codec:"sessionID" json:"sessionID"`
	Key       IdentifyKey `codec:"key" json:"key"`
}

type DisplayPaperKeyPhraseArg

type DisplayPaperKeyPhraseArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Phrase    string `codec:"phrase" json:"phrase"`
}

type DisplayPrimaryPaperKeyArg

type DisplayPrimaryPaperKeyArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Phrase    string `codec:"phrase" json:"phrase"`
}

type DisplayRecheckWarningArg

type DisplayRecheckWarningArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	Text      Text `codec:"text" json:"text"`
}

type DisplayResetMessageArg

type DisplayResetMessageArg struct {
	SessionID int          `codec:"sessionID" json:"sessionID"`
	Kind      ResetMessage `codec:"kind" json:"kind"`
}

type DisplayResetProgressArg

type DisplayResetProgressArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Text       string `codec:"text" json:"text"`
	EndTime    Time   `codec:"endTime" json:"endTime"`
	NeedVerify bool   `codec:"needVerify" json:"needVerify"`
}

type DisplaySecretExchangedArg

type DisplaySecretExchangedArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type DisplayStellarAccountArg

type DisplayStellarAccountArg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	A         StellarAccount `codec:"a" json:"a"`
}

type DisplayTLFCreateWithInviteArg

type DisplayTLFCreateWithInviteArg struct {
	SessionID       int             `codec:"sessionID" json:"sessionID"`
	FolderName      string          `codec:"folderName" json:"folderName"`
	IsPrivate       bool            `codec:"isPrivate" json:"isPrivate"`
	Assertion       string          `codec:"assertion" json:"assertion"`
	SocialAssertion SocialAssertion `codec:"socialAssertion" json:"socialAssertion"`
	InviteLink      string          `codec:"inviteLink" json:"inviteLink"`
	Throttled       bool            `codec:"throttled" json:"throttled"`
}

type DisplayTrackStatementArg

type DisplayTrackStatementArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Stmt      string `codec:"stmt" json:"stmt"`
}

type DisplayUserCardArg

type DisplayUserCardArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Card      UserCard `codec:"card" json:"card"`
}

type DownPointer

type DownPointer struct {
	Id            TeamID `codec:"id" json:"id"`
	NameComponent string `codec:"nameComponent" json:"nameComponent"`
	IsDeleted     bool   `codec:"isDeleted" json:"isDeleted"`
}

func (DownPointer) DeepCopy

func (o DownPointer) DeepCopy() DownPointer

type DowngradeReferenceRes

type DowngradeReferenceRes struct {
	Completed []BlockReferenceCount `codec:"completed" json:"completed"`
	Failed    BlockReference        `codec:"failed" json:"failed"`
}

func (DowngradeReferenceRes) DeepCopy

type DownloadInfo

type DownloadInfo struct {
	DownloadID        string   `codec:"downloadID" json:"downloadID"`
	Path              KBFSPath `codec:"path" json:"path"`
	Filename          string   `codec:"filename" json:"filename"`
	StartTime         Time     `codec:"startTime" json:"startTime"`
	IsRegularDownload bool     `codec:"isRegularDownload" json:"isRegularDownload"`
}

func (DownloadInfo) DeepCopy

func (o DownloadInfo) DeepCopy() DownloadInfo

type DownloadState

type DownloadState struct {
	DownloadID  string  `codec:"downloadID" json:"downloadID"`
	Progress    float64 `codec:"progress" json:"progress"`
	EndEstimate Time    `codec:"endEstimate" json:"endEstimate"`
	LocalPath   string  `codec:"localPath" json:"localPath"`
	Error       string  `codec:"error" json:"error"`
	Done        bool    `codec:"done" json:"done"`
	Canceled    bool    `codec:"canceled" json:"canceled"`
}

func (DownloadState) DeepCopy

func (o DownloadState) DeepCopy() DownloadState

type DownloadStatus

type DownloadStatus struct {
	RegularDownloadIDs []string        `codec:"regularDownloadIDs" json:"regularDownloadIDs"`
	States             []DownloadState `codec:"states" json:"states"`
}

func (DownloadStatus) DeepCopy

func (o DownloadStatus) DeepCopy() DownloadStatus

type DurationMsec

type DurationMsec float64

func ToDurationMsec

func ToDurationMsec(d time.Duration) DurationMsec

func (DurationMsec) DeepCopy

func (o DurationMsec) DeepCopy() DurationMsec

func (DurationMsec) Duration

func (d DurationMsec) Duration() time.Duration

type DurationSec

type DurationSec float64

func ToDurationSec

func ToDurationSec(d time.Duration) DurationSec

func (DurationSec) DeepCopy

func (o DurationSec) DeepCopy() DurationSec

func (DurationSec) Duration

func (d DurationSec) Duration() time.Duration

type ED25519PublicKey

type ED25519PublicKey [32]byte

func (ED25519PublicKey) DeepCopy

func (o ED25519PublicKey) DeepCopy() ED25519PublicKey

type ED25519Signature

type ED25519Signature [64]byte

func (ED25519Signature) DeepCopy

func (o ED25519Signature) DeepCopy() ED25519Signature

type ED25519SignatureInfo

type ED25519SignatureInfo struct {
	Sig       ED25519Signature `codec:"sig" json:"sig"`
	PublicKey ED25519PublicKey `codec:"publicKey" json:"publicKey"`
}

func (ED25519SignatureInfo) DeepCopy

type EchoArg

type EchoArg struct {
	Arg Generic `codec:"arg" json:"arg"`
}

type EditEmailArg

type EditEmailArg struct {
	SessionID  int                `codec:"sessionID" json:"sessionID"`
	OldEmail   EmailAddress       `codec:"oldEmail" json:"oldEmail"`
	Email      EmailAddress       `codec:"email" json:"email"`
	Visibility IdentityVisibility `codec:"visibility" json:"visibility"`
}

type EditPhoneNumberArg

type EditPhoneNumberArg struct {
	SessionID      int                `codec:"sessionID" json:"sessionID"`
	OldPhoneNumber PhoneNumber        `codec:"oldPhoneNumber" json:"oldPhoneNumber"`
	PhoneNumber    PhoneNumber        `codec:"phoneNumber" json:"phoneNumber"`
	Visibility     IdentityVisibility `codec:"visibility" json:"visibility"`
}

type EkGeneration

type EkGeneration int64

func (EkGeneration) DeepCopy

func (o EkGeneration) DeepCopy() EkGeneration

type Email

type Email struct {
	Email               EmailAddress       `codec:"email" json:"email"`
	IsVerified          bool               `codec:"isVerified" json:"isVerified"`
	IsPrimary           bool               `codec:"isPrimary" json:"isPrimary"`
	Visibility          IdentityVisibility `codec:"visibility" json:"visibility"`
	LastVerifyEmailDate UnixTime           `codec:"lastVerifyEmailDate" json:"lastVerifyEmailDate"`
}

func (Email) DeepCopy

func (o Email) DeepCopy() Email

type EmailAddress

type EmailAddress string

func (EmailAddress) DeepCopy

func (o EmailAddress) DeepCopy() EmailAddress

func (EmailAddress) String

func (e EmailAddress) String() string

type EmailAddressChangedMsg

type EmailAddressChangedMsg struct {
	Email EmailAddress `codec:"email" json:"email"`
}

func (EmailAddressChangedMsg) DeepCopy

type EmailAddressVerifiedArg

type EmailAddressVerifiedArg struct {
	EmailAddress EmailAddress `codec:"emailAddress" json:"emailAddress"`
}

type EmailAddressVerifiedMsg

type EmailAddressVerifiedMsg struct {
	Email EmailAddress `codec:"email" json:"email"`
}

func (EmailAddressVerifiedMsg) DeepCopy

type EmailChangeArg

type EmailChangeArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	NewEmail  string `codec:"newEmail" json:"newEmail"`
}

type EmailInvites

type EmailInvites struct {
	CommaSeparatedEmailsFromUser *string         `codec:"commaSeparatedEmailsFromUser,omitempty" json:"commaSeparatedEmailsFromUser,omitempty"`
	EmailsFromContacts           *[]EmailAddress `codec:"emailsFromContacts,omitempty" json:"emailsFromContacts,omitempty"`
}

func (EmailInvites) DeepCopy

func (o EmailInvites) DeepCopy() EmailInvites

type EmailLookupResult

type EmailLookupResult struct {
	Email EmailAddress `codec:"email" json:"email"`
	Uid   *UID         `codec:"uid,omitempty" json:"uid,omitempty"`
}

func (EmailLookupResult) DeepCopy

func (o EmailLookupResult) DeepCopy() EmailLookupResult

type EmailOrPhoneNumberSearchResult

type EmailOrPhoneNumberSearchResult struct {
	Input          string `codec:"input" json:"input"`
	Assertion      string `codec:"assertion" json:"assertion"`
	AssertionValue string `codec:"assertionValue" json:"assertionValue"`
	AssertionKey   string `codec:"assertionKey" json:"assertionKey"`
	FoundUser      bool   `codec:"foundUser" json:"foundUser"`
	Username       string `codec:"username" json:"username"`
	FullName       string `codec:"fullName" json:"fullName"`
}

func (EmailOrPhoneNumberSearchResult) DeepCopy

type EmailsChangedArg

type EmailsChangedArg struct {
	List     []Email      `codec:"list" json:"list"`
	Category string       `codec:"category" json:"category"`
	Email    EmailAddress `codec:"email" json:"email"`
}

type EmailsClient

type EmailsClient struct {
	Cli rpc.GenericClient
}

func (EmailsClient) AddEmail

func (c EmailsClient) AddEmail(ctx context.Context, __arg AddEmailArg) (err error)

func (EmailsClient) DeleteEmail

func (c EmailsClient) DeleteEmail(ctx context.Context, __arg DeleteEmailArg) (err error)

func (EmailsClient) EditEmail

func (c EmailsClient) EditEmail(ctx context.Context, __arg EditEmailArg) (err error)

func (EmailsClient) GetEmails

func (c EmailsClient) GetEmails(ctx context.Context, sessionID int) (res []Email, err error)

func (EmailsClient) SendVerificationEmail

func (c EmailsClient) SendVerificationEmail(ctx context.Context, __arg SendVerificationEmailArg) (err error)

func (EmailsClient) SetPrimaryEmail

func (c EmailsClient) SetPrimaryEmail(ctx context.Context, __arg SetPrimaryEmailArg) (err error)

func (EmailsClient) SetVisibilityAllEmail

func (c EmailsClient) SetVisibilityAllEmail(ctx context.Context, __arg SetVisibilityAllEmailArg) (err error)

func (EmailsClient) SetVisibilityEmail

func (c EmailsClient) SetVisibilityEmail(ctx context.Context, __arg SetVisibilityEmailArg) (err error)

type EmailsInterface

type EmailsInterface interface {
	AddEmail(context.Context, AddEmailArg) error
	DeleteEmail(context.Context, DeleteEmailArg) error
	EditEmail(context.Context, EditEmailArg) error
	SetPrimaryEmail(context.Context, SetPrimaryEmailArg) error
	SendVerificationEmail(context.Context, SendVerificationEmailArg) error
	SetVisibilityEmail(context.Context, SetVisibilityEmailArg) error
	SetVisibilityAllEmail(context.Context, SetVisibilityAllEmailArg) error
	GetEmails(context.Context, int) ([]Email, error)
}

type EncryptFavoritesArg

type EncryptFavoritesArg struct {
	DataToEncrypt []byte `codec:"dataToEncrypt" json:"dataToEncrypt"`
}

type EncryptedBytes32

type EncryptedBytes32 [48]byte

func (EncryptedBytes32) DeepCopy

func (o EncryptedBytes32) DeepCopy() EncryptedBytes32

type EncryptedGitMetadata

type EncryptedGitMetadata struct {
	V   int                  `codec:"v" json:"v"`
	E   []byte               `codec:"e" json:"e"`
	N   BoxNonce             `codec:"n" json:"n"`
	Gen PerTeamKeyGeneration `codec:"gen" json:"gen"`
}

func (EncryptedGitMetadata) DeepCopy

type EncryptedKVEntry

type EncryptedKVEntry struct {
	V int    `codec:"v" json:"v"`
	E []byte `codec:"e" json:"e"`
	N []byte `codec:"n" json:"n"`
}

func (EncryptedKVEntry) DeepCopy

func (o EncryptedKVEntry) DeepCopy() EncryptedKVEntry

type EnterResetPipelineArg

type EnterResetPipelineArg struct {
	SessionID       int    `codec:"sessionID" json:"sessionID"`
	UsernameOrEmail string `codec:"usernameOrEmail" json:"usernameOrEmail"`
	Passphrase      string `codec:"passphrase" json:"passphrase"`
	Interactive     bool   `codec:"interactive" json:"interactive"`
}

type EphemeralClient

type EphemeralClient struct {
	Cli rpc.GenericClient
}

type EphemeralInterface

type EphemeralInterface interface {
}

type Error

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

func FromError

func FromError(err error) *Error

func NewError

func NewError(code StatusCode, message string) *Error

func (*Error) Error

func (e *Error) Error() string

func (*Error) Status

func (e *Error) Status() Status

type ErrorNum

type ErrorNum int

func (ErrorNum) DeepCopy

func (o ErrorNum) DeepCopy() ErrorNum

type ErrorUnwrapper

type ErrorUnwrapper struct {
	Upcaster func(status Status) error
}

ErrorUnwrapper is converter that take a Status object off the wire and convert it into an Error that Go can understand, and you can discriminate on in your code. Though status object can act as Go errors, you can further convert them into typed errors via the Upcaster function if specified. An Upcaster takes a Status and returns something that obeys the Error interface, but can be anything your program needs.

func (ErrorUnwrapper) MakeArg

func (eu ErrorUnwrapper) MakeArg() interface{}

MakeArg just makes a dummy object that we can unmarshal into, as needed by the underlying RPC library.

func (ErrorUnwrapper) UnwrapError

func (eu ErrorUnwrapper) UnwrapError(arg interface{}) (appError, dispatchError error)

UnwrapError takes an incoming RPC object, attempts to coerce it into a Status object, and then Upcasts via the Upcaster or just returns if not was provided.

type ExitArg

type ExitArg struct {
}

type ExitCode

type ExitCode int
const (
	ExitCode_OK      ExitCode = 0
	ExitCode_NOTOK   ExitCode = 2
	ExitCode_RESTART ExitCode = 4
)

func (ExitCode) DeepCopy

func (o ExitCode) DeepCopy() ExitCode

func (ExitCode) String

func (e ExitCode) String() string

type ExplainDeviceRecoveryArg

type ExplainDeviceRecoveryArg struct {
	SessionID int        `codec:"sessionID" json:"sessionID"`
	Kind      DeviceType `codec:"kind" json:"kind"`
	Name      string     `codec:"name" json:"name"`
}

type ExtendedStatus

type ExtendedStatus struct {
	Standalone             bool                `codec:"standalone" json:"standalone"`
	PassphraseStreamCached bool                `codec:"passphraseStreamCached" json:"passphraseStreamCached"`
	TsecCached             bool                `codec:"tsecCached" json:"tsecCached"`
	DeviceSigKeyCached     bool                `codec:"deviceSigKeyCached" json:"deviceSigKeyCached"`
	DeviceEncKeyCached     bool                `codec:"deviceEncKeyCached" json:"deviceEncKeyCached"`
	PaperSigKeyCached      bool                `codec:"paperSigKeyCached" json:"paperSigKeyCached"`
	PaperEncKeyCached      bool                `codec:"paperEncKeyCached" json:"paperEncKeyCached"`
	StoredSecret           bool                `codec:"storedSecret" json:"storedSecret"`
	SecretPromptSkip       bool                `codec:"secretPromptSkip" json:"secretPromptSkip"`
	RememberPassphrase     bool                `codec:"rememberPassphrase" json:"rememberPassphrase"`
	Device                 *Device             `codec:"device,omitempty" json:"device,omitempty"`
	DeviceErr              *LoadDeviceErr      `codec:"deviceErr,omitempty" json:"deviceErr,omitempty"`
	LogDir                 string              `codec:"logDir" json:"logDir"`
	Session                *SessionStatus      `codec:"session,omitempty" json:"session,omitempty"`
	DefaultUsername        string              `codec:"defaultUsername" json:"defaultUsername"`
	ProvisionedUsernames   []string            `codec:"provisionedUsernames" json:"provisionedUsernames"`
	ConfiguredAccounts     []ConfiguredAccount `codec:"configuredAccounts" json:"configuredAccounts"`
	Clients                []ClientStatus      `codec:"Clients" json:"Clients"`
	DeviceEkNames          []string            `codec:"deviceEkNames" json:"deviceEkNames"`
	PlatformInfo           PlatformInfo        `codec:"platformInfo" json:"platformInfo"`
	DefaultDeviceID        DeviceID            `codec:"defaultDeviceID" json:"defaultDeviceID"`
	LocalDbStats           []string            `codec:"localDbStats" json:"localDbStats"`
	LocalChatDbStats       []string            `codec:"localChatDbStats" json:"localChatDbStats"`
	LocalBlockCacheDbStats []string            `codec:"localBlockCacheDbStats" json:"localBlockCacheDbStats"`
	LocalSyncCacheDbStats  []string            `codec:"localSyncCacheDbStats" json:"localSyncCacheDbStats"`
	CacheDirSizeInfo       []DirSizeInfo       `codec:"cacheDirSizeInfo" json:"cacheDirSizeInfo"`
	UiRouterMapping        map[string]int      `codec:"uiRouterMapping" json:"uiRouterMapping"`
}

func (ExtendedStatus) DeepCopy

func (o ExtendedStatus) DeepCopy() ExtendedStatus

type ExternalServiceConfig

type ExternalServiceConfig struct {
	SchemaVersion int                      `codec:"schemaVersion" json:"schema_version"`
	Display       *ServiceDisplayConfig    `codec:"display,omitempty" json:"display,omitempty"`
	Config        *ParamProofServiceConfig `codec:"config,omitempty" json:"config,omitempty"`
}

func (ExternalServiceConfig) DeepCopy

type FSActivityArg

type FSActivityArg struct {
	Notification FSNotification `codec:"notification" json:"notification"`
}

type FSEditListArg

type FSEditListArg struct {
	Edits     FSFolderEditHistory `codec:"edits" json:"edits"`
	RequestID int                 `codec:"requestID" json:"requestID"`
}

type FSEditListRequest

type FSEditListRequest struct {
	Folder    Folder `codec:"folder" json:"folder"`
	RequestID int    `codec:"requestID" json:"requestID"`
}

func (FSEditListRequest) DeepCopy

func (o FSEditListRequest) DeepCopy() FSEditListRequest

type FSEditListRequestArg

type FSEditListRequestArg struct {
	Req FSEditListRequest `codec:"req" json:"req"`
}

type FSEditListResponseArg

type FSEditListResponseArg struct {
	Edits     FSFolderEditHistory `codec:"edits" json:"edits"`
	RequestID int                 `codec:"requestID" json:"requestID"`
}

type FSErrorType

type FSErrorType int
const (
	FSErrorType_ACCESS_DENIED             FSErrorType = 0
	FSErrorType_USER_NOT_FOUND            FSErrorType = 1
	FSErrorType_REVOKED_DATA_DETECTED     FSErrorType = 2
	FSErrorType_NOT_LOGGED_IN             FSErrorType = 3
	FSErrorType_TIMEOUT                   FSErrorType = 4
	FSErrorType_REKEY_NEEDED              FSErrorType = 5
	FSErrorType_BAD_FOLDER                FSErrorType = 6
	FSErrorType_NOT_IMPLEMENTED           FSErrorType = 7
	FSErrorType_OLD_VERSION               FSErrorType = 8
	FSErrorType_OVER_QUOTA                FSErrorType = 9
	FSErrorType_NO_SIG_CHAIN              FSErrorType = 10
	FSErrorType_TOO_MANY_FOLDERS          FSErrorType = 11
	FSErrorType_EXDEV_NOT_SUPPORTED       FSErrorType = 12
	FSErrorType_DISK_LIMIT_REACHED        FSErrorType = 13
	FSErrorType_DISK_CACHE_ERROR_LOG_SEND FSErrorType = 14
	FSErrorType_OFFLINE_ARCHIVED          FSErrorType = 15
	FSErrorType_OFFLINE_UNSYNCED          FSErrorType = 16
)

func (FSErrorType) DeepCopy

func (o FSErrorType) DeepCopy() FSErrorType

func (FSErrorType) String

func (e FSErrorType) String() string

type FSEventArg

type FSEventArg struct {
	Event FSNotification `codec:"event" json:"event"`
}

type FSFavoritesChangedArg

type FSFavoritesChangedArg struct {
}

type FSFavoritesChangedEventArg

type FSFavoritesChangedEventArg struct {
}

type FSFolderEditHistory

type FSFolderEditHistory struct {
	Folder     Folder                      `codec:"folder" json:"folder"`
	ServerTime Time                        `codec:"serverTime" json:"serverTime"`
	History    []FSFolderWriterEditHistory `codec:"history" json:"history"`
}

func (FSFolderEditHistory) DeepCopy

type FSFolderWriterEdit

type FSFolderWriterEdit struct {
	Filename         string             `codec:"filename" json:"filename"`
	NotificationType FSNotificationType `codec:"notificationType" json:"notificationType"`
	ServerTime       Time               `codec:"serverTime" json:"serverTime"`
}

func (FSFolderWriterEdit) DeepCopy

type FSFolderWriterEditHistory

type FSFolderWriterEditHistory struct {
	WriterName string               `codec:"writerName" json:"writerName"`
	Edits      []FSFolderWriterEdit `codec:"edits" json:"edits"`
	Deletes    []FSFolderWriterEdit `codec:"deletes" json:"deletes"`
}

func (FSFolderWriterEditHistory) DeepCopy

type FSNotification

type FSNotification struct {
	Filename         string             `codec:"filename" json:"filename"`
	Status           string             `codec:"status" json:"status"`
	StatusCode       FSStatusCode       `codec:"statusCode" json:"statusCode"`
	NotificationType FSNotificationType `codec:"notificationType" json:"notificationType"`
	ErrorType        FSErrorType        `codec:"errorType" json:"errorType"`
	Params           map[string]string  `codec:"params" json:"params"`
	WriterUid        UID                `codec:"writerUid" json:"writerUid"`
	LocalTime        Time               `codec:"localTime" json:"localTime"`
	FolderType       FolderType         `codec:"folderType" json:"folderType"`
}

func (FSNotification) DeepCopy

func (o FSNotification) DeepCopy() FSNotification

type FSNotificationType

type FSNotificationType int
const (
	FSNotificationType_ENCRYPTING          FSNotificationType = 0
	FSNotificationType_DECRYPTING          FSNotificationType = 1
	FSNotificationType_SIGNING             FSNotificationType = 2
	FSNotificationType_VERIFYING           FSNotificationType = 3
	FSNotificationType_REKEYING            FSNotificationType = 4
	FSNotificationType_CONNECTION          FSNotificationType = 5
	FSNotificationType_MD_READ_SUCCESS     FSNotificationType = 6
	FSNotificationType_FILE_CREATED        FSNotificationType = 7
	FSNotificationType_FILE_MODIFIED       FSNotificationType = 8
	FSNotificationType_FILE_DELETED        FSNotificationType = 9
	FSNotificationType_FILE_RENAMED        FSNotificationType = 10
	FSNotificationType_INITIALIZED         FSNotificationType = 11
	FSNotificationType_SYNC_CONFIG_CHANGED FSNotificationType = 12
)

func (FSNotificationType) DeepCopy

func (FSNotificationType) String

func (e FSNotificationType) String() string

type FSOnlineStatusChangedArg

type FSOnlineStatusChangedArg struct {
	Online bool `codec:"online" json:"online"`
}

type FSOnlineStatusChangedEventArg

type FSOnlineStatusChangedEventArg struct {
	Online bool `codec:"online" json:"online"`
}

type FSOverallSyncEventArg

type FSOverallSyncEventArg struct {
	Status FolderSyncStatus `codec:"status" json:"status"`
}

type FSOverallSyncStatusChangedArg

type FSOverallSyncStatusChangedArg struct {
	Status FolderSyncStatus `codec:"status" json:"status"`
}

type FSPathSyncStatus

type FSPathSyncStatus struct {
	FolderType   FolderType `codec:"folderType" json:"folderType"`
	Path         string     `codec:"path" json:"path"`
	SyncingBytes int64      `codec:"syncingBytes" json:"syncingBytes"`
	SyncingOps   int64      `codec:"syncingOps" json:"syncingOps"`
	SyncedBytes  int64      `codec:"syncedBytes" json:"syncedBytes"`
}

func (FSPathSyncStatus) DeepCopy

func (o FSPathSyncStatus) DeepCopy() FSPathSyncStatus

type FSPathUpdateArg

type FSPathUpdateArg struct {
	Path string `codec:"path" json:"path"`
}

type FSPathUpdatedArg

type FSPathUpdatedArg struct {
	Path string `codec:"path" json:"path"`
}

type FSSettings

type FSSettings struct {
	SpaceAvailableNotificationThreshold int64 `codec:"spaceAvailableNotificationThreshold" json:"spaceAvailableNotificationThreshold"`
	SfmiBannerDismissed                 bool  `codec:"sfmiBannerDismissed" json:"sfmiBannerDismissed"`
	SyncOnCellular                      bool  `codec:"syncOnCellular" json:"syncOnCellular"`
}

func (FSSettings) DeepCopy

func (o FSSettings) DeepCopy() FSSettings

type FSStatusCode

type FSStatusCode int
const (
	FSStatusCode_START  FSStatusCode = 0
	FSStatusCode_FINISH FSStatusCode = 1
	FSStatusCode_ERROR  FSStatusCode = 2
)

func (FSStatusCode) DeepCopy

func (o FSStatusCode) DeepCopy() FSStatusCode

func (FSStatusCode) String

func (e FSStatusCode) String() string

type FSSubscriptionNotifyArg

type FSSubscriptionNotifyArg struct {
	ClientID        string            `codec:"clientID" json:"clientID"`
	SubscriptionIDs []string          `codec:"subscriptionIDs" json:"subscriptionIDs"`
	Topic           SubscriptionTopic `codec:"topic" json:"topic"`
}

type FSSubscriptionNotifyEventArg

type FSSubscriptionNotifyEventArg struct {
	ClientID        string            `codec:"clientID" json:"clientID"`
	SubscriptionIDs []string          `codec:"subscriptionIDs" json:"subscriptionIDs"`
	Topic           SubscriptionTopic `codec:"topic" json:"topic"`
}

type FSSubscriptionNotifyPathArg

type FSSubscriptionNotifyPathArg struct {
	ClientID        string                  `codec:"clientID" json:"clientID"`
	SubscriptionIDs []string                `codec:"subscriptionIDs" json:"subscriptionIDs"`
	Path            string                  `codec:"path" json:"path"`
	Topics          []PathSubscriptionTopic `codec:"topics" json:"topics"`
}

type FSSubscriptionNotifyPathEventArg

type FSSubscriptionNotifyPathEventArg struct {
	ClientID        string                  `codec:"clientID" json:"clientID"`
	SubscriptionIDs []string                `codec:"subscriptionIDs" json:"subscriptionIDs"`
	Path            string                  `codec:"path" json:"path"`
	Topics          []PathSubscriptionTopic `codec:"topics" json:"topics"`
}

type FSSyncActivityArg

type FSSyncActivityArg struct {
	Status FSPathSyncStatus `codec:"status" json:"status"`
}

type FSSyncEventArg

type FSSyncEventArg struct {
	Event FSPathSyncStatus `codec:"event" json:"event"`
}

type FSSyncStatus

type FSSyncStatus struct {
	TotalSyncingBytes int64    `codec:"totalSyncingBytes" json:"totalSyncingBytes"`
	SyncingPaths      []string `codec:"syncingPaths" json:"syncingPaths"`
	EndEstimate       *Time    `codec:"endEstimate,omitempty" json:"endEstimate,omitempty"`
}

func (FSSyncStatus) DeepCopy

func (o FSSyncStatus) DeepCopy() FSSyncStatus

type FSSyncStatusArg

type FSSyncStatusArg struct {
	Status    FSSyncStatus `codec:"status" json:"status"`
	RequestID int          `codec:"requestID" json:"requestID"`
}

type FSSyncStatusRequest

type FSSyncStatusRequest struct {
	RequestID int `codec:"requestID" json:"requestID"`
}

func (FSSyncStatusRequest) DeepCopy

type FSSyncStatusRequestArg

type FSSyncStatusRequestArg struct {
	Req FSSyncStatusRequest `codec:"req" json:"req"`
}

type FSSyncStatusResponseArg

type FSSyncStatusResponseArg struct {
	Status    FSSyncStatus `codec:"status" json:"status"`
	RequestID int          `codec:"requestID" json:"requestID"`
}

type FakeTrackingChangedArg

type FakeTrackingChangedArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Username   string `codec:"username" json:"username"`
	IsTracking bool   `codec:"isTracking" json:"isTracking"`
}

type FastTeamData

type FastTeamData struct {
	Frozen                     bool                                                 `codec:"frozen" json:"frozen"`
	Subversion                 int                                                  `codec:"subversion" json:"subversion"`
	Tombstoned                 bool                                                 `codec:"tombstoned" json:"tombstoned"`
	Name                       TeamName                                             `codec:"name" json:"name"`
	Chain                      FastTeamSigChainState                                `codec:"chain" json:"chain"`
	PerTeamKeySeedsUnverified  map[PerTeamKeyGeneration]PerTeamKeySeed              `codec:"perTeamKeySeeds" json:"perTeamKeySeedsUnverified"`
	MaxContinuousPTKGeneration PerTeamKeyGeneration                                 `codec:"maxContinuousPTKGeneration" json:"maxContinuousPTKGeneration"`
	SeedChecks                 map[PerTeamKeyGeneration]PerTeamSeedCheck            `codec:"seedChecks" json:"seedChecks"`
	LatestKeyGeneration        PerTeamKeyGeneration                                 `codec:"latestKeyGeneration" json:"latestKeyGeneration"`
	ReaderKeyMasks             map[TeamApplication]map[PerTeamKeyGeneration]MaskB64 `codec:"readerKeyMasks" json:"readerKeyMasks"`
	LatestSeqnoHint            Seqno                                                `codec:"latestSeqnoHint" json:"latestSeqnoHint"`
	CachedAt                   Time                                                 `codec:"cachedAt" json:"cachedAt"`
	LoadedLatest               bool                                                 `codec:"loadedLatest" json:"loadedLatest"`
}

func (FastTeamData) DeepCopy

func (o FastTeamData) DeepCopy() FastTeamData

func (FastTeamData) ID

func (d FastTeamData) ID() TeamID

func (FastTeamData) IsPublic

func (d FastTeamData) IsPublic() bool

type FastTeamLoadArg

type FastTeamLoadArg struct {
	ID                    TeamID                 `codec:"ID" json:"ID"`
	Public                bool                   `codec:"public" json:"public"`
	AssertTeamName        *TeamName              `codec:"assertTeamName,omitempty" json:"assertTeamName,omitempty"`
	Applications          []TeamApplication      `codec:"applications" json:"applications"`
	KeyGenerationsNeeded  []PerTeamKeyGeneration `codec:"keyGenerationsNeeded" json:"keyGenerationsNeeded"`
	NeedLatestKey         bool                   `codec:"needLatestKey" json:"needLatestKey"`
	ForceRefresh          bool                   `codec:"forceRefresh" json:"forceRefresh"`
	HiddenChainIsOptional bool                   `codec:"hiddenChainIsOptional" json:"hiddenChainIsOptional"`
}

func (FastTeamLoadArg) DeepCopy

func (o FastTeamLoadArg) DeepCopy() FastTeamLoadArg

type FastTeamLoadRes

type FastTeamLoadRes struct {
	Name            TeamName             `codec:"name" json:"name"`
	ApplicationKeys []TeamApplicationKey `codec:"applicationKeys" json:"applicationKeys"`
}

func (FastTeamLoadRes) DeepCopy

func (o FastTeamLoadRes) DeepCopy() FastTeamLoadRes

type FastTeamSigChainState

type FastTeamSigChainState struct {
	ID                      TeamID                                  `codec:"ID" json:"ID"`
	Public                  bool                                    `codec:"public" json:"public"`
	RootAncestor            TeamName                                `codec:"rootAncestor" json:"rootAncestor"`
	NameDepth               int                                     `codec:"nameDepth" json:"nameDepth"`
	Last                    *LinkTriple                             `codec:"last,omitempty" json:"last,omitempty"`
	PerTeamKeys             map[PerTeamKeyGeneration]PerTeamKey     `codec:"perTeamKeys" json:"perTeamKeys"`
	PerTeamKeySeedsVerified map[PerTeamKeyGeneration]PerTeamKeySeed `codec:"perTeamKeySeedsVerified" json:"perTeamKeySeedsVerified"`
	DownPointers            map[Seqno]DownPointer                   `codec:"downPointers" json:"downPointers"`
	LastUpPointer           *UpPointer                              `codec:"lastUpPointer,omitempty" json:"lastUpPointer,omitempty"`
	PerTeamKeyCTime         UnixTime                                `codec:"perTeamKeyCTime" json:"perTeamKeyCTime"`
	LinkIDs                 map[Seqno]LinkID                        `codec:"linkIDs" json:"linkIDs"`
	MerkleInfo              map[Seqno]MerkleRootV2                  `codec:"merkleInfo" json:"merkleInfo"`
}

func (FastTeamSigChainState) DeepCopy

type FavoriteAddArg

type FavoriteAddArg struct {
	SessionID int          `codec:"sessionID" json:"sessionID"`
	Folder    FolderHandle `codec:"folder" json:"folder"`
}

type FavoriteClient

type FavoriteClient struct {
	Cli rpc.GenericClient
}

func (FavoriteClient) FavoriteAdd

func (c FavoriteClient) FavoriteAdd(ctx context.Context, __arg FavoriteAddArg) (err error)

Adds a folder to a user's list of favorite folders.

func (FavoriteClient) FavoriteIgnore

func (c FavoriteClient) FavoriteIgnore(ctx context.Context, __arg FavoriteIgnoreArg) (err error)

Removes a folder from a user's list of favorite folders.

func (FavoriteClient) GetFavorites

func (c FavoriteClient) GetFavorites(ctx context.Context, sessionID int) (res FavoritesResult, err error)

Returns all of a user's favorite folders.

type FavoriteIgnoreArg

type FavoriteIgnoreArg struct {
	SessionID int          `codec:"sessionID" json:"sessionID"`
	Folder    FolderHandle `codec:"folder" json:"folder"`
}

type FavoriteInterface

type FavoriteInterface interface {
	// Adds a folder to a user's list of favorite folders.
	FavoriteAdd(context.Context, FavoriteAddArg) error
	// Removes a folder from a user's list of favorite folders.
	FavoriteIgnore(context.Context, FavoriteIgnoreArg) error
	// Returns all of a user's favorite folders.
	GetFavorites(context.Context, int) (FavoritesResult, error)
}

type FavoritesChangedArg

type FavoritesChangedArg struct {
	Uid UID `codec:"uid" json:"uid"`
}

type FavoritesResult

type FavoritesResult struct {
	FavoriteFolders []Folder `codec:"favoriteFolders" json:"favoriteFolders"`
	IgnoredFolders  []Folder `codec:"ignoredFolders" json:"ignoredFolders"`
	NewFolders      []Folder `codec:"newFolders" json:"newFolders"`
}

func (FavoritesResult) DeepCopy

func (o FavoritesResult) DeepCopy() FavoritesResult

type Feature

type Feature struct {
	Allow        bool   `codec:"allow" json:"allow"`
	DefaultValue bool   `codec:"defaultValue" json:"defaultValue"`
	Readonly     bool   `codec:"readonly" json:"readonly"`
	Label        string `codec:"label" json:"label"`
}

func (Feature) DeepCopy

func (o Feature) DeepCopy() Feature

type FeaturedBot

type FeaturedBot struct {
	BotAlias               string  `codec:"botAlias" json:"botAlias"`
	Description            string  `codec:"description" json:"description"`
	ExtendedDescription    string  `codec:"extendedDescription" json:"extendedDescription"`
	ExtendedDescriptionRaw string  `codec:"extendedDescriptionRaw" json:"extendedDescriptionRaw"`
	BotUsername            string  `codec:"botUsername" json:"botUsername"`
	OwnerTeam              *string `codec:"ownerTeam,omitempty" json:"ownerTeam,omitempty"`
	OwnerUser              *string `codec:"ownerUser,omitempty" json:"ownerUser,omitempty"`
	Rank                   int     `codec:"rank" json:"rank"`
	IsPromoted             bool    `codec:"isPromoted" json:"isPromoted"`
}

func (FeaturedBot) DeepCopy

func (o FeaturedBot) DeepCopy() FeaturedBot

func (FeaturedBot) DisplayName

func (b FeaturedBot) DisplayName() string

func (FeaturedBot) Eq

func (b FeaturedBot) Eq(o FeaturedBot) bool

func (FeaturedBot) Owner

func (b FeaturedBot) Owner() string

type FeaturedBotClient

type FeaturedBotClient struct {
	Cli rpc.GenericClient
}

func (FeaturedBotClient) FeaturedBots

func (c FeaturedBotClient) FeaturedBots(ctx context.Context, __arg FeaturedBotsArg) (res FeaturedBotsRes, err error)

func (FeaturedBotClient) Search

func (c FeaturedBotClient) Search(ctx context.Context, __arg SearchArg) (res SearchRes, err error)

func (FeaturedBotClient) SearchLocal

func (c FeaturedBotClient) SearchLocal(ctx context.Context, __arg SearchLocalArg) (res SearchRes, err error)

type FeaturedBotInterface

type FeaturedBotInterface interface {
	FeaturedBots(context.Context, FeaturedBotsArg) (FeaturedBotsRes, error)
	Search(context.Context, SearchArg) (SearchRes, error)
	SearchLocal(context.Context, SearchLocalArg) (SearchRes, error)
}

type FeaturedBotsArg

type FeaturedBotsArg struct {
	Limit     int  `codec:"limit" json:"limit"`
	Offset    int  `codec:"offset" json:"offset"`
	SkipCache bool `codec:"skipCache" json:"skipCache"`
}

type FeaturedBotsRes

type FeaturedBotsRes struct {
	Bots       []FeaturedBot `codec:"bots" json:"bots"`
	IsLastPage bool          `codec:"isLastPage" json:"isLastPage"`
}

func (FeaturedBotsRes) DeepCopy

func (o FeaturedBotsRes) DeepCopy() FeaturedBotsRes

func (FeaturedBotsRes) Eq

type FeaturedBotsUpdateArg

type FeaturedBotsUpdateArg struct {
	Bots   []FeaturedBot `codec:"bots" json:"bots"`
	Limit  int           `codec:"limit" json:"limit"`
	Offset int           `codec:"offset" json:"offset"`
}

type File

type File struct {
	Path string `codec:"path" json:"path"`
}

func (File) DeepCopy

func (o File) DeepCopy() File

type FileContent

type FileContent struct {
	Data     []byte   `codec:"data" json:"data"`
	Progress Progress `codec:"progress" json:"progress"`
}

func (FileContent) DeepCopy

func (o FileContent) DeepCopy() FileContent

type FileDescriptor

type FileDescriptor struct {
	Name string   `codec:"name" json:"name"`
	Type FileType `codec:"type" json:"type"`
}

func (FileDescriptor) DeepCopy

func (o FileDescriptor) DeepCopy() FileDescriptor

type FileType

type FileType int
const (
	FileType_UNKNOWN   FileType = 0
	FileType_DIRECTORY FileType = 1
	FileType_FILE      FileType = 2
)

func (FileType) DeepCopy

func (o FileType) DeepCopy() FileType

func (FileType) String

func (e FileType) String() string

type FilesTabBadge

type FilesTabBadge int
const (
	FilesTabBadge_NONE            FilesTabBadge = 0
	FilesTabBadge_UPLOADING_STUCK FilesTabBadge = 1
	FilesTabBadge_AWAITING_UPLOAD FilesTabBadge = 2
	FilesTabBadge_UPLOADING       FilesTabBadge = 3
)

func (FilesTabBadge) DeepCopy

func (o FilesTabBadge) DeepCopy() FilesTabBadge

func (FilesTabBadge) String

func (e FilesTabBadge) String() string

type FinalizeMigrationArg

type FinalizeMigrationArg struct {
	Folder Folder `codec:"folder" json:"folder"`
}

type FindAssertionsInTeamNoResolveArg

type FindAssertionsInTeamNoResolveArg struct {
	SessionID  int      `codec:"sessionID" json:"sessionID"`
	TeamID     TeamID   `codec:"teamID" json:"teamID"`
	Assertions []string `codec:"assertions" json:"assertions"`
}

type FindNextMDArg

type FindNextMDArg struct {
	Seqno    Seqno  `codec:"seqno" json:"seqno"`
	FolderID string `codec:"folderID" json:"folderID"`
}

type FindNextMDResponse

type FindNextMDResponse struct {
	KbfsRoot    MerkleRoot `codec:"kbfsRoot" json:"kbfsRoot"`
	MerkleNodes [][]byte   `codec:"merkleNodes" json:"merkleNodes"`
	RootSeqno   Seqno      `codec:"rootSeqno" json:"rootSeqno"`
	RootHash    HashMeta   `codec:"rootHash" json:"rootHash"`
}

func (FindNextMDResponse) DeepCopy

type FindNextMerkleRootAfterResetArg

type FindNextMerkleRootAfterResetArg struct {
	Uid        UID             `codec:"uid" json:"uid"`
	ResetSeqno Seqno           `codec:"resetSeqno" json:"resetSeqno"`
	Prev       ResetMerkleRoot `codec:"prev" json:"prev"`
}

type FindNextMerkleRootAfterRevokeArg

type FindNextMerkleRootAfterRevokeArg struct {
	Uid  UID              `codec:"uid" json:"uid"`
	Kid  KID              `codec:"kid" json:"kid"`
	Loc  SigChainLocation `codec:"loc" json:"loc"`
	Prev MerkleRootV2     `codec:"prev" json:"prev"`
}

type FindNextMerkleRootAfterTeamRemovalArg

type FindNextMerkleRootAfterTeamRemovalArg struct {
	Uid               UID          `codec:"uid" json:"uid"`
	Team              TeamID       `codec:"team" json:"team"`
	IsPublic          bool         `codec:"isPublic" json:"isPublic"`
	TeamSigchainSeqno Seqno        `codec:"teamSigchainSeqno" json:"teamSigchainSeqno"`
	Prev              MerkleRootV2 `codec:"prev" json:"prev"`
}

type FindNextMerkleRootAfterTeamRemovalBySigningKeyArg

type FindNextMerkleRootAfterTeamRemovalBySigningKeyArg struct {
	Uid            UID    `codec:"uid" json:"uid"`
	SigningKey     KID    `codec:"signingKey" json:"signingKey"`
	Team           TeamID `codec:"team" json:"team"`
	IsPublic       bool   `codec:"isPublic" json:"isPublic"`
	AnyRoleAllowed bool   `codec:"anyRoleAllowed" json:"anyRoleAllowed"`
}

type FinishArg

type FinishArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type FinishSocialProofCheckArg

type FinishSocialProofCheckArg struct {
	SessionID int             `codec:"sessionID" json:"sessionID"`
	Rp        RemoteProof     `codec:"rp" json:"rp"`
	Lcr       LinkCheckResult `codec:"lcr" json:"lcr"`
}

type FinishWebProofCheckArg

type FinishWebProofCheckArg struct {
	SessionID int             `codec:"sessionID" json:"sessionID"`
	Rp        RemoteProof     `codec:"rp" json:"rp"`
	Lcr       LinkCheckResult `codec:"lcr" json:"lcr"`
}

type FinishedArg

type FinishedArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type FirstStepArg

type FirstStepArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
	Val       int `codec:"val" json:"val"`
}

type FirstStepResult

type FirstStepResult struct {
	ValPlusTwo int `codec:"valPlusTwo" json:"valPlusTwo"`
}

func (FirstStepResult) DeepCopy

func (o FirstStepResult) DeepCopy() FirstStepResult

type Folder

type Folder struct {
	Name          string            `codec:"name" json:"name"`
	Private       bool              `codec:"private" json:"private"`
	Created       bool              `codec:"created" json:"created"`
	FolderType    FolderType        `codec:"folderType" json:"folderType"`
	TeamID        *TeamID           `codec:"team_id,omitempty" json:"team_id,omitempty"`
	ResetMembers  []User            `codec:"reset_members" json:"reset_members"`
	Mtime         *Time             `codec:"mtime,omitempty" json:"mtime,omitempty"`
	ConflictState *ConflictState    `codec:"conflictState,omitempty" json:"conflictState,omitempty"`
	SyncConfig    *FolderSyncConfig `codec:"syncConfig,omitempty" json:"syncConfig,omitempty"`
}

Folder represents a favorite top-level folder in kbfs. This type is likely to change significantly as all the various parts are connected and tested.

func (Folder) DeepCopy

func (o Folder) DeepCopy() Folder

func (Folder) String

func (f Folder) String() string

func (Folder) ToString

func (f Folder) ToString() string

type FolderConflictManualResolvingLocalView

type FolderConflictManualResolvingLocalView struct {
	NormalView Path `codec:"normalView" json:"normalView"`
}

func (FolderConflictManualResolvingLocalView) DeepCopy

type FolderConflictType

type FolderConflictType int
const (
	FolderConflictType_NONE                  FolderConflictType = 0
	FolderConflictType_IN_CONFLICT           FolderConflictType = 1
	FolderConflictType_IN_CONFLICT_AND_STUCK FolderConflictType = 2
	FolderConflictType_CLEARED_CONFLICT      FolderConflictType = 3
)

func (FolderConflictType) DeepCopy

func (FolderConflictType) MarshalText

func (fct FolderConflictType) MarshalText() ([]byte, error)

func (FolderConflictType) String

func (e FolderConflictType) String() string

func (*FolderConflictType) UnmarshalText

func (fct *FolderConflictType) UnmarshalText(text []byte) error

type FolderHandle

type FolderHandle struct {
	Name       string     `codec:"name" json:"name"`
	FolderType FolderType `codec:"folderType" json:"folderType"`
	Created    bool       `codec:"created" json:"created"`
}

func (FolderHandle) DeepCopy

func (o FolderHandle) DeepCopy() FolderHandle

func (FolderHandle) String

func (f FolderHandle) String() string

func (FolderHandle) ToString

func (f FolderHandle) ToString() string

type FolderNeedsRekeyArg

type FolderNeedsRekeyArg struct {
	FolderID string `codec:"folderID" json:"folderID"`
	Revision int64  `codec:"revision" json:"revision"`
}

type FolderNormalView

type FolderNormalView struct {
	ResolvingConflict bool   `codec:"resolvingConflict" json:"resolvingConflict"`
	StuckInConflict   bool   `codec:"stuckInConflict" json:"stuckInConflict"`
	LocalViews        []Path `codec:"localViews" json:"localViews"`
}

func (FolderNormalView) DeepCopy

func (o FolderNormalView) DeepCopy() FolderNormalView

type FolderSyncConfig

type FolderSyncConfig struct {
	Mode  FolderSyncMode `codec:"mode" json:"mode"`
	Paths []string       `codec:"paths" json:"paths"`
}

func (FolderSyncConfig) DeepCopy

func (o FolderSyncConfig) DeepCopy() FolderSyncConfig

func (FolderSyncConfig) Equal

func (fsc FolderSyncConfig) Equal(other FolderSyncConfig) bool

type FolderSyncConfigAndStatus

type FolderSyncConfigAndStatus struct {
	Config FolderSyncConfig `codec:"config" json:"config"`
	Status FolderSyncStatus `codec:"status" json:"status"`
}

func (FolderSyncConfigAndStatus) DeepCopy

type FolderSyncConfigAndStatusWithFolder

type FolderSyncConfigAndStatusWithFolder struct {
	Folder Folder           `codec:"folder" json:"folder"`
	Config FolderSyncConfig `codec:"config" json:"config"`
	Status FolderSyncStatus `codec:"status" json:"status"`
}

func (FolderSyncConfigAndStatusWithFolder) DeepCopy

type FolderSyncMode

type FolderSyncMode int
const (
	FolderSyncMode_DISABLED FolderSyncMode = 0
	FolderSyncMode_ENABLED  FolderSyncMode = 1
	FolderSyncMode_PARTIAL  FolderSyncMode = 2
)

func (FolderSyncMode) DeepCopy

func (o FolderSyncMode) DeepCopy() FolderSyncMode

func (FolderSyncMode) String

func (e FolderSyncMode) String() string

type FolderSyncStatus

type FolderSyncStatus struct {
	LocalDiskBytesAvailable int64            `codec:"localDiskBytesAvailable" json:"localDiskBytesAvailable"`
	LocalDiskBytesTotal     int64            `codec:"localDiskBytesTotal" json:"localDiskBytesTotal"`
	PrefetchStatus          PrefetchStatus   `codec:"prefetchStatus" json:"prefetchStatus"`
	PrefetchProgress        PrefetchProgress `codec:"prefetchProgress" json:"prefetchProgress"`
	StoredBytesTotal        int64            `codec:"storedBytesTotal" json:"storedBytesTotal"`
	OutOfSyncSpace          bool             `codec:"outOfSyncSpace" json:"outOfSyncSpace"`
}

func (FolderSyncStatus) DeepCopy

func (o FolderSyncStatus) DeepCopy() FolderSyncStatus

type FolderType

type FolderType int
const (
	FolderType_UNKNOWN FolderType = 0
	FolderType_PRIVATE FolderType = 1
	FolderType_PUBLIC  FolderType = 2
	FolderType_TEAM    FolderType = 3
)

func (FolderType) DeepCopy

func (o FolderType) DeepCopy() FolderType

func (FolderType) String

func (e FolderType) String() string

type FolderUsageStat

type FolderUsageStat struct {
	FolderID string    `codec:"folderID" json:"folderID"`
	Stats    UsageStat `codec:"stats" json:"stats"`
}

func (FolderUsageStat) DeepCopy

func (o FolderUsageStat) DeepCopy() FolderUsageStat

type FolderWithFavFlags

type FolderWithFavFlags struct {
	Folder     Folder `codec:"folder" json:"folder"`
	IsFavorite bool   `codec:"isFavorite" json:"isFavorite"`
	IsIgnored  bool   `codec:"isIgnored" json:"isIgnored"`
	IsNew      bool   `codec:"isNew" json:"isNew"`
}

func (FolderWithFavFlags) DeepCopy

type FoldersNeedRekeyArg

type FoldersNeedRekeyArg struct {
	Requests []RekeyRequest `codec:"requests" json:"requests"`
}

type ForceMerkleBuildForTestArg

type ForceMerkleBuildForTestArg struct {
}

type ForkType

type ForkType int
const (
	ForkType_NONE     ForkType = 0
	ForkType_AUTO     ForkType = 1
	ForkType_WATCHDOG ForkType = 2
	ForkType_LAUNCHD  ForkType = 3
	ForkType_SYSTEMD  ForkType = 4
)

func (ForkType) DeepCopy

func (o ForkType) DeepCopy() ForkType

func (ForkType) String

func (e ForkType) String() string

type FsClient

type FsClient struct {
	Cli rpc.GenericClient
}

func (FsClient) List

func (c FsClient) List(ctx context.Context, __arg ListArg) (res ListResult, err error)

List files in a path. Implemented by KBFS service.

type FsInterface

type FsInterface interface {
	// List files in a path. Implemented by KBFS service.
	List(context.Context, ListArg) (ListResult, error)
}

type FtlArg

type FtlArg struct {
	Arg FastTeamLoadArg `codec:"arg" json:"arg"`
}

type FullName

type FullName string

func (FullName) DeepCopy

func (o FullName) DeepCopy() FullName

func (FullName) String

func (f FullName) String() string

type FullNamePackage

type FullNamePackage struct {
	Version     FullNamePackageVersion `codec:"version" json:"version"`
	FullName    FullName               `codec:"fullName" json:"fullName"`
	EldestSeqno Seqno                  `codec:"eldestSeqno" json:"eldestSeqno"`
	Status      StatusCode             `codec:"status" json:"status"`
	CachedAt    Time                   `codec:"cachedAt" json:"cachedAt"`
}

func (FullNamePackage) DeepCopy

func (o FullNamePackage) DeepCopy() FullNamePackage

type FullNamePackageVersion

type FullNamePackageVersion int
const (
	FullNamePackageVersion_V0 FullNamePackageVersion = 0
	FullNamePackageVersion_V1 FullNamePackageVersion = 1
	FullNamePackageVersion_V2 FullNamePackageVersion = 2
)

func (FullNamePackageVersion) DeepCopy

func (FullNamePackageVersion) String

func (e FullNamePackageVersion) String() string

type FullStatus

type FullStatus struct {
	Username   string          `codec:"username" json:"username"`
	ConfigPath string          `codec:"configPath" json:"configPath"`
	CurStatus  CurrentStatus   `codec:"curStatus" json:"curStatus"`
	ExtStatus  ExtendedStatus  `codec:"extStatus" json:"extStatus"`
	Client     KbClientStatus  `codec:"client" json:"client"`
	Service    KbServiceStatus `codec:"service" json:"service"`
	Kbfs       KBFSStatus      `codec:"kbfs" json:"kbfs"`
	Desktop    DesktopStatus   `codec:"desktop" json:"desktop"`
	Updater    UpdaterStatus   `codec:"updater" json:"updater"`
	Start      StartStatus     `codec:"start" json:"start"`
	Git        GitStatus       `codec:"git" json:"git"`
}

func (FullStatus) DeepCopy

func (o FullStatus) DeepCopy() FullStatus

type FuseMountInfo

type FuseMountInfo struct {
	Path   string `codec:"path" json:"path"`
	Fstype string `codec:"fstype" json:"fstype"`
	Output string `codec:"output" json:"output"`
}

func (FuseMountInfo) DeepCopy

func (o FuseMountInfo) DeepCopy() FuseMountInfo

type FuseStatus

type FuseStatus struct {
	Version       string          `codec:"version" json:"version"`
	BundleVersion string          `codec:"bundleVersion" json:"bundleVersion"`
	KextID        string          `codec:"kextID" json:"kextID"`
	Path          string          `codec:"path" json:"path"`
	KextStarted   bool            `codec:"kextStarted" json:"kextStarted"`
	InstallStatus InstallStatus   `codec:"installStatus" json:"installStatus"`
	InstallAction InstallAction   `codec:"installAction" json:"installAction"`
	MountInfos    []FuseMountInfo `codec:"mountInfos" json:"mountInfos"`
	Status        Status          `codec:"status" json:"status"`
}

func (FuseStatus) DeepCopy

func (o FuseStatus) DeepCopy() FuseStatus

type FuseStatusArg

type FuseStatusArg struct {
	SessionID     int    `codec:"sessionID" json:"sessionID"`
	BundleVersion string `codec:"bundleVersion" json:"bundleVersion"`
}

type GPGKey

type GPGKey struct {
	Algorithm  string        `codec:"algorithm" json:"algorithm"`
	KeyID      string        `codec:"keyID" json:"keyID"`
	Creation   string        `codec:"creation" json:"creation"`
	Expiration string        `codec:"expiration" json:"expiration"`
	Identities []PGPIdentity `codec:"identities" json:"identities"`
}

func (GPGKey) DeepCopy

func (o GPGKey) DeepCopy() GPGKey

type GPGMethod

type GPGMethod int
const (
	GPGMethod_GPG_NONE   GPGMethod = 0
	GPGMethod_GPG_IMPORT GPGMethod = 1
	GPGMethod_GPG_SIGN   GPGMethod = 2
)

func (GPGMethod) DeepCopy

func (o GPGMethod) DeepCopy() GPGMethod

func (GPGMethod) String

func (e GPGMethod) String() string

type GUIEntryArg

type GUIEntryArg struct {
	WindowTitle string           `codec:"windowTitle" json:"windowTitle"`
	Prompt      string           `codec:"prompt" json:"prompt"`
	Username    string           `codec:"username" json:"username"`
	SubmitLabel string           `codec:"submitLabel" json:"submitLabel"`
	CancelLabel string           `codec:"cancelLabel" json:"cancelLabel"`
	RetryLabel  string           `codec:"retryLabel" json:"retryLabel"`
	Type        PassphraseType   `codec:"type" json:"type"`
	Features    GUIEntryFeatures `codec:"features" json:"features"`
}

func (GUIEntryArg) DeepCopy

func (o GUIEntryArg) DeepCopy() GUIEntryArg

type GUIEntryFeatures

type GUIEntryFeatures struct {
	ShowTyping Feature `codec:"showTyping" json:"showTyping"`
}

func (GUIEntryFeatures) DeepCopy

func (o GUIEntryFeatures) DeepCopy() GUIEntryFeatures

type GUIFileContext

type GUIFileContext struct {
	ViewType    GUIViewType `codec:"viewType" json:"viewType"`
	ContentType string      `codec:"contentType" json:"contentType"`
	Url         string      `codec:"url" json:"url"`
}

func (GUIFileContext) DeepCopy

func (o GUIFileContext) DeepCopy() GUIFileContext

type GUIViewType

type GUIViewType int
const (
	GUIViewType_DEFAULT GUIViewType = 0
	GUIViewType_TEXT    GUIViewType = 1
	GUIViewType_IMAGE   GUIViewType = 2
	GUIViewType_AUDIO   GUIViewType = 3
	GUIViewType_VIDEO   GUIViewType = 4
	GUIViewType_PDF     GUIViewType = 5
)

func (GUIViewType) DeepCopy

func (o GUIViewType) DeepCopy() GUIViewType

func (GUIViewType) String

func (e GUIViewType) String() string

type GcArg

type GcArg struct {
	Folder  FolderHandle `codec:"folder" json:"folder"`
	Name    GitRepoName  `codec:"name" json:"name"`
	Options GcOptions    `codec:"options" json:"options"`
}

type GcOptions

type GcOptions struct {
	MaxLooseRefs         int  `codec:"maxLooseRefs" json:"maxLooseRefs"`
	PruneMinLooseObjects int  `codec:"pruneMinLooseObjects" json:"pruneMinLooseObjects"`
	PruneExpireTime      Time `codec:"pruneExpireTime" json:"pruneExpireTime"`
	MaxObjectPacks       int  `codec:"maxObjectPacks" json:"maxObjectPacks"`
}

func (GcOptions) DeepCopy

func (o GcOptions) DeepCopy() GcOptions

type GcPersonalRepoArg

type GcPersonalRepoArg struct {
	RepoName GitRepoName `codec:"repoName" json:"repoName"`
	Force    bool        `codec:"force" json:"force"`
}

type GcTeamRepoArg

type GcTeamRepoArg struct {
	RepoName GitRepoName `codec:"repoName" json:"repoName"`
	TeamName TeamName    `codec:"teamName" json:"teamName"`
	Force    bool        `codec:"force" json:"force"`
}

type GenerateWebAuthTokenArg

type GenerateWebAuthTokenArg struct {
}

type Generic

type Generic struct {
	M map[string]Generic `codec:"m" json:"m"`
	A []Generic          `codec:"a" json:"a"`
	S *string            `codec:"s,omitempty" json:"s,omitempty"`
	I *int               `codec:"i,omitempty" json:"i,omitempty"`
}

func (Generic) DeepCopy

func (o Generic) DeepCopy() Generic

type GetAllAvailableMountDirsArg

type GetAllAvailableMountDirsArg struct {
}

type GetAllGitMetadataArg

type GetAllGitMetadataArg struct {
}

type GetAllProvisionedUsernamesArg

type GetAllProvisionedUsernamesArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetAnnotatedTeamArg

type GetAnnotatedTeamArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type GetAnnotatedTeamByNameArg

type GetAnnotatedTeamByNameArg struct {
	TeamName string `codec:"teamName" json:"teamName"`
}

type GetArg

type GetArg struct {
	Endpoint      string         `codec:"endpoint" json:"endpoint"`
	Args          []StringKVPair `codec:"args" json:"args"`
	HttpStatus    []int          `codec:"httpStatus" json:"httpStatus"`
	AppStatusCode []int          `codec:"appStatusCode" json:"appStatusCode"`
}

func (GetArg) GetAppStatusCodes

func (a GetArg) GetAppStatusCodes() []int

func (GetArg) GetEndpoint

func (a GetArg) GetEndpoint() string

func (GetArg) GetHTTPArgs

func (a GetArg) GetHTTPArgs() []StringKVPair

func (GetArg) GetHttpStatuses

func (a GetArg) GetHttpStatuses() []int

type GetBadgeStateArg

type GetBadgeStateArg struct {
}

type GetBlockArg

type GetBlockArg struct {
	Bid      BlockIdCombo `codec:"bid" json:"bid"`
	Folder   string       `codec:"folder" json:"folder"`
	SizeOnly bool         `codec:"sizeOnly" json:"sizeOnly"`
}

type GetBlockRes

type GetBlockRes struct {
	BlockKey string      `codec:"blockKey" json:"blockKey"`
	Buf      []byte      `codec:"buf" json:"buf"`
	Size     int         `codec:"size" json:"size"`
	Status   BlockStatus `codec:"status" json:"status"`
}

func (GetBlockRes) DeepCopy

func (o GetBlockRes) DeepCopy() GetBlockRes

type GetBlockSizesArg

type GetBlockSizesArg struct {
	Bids   []BlockIdCombo `codec:"bids" json:"bids"`
	Folder string         `codec:"folder" json:"folder"`
}

type GetBlockSizesRes

type GetBlockSizesRes struct {
	Sizes    []int         `codec:"sizes" json:"sizes"`
	Statuses []BlockStatus `codec:"statuses" json:"statuses"`
}

func (GetBlockSizesRes) DeepCopy

func (o GetBlockSizesRes) DeepCopy() GetBlockSizesRes

type GetBootstrapStatusArg

type GetBootstrapStatusArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetChallengeArg

type GetChallengeArg struct {
}

type GetClientStatusArg

type GetClientStatusArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetConfigArg

type GetConfigArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetConfiguredAccountsArg

type GetConfiguredAccountsArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetContactsForUserRecommendationsArg

type GetContactsForUserRecommendationsArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetCurrentMerkleRootArg

type GetCurrentMerkleRootArg struct {
	FreshnessMsec int `codec:"freshnessMsec" json:"freshnessMsec"`
}

type GetCurrentMountDirArg

type GetCurrentMountDirArg struct {
}

type GetCurrentStatusArg

type GetCurrentStatusArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetEmailOrUsernameArg

type GetEmailOrUsernameArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetEmailsArg

type GetEmailsArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetFavoritesArg

type GetFavoritesArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetFolderHandleArg

type GetFolderHandleArg struct {
	FolderID  string `codec:"folderID" json:"folderID"`
	Signature string `codec:"signature" json:"signature"`
	Challenge string `codec:"challenge" json:"challenge"`
}

type GetFoldersForRekeyArg

type GetFoldersForRekeyArg struct {
	DeviceKID KID `codec:"deviceKID" json:"deviceKID"`
}

type GetFullStatusArg

type GetFullStatusArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetGitMetadataArg

type GetGitMetadataArg struct {
	Folder FolderHandle `codec:"folder" json:"folder"`
}

type GetIncomingShareItemsArg

type GetIncomingShareItemsArg struct {
}

type GetInvitationCodeArg

type GetInvitationCodeArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetInviteCountsArg

type GetInviteCountsArg struct {
}

type GetInviteLinkDetailsArg

type GetInviteLinkDetailsArg struct {
	InviteID TeamInviteID `codec:"inviteID" json:"inviteID"`
}

type GetKBFSPathInfoArg

type GetKBFSPathInfoArg struct {
	StandardPath string `codec:"standardPath" json:"standardPath"`
}

type GetKBFSTeamSettingsArg

type GetKBFSTeamSettingsArg struct {
	TeamID TeamID              `codec:"teamID" json:"teamID"`
	Oa     OfflineAvailability `codec:"oa" json:"oa"`
}

type GetKVEntryArg

type GetKVEntryArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamName  string `codec:"teamName" json:"teamName"`
	Namespace string `codec:"namespace" json:"namespace"`
	EntryKey  string `codec:"entryKey" json:"entryKey"`
}

type GetKeyArg

type GetKeyArg struct {
	KeyHalfID []byte            `codec:"keyHalfID" json:"keyHalfID"`
	DeviceKID string            `codec:"deviceKID" json:"deviceKID"`
	LogTags   map[string]string `codec:"logTags" json:"logTags"`
}

type GetKeyBundlesArg

type GetKeyBundlesArg struct {
	FolderID       string `codec:"folderID" json:"folderID"`
	WriterBundleID string `codec:"writerBundleID" json:"writerBundleID"`
	ReaderBundleID string `codec:"readerBundleID" json:"readerBundleID"`
}

type GetLatestFolderHandleArg

type GetLatestFolderHandleArg struct {
	FolderID string `codec:"folderID" json:"folderID"`
}

type GetLockdownModeArg

type GetLockdownModeArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetLockdownResponse

type GetLockdownResponse struct {
	History []LockdownHistory `codec:"history" json:"history"`
	Status  bool              `codec:"status" json:"status"`
}

func (GetLockdownResponse) DeepCopy

type GetMerkleNodeArg

type GetMerkleNodeArg struct {
	Hash string `codec:"hash" json:"hash"`
}

type GetMerkleRootArg

type GetMerkleRootArg struct {
	TreeID MerkleTreeID `codec:"treeID" json:"treeID"`
	SeqNo  int64        `codec:"seqNo" json:"seqNo"`
}

type GetMerkleRootLatestArg

type GetMerkleRootLatestArg struct {
	TreeID MerkleTreeID `codec:"treeID" json:"treeID"`
}

type GetMerkleRootSinceArg

type GetMerkleRootSinceArg struct {
	TreeID MerkleTreeID `codec:"treeID" json:"treeID"`
	When   Time         `codec:"when" json:"when"`
}

type GetMetadataArg

type GetMetadataArg struct {
	FolderID      string            `codec:"folderID" json:"folderID"`
	FolderHandle  []byte            `codec:"folderHandle" json:"folderHandle"`
	BranchID      string            `codec:"branchID" json:"branchID"`
	Unmerged      bool              `codec:"unmerged" json:"unmerged"`
	StartRevision int64             `codec:"startRevision" json:"startRevision"`
	StopRevision  int64             `codec:"stopRevision" json:"stopRevision"`
	LogTags       map[string]string `codec:"logTags" json:"logTags"`
	LockBeforeGet *LockID           `codec:"lockBeforeGet,omitempty" json:"lockBeforeGet,omitempty"`
}

type GetMetadataByTimestampArg

type GetMetadataByTimestampArg struct {
	FolderID   string `codec:"folderID" json:"folderID"`
	ServerTime Time   `codec:"serverTime" json:"serverTime"`
}

type GetNetworkStatsArg

type GetNetworkStatsArg struct {
	SessionID  int           `codec:"sessionID" json:"sessionID"`
	NetworkSrc NetworkSource `codec:"networkSrc" json:"networkSrc"`
}

type GetNonUserDetailsArg

type GetNonUserDetailsArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Assertion string `codec:"assertion" json:"assertion"`
}

type GetOnLoginStartupArg

type GetOnLoginStartupArg struct {
}

type GetPassphraseArg

type GetPassphraseArg struct {
	SessionID int             `codec:"sessionID" json:"sessionID"`
	Pinentry  GUIEntryArg     `codec:"pinentry" json:"pinentry"`
	Terminal  *SecretEntryArg `codec:"terminal,omitempty" json:"terminal,omitempty"`
}

type GetPassphraseRes

type GetPassphraseRes struct {
	Passphrase  string `codec:"passphrase" json:"passphrase"`
	StoreSecret bool   `codec:"storeSecret" json:"storeSecret"`
}

func (GetPassphraseRes) DeepCopy

func (o GetPassphraseRes) DeepCopy() GetPassphraseRes

type GetPendingRekeyStatusArg

type GetPendingRekeyStatusArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetPhoneNumbersArg

type GetPhoneNumbersArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetPreferenceArg

type GetPreferenceArg struct {
}

type GetPreferredMountDirsArg

type GetPreferredMountDirsArg struct {
}

type GetProxyDataArg

type GetProxyDataArg struct {
}

type GetPublicCanonicalTLFNameAndIDArg

type GetPublicCanonicalTLFNameAndIDArg struct {
	Query TLFQuery `codec:"query" json:"query"`
}

type GetReferenceCountArg

type GetReferenceCountArg struct {
	Folder string         `codec:"folder" json:"folder"`
	Ids    []BlockIdCombo `codec:"ids" json:"ids"`
	Status BlockStatus    `codec:"status" json:"status"`
}

type GetRememberPassphraseArg

type GetRememberPassphraseArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetRevisionsArgs

type GetRevisionsArgs struct {
	OpID     OpID             `codec:"opID" json:"opID"`
	Path     Path             `codec:"path" json:"path"`
	SpanType RevisionSpanType `codec:"spanType" json:"spanType"`
}

func (GetRevisionsArgs) DeepCopy

func (o GetRevisionsArgs) DeepCopy() GetRevisionsArgs

type GetRevisionsResult

type GetRevisionsResult struct {
	Revisions []DirentWithRevision `codec:"revisions" json:"revisions"`
	Progress  Progress             `codec:"progress" json:"progress"`
}

func (GetRevisionsResult) DeepCopy

type GetRevokeWarningArg

type GetRevokeWarningArg struct {
	SessionID    int      `codec:"sessionID" json:"sessionID"`
	ActingDevice DeviceID `codec:"actingDevice" json:"actingDevice"`
	TargetDevice DeviceID `codec:"targetDevice" json:"targetDevice"`
}

type GetSecretKeysArg

type GetSecretKeysArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetSessionChallengeArg

type GetSessionChallengeArg struct {
}

type GetStateArg

type GetStateArg struct {
}

type GetTLFCryptKeysArg

type GetTLFCryptKeysArg struct {
	Query TLFQuery `codec:"query" json:"query"`
}

type GetTLFCryptKeysRes

type GetTLFCryptKeysRes struct {
	NameIDBreaks CanonicalTLFNameAndIDWithBreaks `codec:"nameIDBreaks" json:"nameIDBreaks"`
	CryptKeys    []CryptKey                      `codec:"CryptKeys" json:"CryptKeys"`
}

func (GetTLFCryptKeysRes) DeepCopy

type GetTTYArg

type GetTTYArg struct {
}

type GetTarsDisabledArg

type GetTarsDisabledArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type GetTeamAndMemberShowcaseArg

type GetTeamAndMemberShowcaseArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type GetTeamBlocksArg

type GetTeamBlocksArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetTeamIDArg

type GetTeamIDArg struct {
	TeamName string `codec:"teamName" json:"teamName"`
}

type GetTeamNameArg

type GetTeamNameArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type GetTeamQuotaInfo2Arg

type GetTeamQuotaInfo2Arg struct {
	Tid            TeamID `codec:"tid" json:"tid"`
	IncludeFolders bool   `codec:"includeFolders" json:"includeFolders"`
}

type GetTeamQuotaInfoArg

type GetTeamQuotaInfoArg struct {
	Tid TeamID `codec:"tid" json:"tid"`
}

type GetTeamRepoSettingsArg

type GetTeamRepoSettingsArg struct {
	Folder FolderHandle `codec:"folder" json:"folder"`
	RepoID RepoID       `codec:"repoID" json:"repoID"`
}

type GetTeamRoleMapArg

type GetTeamRoleMapArg struct {
}

type GetTeamRootIDArg

type GetTeamRootIDArg struct {
	Id TeamID `codec:"id" json:"id"`
}

type GetTeamShowcaseArg

type GetTeamShowcaseArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type GetUPAKArg

type GetUPAKArg struct {
	Uid       UID  `codec:"uid" json:"uid"`
	Unstubbed bool `codec:"unstubbed" json:"unstubbed"`
}

type GetUPAKLiteArg

type GetUPAKLiteArg struct {
	Uid UID `codec:"uid" json:"uid"`
}

type GetUntrustedTeamInfoArg

type GetUntrustedTeamInfoArg struct {
	TeamName TeamName `codec:"teamName" json:"teamName"`
}

type GetUpdateInfo2Arg

type GetUpdateInfo2Arg struct {
	Platform *string `codec:"platform,omitempty" json:"platform,omitempty"`
	Version  *string `codec:"version,omitempty" json:"version,omitempty"`
}

type GetUpdateInfoArg

type GetUpdateInfoArg struct {
}

type GetUserBlocksArg

type GetUserBlocksArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Usernames []string `codec:"usernames" json:"usernames"`
}

type GetUserQuotaInfo2Arg

type GetUserQuotaInfo2Arg struct {
	IncludeFolders bool `codec:"includeFolders" json:"includeFolders"`
}

type GetUserQuotaInfoArg

type GetUserQuotaInfoArg struct {
}

type GetValueArg

type GetValueArg struct {
	Path string `codec:"path" json:"path"`
}

type GetWithSessionArg

type GetWithSessionArg struct {
	Endpoint      string         `codec:"endpoint" json:"endpoint"`
	Args          []StringKVPair `codec:"args" json:"args"`
	HttpStatus    []int          `codec:"httpStatus" json:"httpStatus"`
	AppStatusCode []int          `codec:"appStatusCode" json:"appStatusCode"`
	UseText       *bool          `codec:"useText,omitempty" json:"useText,omitempty"`
}

func (GetWithSessionArg) GetAppStatusCodes

func (a GetWithSessionArg) GetAppStatusCodes() []int

func (GetWithSessionArg) GetEndpoint

func (a GetWithSessionArg) GetEndpoint() string

func (GetWithSessionArg) GetHTTPArgs

func (a GetWithSessionArg) GetHTTPArgs() []StringKVPair

func (GetWithSessionArg) GetHttpStatuses

func (a GetWithSessionArg) GetHttpStatuses() []int

type GitClient

type GitClient struct {
	Cli rpc.GenericClient
}

func (GitClient) CreatePersonalRepo

func (c GitClient) CreatePersonalRepo(ctx context.Context, repoName GitRepoName) (res RepoID, err error)

func (GitClient) CreateTeamRepo

func (c GitClient) CreateTeamRepo(ctx context.Context, __arg CreateTeamRepoArg) (res RepoID, err error)

func (GitClient) DeleteGitMetadata

func (c GitClient) DeleteGitMetadata(ctx context.Context, __arg DeleteGitMetadataArg) (err error)

func (GitClient) DeletePersonalRepo

func (c GitClient) DeletePersonalRepo(ctx context.Context, repoName GitRepoName) (err error)

func (GitClient) DeleteTeamRepo

func (c GitClient) DeleteTeamRepo(ctx context.Context, __arg DeleteTeamRepoArg) (err error)

func (GitClient) GcPersonalRepo

func (c GitClient) GcPersonalRepo(ctx context.Context, __arg GcPersonalRepoArg) (err error)

func (GitClient) GcTeamRepo

func (c GitClient) GcTeamRepo(ctx context.Context, __arg GcTeamRepoArg) (err error)

func (GitClient) GetAllGitMetadata

func (c GitClient) GetAllGitMetadata(ctx context.Context) (res []GitRepoResult, err error)

func (GitClient) GetGitMetadata

func (c GitClient) GetGitMetadata(ctx context.Context, folder FolderHandle) (res []GitRepoResult, err error)

func (GitClient) GetTeamRepoSettings

func (c GitClient) GetTeamRepoSettings(ctx context.Context, __arg GetTeamRepoSettingsArg) (res GitTeamRepoSettings, err error)

func (GitClient) PutGitMetadata

func (c GitClient) PutGitMetadata(ctx context.Context, __arg PutGitMetadataArg) (err error)

func (GitClient) SetTeamRepoSettings

func (c GitClient) SetTeamRepoSettings(ctx context.Context, __arg SetTeamRepoSettingsArg) (err error)

type GitCommit

type GitCommit struct {
	CommitHash  string `codec:"commitHash" json:"commitHash"`
	Message     string `codec:"message" json:"message"`
	AuthorName  string `codec:"authorName" json:"authorName"`
	AuthorEmail string `codec:"authorEmail" json:"authorEmail"`
	Ctime       Time   `codec:"ctime" json:"ctime"`
}

func (GitCommit) DeepCopy

func (o GitCommit) DeepCopy() GitCommit

type GitInterface

type GitInterface interface {
	PutGitMetadata(context.Context, PutGitMetadataArg) error
	DeleteGitMetadata(context.Context, DeleteGitMetadataArg) error
	GetGitMetadata(context.Context, FolderHandle) ([]GitRepoResult, error)
	GetAllGitMetadata(context.Context) ([]GitRepoResult, error)
	CreatePersonalRepo(context.Context, GitRepoName) (RepoID, error)
	CreateTeamRepo(context.Context, CreateTeamRepoArg) (RepoID, error)
	DeletePersonalRepo(context.Context, GitRepoName) error
	DeleteTeamRepo(context.Context, DeleteTeamRepoArg) error
	GcPersonalRepo(context.Context, GcPersonalRepoArg) error
	GcTeamRepo(context.Context, GcTeamRepoArg) error
	GetTeamRepoSettings(context.Context, GetTeamRepoSettingsArg) (GitTeamRepoSettings, error)
	SetTeamRepoSettings(context.Context, SetTeamRepoSettingsArg) error
}

type GitLocalMetadata

type GitLocalMetadata struct {
	RepoName         GitRepoName      `codec:"repoName" json:"repoName"`
	Refs             []GitRefMetadata `codec:"refs" json:"refs"`
	PushType         GitPushType      `codec:"pushType" json:"pushType"`
	PreviousRepoName GitRepoName      `codec:"previousRepoName" json:"previousRepoName"`
}

func (GitLocalMetadata) DeepCopy

func (o GitLocalMetadata) DeepCopy() GitLocalMetadata

type GitLocalMetadataV1

type GitLocalMetadataV1 struct {
	RepoName GitRepoName `codec:"repoName" json:"repoName"`
}

func (GitLocalMetadataV1) DeepCopy

type GitLocalMetadataVersion

type GitLocalMetadataVersion int
const (
	GitLocalMetadataVersion_V1 GitLocalMetadataVersion = 1
)

func (GitLocalMetadataVersion) DeepCopy

func (GitLocalMetadataVersion) String

func (e GitLocalMetadataVersion) String() string

type GitLocalMetadataVersioned

type GitLocalMetadataVersioned struct {
	Version__ GitLocalMetadataVersion `codec:"version" json:"version"`
	V1__      *GitLocalMetadataV1     `codec:"v1,omitempty" json:"v1,omitempty"`
}

func NewGitLocalMetadataVersionedWithV1

func NewGitLocalMetadataVersionedWithV1(v GitLocalMetadataV1) GitLocalMetadataVersioned

func (GitLocalMetadataVersioned) DeepCopy

func (GitLocalMetadataVersioned) V1

func (*GitLocalMetadataVersioned) Version

type GitPushType

type GitPushType int
const (
	GitPushType_DEFAULT    GitPushType = 0
	GitPushType_CREATEREPO GitPushType = 1
	GitPushType_RENAMEREPO GitPushType = 3
)

func (GitPushType) DeepCopy

func (o GitPushType) DeepCopy() GitPushType

func (GitPushType) String

func (e GitPushType) String() string

type GitRefMetadata

type GitRefMetadata struct {
	RefName              string      `codec:"refName" json:"refName"`
	Commits              []GitCommit `codec:"commits" json:"commits"`
	MoreCommitsAvailable bool        `codec:"moreCommitsAvailable" json:"moreCommitsAvailable"`
	IsDelete             bool        `codec:"isDelete" json:"isDelete"`
}

func (GitRefMetadata) DeepCopy

func (o GitRefMetadata) DeepCopy() GitRefMetadata

type GitRepoInfo

type GitRepoInfo struct {
	Folder           FolderHandle         `codec:"folder" json:"folder"`
	RepoID           RepoID               `codec:"repoID" json:"repoID"`
	LocalMetadata    GitLocalMetadata     `codec:"localMetadata" json:"localMetadata"`
	ServerMetadata   GitServerMetadata    `codec:"serverMetadata" json:"serverMetadata"`
	RepoUrl          string               `codec:"repoUrl" json:"repoUrl"`
	GlobalUniqueID   string               `codec:"globalUniqueID" json:"globalUniqueID"`
	CanDelete        bool                 `codec:"canDelete" json:"canDelete"`
	TeamRepoSettings *GitTeamRepoSettings `codec:"teamRepoSettings,omitempty" json:"teamRepoSettings,omitempty"`
}

func (GitRepoInfo) DeepCopy

func (o GitRepoInfo) DeepCopy() GitRepoInfo

func (GitRepoInfo) FullName

func (r GitRepoInfo) FullName() string

type GitRepoName

type GitRepoName string

func (GitRepoName) DeepCopy

func (o GitRepoName) DeepCopy() GitRepoName

type GitRepoResult

type GitRepoResult struct {
	State__ GitRepoResultState `codec:"state" json:"state"`
	Err__   *string            `codec:"err,omitempty" json:"err,omitempty"`
	Ok__    *GitRepoInfo       `codec:"ok,omitempty" json:"ok,omitempty"`
}

func NewGitRepoResultWithErr

func NewGitRepoResultWithErr(v string) GitRepoResult

func NewGitRepoResultWithOk

func NewGitRepoResultWithOk(v GitRepoInfo) GitRepoResult

func (GitRepoResult) DeepCopy

func (o GitRepoResult) DeepCopy() GitRepoResult

func (GitRepoResult) Err

func (o GitRepoResult) Err() (res string)

func (*GitRepoResult) GetIfOk

func (r *GitRepoResult) GetIfOk() (res GitRepoInfo, err error)

func (GitRepoResult) Ok

func (o GitRepoResult) Ok() (res GitRepoInfo)

func (*GitRepoResult) State

func (o *GitRepoResult) State() (ret GitRepoResultState, err error)

type GitRepoResultState

type GitRepoResultState int
const (
	GitRepoResultState_ERR GitRepoResultState = 0
	GitRepoResultState_OK  GitRepoResultState = 1
)

func (GitRepoResultState) DeepCopy

func (GitRepoResultState) String

func (e GitRepoResultState) String() string

type GitServerMetadata

type GitServerMetadata struct {
	Ctime                   Time     `codec:"ctime" json:"ctime"`
	Mtime                   Time     `codec:"mtime" json:"mtime"`
	LastModifyingUsername   string   `codec:"lastModifyingUsername" json:"lastModifyingUsername"`
	LastModifyingDeviceID   DeviceID `codec:"lastModifyingDeviceID" json:"lastModifyingDeviceID"`
	LastModifyingDeviceName string   `codec:"lastModifyingDeviceName" json:"lastModifyingDeviceName"`
}

func (GitServerMetadata) DeepCopy

func (o GitServerMetadata) DeepCopy() GitServerMetadata

type GitStatus

type GitStatus struct {
	Log     string `codec:"log" json:"log"`
	PerfLog string `codec:"perfLog" json:"perfLog"`
}

func (GitStatus) DeepCopy

func (o GitStatus) DeepCopy() GitStatus

type GitTeamRepoSettings

type GitTeamRepoSettings struct {
	ChannelName  *string `codec:"channelName,omitempty" json:"channelName,omitempty"`
	ChatDisabled bool    `codec:"chatDisabled" json:"chatDisabled"`
}

func (GitTeamRepoSettings) DeepCopy

type GpgCommonClient

type GpgCommonClient struct {
	Cli rpc.GenericClient
}

type GpgCommonInterface

type GpgCommonInterface interface {
}

type GpgUiClient

type GpgUiClient struct {
	Cli rpc.GenericClient
}

func (GpgUiClient) ConfirmDuplicateKeyChosen

func (c GpgUiClient) ConfirmDuplicateKeyChosen(ctx context.Context, sessionID int) (res bool, err error)

func (GpgUiClient) ConfirmImportSecretToExistingKey

func (c GpgUiClient) ConfirmImportSecretToExistingKey(ctx context.Context, sessionID int) (res bool, err error)

func (GpgUiClient) GetTTY

func (c GpgUiClient) GetTTY(ctx context.Context) (res string, err error)

func (GpgUiClient) SelectKey

func (c GpgUiClient) SelectKey(ctx context.Context, __arg SelectKeyArg) (res string, err error)

func (GpgUiClient) SelectKeyAndPushOption

func (c GpgUiClient) SelectKeyAndPushOption(ctx context.Context, __arg SelectKeyAndPushOptionArg) (res SelectKeyRes, err error)

func (GpgUiClient) Sign

func (c GpgUiClient) Sign(ctx context.Context, __arg SignArg) (res string, err error)

func (GpgUiClient) WantToAddGPGKey

func (c GpgUiClient) WantToAddGPGKey(ctx context.Context, sessionID int) (res bool, err error)

type GpgUiInterface

type GpgUiInterface interface {
	WantToAddGPGKey(context.Context, int) (bool, error)
	ConfirmDuplicateKeyChosen(context.Context, int) (bool, error)
	ConfirmImportSecretToExistingKey(context.Context, int) (bool, error)
	SelectKeyAndPushOption(context.Context, SelectKeyAndPushOptionArg) (SelectKeyRes, error)
	SelectKey(context.Context, SelectKeyArg) (string, error)
	Sign(context.Context, SignArg) (string, error)
	GetTTY(context.Context) (string, error)
}

type GregorClient

type GregorClient struct {
	Cli rpc.GenericClient
}

func (GregorClient) DismissCategory

func (c GregorClient) DismissCategory(ctx context.Context, category gregor1.Category) (err error)

func (GregorClient) DismissItem

func (c GregorClient) DismissItem(ctx context.Context, id gregor1.MsgID) (err error)

func (GregorClient) GetState

func (c GregorClient) GetState(ctx context.Context) (res gregor1.State, err error)

func (GregorClient) InjectItem

func (c GregorClient) InjectItem(ctx context.Context, __arg InjectItemArg) (res gregor1.MsgID, err error)

func (GregorClient) UpdateCategory

func (c GregorClient) UpdateCategory(ctx context.Context, __arg UpdateCategoryArg) (res gregor1.MsgID, err error)

func (GregorClient) UpdateItem

func (c GregorClient) UpdateItem(ctx context.Context, __arg UpdateItemArg) (res gregor1.MsgID, err error)

type GregorInterface

type GregorInterface interface {
	GetState(context.Context) (gregor1.State, error)
	InjectItem(context.Context, InjectItemArg) (gregor1.MsgID, error)
	DismissCategory(context.Context, gregor1.Category) error
	DismissItem(context.Context, gregor1.MsgID) error
	UpdateItem(context.Context, UpdateItemArg) (gregor1.MsgID, error)
	UpdateCategory(context.Context, UpdateCategoryArg) (gregor1.MsgID, error)
}

type GregorUIClient

type GregorUIClient struct {
	Cli rpc.GenericClient
}

func (GregorUIClient) PushOutOfBandMessages

func (c GregorUIClient) PushOutOfBandMessages(ctx context.Context, oobm []gregor1.OutOfBandMessage) (err error)

func (GregorUIClient) PushState

func (c GregorUIClient) PushState(ctx context.Context, __arg PushStateArg) (err error)

type GregorUIInterface

type GregorUIInterface interface {
	PushState(context.Context, PushStateArg) error
	PushOutOfBandMessages(context.Context, []gregor1.OutOfBandMessage) error
}

type GuessCurrentLocationArg

type GuessCurrentLocationArg struct {
	SessionID      int    `codec:"sessionID" json:"sessionID"`
	DefaultCountry string `codec:"defaultCountry" json:"defaultCountry"`
}

type GuiClearValueArg

type GuiClearValueArg struct {
	Path string `codec:"path" json:"path"`
}

type GuiGetValueArg

type GuiGetValueArg struct {
	Path string `codec:"path" json:"path"`
}

type GuiSetValueArg

type GuiSetValueArg struct {
	Path  string      `codec:"path" json:"path"`
	Value ConfigValue `codec:"value" json:"value"`
}

type HTTPSrvInfoUpdateArg

type HTTPSrvInfoUpdateArg struct {
	Info HttpSrvInfo `codec:"info" json:"info"`
}

type HandleKeybaseLinkArg

type HandleKeybaseLinkArg struct {
	Link     string `codec:"link" json:"link"`
	Deferred bool   `codec:"deferred" json:"deferred"`
}

type HasServerKeysArg

type HasServerKeysArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type HasServerKeysRes

type HasServerKeysRes struct {
	HasServerKeys bool `codec:"hasServerKeys" json:"hasServerKeys"`
}

func (HasServerKeysRes) DeepCopy

func (o HasServerKeysRes) DeepCopy() HasServerKeysRes

type HashMeta

type HashMeta []byte

func HashMetaFromString

func HashMetaFromString(s string) (ret HashMeta, err error)

func (HashMeta) DeepCopy

func (o HashMeta) DeepCopy() HashMeta

func (HashMeta) Eq

func (h HashMeta) Eq(h2 HashMeta) bool

func (HashMeta) MarshalJSON

func (h HashMeta) MarshalJSON() ([]byte, error)

func (HashMeta) String

func (h HashMeta) String() string

func (*HashMeta) UnmarshalJSON

func (h *HashMeta) UnmarshalJSON(b []byte) error

type HeapProfileArg

type HeapProfileArg struct {
	SessionID   int    `codec:"sessionID" json:"sessionID"`
	ProfileFile string `codec:"profileFile" json:"profileFile"`
}

type Hello2Arg

type Hello2Arg struct {
	Uid     UID          `codec:"uid" json:"uid"`
	Token   SessionToken `codec:"token" json:"token"`
	Csrf    CsrfToken    `codec:"csrf" json:"csrf"`
	SigBody string       `codec:"sigBody" json:"sigBody"`
}

type Hello2Res

type Hello2Res struct {
	EncryptionKey KID      `codec:"encryptionKey" json:"encryptionKey"`
	SigPayload    HelloRes `codec:"sigPayload" json:"sigPayload"`
	DeviceEkKID   KID      `codec:"deviceEkKID" json:"deviceEkKID"`
}

func (Hello2Res) DeepCopy

func (o Hello2Res) DeepCopy() Hello2Res

type HelloArg

type HelloArg struct {
	Uid     UID              `codec:"uid" json:"uid"`
	Token   SessionToken     `codec:"token" json:"token"`
	Csrf    CsrfToken        `codec:"csrf" json:"csrf"`
	Pps     PassphraseStream `codec:"pps" json:"pps"`
	SigBody string           `codec:"sigBody" json:"sigBody"`
}

type HelloIAmArg

type HelloIAmArg struct {
	Details ClientDetails `codec:"details" json:"details"`
}

type HelloRes

type HelloRes string

func (HelloRes) DeepCopy

func (o HelloRes) DeepCopy() HelloRes

type HiddenTeamChain

type HiddenTeamChain struct {
	Id                 TeamID                         `codec:"id" json:"id"`
	Subversion         int                            `codec:"subversion" json:"subversion"`
	Public             bool                           `codec:"public" json:"public"`
	Frozen             bool                           `codec:"frozen" json:"frozen"`
	Tombstoned         bool                           `codec:"tombstoned" json:"tombstoned"`
	Last               Seqno                          `codec:"last" json:"last"`
	LastFull           Seqno                          `codec:"lastFull" json:"lastFull"`
	LatestSeqnoHint    Seqno                          `codec:"latestSeqnoHint" json:"latestSeqnoHint"`
	LastCommittedSeqno Seqno                          `codec:"lastCommittedSeqno" json:"lastCommittedSeqno"`
	LinkReceiptTimes   map[Seqno]Time                 `codec:"linkReceiptTimes" json:"linkReceiptTimes"`
	LastPerTeamKeys    map[PTKType]Seqno              `codec:"lastPerTeamKeys" json:"lastPerTeamKeys"`
	Outer              map[Seqno]LinkID               `codec:"outer" json:"outer"`
	Inner              map[Seqno]HiddenTeamChainLink  `codec:"inner" json:"inner"`
	ReaderPerTeamKeys  map[PerTeamKeyGeneration]Seqno `codec:"readerPerTeamKeys" json:"readerPerTeamKeys"`
	RatchetSet         HiddenTeamChainRatchetSet      `codec:"ratchetSet" json:"ratchetSet"`
	CachedAt           Time                           `codec:"cachedAt" json:"cachedAt"`
	NeedRotate         bool                           `codec:"needRotate" json:"needRotate"`
	MerkleRoots        map[Seqno]MerkleRootV2         `codec:"merkleRoots" json:"merkleRoots"`
}

func NewHiddenTeamChain

func NewHiddenTeamChain(id TeamID) *HiddenTeamChain

func (HiddenTeamChain) DeepCopy

func (o HiddenTeamChain) DeepCopy() HiddenTeamChain

func (*HiddenTeamChain) Freeze

func (h *HiddenTeamChain) Freeze() (changed bool)

func (*HiddenTeamChain) GetLastCommittedSeqno

func (d *HiddenTeamChain) GetLastCommittedSeqno() Seqno

func (*HiddenTeamChain) GetOuter

func (d *HiddenTeamChain) GetOuter() map[Seqno]LinkID

func (*HiddenTeamChain) GetReaderPerTeamKeyAtGeneration

func (h *HiddenTeamChain) GetReaderPerTeamKeyAtGeneration(g PerTeamKeyGeneration) (ret PerTeamKey, found bool)

func (HiddenTeamChain) HasSeqno

func (h HiddenTeamChain) HasSeqno(s Seqno) bool

func (HiddenTeamChain) ID

func (d HiddenTeamChain) ID() TeamID

func (HiddenTeamChain) IsPublic

func (d HiddenTeamChain) IsPublic() bool

func (*HiddenTeamChain) IsStale

func (h *HiddenTeamChain) IsStale() bool

func (*HiddenTeamChain) KeySummary

func (h *HiddenTeamChain) KeySummary() string

func (*HiddenTeamChain) LastFullPopulateIfUnset

func (d *HiddenTeamChain) LastFullPopulateIfUnset() Seqno

func (HiddenTeamChain) LastReaderPerTeamKeyLinkID

func (h HiddenTeamChain) LastReaderPerTeamKeyLinkID() (ret LinkID)

func (*HiddenTeamChain) LinkAndKeySummary

func (h *HiddenTeamChain) LinkAndKeySummary() string

func (*HiddenTeamChain) MaxReaderPerTeamKey

func (h *HiddenTeamChain) MaxReaderPerTeamKey() *PerTeamKey

func (*HiddenTeamChain) MaxReaderPerTeamKeyGeneration

func (h *HiddenTeamChain) MaxReaderPerTeamKeyGeneration() PerTeamKeyGeneration

func (*HiddenTeamChain) MaxTriple

func (r *HiddenTeamChain) MaxTriple() *LinkTriple

func (*HiddenTeamChain) Merge

func (d *HiddenTeamChain) Merge(newData HiddenTeamChain) (updated bool, err error)

func (*HiddenTeamChain) PopulateLastFull

func (d *HiddenTeamChain) PopulateLastFull()

func (HiddenTeamChain) Summary

func (d HiddenTeamChain) Summary() string

func (*HiddenTeamChain) Tail

func (*HiddenTeamChain) TailTriple

func (h *HiddenTeamChain) TailTriple() *LinkTriple

func (*HiddenTeamChain) Tombstone

func (h *HiddenTeamChain) Tombstone() (changed bool)
type HiddenTeamChainLink struct {
	MerkleRoot  MerkleRootV2                   `codec:"m" json:"m"`
	ParentChain LinkTriple                     `codec:"p" json:"p"`
	Signer      Signer                         `codec:"s" json:"s"`
	Ptk         map[PTKType]PerTeamKeyAndCheck `codec:"k" json:"k"`
}

func (HiddenTeamChainLink) DeepCopy

type HiddenTeamChainRatchetSet

type HiddenTeamChainRatchetSet struct {
	Ratchets map[RatchetType]LinkTripleAndTime `codec:"ratchets" json:"ratchets"`
}

func (*HiddenTeamChainRatchetSet) Add

func (HiddenTeamChainRatchetSet) DeepCopy

func (HiddenTeamChainRatchetSet) Flat

func (HiddenTeamChainRatchetSet) IsEmpty

func (r HiddenTeamChainRatchetSet) IsEmpty() bool

func (HiddenTeamChainRatchetSet) Max

func (HiddenTeamChainRatchetSet) MaxTriple

func (r HiddenTeamChainRatchetSet) MaxTriple() *LinkTriple

func (*HiddenTeamChainRatchetSet) Merge

type HomeActionTakenArg

type HomeActionTakenArg struct {
}

type HomeClient

type HomeClient struct {
	Cli rpc.GenericClient
}

func (HomeClient) HomeActionTaken

func (c HomeClient) HomeActionTaken(ctx context.Context) (err error)

func (HomeClient) HomeDismissAnnouncement

func (c HomeClient) HomeDismissAnnouncement(ctx context.Context, i HomeScreenAnnouncementID) (err error)

func (HomeClient) HomeGetScreen

func (c HomeClient) HomeGetScreen(ctx context.Context, __arg HomeGetScreenArg) (res HomeScreen, err error)

HomeGetScreen returns the home screen for the current user. If `markViewed` is specified, the server will mark this version of the home screen "viewed", potentially updating some badges. `numFollowSuggestionsWanted` controls the number of people to return. If not specified, it will default to `0`, so no people. If `-1` is specified, the default number will be returned (10). Otherwise, the caller should specify.

func (HomeClient) HomeMarkViewed

func (c HomeClient) HomeMarkViewed(ctx context.Context) (err error)

func (HomeClient) HomeSkipTodoType

func (c HomeClient) HomeSkipTodoType(ctx context.Context, t HomeScreenTodoType) (err error)

type HomeDismissAnnouncementArg

type HomeDismissAnnouncementArg struct {
	I HomeScreenAnnouncementID `codec:"i" json:"i"`
}

type HomeGetScreenArg

type HomeGetScreenArg struct {
	MarkViewed                 bool `codec:"markViewed" json:"markViewed"`
	NumFollowSuggestionsWanted int  `codec:"numFollowSuggestionsWanted" json:"numFollowSuggestionsWanted"`
}

type HomeInterface

type HomeInterface interface {
	// HomeGetScreen returns the home screen for the current user.
	// If `markViewed` is specified, the server will mark this version of the
	// home screen "viewed", potentially updating some badges.
	// `numFollowSuggestionsWanted` controls the number of people to return.
	// If not specified, it will default to `0`, so no people.  If `-1` is specified,
	// the default number will be returned (10).  Otherwise, the caller should
	// specify.
	HomeGetScreen(context.Context, HomeGetScreenArg) (HomeScreen, error)
	HomeSkipTodoType(context.Context, HomeScreenTodoType) error
	HomeDismissAnnouncement(context.Context, HomeScreenAnnouncementID) error
	HomeActionTaken(context.Context) error
	HomeMarkViewed(context.Context) error
}

type HomeMarkViewedArg

type HomeMarkViewedArg struct {
}

type HomeScreen

type HomeScreen struct {
	LastViewed           Time              `codec:"lastViewed" json:"lastViewed"`
	Version              int               `codec:"version" json:"version"`
	Visits               int               `codec:"visits" json:"visits"`
	Items                []HomeScreenItem  `codec:"items" json:"items"`
	FollowSuggestions    []HomeUserSummary `codec:"followSuggestions" json:"followSuggestions"`
	AnnouncementsVersion int               `codec:"announcementsVersion" json:"announcementsVersion"`
}

func (HomeScreen) DeepCopy

func (o HomeScreen) DeepCopy() HomeScreen

type HomeScreenAnnouncement

type HomeScreenAnnouncement struct {
	Id           HomeScreenAnnouncementID      `codec:"id" json:"id"`
	Version      HomeScreenAnnouncementVersion `codec:"version" json:"version"`
	AppLink      AppLinkType                   `codec:"appLink" json:"appLink"`
	ConfirmLabel string                        `codec:"confirmLabel" json:"confirmLabel"`
	Dismissable  bool                          `codec:"dismissable" json:"dismissable"`
	IconUrl      string                        `codec:"iconUrl" json:"iconUrl"`
	Text         string                        `codec:"text" json:"text"`
	Url          string                        `codec:"url" json:"url"`
}

func (HomeScreenAnnouncement) DeepCopy

type HomeScreenAnnouncementID

type HomeScreenAnnouncementID int

func (HomeScreenAnnouncementID) DeepCopy

type HomeScreenAnnouncementVersion

type HomeScreenAnnouncementVersion int

func (HomeScreenAnnouncementVersion) DeepCopy

type HomeScreenItem

type HomeScreenItem struct {
	Badged  bool                  `codec:"badged" json:"badged"`
	Data    HomeScreenItemData    `codec:"data" json:"data"`
	DataExt HomeScreenItemDataExt `codec:"dataExt" json:"dataExt"`
}

func (HomeScreenItem) DeepCopy

func (o HomeScreenItem) DeepCopy() HomeScreenItem

type HomeScreenItemData

type HomeScreenItemData struct {
	T__            HomeScreenItemType            `codec:"t" json:"t"`
	Todo__         *HomeScreenTodo               `codec:"todo,omitempty" json:"todo,omitempty"`
	People__       *HomeScreenPeopleNotification `codec:"people,omitempty" json:"people,omitempty"`
	Announcement__ *HomeScreenAnnouncement       `codec:"announcement,omitempty" json:"announcement,omitempty"`
}

func NewHomeScreenItemDataDefault

func NewHomeScreenItemDataDefault(t HomeScreenItemType) HomeScreenItemData

func NewHomeScreenItemDataWithAnnouncement

func NewHomeScreenItemDataWithAnnouncement(v HomeScreenAnnouncement) HomeScreenItemData

func NewHomeScreenItemDataWithTodo

func NewHomeScreenItemDataWithTodo(v HomeScreenTodo) HomeScreenItemData

func (HomeScreenItemData) Announcement

func (o HomeScreenItemData) Announcement() (res HomeScreenAnnouncement)

func (HomeScreenItemData) DeepCopy

func (HomeScreenItemData) People

func (*HomeScreenItemData) T

func (o *HomeScreenItemData) T() (ret HomeScreenItemType, err error)

func (HomeScreenItemData) Todo

func (o HomeScreenItemData) Todo() (res HomeScreenTodo)

type HomeScreenItemDataExt

type HomeScreenItemDataExt struct {
	T__    HomeScreenItemType `codec:"t" json:"t"`
	Todo__ *HomeScreenTodoExt `codec:"todo,omitempty" json:"todo,omitempty"`
}

func NewHomeScreenItemDataExtDefault

func NewHomeScreenItemDataExtDefault(t HomeScreenItemType) HomeScreenItemDataExt

func NewHomeScreenItemDataExtWithTodo

func NewHomeScreenItemDataExtWithTodo(v HomeScreenTodoExt) HomeScreenItemDataExt

func (HomeScreenItemDataExt) DeepCopy

func (*HomeScreenItemDataExt) T

func (HomeScreenItemDataExt) Todo

type HomeScreenItemID

type HomeScreenItemID string

func (HomeScreenItemID) DeepCopy

func (o HomeScreenItemID) DeepCopy() HomeScreenItemID

type HomeScreenItemType

type HomeScreenItemType int
const (
	HomeScreenItemType_TODO         HomeScreenItemType = 1
	HomeScreenItemType_PEOPLE       HomeScreenItemType = 2
	HomeScreenItemType_ANNOUNCEMENT HomeScreenItemType = 3
)

func (HomeScreenItemType) DeepCopy

func (HomeScreenItemType) String

func (e HomeScreenItemType) String() string

type HomeScreenPeopleNotification

type HomeScreenPeopleNotification struct {
	T__             HomeScreenPeopleNotificationType           `codec:"t" json:"t"`
	Followed__      *HomeScreenPeopleNotificationFollowed      `codec:"followed,omitempty" json:"followed,omitempty"`
	FollowedMulti__ *HomeScreenPeopleNotificationFollowedMulti `codec:"followedMulti,omitempty" json:"followedMulti,omitempty"`
	Contact__       *HomeScreenPeopleNotificationContact       `codec:"contact,omitempty" json:"contact,omitempty"`
	ContactMulti__  *HomeScreenPeopleNotificationContactMulti  `codec:"contactMulti,omitempty" json:"contactMulti,omitempty"`
}

func (HomeScreenPeopleNotification) Contact

func (HomeScreenPeopleNotification) ContactMulti

func (HomeScreenPeopleNotification) DeepCopy

func (HomeScreenPeopleNotification) Followed

func (HomeScreenPeopleNotification) FollowedMulti

func (*HomeScreenPeopleNotification) T

type HomeScreenPeopleNotificationContact

type HomeScreenPeopleNotificationContact struct {
	ResolveTime         Time   `codec:"resolveTime" json:"resolveTime"`
	Username            string `codec:"username" json:"username"`
	Description         string `codec:"description" json:"description"`
	ResolvedContactBlob string `codec:"resolvedContactBlob" json:"resolvedContactBlob"`
}

func (HomeScreenPeopleNotificationContact) DeepCopy

type HomeScreenPeopleNotificationContactMulti

type HomeScreenPeopleNotificationContactMulti struct {
	Contacts  []HomeScreenPeopleNotificationContact `codec:"contacts" json:"contacts"`
	NumOthers int                                   `codec:"numOthers" json:"numOthers"`
}

func (HomeScreenPeopleNotificationContactMulti) DeepCopy

type HomeScreenPeopleNotificationFollowed

type HomeScreenPeopleNotificationFollowed struct {
	FollowTime   Time        `codec:"followTime" json:"followTime"`
	FollowedBack bool        `codec:"followedBack" json:"followedBack"`
	User         UserSummary `codec:"user" json:"user"`
}

func (HomeScreenPeopleNotificationFollowed) DeepCopy

type HomeScreenPeopleNotificationFollowedMulti

type HomeScreenPeopleNotificationFollowedMulti struct {
	Followers []HomeScreenPeopleNotificationFollowed `codec:"followers" json:"followers"`
	NumOthers int                                    `codec:"numOthers" json:"numOthers"`
}

func (HomeScreenPeopleNotificationFollowedMulti) DeepCopy

type HomeScreenPeopleNotificationType

type HomeScreenPeopleNotificationType int
const (
	HomeScreenPeopleNotificationType_FOLLOWED       HomeScreenPeopleNotificationType = 1
	HomeScreenPeopleNotificationType_FOLLOWED_MULTI HomeScreenPeopleNotificationType = 2
	HomeScreenPeopleNotificationType_CONTACT        HomeScreenPeopleNotificationType = 3
	HomeScreenPeopleNotificationType_CONTACT_MULTI  HomeScreenPeopleNotificationType = 4
)

func (HomeScreenPeopleNotificationType) DeepCopy

func (HomeScreenPeopleNotificationType) String

type HomeScreenTodo

type HomeScreenTodo struct {
	T__                     HomeScreenTodoType `codec:"t" json:"t"`
	VerifyAllPhoneNumber__  *PhoneNumber       `codec:"verifyAllPhoneNumber,omitempty" json:"verifyAllPhoneNumber,omitempty"`
	VerifyAllEmail__        *EmailAddress      `codec:"verifyAllEmail,omitempty" json:"verifyAllEmail,omitempty"`
	LegacyEmailVisibility__ *EmailAddress      `codec:"legacyEmailVisibility,omitempty" json:"legacyEmailVisibility,omitempty"`
}

Most of TODO items do not carry additional data, but some do. e.g. TODO item to tell user to verify their email address will carry that email address.

All new TODO data bundle types should be records rather than single fields to support adding new data to existing TODOs. If a legacy TODO (such as VERIFY_ALL_EMAIL) uses a single field, the "TodoExt" field should be used to introduce more data to the payload.

func NewHomeScreenTodoDefault

func NewHomeScreenTodoDefault(t HomeScreenTodoType) HomeScreenTodo

func NewHomeScreenTodoWithLegacyEmailVisibility

func NewHomeScreenTodoWithLegacyEmailVisibility(v EmailAddress) HomeScreenTodo

func NewHomeScreenTodoWithVerifyAllEmail

func NewHomeScreenTodoWithVerifyAllEmail(v EmailAddress) HomeScreenTodo

func NewHomeScreenTodoWithVerifyAllPhoneNumber

func NewHomeScreenTodoWithVerifyAllPhoneNumber(v PhoneNumber) HomeScreenTodo

func (HomeScreenTodo) DeepCopy

func (o HomeScreenTodo) DeepCopy() HomeScreenTodo

func (HomeScreenTodo) LegacyEmailVisibility

func (o HomeScreenTodo) LegacyEmailVisibility() (res EmailAddress)

func (*HomeScreenTodo) T

func (o *HomeScreenTodo) T() (ret HomeScreenTodoType, err error)

func (HomeScreenTodo) VerifyAllEmail

func (o HomeScreenTodo) VerifyAllEmail() (res EmailAddress)

func (HomeScreenTodo) VerifyAllPhoneNumber

func (o HomeScreenTodo) VerifyAllPhoneNumber() (res PhoneNumber)

type HomeScreenTodoExt

type HomeScreenTodoExt struct {
	T__              HomeScreenTodoType     `codec:"t" json:"t"`
	VerifyAllEmail__ *VerifyAllEmailTodoExt `codec:"verifyAllEmail,omitempty" json:"verifyAllEmail,omitempty"`
}

func NewHomeScreenTodoExtDefault

func NewHomeScreenTodoExtDefault(t HomeScreenTodoType) HomeScreenTodoExt

func NewHomeScreenTodoExtWithVerifyAllEmail

func NewHomeScreenTodoExtWithVerifyAllEmail(v VerifyAllEmailTodoExt) HomeScreenTodoExt

func (HomeScreenTodoExt) DeepCopy

func (o HomeScreenTodoExt) DeepCopy() HomeScreenTodoExt

func (*HomeScreenTodoExt) T

func (o *HomeScreenTodoExt) T() (ret HomeScreenTodoType, err error)

func (HomeScreenTodoExt) VerifyAllEmail

func (o HomeScreenTodoExt) VerifyAllEmail() (res VerifyAllEmailTodoExt)

type HomeScreenTodoType

type HomeScreenTodoType int
const (
	HomeScreenTodoType_NONE                    HomeScreenTodoType = 0
	HomeScreenTodoType_BIO                     HomeScreenTodoType = 1
	HomeScreenTodoType_PROOF                   HomeScreenTodoType = 2
	HomeScreenTodoType_DEVICE                  HomeScreenTodoType = 3
	HomeScreenTodoType_FOLLOW                  HomeScreenTodoType = 4
	HomeScreenTodoType_PAPERKEY                HomeScreenTodoType = 6
	HomeScreenTodoType_TEAM                    HomeScreenTodoType = 7
	HomeScreenTodoType_FOLDER                  HomeScreenTodoType = 8
	HomeScreenTodoType_GIT_REPO                HomeScreenTodoType = 9
	HomeScreenTodoType_TEAM_SHOWCASE           HomeScreenTodoType = 10
	HomeScreenTodoType_AVATAR_TEAM             HomeScreenTodoType = 12
	HomeScreenTodoType_ADD_PHONE_NUMBER        HomeScreenTodoType = 18
	HomeScreenTodoType_VERIFY_ALL_PHONE_NUMBER HomeScreenTodoType = 19
	HomeScreenTodoType_VERIFY_ALL_EMAIL        HomeScreenTodoType = 20
	HomeScreenTodoType_LEGACY_EMAIL_VISIBILITY HomeScreenTodoType = 21
	HomeScreenTodoType_ADD_EMAIL               HomeScreenTodoType = 22
	HomeScreenTodoType_AVATAR_USER             HomeScreenTodoType = 23
	HomeScreenTodoType_CHAT                    HomeScreenTodoType = 24
	HomeScreenTodoType_ANNONCEMENT_PLACEHOLDER HomeScreenTodoType = 10000
)

func (HomeScreenTodoType) DeepCopy

func (HomeScreenTodoType) String

func (e HomeScreenTodoType) String() string

type HomeSkipTodoTypeArg

type HomeSkipTodoTypeArg struct {
	T HomeScreenTodoType `codec:"t" json:"t"`
}

type HomeUIClient

type HomeUIClient struct {
	Cli rpc.GenericClient
}

func (HomeUIClient) HomeUIRefresh

func (c HomeUIClient) HomeUIRefresh(ctx context.Context) (err error)

type HomeUIInterface

type HomeUIInterface interface {
	HomeUIRefresh(context.Context) error
}

type HomeUIRefreshArg

type HomeUIRefreshArg struct {
}

type HomeUserSummary

type HomeUserSummary struct {
	Uid      UID    `codec:"uid" json:"uid"`
	Username string `codec:"username" json:"username"`
	Bio      string `codec:"bio" json:"bio"`
	FullName string `codec:"fullName" json:"full_name"`
	Pics     *Pics  `codec:"pics,omitempty" json:"pics,omitempty"`
}

func (HomeUserSummary) DeepCopy

func (o HomeUserSummary) DeepCopy() HomeUserSummary

type HttpSrvInfo

type HttpSrvInfo struct {
	Address string `codec:"address" json:"address"`
	Token   string `codec:"token" json:"token"`
}

func (HttpSrvInfo) DeepCopy

func (o HttpSrvInfo) DeepCopy() HttpSrvInfo

type Identify2Arg

type Identify2Arg struct {
	SessionID             int                 `codec:"sessionID" json:"sessionID"`
	Uid                   UID                 `codec:"uid" json:"uid"`
	UserAssertion         string              `codec:"userAssertion" json:"userAssertion"`
	Reason                IdentifyReason      `codec:"reason" json:"reason"`
	UseDelegateUI         bool                `codec:"useDelegateUI" json:"useDelegateUI"`
	AlwaysBlock           bool                `codec:"alwaysBlock" json:"alwaysBlock"`
	NoErrorOnTrackFailure bool                `codec:"noErrorOnTrackFailure" json:"noErrorOnTrackFailure"`
	ForceRemoteCheck      bool                `codec:"forceRemoteCheck" json:"forceRemoteCheck"`
	NeedProofSet          bool                `codec:"needProofSet" json:"needProofSet"`
	AllowEmptySelfID      bool                `codec:"allowEmptySelfID" json:"allowEmptySelfID"`
	NoSkipSelf            bool                `codec:"noSkipSelf" json:"noSkipSelf"`
	CanSuppressUI         bool                `codec:"canSuppressUI" json:"canSuppressUI"`
	IdentifyBehavior      TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
	ForceDisplay          bool                `codec:"forceDisplay" json:"forceDisplay"`
	ActLoggedOut          bool                `codec:"actLoggedOut" json:"actLoggedOut"`
}

type Identify2Res

type Identify2Res struct {
	Upk          UserPlusKeys         `codec:"upk" json:"upk"`
	IdentifiedAt Time                 `codec:"identifiedAt" json:"identifiedAt"`
	TrackBreaks  *IdentifyTrackBreaks `codec:"trackBreaks,omitempty" json:"trackBreaks,omitempty"`
}

func (Identify2Res) DeepCopy

func (o Identify2Res) DeepCopy() Identify2Res

type Identify2ResUPK2

type Identify2ResUPK2 struct {
	Upk          UserPlusKeysV2AllIncarnations `codec:"upk" json:"upk"`
	IdentifiedAt Time                          `codec:"identifiedAt" json:"identifiedAt"`
	TrackBreaks  *IdentifyTrackBreaks          `codec:"trackBreaks,omitempty" json:"trackBreaks,omitempty"`
}

func (Identify2ResUPK2) DeepCopy

func (o Identify2ResUPK2) DeepCopy() Identify2ResUPK2

func (Identify2ResUPK2) ExportToV1

func (i Identify2ResUPK2) ExportToV1() Identify2Res

type Identify3Arg

type Identify3Arg struct {
	Assertion   Identify3Assertion `codec:"assertion" json:"assertion"`
	GuiID       Identify3GUIID     `codec:"guiID" json:"guiID"`
	IgnoreCache bool               `codec:"ignoreCache" json:"ignoreCache"`
}

type Identify3Assertion

type Identify3Assertion string

func (Identify3Assertion) DeepCopy

type Identify3Client

type Identify3Client struct {
	Cli rpc.GenericClient
}

func (Identify3Client) Identify3

func (c Identify3Client) Identify3(ctx context.Context, __arg Identify3Arg) (err error)

func (Identify3Client) Identify3FollowUser

func (c Identify3Client) Identify3FollowUser(ctx context.Context, __arg Identify3FollowUserArg) (err error)

func (Identify3Client) Identify3IgnoreUser

func (c Identify3Client) Identify3IgnoreUser(ctx context.Context, guiID Identify3GUIID) (err error)

type Identify3CommonClient

type Identify3CommonClient struct {
	Cli rpc.GenericClient
}

type Identify3CommonInterface

type Identify3CommonInterface interface {
}

type Identify3FollowUserArg

type Identify3FollowUserArg struct {
	GuiID  Identify3GUIID `codec:"guiID" json:"guiID"`
	Follow bool           `codec:"follow" json:"follow"`
}

type Identify3GUIID

type Identify3GUIID string

func (Identify3GUIID) DeepCopy

func (o Identify3GUIID) DeepCopy() Identify3GUIID

type Identify3IgnoreUserArg

type Identify3IgnoreUserArg struct {
	GuiID Identify3GUIID `codec:"guiID" json:"guiID"`
}

type Identify3Interface

type Identify3Interface interface {
	Identify3(context.Context, Identify3Arg) error
	Identify3FollowUser(context.Context, Identify3FollowUserArg) error
	Identify3IgnoreUser(context.Context, Identify3GUIID) error
}

type Identify3ResultArg

type Identify3ResultArg struct {
	GuiID  Identify3GUIID      `codec:"guiID" json:"guiID"`
	Result Identify3ResultType `codec:"result" json:"result"`
}

type Identify3ResultType

type Identify3ResultType int
const (
	Identify3ResultType_OK            Identify3ResultType = 0
	Identify3ResultType_BROKEN        Identify3ResultType = 1
	Identify3ResultType_NEEDS_UPGRADE Identify3ResultType = 2
	Identify3ResultType_CANCELED      Identify3ResultType = 3
)

func (Identify3ResultType) DeepCopy

func (Identify3ResultType) String

func (e Identify3ResultType) String() string

type Identify3Row

type Identify3Row struct {
	GuiID                Identify3GUIID     `codec:"guiID" json:"guiID"`
	Key                  string             `codec:"key" json:"key"`
	Value                string             `codec:"value" json:"value"`
	Priority             int                `codec:"priority" json:"priority"`
	SiteURL              string             `codec:"siteURL" json:"siteURL"`
	SiteIcon             []SizedImage       `codec:"siteIcon" json:"siteIcon"`
	SiteIconDarkmode     []SizedImage       `codec:"siteIconDarkmode" json:"siteIconDarkmode"`
	SiteIconFull         []SizedImage       `codec:"siteIconFull" json:"siteIconFull"`
	SiteIconFullDarkmode []SizedImage       `codec:"siteIconFullDarkmode" json:"siteIconFullDarkmode"`
	ProofURL             string             `codec:"proofURL" json:"proofURL"`
	SigID                SigID              `codec:"sigID" json:"sigID"`
	Ctime                Time               `codec:"ctime" json:"ctime"`
	State                Identify3RowState  `codec:"state" json:"state"`
	Metas                []Identify3RowMeta `codec:"metas" json:"metas"`
	Color                Identify3RowColor  `codec:"color" json:"color"`
	Kid                  *KID               `codec:"kid,omitempty" json:"kid,omitempty"`
	WotProof             *WotProof          `codec:"wotProof,omitempty" json:"wotProof,omitempty"`
}

func (Identify3Row) DeepCopy

func (o Identify3Row) DeepCopy() Identify3Row

type Identify3RowColor

type Identify3RowColor int
const (
	Identify3RowColor_BLUE   Identify3RowColor = 1
	Identify3RowColor_RED    Identify3RowColor = 2
	Identify3RowColor_BLACK  Identify3RowColor = 3
	Identify3RowColor_GREEN  Identify3RowColor = 4
	Identify3RowColor_GRAY   Identify3RowColor = 5
	Identify3RowColor_YELLOW Identify3RowColor = 6
	Identify3RowColor_ORANGE Identify3RowColor = 7
)

func (Identify3RowColor) DeepCopy

func (o Identify3RowColor) DeepCopy() Identify3RowColor

func (Identify3RowColor) String

func (e Identify3RowColor) String() string

type Identify3RowMeta

type Identify3RowMeta struct {
	Color Identify3RowColor `codec:"color" json:"color"`
	Label string            `codec:"label" json:"label"`
}

func (Identify3RowMeta) DeepCopy

func (o Identify3RowMeta) DeepCopy() Identify3RowMeta

type Identify3RowState

type Identify3RowState int
const (
	Identify3RowState_CHECKING Identify3RowState = 1
	Identify3RowState_VALID    Identify3RowState = 2
	Identify3RowState_ERROR    Identify3RowState = 3
	Identify3RowState_WARNING  Identify3RowState = 4
	Identify3RowState_REVOKED  Identify3RowState = 5
)

func (Identify3RowState) DeepCopy

func (o Identify3RowState) DeepCopy() Identify3RowState

func (Identify3RowState) String

func (e Identify3RowState) String() string

type Identify3ShowTrackerArg

type Identify3ShowTrackerArg struct {
	GuiID        Identify3GUIID     `codec:"guiID" json:"guiID"`
	Assertion    Identify3Assertion `codec:"assertion" json:"assertion"`
	Reason       IdentifyReason     `codec:"reason" json:"reason"`
	ForceDisplay bool               `codec:"forceDisplay" json:"forceDisplay"`
}

type Identify3Summary

type Identify3Summary struct {
	GuiID            Identify3GUIID `codec:"guiID" json:"guiID"`
	NumProofsToCheck int            `codec:"numProofsToCheck" json:"numProofsToCheck"`
}

func (Identify3Summary) DeepCopy

func (o Identify3Summary) DeepCopy() Identify3Summary

type Identify3SummaryArg

type Identify3SummaryArg struct {
	Summary Identify3Summary `codec:"summary" json:"summary"`
}

type Identify3TrackerTimedOutArg

type Identify3TrackerTimedOutArg struct {
	GuiID Identify3GUIID `codec:"guiID" json:"guiID"`
}

type Identify3UiClient

type Identify3UiClient struct {
	Cli rpc.GenericClient
}

func (Identify3UiClient) Identify3Result

func (c Identify3UiClient) Identify3Result(ctx context.Context, __arg Identify3ResultArg) (err error)

func (Identify3UiClient) Identify3ShowTracker

func (c Identify3UiClient) Identify3ShowTracker(ctx context.Context, __arg Identify3ShowTrackerArg) (err error)

func (Identify3UiClient) Identify3Summary

func (c Identify3UiClient) Identify3Summary(ctx context.Context, summary Identify3Summary) (err error)

func (Identify3UiClient) Identify3TrackerTimedOut

func (c Identify3UiClient) Identify3TrackerTimedOut(ctx context.Context, guiID Identify3GUIID) (err error)

func (Identify3UiClient) Identify3UpdateRow

func (c Identify3UiClient) Identify3UpdateRow(ctx context.Context, row Identify3Row) (err error)

func (Identify3UiClient) Identify3UpdateUserCard

func (c Identify3UiClient) Identify3UpdateUserCard(ctx context.Context, __arg Identify3UpdateUserCardArg) (err error)

func (Identify3UiClient) Identify3UserReset

func (c Identify3UiClient) Identify3UserReset(ctx context.Context, guiID Identify3GUIID) (err error)

type Identify3UiInterface

type Identify3UiInterface interface {
	Identify3ShowTracker(context.Context, Identify3ShowTrackerArg) error
	Identify3Summary(context.Context, Identify3Summary) error
	Identify3UpdateRow(context.Context, Identify3Row) error
	Identify3UserReset(context.Context, Identify3GUIID) error
	Identify3UpdateUserCard(context.Context, Identify3UpdateUserCardArg) error
	Identify3TrackerTimedOut(context.Context, Identify3GUIID) error
	Identify3Result(context.Context, Identify3ResultArg) error
}

type Identify3UpdateRowArg

type Identify3UpdateRowArg struct {
	Row Identify3Row `codec:"row" json:"row"`
}

type Identify3UpdateUserCardArg

type Identify3UpdateUserCardArg struct {
	GuiID Identify3GUIID `codec:"guiID" json:"guiID"`
	Card  UserCard       `codec:"card" json:"card"`
}

type Identify3UserResetArg

type Identify3UserResetArg struct {
	GuiID Identify3GUIID `codec:"guiID" json:"guiID"`
}

type IdentifyClient

type IdentifyClient struct {
	Cli rpc.GenericClient
}

func (IdentifyClient) Identify2

func (c IdentifyClient) Identify2(ctx context.Context, __arg Identify2Arg) (res Identify2Res, err error)

func (IdentifyClient) IdentifyLite

func (c IdentifyClient) IdentifyLite(ctx context.Context, __arg IdentifyLiteArg) (res IdentifyLiteRes, err error)

func (IdentifyClient) NormalizeSocialAssertion

func (c IdentifyClient) NormalizeSocialAssertion(ctx context.Context, assertion string) (res SocialAssertion, err error)

func (IdentifyClient) Resolve3

func (c IdentifyClient) Resolve3(ctx context.Context, __arg Resolve3Arg) (res UserOrTeamLite, err error)

Resolve an assertion to a (UID,username) or (TeamID,teamname). On failure, returns an error.

func (IdentifyClient) ResolveIdentifyImplicitTeam

func (c IdentifyClient) ResolveIdentifyImplicitTeam(ctx context.Context, __arg ResolveIdentifyImplicitTeamArg) (res ResolveIdentifyImplicitTeamRes, err error)

func (IdentifyClient) ResolveImplicitTeam

func (c IdentifyClient) ResolveImplicitTeam(ctx context.Context, __arg ResolveImplicitTeamArg) (res Folder, err error)

resolveImplicitTeam returns a TLF display name given a teamID. The publicness of the team is inferred from the TeamID.

type IdentifyCommonClient

type IdentifyCommonClient struct {
	Cli rpc.GenericClient
}

type IdentifyCommonInterface

type IdentifyCommonInterface interface {
}

type IdentifyInterface

type IdentifyInterface interface {
	// Resolve an assertion to a (UID,username) or (TeamID,teamname). On failure, returns an error.
	Resolve3(context.Context, Resolve3Arg) (UserOrTeamLite, error)
	Identify2(context.Context, Identify2Arg) (Identify2Res, error)
	IdentifyLite(context.Context, IdentifyLiteArg) (IdentifyLiteRes, error)
	ResolveIdentifyImplicitTeam(context.Context, ResolveIdentifyImplicitTeamArg) (ResolveIdentifyImplicitTeamRes, error)
	// resolveImplicitTeam returns a TLF display name given a teamID. The publicness
	// of the team is inferred from the TeamID.
	ResolveImplicitTeam(context.Context, ResolveImplicitTeamArg) (Folder, error)
	NormalizeSocialAssertion(context.Context, string) (SocialAssertion, error)
}

type IdentifyKey

type IdentifyKey struct {
	PGPFingerprint []byte     `codec:"pgpFingerprint" json:"pgpFingerprint"`
	KID            KID        `codec:"KID" json:"KID"`
	TrackDiff      *TrackDiff `codec:"trackDiff,omitempty" json:"trackDiff,omitempty"`
	BreaksTracking bool       `codec:"breaksTracking" json:"breaksTracking"`
	SigID          SigID      `codec:"sigID" json:"sigID"`
}

func (IdentifyKey) DeepCopy

func (o IdentifyKey) DeepCopy() IdentifyKey

type IdentifyLiteArg

type IdentifyLiteArg struct {
	SessionID             int                 `codec:"sessionID" json:"sessionID"`
	Id                    UserOrTeamID        `codec:"id" json:"id"`
	Assertion             string              `codec:"assertion" json:"assertion"`
	Reason                IdentifyReason      `codec:"reason" json:"reason"`
	UseDelegateUI         bool                `codec:"useDelegateUI" json:"useDelegateUI"`
	AlwaysBlock           bool                `codec:"alwaysBlock" json:"alwaysBlock"`
	NoErrorOnTrackFailure bool                `codec:"noErrorOnTrackFailure" json:"noErrorOnTrackFailure"`
	ForceRemoteCheck      bool                `codec:"forceRemoteCheck" json:"forceRemoteCheck"`
	NeedProofSet          bool                `codec:"needProofSet" json:"needProofSet"`
	AllowEmptySelfID      bool                `codec:"allowEmptySelfID" json:"allowEmptySelfID"`
	NoSkipSelf            bool                `codec:"noSkipSelf" json:"noSkipSelf"`
	CanSuppressUI         bool                `codec:"canSuppressUI" json:"canSuppressUI"`
	IdentifyBehavior      TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
	ForceDisplay          bool                `codec:"forceDisplay" json:"forceDisplay"`
	Oa                    OfflineAvailability `codec:"oa" json:"oa"`
}

type IdentifyLiteRes

type IdentifyLiteRes struct {
	Ul          UserOrTeamLite       `codec:"ul" json:"ul"`
	TrackBreaks *IdentifyTrackBreaks `codec:"trackBreaks,omitempty" json:"trackBreaks,omitempty"`
}

func (IdentifyLiteRes) DeepCopy

func (o IdentifyLiteRes) DeepCopy() IdentifyLiteRes

type IdentifyOutcome

type IdentifyOutcome struct {
	Username          string         `codec:"username" json:"username"`
	Status            *Status        `codec:"status,omitempty" json:"status,omitempty"`
	Warnings          []string       `codec:"warnings" json:"warnings"`
	TrackUsed         *TrackSummary  `codec:"trackUsed,omitempty" json:"trackUsed,omitempty"`
	TrackStatus       TrackStatus    `codec:"trackStatus" json:"trackStatus"`
	NumTrackFailures  int            `codec:"numTrackFailures" json:"numTrackFailures"`
	NumTrackChanges   int            `codec:"numTrackChanges" json:"numTrackChanges"`
	NumProofFailures  int            `codec:"numProofFailures" json:"numProofFailures"`
	NumRevoked        int            `codec:"numRevoked" json:"numRevoked"`
	NumProofSuccesses int            `codec:"numProofSuccesses" json:"numProofSuccesses"`
	Revoked           []TrackDiff    `codec:"revoked" json:"revoked"`
	TrackOptions      TrackOptions   `codec:"trackOptions" json:"trackOptions"`
	ForPGPPull        bool           `codec:"forPGPPull" json:"forPGPPull"`
	Reason            IdentifyReason `codec:"reason" json:"reason"`
}

func (IdentifyOutcome) DeepCopy

func (o IdentifyOutcome) DeepCopy() IdentifyOutcome

type IdentifyProofBreak

type IdentifyProofBreak struct {
	RemoteProof RemoteProof     `codec:"remoteProof" json:"remoteProof"`
	Lcr         LinkCheckResult `codec:"lcr" json:"lcr"`
}

func (IdentifyProofBreak) DeepCopy

type IdentifyReason

type IdentifyReason struct {
	Type     IdentifyReasonType `codec:"type" json:"type"`
	Reason   string             `codec:"reason" json:"reason"`
	Resource string             `codec:"resource" json:"resource"`
}

func (IdentifyReason) DeepCopy

func (o IdentifyReason) DeepCopy() IdentifyReason

type IdentifyReasonType

type IdentifyReasonType int
const (
	IdentifyReasonType_NONE       IdentifyReasonType = 0
	IdentifyReasonType_ID         IdentifyReasonType = 1
	IdentifyReasonType_TRACK      IdentifyReasonType = 2
	IdentifyReasonType_ENCRYPT    IdentifyReasonType = 3
	IdentifyReasonType_DECRYPT    IdentifyReasonType = 4
	IdentifyReasonType_VERIFY     IdentifyReasonType = 5
	IdentifyReasonType_RESOURCE   IdentifyReasonType = 6
	IdentifyReasonType_BACKGROUND IdentifyReasonType = 7
)

func (IdentifyReasonType) DeepCopy

func (IdentifyReasonType) String

func (e IdentifyReasonType) String() string

type IdentifyRow

type IdentifyRow struct {
	RowId     int         `codec:"rowId" json:"rowId"`
	Proof     RemoteProof `codec:"proof" json:"proof"`
	TrackDiff *TrackDiff  `codec:"trackDiff,omitempty" json:"trackDiff,omitempty"`
}

func (IdentifyRow) DeepCopy

func (o IdentifyRow) DeepCopy() IdentifyRow

type IdentifyTrackBreaks

type IdentifyTrackBreaks struct {
	Keys   []IdentifyKey        `codec:"keys" json:"keys"`
	Proofs []IdentifyProofBreak `codec:"proofs" json:"proofs"`
}

func (IdentifyTrackBreaks) DeepCopy

type IdentifyUiClient

type IdentifyUiClient struct {
	Cli rpc.GenericClient
}

func (IdentifyUiClient) Cancel

func (c IdentifyUiClient) Cancel(ctx context.Context, sessionID int) (err error)

func (IdentifyUiClient) Confirm

func (c IdentifyUiClient) Confirm(ctx context.Context, __arg ConfirmArg) (res ConfirmResult, err error)

func (IdentifyUiClient) DelegateIdentifyUI

func (c IdentifyUiClient) DelegateIdentifyUI(ctx context.Context) (res int, err error)

func (IdentifyUiClient) Dismiss

func (c IdentifyUiClient) Dismiss(ctx context.Context, __arg DismissArg) (err error)

func (IdentifyUiClient) DisplayCryptocurrency

func (c IdentifyUiClient) DisplayCryptocurrency(ctx context.Context, __arg DisplayCryptocurrencyArg) (err error)

func (IdentifyUiClient) DisplayKey

func (c IdentifyUiClient) DisplayKey(ctx context.Context, __arg DisplayKeyArg) (err error)

func (IdentifyUiClient) DisplayStellarAccount

func (c IdentifyUiClient) DisplayStellarAccount(ctx context.Context, __arg DisplayStellarAccountArg) (err error)

func (IdentifyUiClient) DisplayTLFCreateWithInvite

func (c IdentifyUiClient) DisplayTLFCreateWithInvite(ctx context.Context, __arg DisplayTLFCreateWithInviteArg) (err error)

func (IdentifyUiClient) DisplayTrackStatement

func (c IdentifyUiClient) DisplayTrackStatement(ctx context.Context, __arg DisplayTrackStatementArg) (err error)

func (IdentifyUiClient) DisplayUserCard

func (c IdentifyUiClient) DisplayUserCard(ctx context.Context, __arg DisplayUserCardArg) (err error)

func (IdentifyUiClient) Finish

func (c IdentifyUiClient) Finish(ctx context.Context, sessionID int) (err error)

func (IdentifyUiClient) FinishSocialProofCheck

func (c IdentifyUiClient) FinishSocialProofCheck(ctx context.Context, __arg FinishSocialProofCheckArg) (err error)

func (IdentifyUiClient) FinishWebProofCheck

func (c IdentifyUiClient) FinishWebProofCheck(ctx context.Context, __arg FinishWebProofCheckArg) (err error)

func (IdentifyUiClient) LaunchNetworkChecks

func (c IdentifyUiClient) LaunchNetworkChecks(ctx context.Context, __arg LaunchNetworkChecksArg) (err error)

func (IdentifyUiClient) ReportLastTrack

func (c IdentifyUiClient) ReportLastTrack(ctx context.Context, __arg ReportLastTrackArg) (err error)

func (IdentifyUiClient) ReportTrackToken

func (c IdentifyUiClient) ReportTrackToken(ctx context.Context, __arg ReportTrackTokenArg) (err error)

func (IdentifyUiClient) Start

func (c IdentifyUiClient) Start(ctx context.Context, __arg StartArg) (err error)

type IdentifyUiInterface

type IdentifyUiInterface interface {
	DisplayTLFCreateWithInvite(context.Context, DisplayTLFCreateWithInviteArg) error
	DelegateIdentifyUI(context.Context) (int, error)
	Start(context.Context, StartArg) error
	DisplayKey(context.Context, DisplayKeyArg) error
	ReportLastTrack(context.Context, ReportLastTrackArg) error
	LaunchNetworkChecks(context.Context, LaunchNetworkChecksArg) error
	DisplayTrackStatement(context.Context, DisplayTrackStatementArg) error
	FinishWebProofCheck(context.Context, FinishWebProofCheckArg) error
	FinishSocialProofCheck(context.Context, FinishSocialProofCheckArg) error
	DisplayCryptocurrency(context.Context, DisplayCryptocurrencyArg) error
	DisplayStellarAccount(context.Context, DisplayStellarAccountArg) error
	ReportTrackToken(context.Context, ReportTrackTokenArg) error
	DisplayUserCard(context.Context, DisplayUserCardArg) error
	Confirm(context.Context, ConfirmArg) (ConfirmResult, error)
	Cancel(context.Context, int) error
	Finish(context.Context, int) error
	Dismiss(context.Context, DismissArg) error
}

type IdentifyUpdateArg

type IdentifyUpdateArg struct {
	OkUsernames     []string `codec:"okUsernames" json:"okUsernames"`
	BrokenUsernames []string `codec:"brokenUsernames" json:"brokenUsernames"`
}

type Identity

type Identity struct {
	Status          *Status          `codec:"status,omitempty" json:"status,omitempty"`
	WhenLastTracked Time             `codec:"whenLastTracked" json:"whenLastTracked"`
	Proofs          []IdentifyRow    `codec:"proofs" json:"proofs"`
	Cryptocurrency  []Cryptocurrency `codec:"cryptocurrency" json:"cryptocurrency"`
	Revoked         []TrackDiff      `codec:"revoked" json:"revoked"`
	RevokedDetails  []RevokedProof   `codec:"revokedDetails" json:"revokedDetails"`
	BreaksTracking  bool             `codec:"breaksTracking" json:"breaksTracking"`
}

func (Identity) DeepCopy

func (o Identity) DeepCopy() Identity

type IdentityVisibility

type IdentityVisibility int
const (
	IdentityVisibility_PRIVATE IdentityVisibility = 0
	IdentityVisibility_PUBLIC  IdentityVisibility = 1
)

func (IdentityVisibility) DeepCopy

func (IdentityVisibility) String

func (e IdentityVisibility) String() string

type ImageCropRect

type ImageCropRect struct {
	X0 int `codec:"x0" json:"x0"`
	Y0 int `codec:"y0" json:"y0"`
	X1 int `codec:"x1" json:"x1"`
	Y1 int `codec:"y1" json:"y1"`
}

func (ImageCropRect) DeepCopy

func (o ImageCropRect) DeepCopy() ImageCropRect

type ImpTofuSearchResult

type ImpTofuSearchResult struct {
	Assertion       string `codec:"assertion" json:"assertion"`
	AssertionValue  string `codec:"assertionValue" json:"assertionValue"`
	AssertionKey    string `codec:"assertionKey" json:"assertionKey"`
	Label           string `codec:"label" json:"label"`
	PrettyName      string `codec:"prettyName" json:"prettyName"`
	KeybaseUsername string `codec:"keybaseUsername" json:"keybaseUsername"`
}

func (ImpTofuSearchResult) DeepCopy

type ImplicitRole

type ImplicitRole struct {
	Role     TeamRole `codec:"role" json:"role"`
	Ancestor TeamID   `codec:"ancestor" json:"ancestor"`
}

func (ImplicitRole) DeepCopy

func (o ImplicitRole) DeepCopy() ImplicitRole

type ImplicitTeamConflictInfo

type ImplicitTeamConflictInfo struct {
	Generation ConflictGeneration `codec:"generation" json:"generation"`
	Time       Time               `codec:"time" json:"time"`
}

func (ImplicitTeamConflictInfo) DeepCopy

func (*ImplicitTeamConflictInfo) IsConflict

func (c *ImplicitTeamConflictInfo) IsConflict() bool

type ImplicitTeamDisplayName

type ImplicitTeamDisplayName struct {
	IsPublic     bool                      `codec:"isPublic" json:"isPublic"`
	Writers      ImplicitTeamUserSet       `codec:"writers" json:"writers"`
	Readers      ImplicitTeamUserSet       `codec:"readers" json:"readers"`
	ConflictInfo *ImplicitTeamConflictInfo `codec:"conflictInfo,omitempty" json:"conflictInfo,omitempty"`
}

* iTeams

func (ImplicitTeamDisplayName) DeepCopy

func (ImplicitTeamDisplayName) String

func (n ImplicitTeamDisplayName) String() string

type ImplicitTeamMigrationClient

type ImplicitTeamMigrationClient struct {
	Cli rpc.GenericClient
}

func (ImplicitTeamMigrationClient) FinalizeMigration

func (c ImplicitTeamMigrationClient) FinalizeMigration(ctx context.Context, folder Folder) (err error)

func (ImplicitTeamMigrationClient) StartMigration

func (c ImplicitTeamMigrationClient) StartMigration(ctx context.Context, folder Folder) (err error)

type ImplicitTeamMigrationInterface

type ImplicitTeamMigrationInterface interface {
	StartMigration(context.Context, Folder) error
	FinalizeMigration(context.Context, Folder) error
}

type ImplicitTeamUserSet

type ImplicitTeamUserSet struct {
	KeybaseUsers    []string          `codec:"keybaseUsers" json:"keybaseUsers"`
	UnresolvedUsers []SocialAssertion `codec:"unresolvedUsers" json:"unresolvedUsers"`
}

func (ImplicitTeamUserSet) DeepCopy

func (ImplicitTeamUserSet) List

func (i ImplicitTeamUserSet) List() string

func (ImplicitTeamUserSet) NumTotalUsers

func (i ImplicitTeamUserSet) NumTotalUsers() int

type IncomingShareClient

type IncomingShareClient struct {
	Cli rpc.GenericClient
}

func (IncomingShareClient) GetIncomingShareItems

func (c IncomingShareClient) GetIncomingShareItems(ctx context.Context) (res []IncomingShareItem, err error)

func (IncomingShareClient) GetPreference

func (c IncomingShareClient) GetPreference(ctx context.Context) (res IncomingSharePreference, err error)

func (IncomingShareClient) SetPreference

func (c IncomingShareClient) SetPreference(ctx context.Context, preference IncomingSharePreference) (err error)

type IncomingShareCompressPreference

type IncomingShareCompressPreference int
const (
	IncomingShareCompressPreference_ORIGINAL   IncomingShareCompressPreference = 0
	IncomingShareCompressPreference_COMPRESSED IncomingShareCompressPreference = 1
)

func (IncomingShareCompressPreference) DeepCopy

func (IncomingShareCompressPreference) String

type IncomingShareInterface

type IncomingShareInterface interface {
	GetIncomingShareItems(context.Context) ([]IncomingShareItem, error)
	GetPreference(context.Context) (IncomingSharePreference, error)
	SetPreference(context.Context, IncomingSharePreference) error
}

type IncomingShareItem

type IncomingShareItem struct {
	Type          IncomingShareType `codec:"type" json:"type"`
	OriginalPath  *string           `codec:"originalPath,omitempty" json:"originalPath,omitempty"`
	OriginalSize  *int              `codec:"originalSize,omitempty" json:"originalSize,omitempty"`
	ScaledPath    *string           `codec:"scaledPath,omitempty" json:"scaledPath,omitempty"`
	ScaledSize    *int              `codec:"scaledSize,omitempty" json:"scaledSize,omitempty"`
	ThumbnailPath *string           `codec:"thumbnailPath,omitempty" json:"thumbnailPath,omitempty"`
	Content       *string           `codec:"content,omitempty" json:"content,omitempty"`
}

func (IncomingShareItem) DeepCopy

func (o IncomingShareItem) DeepCopy() IncomingShareItem

type IncomingSharePreference

type IncomingSharePreference struct {
	CompressPreference IncomingShareCompressPreference `codec:"compressPreference" json:"compressPreference"`
}

func (IncomingSharePreference) DeepCopy

type IncomingShareType

type IncomingShareType int
const (
	IncomingShareType_FILE  IncomingShareType = 0
	IncomingShareType_TEXT  IncomingShareType = 1
	IncomingShareType_IMAGE IncomingShareType = 2
	IncomingShareType_VIDEO IncomingShareType = 3
)

func (IncomingShareType) DeepCopy

func (o IncomingShareType) DeepCopy() IncomingShareType

func (IncomingShareType) String

func (e IncomingShareType) String() string

type IncrementArg

type IncrementArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
	Val       int `codec:"val" json:"val"`
}

type IndexProgressRecord

type IndexProgressRecord struct {
	EndEstimate Time  `codec:"endEstimate" json:"endEstimate"`
	BytesTotal  int64 `codec:"bytesTotal" json:"bytesTotal"`
	BytesSoFar  int64 `codec:"bytesSoFar" json:"bytesSoFar"`
}

func (IndexProgressRecord) DeepCopy

type InjectItemArg

type InjectItemArg struct {
	Cat   string               `codec:"cat" json:"cat"`
	Body  string               `codec:"body" json:"body"`
	Dtime gregor1.TimeOrOffset `codec:"dtime" json:"dtime"`
}

type InstallAction

type InstallAction int
const (
	InstallAction_UNKNOWN   InstallAction = 0
	InstallAction_NONE      InstallAction = 1
	InstallAction_UPGRADE   InstallAction = 2
	InstallAction_REINSTALL InstallAction = 3
	InstallAction_INSTALL   InstallAction = 4
)

func (InstallAction) DeepCopy

func (o InstallAction) DeepCopy() InstallAction

func (InstallAction) String

func (s InstallAction) String() string

type InstallClient

type InstallClient struct {
	Cli rpc.GenericClient
}

func (InstallClient) FuseStatus

func (c InstallClient) FuseStatus(ctx context.Context, __arg FuseStatusArg) (res FuseStatus, err error)

func (InstallClient) InstallCommandLinePrivileged

func (c InstallClient) InstallCommandLinePrivileged(ctx context.Context) (res InstallResult, err error)

func (InstallClient) InstallFuse

func (c InstallClient) InstallFuse(ctx context.Context) (res InstallResult, err error)

func (InstallClient) InstallKBFS

func (c InstallClient) InstallKBFS(ctx context.Context) (res InstallResult, err error)

func (InstallClient) UninstallKBFS

func (c InstallClient) UninstallKBFS(ctx context.Context) (res UninstallResult, err error)

type InstallCommandLinePrivilegedArg

type InstallCommandLinePrivilegedArg struct {
}

type InstallFuseArg

type InstallFuseArg struct {
}

type InstallInterface

type InstallInterface interface {
	FuseStatus(context.Context, FuseStatusArg) (FuseStatus, error)
	InstallFuse(context.Context) (InstallResult, error)
	InstallKBFS(context.Context) (InstallResult, error)
	UninstallKBFS(context.Context) (UninstallResult, error)
	InstallCommandLinePrivileged(context.Context) (InstallResult, error)
}

type InstallKBFSArg

type InstallKBFSArg struct {
}

type InstallResult

type InstallResult struct {
	ComponentResults []ComponentResult `codec:"componentResults" json:"componentResults"`
	Status           Status            `codec:"status" json:"status"`
	Fatal            bool              `codec:"fatal" json:"fatal"`
}

func (InstallResult) DeepCopy

func (o InstallResult) DeepCopy() InstallResult

type InstallStatus

type InstallStatus int

Install status describes state of install for a component or service.

const (
	InstallStatus_UNKNOWN       InstallStatus = 0
	InstallStatus_ERROR         InstallStatus = 1
	InstallStatus_NOT_INSTALLED InstallStatus = 2
	InstallStatus_INSTALLED     InstallStatus = 4
)

func (InstallStatus) DeepCopy

func (o InstallStatus) DeepCopy() InstallStatus

func (InstallStatus) String

func (s InstallStatus) String() string

type InstrumentationStat

type InstrumentationStat struct {
	Tag       string       `codec:"t" json:"tag"`
	NumCalls  int          `codec:"n" json:"numCalls"`
	Ctime     Time         `codec:"c" json:"ctime"`
	Mtime     Time         `codec:"m" json:"mtime"`
	AvgDur    DurationMsec `codec:"ad" json:"avgDur"`
	MaxDur    DurationMsec `codec:"xd" json:"maxDur"`
	MinDur    DurationMsec `codec:"nd" json:"minDur"`
	TotalDur  DurationMsec `codec:"td" json:"totalDur"`
	AvgSize   int64        `codec:"as" json:"avgSize"`
	MaxSize   int64        `codec:"xs" json:"maxSize"`
	MinSize   int64        `codec:"ns" json:"minSize"`
	TotalSize int64        `codec:"ts" json:"totalSize"`
}

func (InstrumentationStat) AppendStat

func (InstrumentationStat) DeepCopy

type InterestingPeopleArg

type InterestingPeopleArg struct {
	MaxUsers  int    `codec:"maxUsers" json:"maxUsers"`
	Namespace string `codec:"namespace" json:"namespace"`
}

type InterestingPerson

type InterestingPerson struct {
	Uid        UID               `codec:"uid" json:"uid"`
	Username   string            `codec:"username" json:"username"`
	Fullname   string            `codec:"fullname" json:"fullname"`
	ServiceMap map[string]string `codec:"serviceMap" json:"serviceMap"`
}

func (InterestingPerson) DeepCopy

func (o InterestingPerson) DeepCopy() InterestingPerson

type InviteCounts

type InviteCounts struct {
	InviteCount      int     `codec:"inviteCount" json:"inviteCount"`
	PercentageChange float64 `codec:"percentageChange" json:"percentageChange"`
	ShowNumInvites   bool    `codec:"showNumInvites" json:"showNumInvites"`
	ShowFire         bool    `codec:"showFire" json:"showFire"`
	TooltipMarkdown  string  `codec:"tooltipMarkdown" json:"tooltipMarkdown"`
}

func (InviteCounts) DeepCopy

func (o InviteCounts) DeepCopy() InviteCounts

type InviteFriendsClient

type InviteFriendsClient struct {
	Cli rpc.GenericClient
}

func (InviteFriendsClient) GetInviteCounts

func (c InviteFriendsClient) GetInviteCounts(ctx context.Context) (res InviteCounts, err error)

func (InviteFriendsClient) InvitePeople

func (c InviteFriendsClient) InvitePeople(ctx context.Context, __arg InvitePeopleArg) (res int, err error)

func (InviteFriendsClient) RequestInviteCounts

func (c InviteFriendsClient) RequestInviteCounts(ctx context.Context) (err error)

type InviteFriendsInterface

type InviteFriendsInterface interface {
	InvitePeople(context.Context, InvitePeopleArg) (int, error)
	GetInviteCounts(context.Context) (InviteCounts, error)
	RequestInviteCounts(context.Context) error
}

type InviteLinkDetails

type InviteLinkDetails struct {
	InviteID          TeamInviteID               `codec:"inviteID" json:"inviteID"`
	InviterResetOrDel bool                       `codec:"inviterResetOrDel" json:"inviterResetOrDel"`
	InviterUID        UID                        `codec:"inviterUID" json:"inviterUID"`
	InviterUsername   string                     `codec:"inviterUsername" json:"inviterUsername"`
	IsMember          bool                       `codec:"isMember" json:"isMember"`
	TeamAvatars       map[AvatarFormat]AvatarUrl `codec:"teamAvatars" json:"teamAvatars"`
	TeamDesc          string                     `codec:"teamDesc" json:"teamDesc"`
	TeamID            TeamID                     `codec:"teamID" json:"teamID"`
	TeamIsOpen        bool                       `codec:"teamIsOpen" json:"teamIsOpen"`
	TeamName          TeamName                   `codec:"teamName" json:"teamName"`
	TeamNumMembers    int                        `codec:"teamNumMembers" json:"teamNumMembers"`
}

func (InviteLinkDetails) DeepCopy

func (o InviteLinkDetails) DeepCopy() InviteLinkDetails

type InvitePeopleArg

type InvitePeopleArg struct {
	Emails EmailInvites  `codec:"emails" json:"emails"`
	Phones []PhoneNumber `codec:"phones" json:"phones"`
}

type InviteRequestArg

type InviteRequestArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Email     string `codec:"email" json:"email"`
	Fullname  string `codec:"fullname" json:"fullname"`
	Notes     string `codec:"notes" json:"notes"`
}

type InviteTeamMemberToRemove

type InviteTeamMemberToRemove struct {
	InviteID TeamInviteID `codec:"inviteID" json:"inviteID"`
}

func (InviteTeamMemberToRemove) DeepCopy

type Invitelink struct {
	Ikey SeitanIKeyInvitelink `codec:"ikey" json:"ikey"`
	Url  string               `codec:"url" json:"url"`
}

func (Invitelink) DeepCopy

func (o Invitelink) DeepCopy() Invitelink

type InvitelinkInviteExt

type InvitelinkInviteExt struct {
	AnnotatedUsedInvites []AnnotatedTeamUsedInviteLogPoint `codec:"annotatedUsedInvites" json:"annotatedUsedInvites"`
}

func (InvitelinkInviteExt) DeepCopy

type IsInJailArg

type IsInJailArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamID    TeamID `codec:"teamID" json:"teamID"`
}

type IsKBFSRunningArg

type IsKBFSRunningArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type IsOnlineArg

type IsOnlineArg struct {
}

type IsServiceRunningArg

type IsServiceRunningArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type KBFSArchivedParam

type KBFSArchivedParam struct {
	KBFSArchivedType__ KBFSArchivedType `codec:"KBFSArchivedType" json:"KBFSArchivedType"`
	Revision__         *KBFSRevision    `codec:"revision,omitempty" json:"revision,omitempty"`
	Time__             *Time            `codec:"time,omitempty" json:"time,omitempty"`
	TimeString__       *string          `codec:"timeString,omitempty" json:"timeString,omitempty"`
	RelTimeString__    *string          `codec:"relTimeString,omitempty" json:"relTimeString,omitempty"`
}

func NewKBFSArchivedParamWithRelTimeString

func NewKBFSArchivedParamWithRelTimeString(v string) KBFSArchivedParam

func NewKBFSArchivedParamWithRevision

func NewKBFSArchivedParamWithRevision(v KBFSRevision) KBFSArchivedParam

func NewKBFSArchivedParamWithTime

func NewKBFSArchivedParamWithTime(v Time) KBFSArchivedParam

func NewKBFSArchivedParamWithTimeString

func NewKBFSArchivedParamWithTimeString(v string) KBFSArchivedParam

func (KBFSArchivedParam) DeepCopy

func (o KBFSArchivedParam) DeepCopy() KBFSArchivedParam

func (*KBFSArchivedParam) KBFSArchivedType

func (o *KBFSArchivedParam) KBFSArchivedType() (ret KBFSArchivedType, err error)

func (KBFSArchivedParam) RelTimeString

func (o KBFSArchivedParam) RelTimeString() (res string)

func (KBFSArchivedParam) Revision

func (o KBFSArchivedParam) Revision() (res KBFSRevision)

func (KBFSArchivedParam) Time

func (o KBFSArchivedParam) Time() (res Time)

func (KBFSArchivedParam) TimeString

func (o KBFSArchivedParam) TimeString() (res string)

type KBFSArchivedPath

type KBFSArchivedPath struct {
	Path             string               `codec:"path" json:"path"`
	ArchivedParam    KBFSArchivedParam    `codec:"archivedParam" json:"archivedParam"`
	IdentifyBehavior *TLFIdentifyBehavior `codec:"identifyBehavior,omitempty" json:"identifyBehavior,omitempty"`
}

func (KBFSArchivedPath) DeepCopy

func (o KBFSArchivedPath) DeepCopy() KBFSArchivedPath

type KBFSArchivedType

type KBFSArchivedType int
const (
	KBFSArchivedType_REVISION        KBFSArchivedType = 0
	KBFSArchivedType_TIME            KBFSArchivedType = 1
	KBFSArchivedType_TIME_STRING     KBFSArchivedType = 2
	KBFSArchivedType_REL_TIME_STRING KBFSArchivedType = 3
)

func (KBFSArchivedType) DeepCopy

func (o KBFSArchivedType) DeepCopy() KBFSArchivedType

func (KBFSArchivedType) String

func (e KBFSArchivedType) String() string

type KBFSGitClient

type KBFSGitClient struct {
	Cli rpc.GenericClient
}

func (KBFSGitClient) CreateRepo

func (c KBFSGitClient) CreateRepo(ctx context.Context, __arg CreateRepoArg) (res RepoID, err error)

* createRepo creates a bare empty repo on KBFS under the given name in the given TLF. * It returns the ID of the repo created.

func (KBFSGitClient) DeleteRepo

func (c KBFSGitClient) DeleteRepo(ctx context.Context, __arg DeleteRepoArg) (err error)

* deleteRepo deletes repo on KBFS under the given name in the given TLF.

func (KBFSGitClient) Gc

func (c KBFSGitClient) Gc(ctx context.Context, __arg GcArg) (err error)

* gc runs garbage collection on the given repo, using the given options to * see whether anything needs to be done.

type KBFSGitInterface

type KBFSGitInterface interface {
	// * createRepo creates a bare empty repo on KBFS under the given name in the given TLF.
	// * It returns the ID of the repo created.
	CreateRepo(context.Context, CreateRepoArg) (RepoID, error)
	// * deleteRepo deletes repo on KBFS under the given name in the given TLF.
	DeleteRepo(context.Context, DeleteRepoArg) error
	// * gc runs garbage collection on the given repo, using the given options to
	// * see whether anything needs to be done.
	Gc(context.Context, GcArg) error
}

type KBFSPath

type KBFSPath struct {
	Path             string               `codec:"path" json:"path"`
	IdentifyBehavior *TLFIdentifyBehavior `codec:"identifyBehavior,omitempty" json:"identifyBehavior,omitempty"`
}

func (KBFSPath) DeepCopy

func (o KBFSPath) DeepCopy() KBFSPath

type KBFSPathInfo

type KBFSPathInfo struct {
	StandardPath           string `codec:"standardPath" json:"standardPath"`
	DeeplinkPath           string `codec:"deeplinkPath" json:"deeplinkPath"`
	PlatformAfterMountPath string `codec:"platformAfterMountPath" json:"platformAfterMountPath"`
}

func (KBFSPathInfo) DeepCopy

func (o KBFSPathInfo) DeepCopy() KBFSPathInfo

type KBFSRevision

type KBFSRevision int64

func (KBFSRevision) DeepCopy

func (o KBFSRevision) DeepCopy() KBFSRevision

type KBFSRoot

type KBFSRoot struct {
	TreeID MerkleTreeID `codec:"treeID" json:"treeID"`
	Root   KBFSRootHash `codec:"root" json:"root"`
}

func (KBFSRoot) DeepCopy

func (o KBFSRoot) DeepCopy() KBFSRoot

type KBFSRootHash

type KBFSRootHash []byte

func KBFSRootHashFromString

func KBFSRootHashFromString(s string) (ret KBFSRootHash, err error)

func (KBFSRootHash) DeepCopy

func (o KBFSRootHash) DeepCopy() KBFSRootHash

func (KBFSRootHash) Eq

func (h KBFSRootHash) Eq(h2 KBFSRootHash) bool

func (KBFSRootHash) String

func (h KBFSRootHash) String() string

func (*KBFSRootHash) UnmarshalJSON

func (h *KBFSRootHash) UnmarshalJSON(b []byte) error

type KBFSStatus

type KBFSStatus struct {
	Version          string `codec:"version" json:"version"`
	InstalledVersion string `codec:"installedVersion" json:"installedVersion"`
	Running          bool   `codec:"running" json:"running"`
	Pid              string `codec:"pid" json:"pid"`
	Log              string `codec:"log" json:"log"`
	PerfLog          string `codec:"perfLog" json:"perfLog"`
	Mount            string `codec:"mount" json:"mount"`
}

func (KBFSStatus) DeepCopy

func (o KBFSStatus) DeepCopy() KBFSStatus

type KBFSTeamSettings

type KBFSTeamSettings struct {
	TlfID TLFID `codec:"tlfID" json:"tlfID"`
}

func (KBFSTeamSettings) DeepCopy

func (o KBFSTeamSettings) DeepCopy() KBFSTeamSettings

type KID

type KID string

func KIDFromRawKey

func KIDFromRawKey(b []byte, keyType byte) KID

func KIDFromSlice

func KIDFromSlice(b []byte) KID

func KIDFromString

func KIDFromString(s string) KID

func KIDFromStringChecked

func KIDFromStringChecked(s string) (KID, error)

func (KID) DeepCopy

func (o KID) DeepCopy() KID

func (KID) Equal

func (k KID) Equal(v KID) bool

func (KID) Exists

func (k KID) Exists() bool

func (KID) GetKeyType

func (k KID) GetKeyType() byte

func (KID) IsIn

func (k KID) IsIn(list []KID) bool

func (KID) IsNil

func (k KID) IsNil() bool

func (KID) IsValid

func (k KID) IsValid() bool

func (*KID) MarshalJSON

func (k *KID) MarshalJSON() ([]byte, error)

func (KID) Match

func (k KID) Match(q string, exact bool) bool

func (KID) NotEqual

func (k KID) NotEqual(v KID) bool

func (KID) SecureEqual

func (k KID) SecureEqual(v KID) bool

func (*KID) Size

func (k *KID) Size() int

Size implements the keybase/kbfs/cache.Measurable interface.

func (KID) String

func (k KID) String() string

func (KID) ToBinaryKID

func (k KID) ToBinaryKID() BinaryKID

func (KID) ToBytes

func (k KID) ToBytes() []byte

func (KID) ToJsonw

func (k KID) ToJsonw() *jsonw.Wrapper

func (KID) ToShortIDString

func (k KID) ToShortIDString() string

func (*KID) UnmarshalJSON

func (k *KID) UnmarshalJSON(b []byte) error

type KVDeleteEntryResult

type KVDeleteEntryResult struct {
	TeamName  string `codec:"teamName" json:"teamName"`
	Namespace string `codec:"namespace" json:"namespace"`
	EntryKey  string `codec:"entryKey" json:"entryKey"`
	Revision  int    `codec:"revision" json:"revision"`
}

func (KVDeleteEntryResult) DeepCopy

type KVEntryID

type KVEntryID struct {
	TeamID    TeamID `codec:"teamID" json:"teamID"`
	Namespace string `codec:"namespace" json:"namespace"`
	EntryKey  string `codec:"entryKey" json:"entryKey"`
}

func (KVEntryID) DeepCopy

func (o KVEntryID) DeepCopy() KVEntryID

type KVGetResult

type KVGetResult struct {
	TeamName   string  `codec:"teamName" json:"teamName"`
	Namespace  string  `codec:"namespace" json:"namespace"`
	EntryKey   string  `codec:"entryKey" json:"entryKey"`
	EntryValue *string `codec:"entryValue" json:"entryValue"`
	Revision   int     `codec:"revision" json:"revision"`
}

func (KVGetResult) DeepCopy

func (o KVGetResult) DeepCopy() KVGetResult

type KVListEntryKey

type KVListEntryKey struct {
	EntryKey string `codec:"entryKey" json:"entryKey"`
	Revision int    `codec:"revision" json:"revision"`
}

func (KVListEntryKey) DeepCopy

func (o KVListEntryKey) DeepCopy() KVListEntryKey

type KVListEntryResult

type KVListEntryResult struct {
	TeamName  string           `codec:"teamName" json:"teamName"`
	Namespace string           `codec:"namespace" json:"namespace"`
	EntryKeys []KVListEntryKey `codec:"entryKeys" json:"entryKeys"`
}

func (KVListEntryResult) DeepCopy

func (o KVListEntryResult) DeepCopy() KVListEntryResult

type KVListNamespaceResult

type KVListNamespaceResult struct {
	TeamName   string   `codec:"teamName" json:"teamName"`
	Namespaces []string `codec:"namespaces" json:"namespaces"`
}

func (KVListNamespaceResult) DeepCopy

type KVPutResult

type KVPutResult struct {
	TeamName  string `codec:"teamName" json:"teamName"`
	Namespace string `codec:"namespace" json:"namespace"`
	EntryKey  string `codec:"entryKey" json:"entryKey"`
	Revision  int    `codec:"revision" json:"revision"`
}

func (KVPutResult) DeepCopy

func (o KVPutResult) DeepCopy() KVPutResult

type KbClientStatus

type KbClientStatus struct {
	Version string `codec:"version" json:"version"`
}

func (KbClientStatus) DeepCopy

func (o KbClientStatus) DeepCopy() KbClientStatus

type KbServiceStatus

type KbServiceStatus struct {
	Version string `codec:"version" json:"version"`
	Running bool   `codec:"running" json:"running"`
	Pid     string `codec:"pid" json:"pid"`
	Log     string `codec:"log" json:"log"`
	EkLog   string `codec:"ekLog" json:"ekLog"`
	PerfLog string `codec:"perfLog" json:"perfLog"`
}

func (KbServiceStatus) DeepCopy

func (o KbServiceStatus) DeepCopy() KbServiceStatus

type KbfsClient

type KbfsClient struct {
	Cli rpc.GenericClient
}

func (KbfsClient) CreateTLF

func (c KbfsClient) CreateTLF(ctx context.Context, __arg CreateTLFArg) (err error)

createTLF is called by KBFS to associate the tlfID with the given teamID, using the v2 Team-based system.

func (KbfsClient) DecryptFavorites

func (c KbfsClient) DecryptFavorites(ctx context.Context, dataToEncrypt []byte) (res []byte, err error)

Decrypt cached favorites stored on disk.

func (KbfsClient) EncryptFavorites

func (c KbfsClient) EncryptFavorites(ctx context.Context, dataToEncrypt []byte) (res []byte, err error)

Encrypt cached favorites to store on disk.

func (KbfsClient) FSEditList

func (c KbfsClient) FSEditList(ctx context.Context, __arg FSEditListArg) (err error)

kbfs calls this as a response to receiving an FSEditListRequest with a given requestID.

func (KbfsClient) FSEvent

func (c KbfsClient) FSEvent(ctx context.Context, event FSNotification) (err error)

Idea is that kbfs would call the function below whenever these actions are performed on a file.

Note that this list/interface is very temporary and highly likely to change significantly.

It is just a starting point to get kbfs notifications through the daemon to the clients.

func (KbfsClient) FSFavoritesChangedEvent

func (c KbfsClient) FSFavoritesChangedEvent(ctx context.Context) (err error)

FSFavoritesChangedEvent is called by KBFS when the favorites list changes.

func (KbfsClient) FSOnlineStatusChangedEvent

func (c KbfsClient) FSOnlineStatusChangedEvent(ctx context.Context, online bool) (err error)

FSOnlineStatusChangedEvent is called by KBFS when the online status changes.

func (KbfsClient) FSOverallSyncEvent

func (c KbfsClient) FSOverallSyncEvent(ctx context.Context, status FolderSyncStatus) (err error)

FSOverallSyncEvent is called by KBFS when the overall sync status changes.

func (KbfsClient) FSPathUpdate

func (c KbfsClient) FSPathUpdate(ctx context.Context, path string) (err error)

kbfs calls this whenever the currently subscribed-to folder (via the SimpleFSList[Recursive call) has been updated.

func (KbfsClient) FSSubscriptionNotifyEvent

func (c KbfsClient) FSSubscriptionNotifyEvent(ctx context.Context, __arg FSSubscriptionNotifyEventArg) (err error)

func (KbfsClient) FSSubscriptionNotifyPathEvent

func (c KbfsClient) FSSubscriptionNotifyPathEvent(ctx context.Context, __arg FSSubscriptionNotifyPathEventArg) (err error)

func (KbfsClient) FSSyncEvent

func (c KbfsClient) FSSyncEvent(ctx context.Context, event FSPathSyncStatus) (err error)

FSSyncEvent is called by KBFS when the sync status of an individual path changes.

func (KbfsClient) FSSyncStatus

func (c KbfsClient) FSSyncStatus(ctx context.Context, __arg FSSyncStatusArg) (err error)

FSSyncStatus is called by KBFS as a response to receiving an FSSyncStatusRequest with a given requestID.

func (KbfsClient) GetKBFSTeamSettings

func (c KbfsClient) GetKBFSTeamSettings(ctx context.Context, __arg GetKBFSTeamSettingsArg) (res KBFSTeamSettings, err error)

getKBFSTeamSettings gets the settings written for the team in the team's sigchain.

func (KbfsClient) UpgradeTLF

func (c KbfsClient) UpgradeTLF(ctx context.Context, __arg UpgradeTLFArg) (err error)

upgradeTLF upgrades a TLF to use implicit team keys

type KbfsCommonClient

type KbfsCommonClient struct {
	Cli rpc.GenericClient
}

type KbfsCommonInterface

type KbfsCommonInterface interface {
}

type KbfsInterface

type KbfsInterface interface {
	// Idea is that kbfs would call the function below whenever these actions are
	// performed on a file.
	//
	// Note that this list/interface is very temporary and highly likely to change
	// significantly.
	//
	// It is just a starting point to get kbfs notifications through the daemon to
	// the clients.
	FSEvent(context.Context, FSNotification) error
	// kbfs calls this whenever the currently subscribed-to folder (via the
	// SimpleFSList[Recursive call) has been updated.
	FSPathUpdate(context.Context, string) error
	// kbfs calls this as a response to receiving an FSEditListRequest with a
	// given requestID.
	FSEditList(context.Context, FSEditListArg) error
	// FSSyncStatus is called by KBFS as a response to receiving an
	// FSSyncStatusRequest with a given requestID.
	FSSyncStatus(context.Context, FSSyncStatusArg) error
	// FSSyncEvent is called by KBFS when the sync status of an individual path
	// changes.
	FSSyncEvent(context.Context, FSPathSyncStatus) error
	// FSOverallSyncEvent is called by KBFS when the overall sync status
	// changes.
	FSOverallSyncEvent(context.Context, FolderSyncStatus) error
	// FSOnlineStatusChangedEvent is called by KBFS when the online status changes.
	FSOnlineStatusChangedEvent(context.Context, bool) error
	// FSFavoritesChangedEvent is called by KBFS when the favorites list changes.
	FSFavoritesChangedEvent(context.Context) error
	FSSubscriptionNotifyPathEvent(context.Context, FSSubscriptionNotifyPathEventArg) error
	FSSubscriptionNotifyEvent(context.Context, FSSubscriptionNotifyEventArg) error
	// createTLF is called by KBFS to associate the tlfID with the given teamID,
	// using the v2 Team-based system.
	CreateTLF(context.Context, CreateTLFArg) error
	// getKBFSTeamSettings gets the settings written for the team in the team's sigchain.
	GetKBFSTeamSettings(context.Context, GetKBFSTeamSettingsArg) (KBFSTeamSettings, error)
	// upgradeTLF upgrades a TLF to use implicit team keys
	UpgradeTLF(context.Context, UpgradeTLFArg) error
	// Encrypt cached favorites to store on disk.
	EncryptFavorites(context.Context, []byte) ([]byte, error)
	// Decrypt cached favorites stored on disk.
	DecryptFavorites(context.Context, []byte) ([]byte, error)
}

type KbfsMountClient

type KbfsMountClient struct {
	Cli rpc.GenericClient
}

func (KbfsMountClient) GetAllAvailableMountDirs

func (c KbfsMountClient) GetAllAvailableMountDirs(ctx context.Context) (res []string, err error)

func (KbfsMountClient) GetCurrentMountDir

func (c KbfsMountClient) GetCurrentMountDir(ctx context.Context) (res string, err error)

func (KbfsMountClient) GetKBFSPathInfo

func (c KbfsMountClient) GetKBFSPathInfo(ctx context.Context, standardPath string) (res KBFSPathInfo, err error)

func (KbfsMountClient) GetPreferredMountDirs

func (c KbfsMountClient) GetPreferredMountDirs(ctx context.Context) (res []string, err error)

func (KbfsMountClient) SetCurrentMountDir

func (c KbfsMountClient) SetCurrentMountDir(ctx context.Context, dir string) (err error)

func (KbfsMountClient) WaitForMounts

func (c KbfsMountClient) WaitForMounts(ctx context.Context) (res bool, err error)

type KbfsMountInterface

type KbfsMountInterface interface {
	GetCurrentMountDir(context.Context) (string, error)
	WaitForMounts(context.Context) (bool, error)
	GetPreferredMountDirs(context.Context) ([]string, error)
	GetAllAvailableMountDirs(context.Context) ([]string, error)
	SetCurrentMountDir(context.Context, string) error
	GetKBFSPathInfo(context.Context, string) (KBFSPathInfo, error)
}

type KbfsOnlineStatus

type KbfsOnlineStatus int
const (
	KbfsOnlineStatus_OFFLINE KbfsOnlineStatus = 0
	KbfsOnlineStatus_TRYING  KbfsOnlineStatus = 1
	KbfsOnlineStatus_ONLINE  KbfsOnlineStatus = 2
)

func (KbfsOnlineStatus) DeepCopy

func (o KbfsOnlineStatus) DeepCopy() KbfsOnlineStatus

func (KbfsOnlineStatus) String

func (e KbfsOnlineStatus) String() string

type Kex2Provisionee2Client

type Kex2Provisionee2Client struct {
	Cli rpc.GenericClient
}

func (Kex2Provisionee2Client) DidCounterSign2

func (c Kex2Provisionee2Client) DidCounterSign2(ctx context.Context, __arg DidCounterSign2Arg) (err error)

func (Kex2Provisionee2Client) Hello2

func (c Kex2Provisionee2Client) Hello2(ctx context.Context, __arg Hello2Arg) (res Hello2Res, err error)

type Kex2Provisionee2Interface

type Kex2Provisionee2Interface interface {
	Hello2(context.Context, Hello2Arg) (Hello2Res, error)
	DidCounterSign2(context.Context, DidCounterSign2Arg) error
}

type Kex2ProvisioneeClient

type Kex2ProvisioneeClient struct {
	Cli rpc.GenericClient
}

func (Kex2ProvisioneeClient) DidCounterSign

func (c Kex2ProvisioneeClient) DidCounterSign(ctx context.Context, sig []byte) (err error)

func (Kex2ProvisioneeClient) Hello

func (c Kex2ProvisioneeClient) Hello(ctx context.Context, __arg HelloArg) (res HelloRes, err error)

type Kex2ProvisioneeInterface

type Kex2ProvisioneeInterface interface {
	Hello(context.Context, HelloArg) (HelloRes, error)
	DidCounterSign(context.Context, []byte) error
}

type Kex2ProvisionerClient

type Kex2ProvisionerClient struct {
	Cli rpc.GenericClient
}

func (Kex2ProvisionerClient) KexStart

func (c Kex2ProvisionerClient) KexStart(ctx context.Context) (err error)

type Kex2ProvisionerInterface

type Kex2ProvisionerInterface interface {
	KexStart(context.Context) error
}

type KexStartArg

type KexStartArg struct {
}

type KeyBundle

type KeyBundle struct {
	Version int    `codec:"version" json:"version"`
	Bundle  []byte `codec:"bundle" json:"bundle"`
}

func (KeyBundle) DeepCopy

func (o KeyBundle) DeepCopy() KeyBundle

type KeyBundleResponse

type KeyBundleResponse struct {
	WriterBundle KeyBundle `codec:"WriterBundle" json:"WriterBundle"`
	ReaderBundle KeyBundle `codec:"ReaderBundle" json:"ReaderBundle"`
}

func (KeyBundleResponse) DeepCopy

func (o KeyBundleResponse) DeepCopy() KeyBundleResponse

type KeyGeneratedArg

type KeyGeneratedArg struct {
	SessionID int     `codec:"sessionID" json:"sessionID"`
	Kid       KID     `codec:"kid" json:"kid"`
	Key       KeyInfo `codec:"key" json:"key"`
}

type KeyHalf

type KeyHalf struct {
	User      UID    `codec:"user" json:"user"`
	DeviceKID KID    `codec:"deviceKID" json:"deviceKID"`
	Key       []byte `codec:"key" json:"key"`
}

func (KeyHalf) DeepCopy

func (o KeyHalf) DeepCopy() KeyHalf

type KeyInfo

type KeyInfo struct {
	Fingerprint string `codec:"fingerprint" json:"fingerprint"`
	Key         string `codec:"key" json:"key"`
	Desc        string `codec:"desc" json:"desc"`
}

func (KeyInfo) DeepCopy

func (o KeyInfo) DeepCopy() KeyInfo

type KeyType

type KeyType int
const (
	KeyType_NONE KeyType = 0
	KeyType_NACL KeyType = 1
	KeyType_PGP  KeyType = 2
)

func (KeyType) DeepCopy

func (o KeyType) DeepCopy() KeyType

func (KeyType) String

func (e KeyType) String() string

type KeybaseInviteExt

type KeybaseInviteExt struct {
	InviteeUv UserVersion      `codec:"inviteeUv" json:"inviteeUv"`
	Status    TeamMemberStatus `codec:"status" json:"status"`
	FullName  FullName         `codec:"fullName" json:"fullName"`
	Username  string           `codec:"username" json:"username"`
}

func (KeybaseInviteExt) DeepCopy

func (o KeybaseInviteExt) DeepCopy() KeybaseInviteExt

type KeybaseTime

type KeybaseTime struct {
	Unix  Time  `codec:"unix" json:"unix"`
	Chain Seqno `codec:"chain" json:"chain"`
}

func (KeybaseTime) DeepCopy

func (o KeybaseTime) DeepCopy() KeybaseTime

type KeyfamilyChangedArg

type KeyfamilyChangedArg struct {
	Uid UID `codec:"uid" json:"uid"`
}

type KnownTeamIDsArg

type KnownTeamIDsArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type KvstoreClient

type KvstoreClient struct {
	Cli rpc.GenericClient
}

func (KvstoreClient) DelKVEntry

func (c KvstoreClient) DelKVEntry(ctx context.Context, __arg DelKVEntryArg) (res KVDeleteEntryResult, err error)

func (KvstoreClient) GetKVEntry

func (c KvstoreClient) GetKVEntry(ctx context.Context, __arg GetKVEntryArg) (res KVGetResult, err error)

func (KvstoreClient) ListKVEntries

func (c KvstoreClient) ListKVEntries(ctx context.Context, __arg ListKVEntriesArg) (res KVListEntryResult, err error)

func (KvstoreClient) ListKVNamespaces

func (c KvstoreClient) ListKVNamespaces(ctx context.Context, __arg ListKVNamespacesArg) (res KVListNamespaceResult, err error)

func (KvstoreClient) PutKVEntry

func (c KvstoreClient) PutKVEntry(ctx context.Context, __arg PutKVEntryArg) (res KVPutResult, err error)

type LaunchNetworkChecksArg

type LaunchNetworkChecksArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Identity  Identity `codec:"identity" json:"identity"`
	User      User     `codec:"user" json:"user"`
}

type LeaseID

type LeaseID string

func (LeaseID) DeepCopy

func (o LeaseID) DeepCopy() LeaseID

func (*LeaseID) UnmarshalJSON

func (l *LeaseID) UnmarshalJSON(b []byte) error

type LinkCheckResult

type LinkCheckResult struct {
	ProofId            int          `codec:"proofId" json:"proofId"`
	ProofResult        ProofResult  `codec:"proofResult" json:"proofResult"`
	SnoozedResult      ProofResult  `codec:"snoozedResult" json:"snoozedResult"`
	TorWarning         bool         `codec:"torWarning" json:"torWarning"`
	TmpTrackExpireTime Time         `codec:"tmpTrackExpireTime" json:"tmpTrackExpireTime"`
	Cached             *CheckResult `codec:"cached,omitempty" json:"cached,omitempty"`
	Diff               *TrackDiff   `codec:"diff,omitempty" json:"diff,omitempty"`
	RemoteDiff         *TrackDiff   `codec:"remoteDiff,omitempty" json:"remoteDiff,omitempty"`
	Hint               *SigHint     `codec:"hint,omitempty" json:"hint,omitempty"`
	BreaksTracking     bool         `codec:"breaksTracking" json:"breaksTracking"`
}

func (LinkCheckResult) DeepCopy

func (o LinkCheckResult) DeepCopy() LinkCheckResult

type LinkID

type LinkID string

func LinkIDFromByte32

func LinkIDFromByte32(b [32]byte) LinkID

func (LinkID) DeepCopy

func (o LinkID) DeepCopy() LinkID

func (LinkID) Eq

func (l LinkID) Eq(l2 LinkID) bool

func (LinkID) IsNil

func (l LinkID) IsNil() bool

func (LinkID) String

func (l LinkID) String() string

type LinkTriple

type LinkTriple struct {
	Seqno   Seqno   `codec:"seqno" json:"seqno"`
	SeqType SeqType `codec:"seqType" json:"seqType"`
	LinkID  LinkID  `codec:"linkID" json:"linkID"`
}

func (LinkTriple) DeepCopy

func (o LinkTriple) DeepCopy() LinkTriple

type LinkTripleAndTime

type LinkTripleAndTime struct {
	Triple LinkTriple `codec:"triple" json:"triple"`
	Time   Time       `codec:"time" json:"time"`
}

func (LinkTripleAndTime) Clashes

func (LinkTripleAndTime) DeepCopy

func (o LinkTripleAndTime) DeepCopy() LinkTripleAndTime

type ListArg

type ListArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Path      string `codec:"path" json:"path"`
}

type ListArgs

type ListArgs struct {
	OpID   OpID       `codec:"opID" json:"opID"`
	Path   Path       `codec:"path" json:"path"`
	Filter ListFilter `codec:"filter" json:"filter"`
}

func (ListArgs) DeepCopy

func (o ListArgs) DeepCopy() ListArgs

type ListFilter

type ListFilter int
const (
	ListFilter_NO_FILTER            ListFilter = 0
	ListFilter_FILTER_ALL_HIDDEN    ListFilter = 1
	ListFilter_FILTER_SYSTEM_HIDDEN ListFilter = 2
)

func (ListFilter) DeepCopy

func (o ListFilter) DeepCopy() ListFilter

func (ListFilter) String

func (e ListFilter) String() string

type ListKVEntriesArg

type ListKVEntriesArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamName  string `codec:"teamName" json:"teamName"`
	Namespace string `codec:"namespace" json:"namespace"`
}

type ListKVNamespacesArg

type ListKVNamespacesArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamName  string `codec:"teamName" json:"teamName"`
}

type ListProofServicesArg

type ListProofServicesArg struct {
}

type ListResult

type ListResult struct {
	Files []File `codec:"files" json:"files"`
}

func (ListResult) DeepCopy

func (o ListResult) DeepCopy() ListResult

type ListSomeProofServicesArg

type ListSomeProofServicesArg struct {
}

type ListToDepthArgs

type ListToDepthArgs struct {
	OpID   OpID       `codec:"opID" json:"opID"`
	Path   Path       `codec:"path" json:"path"`
	Filter ListFilter `codec:"filter" json:"filter"`
	Depth  int        `codec:"depth" json:"depth"`
}

func (ListToDepthArgs) DeepCopy

func (o ListToDepthArgs) DeepCopy() ListToDepthArgs

type ListTrackersUnverifiedArg

type ListTrackersUnverifiedArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Assertion string `codec:"assertion" json:"assertion"`
}

type ListTrackingArg

type ListTrackingArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Filter    string `codec:"filter" json:"filter"`
	Assertion string `codec:"assertion" json:"assertion"`
}

type ListTrackingJSONArg

type ListTrackingJSONArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Filter    string `codec:"filter" json:"filter"`
	Verbose   bool   `codec:"verbose" json:"verbose"`
	Assertion string `codec:"assertion" json:"assertion"`
}

type LoadAllPublicKeysUnverifiedArg

type LoadAllPublicKeysUnverifiedArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
	Uid       UID `codec:"uid" json:"uid"`
}

type LoadAvatarsRes

type LoadAvatarsRes struct {
	Picmap map[string]map[AvatarFormat]AvatarUrl `codec:"picmap" json:"picmap"`
}

func (LoadAvatarsRes) DeepCopy

func (o LoadAvatarsRes) DeepCopy() LoadAvatarsRes

type LoadDeviceErr

type LoadDeviceErr struct {
	Where string `codec:"where" json:"where"`
	Desc  string `codec:"desc" json:"desc"`
}

func (LoadDeviceErr) DeepCopy

func (o LoadDeviceErr) DeepCopy() LoadDeviceErr

type LoadMyPublicKeysArg

type LoadMyPublicKeysArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type LoadMySettingsArg

type LoadMySettingsArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type LoadPassphraseStateArg

type LoadPassphraseStateArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type LoadPublicKeysArg

type LoadPublicKeysArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
	Uid       UID `codec:"uid" json:"uid"`
}

type LoadTeamArg

type LoadTeamArg struct {
	ID                        TeamID         `codec:"ID" json:"ID"`
	Name                      string         `codec:"name" json:"name"`
	Public                    bool           `codec:"public" json:"public"`
	NeedAdmin                 bool           `codec:"needAdmin" json:"needAdmin"`
	RefreshUIDMapper          bool           `codec:"refreshUIDMapper" json:"refreshUIDMapper"`
	Refreshers                TeamRefreshers `codec:"refreshers" json:"refreshers"`
	ForceFullReload           bool           `codec:"forceFullReload" json:"forceFullReload"`
	ForceRepoll               bool           `codec:"forceRepoll" json:"forceRepoll"`
	StaleOK                   bool           `codec:"staleOK" json:"staleOK"`
	AllowNameLookupBurstCache bool           `codec:"allowNameLookupBurstCache" json:"allowNameLookupBurstCache"`
	SkipNeedHiddenRotateCheck bool           `codec:"skipNeedHiddenRotateCheck" json:"skipNeedHiddenRotateCheck"`
	AuditMode                 AuditMode      `codec:"auditMode" json:"auditMode"`
}

func (LoadTeamArg) DeepCopy

func (o LoadTeamArg) DeepCopy() LoadTeamArg

type LoadTeamAvatarsArg

type LoadTeamAvatarsArg struct {
	Names   []string       `codec:"names" json:"names"`
	Formats []AvatarFormat `codec:"formats" json:"formats"`
}

type LoadTeamPlusApplicationKeysArg

type LoadTeamPlusApplicationKeysArg struct {
	SessionID       int                 `codec:"sessionID" json:"sessionID"`
	Id              TeamID              `codec:"id" json:"id"`
	Application     TeamApplication     `codec:"application" json:"application"`
	Refreshers      TeamRefreshers      `codec:"refreshers" json:"refreshers"`
	IncludeKBFSKeys bool                `codec:"includeKBFSKeys" json:"includeKBFSKeys"`
	Oa              OfflineAvailability `codec:"oa" json:"oa"`
}

type LoadTeamTreeMembershipsAsyncArg

type LoadTeamTreeMembershipsAsyncArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamID    TeamID `codec:"teamID" json:"teamID"`
	Username  string `codec:"username" json:"username"`
}

type LoadUserArg

type LoadUserArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
	Uid       UID `codec:"uid" json:"uid"`
}

type LoadUserAvatarsArg

type LoadUserAvatarsArg struct {
	Names   []string       `codec:"names" json:"names"`
	Formats []AvatarFormat `codec:"formats" json:"formats"`
}

type LoadUserByNameArg

type LoadUserByNameArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Username  string `codec:"username" json:"username"`
}

type LoadUserPlusKeysArg

type LoadUserPlusKeysArg struct {
	SessionID  int `codec:"sessionID" json:"sessionID"`
	Uid        UID `codec:"uid" json:"uid"`
	PollForKID KID `codec:"pollForKID" json:"pollForKID"`
}

type LoadUserPlusKeysV2Arg

type LoadUserPlusKeysV2Arg struct {
	SessionID  int                 `codec:"sessionID" json:"sessionID"`
	Uid        UID                 `codec:"uid" json:"uid"`
	PollForKID KID                 `codec:"pollForKID" json:"pollForKID"`
	Oa         OfflineAvailability `codec:"oa" json:"oa"`
}

type LockArg

type LockArg struct {
	FolderID string `codec:"folderID" json:"folderID"`
	LockID   LockID `codec:"lockID" json:"lockID"`
}

type LockContext

type LockContext struct {
	RequireLockID       LockID `codec:"requireLockID" json:"requireLockID"`
	ReleaseAfterSuccess bool   `codec:"releaseAfterSuccess" json:"releaseAfterSuccess"`
}

func (LockContext) DeepCopy

func (o LockContext) DeepCopy() LockContext

type LockID

type LockID int64

func LockIDFromBytes

func LockIDFromBytes(data []byte) LockID

LockIDFromBytes takes the first 8 bytes of the sha512 over data, overwrites first byte with the version byte, then interprets it as int64 using big endian, and returns the value as LockID.

func (LockID) DeepCopy

func (o LockID) DeepCopy() LockID

type LockdownHistory

type LockdownHistory struct {
	Status       bool     `codec:"status" json:"status"`
	CreationTime Time     `codec:"creationTime" json:"ctime"`
	DeviceID     DeviceID `codec:"deviceID" json:"device_id"`
	DeviceName   string   `codec:"deviceName" json:"deviceName"`
}

func (LockdownHistory) DeepCopy

func (o LockdownHistory) DeepCopy() LockdownHistory

type LogArg

type LogArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Level     LogLevel `codec:"level" json:"level"`
	Text      Text     `codec:"text" json:"text"`
}

type LogClient

type LogClient struct {
	Cli rpc.GenericClient
}

func (LogClient) PerfLogPoint

func (c LogClient) PerfLogPoint(ctx context.Context, __arg PerfLogPointArg) (err error)

func (LogClient) RegisterLogger

func (c LogClient) RegisterLogger(ctx context.Context, __arg RegisterLoggerArg) (err error)

type LogInterface

type LogInterface interface {
	RegisterLogger(context.Context, RegisterLoggerArg) error
	PerfLogPoint(context.Context, PerfLogPointArg) error
}

type LogLevel

type LogLevel int
const (
	LogLevel_NONE     LogLevel = 0
	LogLevel_DEBUG    LogLevel = 1
	LogLevel_INFO     LogLevel = 2
	LogLevel_NOTICE   LogLevel = 3
	LogLevel_WARN     LogLevel = 4
	LogLevel_ERROR    LogLevel = 5
	LogLevel_CRITICAL LogLevel = 6
	LogLevel_FATAL    LogLevel = 7
)

func (LogLevel) DeepCopy

func (o LogLevel) DeepCopy() LogLevel

func (LogLevel) String

func (e LogLevel) String() string

type LogProcessorProfileArg

type LogProcessorProfileArg struct {
	SessionID              int         `codec:"sessionID" json:"sessionID"`
	LogDirForMobile        string      `codec:"logDirForMobile" json:"logDirForMobile"`
	ProfileDurationSeconds DurationSec `codec:"profileDurationSeconds" json:"profileDurationSeconds"`
}

type LogRotateArg

type LogRotateArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type LogSendArg

type LogSendArg struct {
	SessionID    int    `codec:"sessionID" json:"sessionID"`
	StatusJSON   string `codec:"statusJSON" json:"statusJSON"`
	Feedback     string `codec:"feedback" json:"feedback"`
	SendLogs     bool   `codec:"sendLogs" json:"sendLogs"`
	SendMaxBytes bool   `codec:"sendMaxBytes" json:"sendMaxBytes"`
}

type LogSendID

type LogSendID string

func (LogSendID) DeepCopy

func (o LogSendID) DeepCopy() LogSendID

type LogTraceArg

type LogTraceArg struct {
	SessionID            int         `codec:"sessionID" json:"sessionID"`
	LogDirForMobile      string      `codec:"logDirForMobile" json:"logDirForMobile"`
	TraceDurationSeconds DurationSec `codec:"traceDurationSeconds" json:"traceDurationSeconds"`
}

type LogUiClient

type LogUiClient struct {
	Cli rpc.GenericClient
}

func (LogUiClient) Log

func (c LogUiClient) Log(ctx context.Context, __arg LogArg) (err error)

type LogUiInterface

type LogUiInterface interface {
	Log(context.Context, LogArg) error
}

type LoggedInArg

type LoggedInArg struct {
	Username string `codec:"username" json:"username"`
	SignedUp bool   `codec:"signedUp" json:"signedUp"`
}

type LoggedOutArg

type LoggedOutArg struct {
}

type LoginArg

type LoginArg struct {
	SessionID    int          `codec:"sessionID" json:"sessionID"`
	DeviceType   DeviceTypeV2 `codec:"deviceType" json:"deviceType"`
	Username     string       `codec:"username" json:"username"`
	ClientType   ClientType   `codec:"clientType" json:"clientType"`
	DoUserSwitch bool         `codec:"doUserSwitch" json:"doUserSwitch"`
	PaperKey     string       `codec:"paperKey" json:"paperKey"`
	DeviceName   string       `codec:"deviceName" json:"deviceName"`
}

type LoginClient

type LoginClient struct {
	Cli rpc.GenericClient
}

func (LoginClient) AccountDelete

func (c LoginClient) AccountDelete(ctx context.Context, __arg AccountDeleteArg) (err error)

accountDelete deletes the current user's account.

func (LoginClient) Deprovision

func (c LoginClient) Deprovision(ctx context.Context, __arg DeprovisionArg) (err error)

func (LoginClient) GetConfiguredAccounts

func (c LoginClient) GetConfiguredAccounts(ctx context.Context, sessionID int) (res []ConfiguredAccount, err error)

Returns an array of information about accounts configured on the local machine. Currently configured accounts are defined as those that have stored secrets, but this definition may be expanded in the future.

func (LoginClient) IsOnline

func (c LoginClient) IsOnline(ctx context.Context) (res bool, err error)

isOnline returns whether the device is able to open a connection to keybase.io. Used for determining whether to offer proxy settings on the login screen.

func (LoginClient) Login

func (c LoginClient) Login(ctx context.Context, __arg LoginArg) (err error)

Performs login. deviceType should be keybase1.DeviceTypeV2_DESKTOP or keybase1.DeviceTypeV2_MOBILE. username is optional. If the current device isn't provisioned, this function will provision it.

func (LoginClient) LoginOneshot

func (c LoginClient) LoginOneshot(ctx context.Context, __arg LoginOneshotArg) (err error)

loginOneshot allows a service to have a "onetime login", without provisioning a device. It bootstraps credentials with the given paperkey

func (LoginClient) LoginProvisionedDevice

func (c LoginClient) LoginProvisionedDevice(ctx context.Context, __arg LoginProvisionedDeviceArg) (err error)

Login a user only if the user is on a provisioned device. Username is optional. If noPassphrasePrompt is set, then only a stored secret will be used to unlock the device keys.

func (LoginClient) LoginWithPaperKey

func (c LoginClient) LoginWithPaperKey(ctx context.Context, __arg LoginWithPaperKeyArg) (err error)

Login and unlock by - trying unlocked device keys if available - prompting for a paper key and using that

func (LoginClient) Logout

func (c LoginClient) Logout(ctx context.Context, __arg LogoutArg) (err error)

func (LoginClient) PaperKey

func (c LoginClient) PaperKey(ctx context.Context, sessionID int) (err error)

PaperKey generates paper backup keys for restoring an account. It calls login_ui.displayPaperKeyPhrase with the phrase.

func (LoginClient) PaperKeySubmit

func (c LoginClient) PaperKeySubmit(ctx context.Context, __arg PaperKeySubmitArg) (err error)

paperKeySubmit checks that paperPhrase is a valid paper key for the logged in user, caches the keys, and sends a notification.

func (LoginClient) RecoverAccountFromEmailAddress

func (c LoginClient) RecoverAccountFromEmailAddress(ctx context.Context, email string) (err error)

func (LoginClient) RecoverPassphrase

func (c LoginClient) RecoverPassphrase(ctx context.Context, __arg RecoverPassphraseArg) (err error)

Guide the user through possibilities of changing their passphrase. Lets them change their passphrase using a paper key or enter the reset pipeline.

func (LoginClient) Unlock

func (c LoginClient) Unlock(ctx context.Context, sessionID int) (err error)

Unlock restores access to local key store by priming passphrase stream cache.

func (LoginClient) UnlockWithPassphrase

func (c LoginClient) UnlockWithPassphrase(ctx context.Context, __arg UnlockWithPassphraseArg) (err error)

type LoginInterface

type LoginInterface interface {
	// Returns an array of information about accounts configured on the local
	// machine. Currently configured accounts are defined as those that have stored
	// secrets, but this definition may be expanded in the future.
	GetConfiguredAccounts(context.Context, int) ([]ConfiguredAccount, error)
	// Performs login.  deviceType should be keybase1.DeviceTypeV2_DESKTOP
	// or keybase1.DeviceTypeV2_MOBILE. username is optional. If the current
	// device isn't provisioned, this function will provision it.
	Login(context.Context, LoginArg) error
	// Login a user only if the user is on a provisioned device. Username is optional.
	// If noPassphrasePrompt is set, then only a stored secret will be used to unlock
	// the device keys.
	LoginProvisionedDevice(context.Context, LoginProvisionedDeviceArg) error
	// Login and unlock by
	// - trying unlocked device keys if available
	// - prompting for a paper key and using that
	LoginWithPaperKey(context.Context, LoginWithPaperKeyArg) error
	Logout(context.Context, LogoutArg) error
	Deprovision(context.Context, DeprovisionArg) error
	RecoverAccountFromEmailAddress(context.Context, string) error
	// Guide the user through possibilities of changing their passphrase.
	// Lets them change their passphrase using a paper key or enter the reset pipeline.
	RecoverPassphrase(context.Context, RecoverPassphraseArg) error
	// PaperKey generates paper backup keys for restoring an account.
	// It calls login_ui.displayPaperKeyPhrase with the phrase.
	PaperKey(context.Context, int) error
	// paperKeySubmit checks that paperPhrase is a valid paper key
	// for the logged in user, caches the keys, and sends a notification.
	PaperKeySubmit(context.Context, PaperKeySubmitArg) error
	// Unlock restores access to local key store by priming passphrase stream cache.
	Unlock(context.Context, int) error
	UnlockWithPassphrase(context.Context, UnlockWithPassphraseArg) error
	// accountDelete deletes the current user's account.
	AccountDelete(context.Context, AccountDeleteArg) error
	// loginOneshot allows a service to have a "onetime login", without
	// provisioning a device. It bootstraps credentials with the given
	// paperkey
	LoginOneshot(context.Context, LoginOneshotArg) error
	// isOnline returns whether the device is able to open a connection to keybase.io.
	// Used for determining whether to offer proxy settings on the login screen.
	IsOnline(context.Context) (bool, error)
}

type LoginOneshotArg

type LoginOneshotArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Username  string `codec:"username" json:"username"`
	PaperKey  string `codec:"paperKey" json:"paperKey"`
}

type LoginProvisionedDeviceArg

type LoginProvisionedDeviceArg struct {
	SessionID          int    `codec:"sessionID" json:"sessionID"`
	Username           string `codec:"username" json:"username"`
	NoPassphrasePrompt bool   `codec:"noPassphrasePrompt" json:"noPassphrasePrompt"`
}

type LoginUiClient

type LoginUiClient struct {
	Cli rpc.GenericClient
}

func (LoginUiClient) ChooseDeviceToRecoverWith

func (c LoginUiClient) ChooseDeviceToRecoverWith(ctx context.Context, __arg ChooseDeviceToRecoverWithArg) (res DeviceID, err error)

Different from ProvisionUI's chooseDevice due to phrasing in the UI.

func (LoginUiClient) DisplayPaperKeyPhrase

func (c LoginUiClient) DisplayPaperKeyPhrase(ctx context.Context, __arg DisplayPaperKeyPhraseArg) (err error)

func (LoginUiClient) DisplayPrimaryPaperKey

func (c LoginUiClient) DisplayPrimaryPaperKey(ctx context.Context, __arg DisplayPrimaryPaperKeyArg) (err error)

func (LoginUiClient) DisplayResetMessage

func (c LoginUiClient) DisplayResetMessage(ctx context.Context, __arg DisplayResetMessageArg) (err error)

Simply displays a message in the recovery flow.

func (LoginUiClient) DisplayResetProgress

func (c LoginUiClient) DisplayResetProgress(ctx context.Context, __arg DisplayResetProgressArg) (err error)

In some flows the user will get notified of the reset progress

func (LoginUiClient) ExplainDeviceRecovery

func (c LoginUiClient) ExplainDeviceRecovery(ctx context.Context, __arg ExplainDeviceRecoveryArg) (err error)

During recovery the service might want to explain to the user how they can change their password by using the "change password" functionality on other devices.

func (LoginUiClient) GetEmailOrUsername

func (c LoginUiClient) GetEmailOrUsername(ctx context.Context, sessionID int) (res string, err error)

func (LoginUiClient) PromptPassphraseRecovery

func (c LoginUiClient) PromptPassphraseRecovery(ctx context.Context, __arg PromptPassphraseRecoveryArg) (res bool, err error)

func (LoginUiClient) PromptResetAccount

func (c LoginUiClient) PromptResetAccount(ctx context.Context, __arg PromptResetAccountArg) (res ResetPromptResponse, err error)

Called during login / provisioning flows to ask the user whether they would like to either enter the autoreset pipeline and perform the reset of the account.

func (LoginUiClient) PromptRevokePaperKeys

func (c LoginUiClient) PromptRevokePaperKeys(ctx context.Context, __arg PromptRevokePaperKeysArg) (res bool, err error)

type LoginUiInterface

type LoginUiInterface interface {
	GetEmailOrUsername(context.Context, int) (string, error)
	PromptRevokePaperKeys(context.Context, PromptRevokePaperKeysArg) (bool, error)
	DisplayPaperKeyPhrase(context.Context, DisplayPaperKeyPhraseArg) error
	DisplayPrimaryPaperKey(context.Context, DisplayPrimaryPaperKeyArg) error
	// Called during login / provisioning flows to ask the user whether they
	// would like to either enter the autoreset pipeline and perform the reset
	// of the account.
	PromptResetAccount(context.Context, PromptResetAccountArg) (ResetPromptResponse, error)
	// In some flows the user will get notified of the reset progress
	DisplayResetProgress(context.Context, DisplayResetProgressArg) error
	// During recovery the service might want to explain to the user how they can change
	// their password by using the "change password" functionality on other devices.
	ExplainDeviceRecovery(context.Context, ExplainDeviceRecoveryArg) error
	PromptPassphraseRecovery(context.Context, PromptPassphraseRecoveryArg) (bool, error)
	// Different from ProvisionUI's chooseDevice due to phrasing in the UI.
	ChooseDeviceToRecoverWith(context.Context, ChooseDeviceToRecoverWithArg) (DeviceID, error)
	// Simply displays a message in the recovery flow.
	DisplayResetMessage(context.Context, DisplayResetMessageArg) error
}

type LoginWithPaperKeyArg

type LoginWithPaperKeyArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Username  string `codec:"username" json:"username"`
}

type LogoutArg

type LogoutArg struct {
	SessionID   int  `codec:"sessionID" json:"sessionID"`
	Force       bool `codec:"force" json:"force"`
	KeepSecrets bool `codec:"keepSecrets" json:"keepSecrets"`
}

type LogsendClient

type LogsendClient struct {
	Cli rpc.GenericClient
}

func (LogsendClient) PrepareLogsend

func (c LogsendClient) PrepareLogsend(ctx context.Context) (err error)

type LogsendInterface

type LogsendInterface interface {
	PrepareLogsend(context.Context) error
}

type LookupContactListArg

type LookupContactListArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	Contacts  []Contact `codec:"contacts" json:"contacts"`
}

type LookupImplicitTeamArg

type LookupImplicitTeamArg struct {
	Name   string `codec:"name" json:"name"`
	Public bool   `codec:"public" json:"public"`
}

type LookupImplicitTeamRes

type LookupImplicitTeamRes struct {
	TeamID      TeamID                  `codec:"teamID" json:"teamID"`
	Name        TeamName                `codec:"name" json:"name"`
	DisplayName ImplicitTeamDisplayName `codec:"displayName" json:"displayName"`
	TlfID       TLFID                   `codec:"tlfID" json:"tlfID"`
}

func (LookupImplicitTeamRes) DeepCopy

type LookupOrCreateImplicitTeamArg

type LookupOrCreateImplicitTeamArg struct {
	Name   string `codec:"name" json:"name"`
	Public bool   `codec:"public" json:"public"`
}

type LookupSavedContactsListArg

type LookupSavedContactsListArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type MDBlock

type MDBlock struct {
	Version   int    `codec:"version" json:"version"`
	Timestamp Time   `codec:"timestamp" json:"timestamp"`
	Block     []byte `codec:"block" json:"block"`
}

func (MDBlock) DeepCopy

func (o MDBlock) DeepCopy() MDBlock

type MDPriority

type MDPriority int

func (MDPriority) DeepCopy

func (o MDPriority) DeepCopy() MDPriority

func (MDPriority) IsValid

func (p MDPriority) IsValid() bool

IsValid returns true is p is a valid MDPriority, or false otherwise.

type MaskB64

type MaskB64 []byte

func (MaskB64) DeepCopy

func (o MaskB64) DeepCopy() MaskB64

func (*MaskB64) MarshalJSON

func (m *MaskB64) MarshalJSON() ([]byte, error)

func (*MaskB64) UnmarshalJSON

func (m *MaskB64) UnmarshalJSON(b []byte) error

type MeUserVersionArg

type MeUserVersionArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	ForcePoll bool `codec:"forcePoll" json:"forcePoll"`
}

type MemberEmail

type MemberEmail struct {
	Email string `codec:"email" json:"email"`
	Role  string `codec:"role" json:"role"`
}

func (MemberEmail) DeepCopy

func (o MemberEmail) DeepCopy() MemberEmail

type MemberInfo

type MemberInfo struct {
	UserID              UID           `codec:"userID" json:"uid"`
	TeamID              TeamID        `codec:"teamID" json:"team_id"`
	FqName              string        `codec:"fqName" json:"fq_name"`
	IsImplicitTeam      bool          `codec:"isImplicitTeam" json:"is_implicit_team"`
	IsOpenTeam          bool          `codec:"isOpenTeam" json:"is_open_team"`
	Role                TeamRole      `codec:"role" json:"role"`
	Implicit            *ImplicitRole `codec:"implicit,omitempty" json:"implicit,omitempty"`
	MemberCount         int           `codec:"memberCount" json:"member_count"`
	AllowProfilePromote bool          `codec:"allowProfilePromote" json:"allow_profile_promote"`
	IsMemberShowcased   bool          `codec:"isMemberShowcased" json:"is_member_showcased"`
}

func (MemberInfo) DeepCopy

func (o MemberInfo) DeepCopy() MemberInfo

func (MemberInfo) TeamName

func (m MemberInfo) TeamName() (TeamName, error)

type MemberUsername

type MemberUsername struct {
	Username string `codec:"username" json:"username"`
	Role     string `codec:"role" json:"role"`
}

func (MemberUsername) DeepCopy

func (o MemberUsername) DeepCopy() MemberUsername

type MerkleClient

type MerkleClient struct {
	Cli rpc.GenericClient
}

func (MerkleClient) GetCurrentMerkleRoot

func (c MerkleClient) GetCurrentMerkleRoot(ctx context.Context, freshnessMsec int) (res MerkleRootAndTime, err error)

GetCurrentMerkleRoot gets the current-most Merkle root from the keybase server. The caller can specify how stale a result can be with freshnessMsec. If 0 is specified, then any amount of staleness is OK. If -1 is specified, then we force a GET and a round-trip.

func (MerkleClient) VerifyMerkleRootAndKBFS

func (c MerkleClient) VerifyMerkleRootAndKBFS(ctx context.Context, __arg VerifyMerkleRootAndKBFSArg) (err error)

VerifyMerkleRootAndKBFS checks that the given merkle root is indeed a valid root of the keybase server's Merkle tree, and that the given KBFS root is included in that global root.

type MerkleInterface

type MerkleInterface interface {
	// GetCurrentMerkleRoot gets the current-most Merkle root from the keybase server.
	// The caller can specify how stale a result can be with freshnessMsec.
	// If 0 is specified, then any amount of staleness is OK. If -1 is specified, then
	// we force a GET and a round-trip.
	GetCurrentMerkleRoot(context.Context, int) (MerkleRootAndTime, error)
	// VerifyMerkleRootAndKBFS checks that the given merkle root is indeed a valid
	// root of the keybase server's Merkle tree, and that the given KBFS root
	// is included in that global root.
	VerifyMerkleRootAndKBFS(context.Context, VerifyMerkleRootAndKBFSArg) error
}

type MerkleRoot

type MerkleRoot struct {
	Version int    `codec:"version" json:"version"`
	Root    []byte `codec:"root" json:"root"`
}

func (MerkleRoot) DeepCopy

func (o MerkleRoot) DeepCopy() MerkleRoot

type MerkleRootAndTime

type MerkleRootAndTime struct {
	Root       MerkleRootV2 `codec:"root" json:"root"`
	UpdateTime Time         `codec:"updateTime" json:"updateTime"`
	FetchTime  Time         `codec:"fetchTime" json:"fetchTime"`
}

func (MerkleRootAndTime) DeepCopy

func (o MerkleRootAndTime) DeepCopy() MerkleRootAndTime

type MerkleRootV2

type MerkleRootV2 struct {
	Seqno    Seqno    `codec:"seqno" json:"seqno"`
	HashMeta HashMeta `codec:"hashMeta" json:"hashMeta"`
}

func (MerkleRootV2) DeepCopy

func (o MerkleRootV2) DeepCopy() MerkleRootV2

func (MerkleRootV2) Eq

func (r MerkleRootV2) Eq(s MerkleRootV2) bool

type MerkleStoreEntry

type MerkleStoreEntry struct {
	Hash  MerkleStoreKitHash     `codec:"hash" json:"hash"`
	Entry MerkleStoreEntryString `codec:"entry" json:"entry"`
}

func (MerkleStoreEntry) DeepCopy

func (o MerkleStoreEntry) DeepCopy() MerkleStoreEntry

type MerkleStoreEntryString

type MerkleStoreEntryString string

func (MerkleStoreEntryString) DeepCopy

type MerkleStoreKit

type MerkleStoreKit string

func (MerkleStoreKit) DeepCopy

func (o MerkleStoreKit) DeepCopy() MerkleStoreKit

type MerkleStoreKitHash

type MerkleStoreKitHash string

func (MerkleStoreKitHash) DeepCopy

type MerkleStoreSupportedVersion

type MerkleStoreSupportedVersion int

func (MerkleStoreSupportedVersion) DeepCopy

type MerkleTreeID

type MerkleTreeID int
const (
	MerkleTreeID_MASTER           MerkleTreeID = 0
	MerkleTreeID_KBFS_PUBLIC      MerkleTreeID = 1
	MerkleTreeID_KBFS_PRIVATE     MerkleTreeID = 2
	MerkleTreeID_KBFS_PRIVATETEAM MerkleTreeID = 3
)

func (MerkleTreeID) DeepCopy

func (o MerkleTreeID) DeepCopy() MerkleTreeID

func (MerkleTreeID) Number

func (m MerkleTreeID) Number() int

func (MerkleTreeID) String

func (m MerkleTreeID) String() string

type MerkleTreeLocation

type MerkleTreeLocation struct {
	Leaf UserOrTeamID     `codec:"leaf" json:"leaf"`
	Loc  SigChainLocation `codec:"loc" json:"loc"`
}

func (MerkleTreeLocation) DeepCopy

type Merkle_storeClient

type Merkle_storeClient struct {
	Cli rpc.GenericClient
}

type Merkle_storeInterface

type Merkle_storeInterface interface {
}

type MetadataClient

type MetadataClient struct {
	Cli rpc.GenericClient
}

func (MetadataClient) Authenticate

func (c MetadataClient) Authenticate(ctx context.Context, signature string) (res int, err error)

func (MetadataClient) DeleteKey

func (c MetadataClient) DeleteKey(ctx context.Context, __arg DeleteKeyArg) (err error)

func (MetadataClient) FindNextMD

func (c MetadataClient) FindNextMD(ctx context.Context, __arg FindNextMDArg) (res FindNextMDResponse, err error)

func (MetadataClient) ForceMerkleBuildForTest

func (c MetadataClient) ForceMerkleBuildForTest(ctx context.Context) (err error)

func (MetadataClient) GetChallenge

func (c MetadataClient) GetChallenge(ctx context.Context) (res ChallengeInfo, err error)

func (MetadataClient) GetFolderHandle

func (c MetadataClient) GetFolderHandle(ctx context.Context, __arg GetFolderHandleArg) (res []byte, err error)

func (MetadataClient) GetFoldersForRekey

func (c MetadataClient) GetFoldersForRekey(ctx context.Context, deviceKID KID) (err error)

func (MetadataClient) GetKey

func (c MetadataClient) GetKey(ctx context.Context, __arg GetKeyArg) (res []byte, err error)

func (MetadataClient) GetKeyBundles

func (c MetadataClient) GetKeyBundles(ctx context.Context, __arg GetKeyBundlesArg) (res KeyBundleResponse, err error)

func (MetadataClient) GetLatestFolderHandle

func (c MetadataClient) GetLatestFolderHandle(ctx context.Context, folderID string) (res []byte, err error)

func (MetadataClient) GetMerkleNode

func (c MetadataClient) GetMerkleNode(ctx context.Context, hash string) (res []byte, err error)

func (MetadataClient) GetMerkleRoot

func (c MetadataClient) GetMerkleRoot(ctx context.Context, __arg GetMerkleRootArg) (res MerkleRoot, err error)

func (MetadataClient) GetMerkleRootLatest

func (c MetadataClient) GetMerkleRootLatest(ctx context.Context, treeID MerkleTreeID) (res MerkleRoot, err error)

func (MetadataClient) GetMerkleRootSince

func (c MetadataClient) GetMerkleRootSince(ctx context.Context, __arg GetMerkleRootSinceArg) (res MerkleRoot, err error)

func (MetadataClient) GetMetadata

func (c MetadataClient) GetMetadata(ctx context.Context, __arg GetMetadataArg) (res MetadataResponse, err error)

func (MetadataClient) GetMetadataByTimestamp

func (c MetadataClient) GetMetadataByTimestamp(ctx context.Context, __arg GetMetadataByTimestampArg) (res MDBlock, err error)

func (MetadataClient) Lock

func (c MetadataClient) Lock(ctx context.Context, __arg LockArg) (err error)

func (MetadataClient) Ping

func (c MetadataClient) Ping(ctx context.Context) (err error)

func (MetadataClient) Ping2

func (c MetadataClient) Ping2(ctx context.Context) (res PingResponse, err error)

func (MetadataClient) PruneBranch

func (c MetadataClient) PruneBranch(ctx context.Context, __arg PruneBranchArg) (err error)

func (MetadataClient) PutKeys

func (c MetadataClient) PutKeys(ctx context.Context, __arg PutKeysArg) (err error)

func (MetadataClient) PutMetadata

func (c MetadataClient) PutMetadata(ctx context.Context, __arg PutMetadataArg) (err error)

func (MetadataClient) RegisterForUpdates

func (c MetadataClient) RegisterForUpdates(ctx context.Context, __arg RegisterForUpdatesArg) (err error)

func (MetadataClient) ReleaseLock

func (c MetadataClient) ReleaseLock(ctx context.Context, __arg ReleaseLockArg) (err error)

func (MetadataClient) SetImplicitTeamModeForTest

func (c MetadataClient) SetImplicitTeamModeForTest(ctx context.Context, implicitTeamMode string) (err error)

func (MetadataClient) StartImplicitTeamMigration

func (c MetadataClient) StartImplicitTeamMigration(ctx context.Context, folderID string) (err error)

func (MetadataClient) TruncateLock

func (c MetadataClient) TruncateLock(ctx context.Context, folderID string) (res bool, err error)

func (MetadataClient) TruncateUnlock

func (c MetadataClient) TruncateUnlock(ctx context.Context, folderID string) (res bool, err error)

type MetadataInterface

type MetadataInterface interface {
	GetChallenge(context.Context) (ChallengeInfo, error)
	Authenticate(context.Context, string) (int, error)
	PutMetadata(context.Context, PutMetadataArg) error
	GetMetadata(context.Context, GetMetadataArg) (MetadataResponse, error)
	GetMetadataByTimestamp(context.Context, GetMetadataByTimestampArg) (MDBlock, error)
	RegisterForUpdates(context.Context, RegisterForUpdatesArg) error
	PruneBranch(context.Context, PruneBranchArg) error
	PutKeys(context.Context, PutKeysArg) error
	GetKey(context.Context, GetKeyArg) ([]byte, error)
	DeleteKey(context.Context, DeleteKeyArg) error
	TruncateLock(context.Context, string) (bool, error)
	TruncateUnlock(context.Context, string) (bool, error)
	GetFolderHandle(context.Context, GetFolderHandleArg) ([]byte, error)
	GetFoldersForRekey(context.Context, KID) error
	Ping(context.Context) error
	Ping2(context.Context) (PingResponse, error)
	GetLatestFolderHandle(context.Context, string) ([]byte, error)
	GetKeyBundles(context.Context, GetKeyBundlesArg) (KeyBundleResponse, error)
	Lock(context.Context, LockArg) error
	ReleaseLock(context.Context, ReleaseLockArg) error
	StartImplicitTeamMigration(context.Context, string) error
	GetMerkleRoot(context.Context, GetMerkleRootArg) (MerkleRoot, error)
	GetMerkleRootLatest(context.Context, MerkleTreeID) (MerkleRoot, error)
	GetMerkleRootSince(context.Context, GetMerkleRootSinceArg) (MerkleRoot, error)
	GetMerkleNode(context.Context, string) ([]byte, error)
	FindNextMD(context.Context, FindNextMDArg) (FindNextMDResponse, error)
	SetImplicitTeamModeForTest(context.Context, string) error
	ForceMerkleBuildForTest(context.Context) error
}

type MetadataResponse

type MetadataResponse struct {
	FolderID string    `codec:"folderID" json:"folderID"`
	MdBlocks []MDBlock `codec:"mdBlocks" json:"mdBlocks"`
}

func (MetadataResponse) DeepCopy

func (o MetadataResponse) DeepCopy() MetadataResponse

type MetadataUpdateArg

type MetadataUpdateArg struct {
	FolderID string `codec:"folderID" json:"folderID"`
	Revision int64  `codec:"revision" json:"revision"`
}

type MetadataUpdateClient

type MetadataUpdateClient struct {
	Cli rpc.GenericClient
}

func (MetadataUpdateClient) FolderNeedsRekey

func (c MetadataUpdateClient) FolderNeedsRekey(ctx context.Context, __arg FolderNeedsRekeyArg) (err error)

func (MetadataUpdateClient) FoldersNeedRekey

func (c MetadataUpdateClient) FoldersNeedRekey(ctx context.Context, requests []RekeyRequest) (err error)

func (MetadataUpdateClient) MetadataUpdate

func (c MetadataUpdateClient) MetadataUpdate(ctx context.Context, __arg MetadataUpdateArg) (err error)

type MetadataUpdateInterface

type MetadataUpdateInterface interface {
	MetadataUpdate(context.Context, MetadataUpdateArg) error
	FolderNeedsRekey(context.Context, FolderNeedsRekeyArg) error
	FoldersNeedRekey(context.Context, []RekeyRequest) error
}

type MobileAppState

type MobileAppState int
const (
	MobileAppState_FOREGROUND       MobileAppState = 0
	MobileAppState_BACKGROUND       MobileAppState = 1
	MobileAppState_INACTIVE         MobileAppState = 2
	MobileAppState_BACKGROUNDACTIVE MobileAppState = 3
)

func (MobileAppState) DeepCopy

func (o MobileAppState) DeepCopy() MobileAppState

func (MobileAppState) String

func (e MobileAppState) String() string

type MobileNetworkState

type MobileNetworkState int
const (
	MobileNetworkState_NONE         MobileNetworkState = 0
	MobileNetworkState_WIFI         MobileNetworkState = 1
	MobileNetworkState_CELLULAR     MobileNetworkState = 2
	MobileNetworkState_UNKNOWN      MobileNetworkState = 3
	MobileNetworkState_NOTAVAILABLE MobileNetworkState = 4
)

func (MobileNetworkState) DeepCopy

func (MobileNetworkState) IsLimited

func (s MobileNetworkState) IsLimited() bool

IsLimited returns if the network is considered limited based on the type.

func (MobileNetworkState) String

func (e MobileNetworkState) String() string

type MoveArgs

type MoveArgs struct {
	OpID                   OpID `codec:"opID" json:"opID"`
	Src                    Path `codec:"src" json:"src"`
	Dest                   Path `codec:"dest" json:"dest"`
	OverwriteExistingFiles bool `codec:"overwriteExistingFiles" json:"overwriteExistingFiles"`
}

func (MoveArgs) DeepCopy

func (o MoveArgs) DeepCopy() MoveArgs

type NaclDHKeyPrivate

type NaclDHKeyPrivate [32]byte

func (NaclDHKeyPrivate) DeepCopy

func (o NaclDHKeyPrivate) DeepCopy() NaclDHKeyPrivate

type NaclDHKeyPublic

type NaclDHKeyPublic [32]byte

func (NaclDHKeyPublic) DeepCopy

func (o NaclDHKeyPublic) DeepCopy() NaclDHKeyPublic

type NaclSigningKeyPrivate

type NaclSigningKeyPrivate [64]byte

func (NaclSigningKeyPrivate) DeepCopy

type NaclSigningKeyPublic

type NaclSigningKeyPublic [32]byte

func (NaclSigningKeyPublic) DeepCopy

type NetworkSource

type NetworkSource int
const (
	NetworkSource_LOCAL  NetworkSource = 0
	NetworkSource_REMOTE NetworkSource = 1
)

func (NetworkSource) DeepCopy

func (o NetworkSource) DeepCopy() NetworkSource

func (NetworkSource) String

func (e NetworkSource) String() string

type NetworkStatsClient

type NetworkStatsClient struct {
	Cli rpc.GenericClient
}

type NetworkStatsInterface

type NetworkStatsInterface interface {
}

type NewTeamEkArg

type NewTeamEkArg struct {
	Id         TeamID       `codec:"id" json:"id"`
	Generation EkGeneration `codec:"generation" json:"generation"`
}

type NewTeambotEkArg

type NewTeambotEkArg struct {
	Id         TeamID       `codec:"id" json:"id"`
	Generation EkGeneration `codec:"generation" json:"generation"`
}

type NewTeambotKeyArg

type NewTeambotKeyArg struct {
	Id          TeamID               `codec:"id" json:"id"`
	Generation  TeambotKeyGeneration `codec:"generation" json:"generation"`
	Application TeamApplication      `codec:"application" json:"application"`
}

type NewlyAddedToTeamArg

type NewlyAddedToTeamArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type NextMerkleRootRes

type NextMerkleRootRes struct {
	Res *MerkleRootV2 `codec:"res,omitempty" json:"res,omitempty"`
}

func (NextMerkleRootRes) DeepCopy

func (o NextMerkleRootRes) DeepCopy() NextMerkleRootRes

type NonUserDetails

type NonUserDetails struct {
	IsNonUser            bool                  `codec:"isNonUser" json:"isNonUser"`
	AssertionValue       string                `codec:"assertionValue" json:"assertionValue"`
	AssertionKey         string                `codec:"assertionKey" json:"assertionKey"`
	Description          string                `codec:"description" json:"description"`
	Contact              *ProcessedContact     `codec:"contact,omitempty" json:"contact,omitempty"`
	Service              *APIUserServiceResult `codec:"service,omitempty" json:"service,omitempty"`
	SiteIcon             []SizedImage          `codec:"siteIcon" json:"siteIcon"`
	SiteIconDarkmode     []SizedImage          `codec:"siteIconDarkmode" json:"siteIconDarkmode"`
	SiteIconFull         []SizedImage          `codec:"siteIconFull" json:"siteIconFull"`
	SiteIconFullDarkmode []SizedImage          `codec:"siteIconFullDarkmode" json:"siteIconFullDarkmode"`
}

func (NonUserDetails) DeepCopy

func (o NonUserDetails) DeepCopy() NonUserDetails

type NormalizeSocialAssertionArg

type NormalizeSocialAssertionArg struct {
	Assertion string `codec:"assertion" json:"assertion"`
}

type NotificationChannels

type NotificationChannels struct {
	Session              bool `codec:"session" json:"session"`
	Users                bool `codec:"users" json:"users"`
	Kbfs                 bool `codec:"kbfs" json:"kbfs"`
	Kbfsdesktop          bool `codec:"kbfsdesktop" json:"kbfsdesktop"`
	Kbfslegacy           bool `codec:"kbfslegacy" json:"kbfslegacy"`
	Kbfssubscription     bool `codec:"kbfssubscription" json:"kbfssubscription"`
	Notifysimplefs       bool `codec:"notifysimplefs" json:"notifysimplefs"`
	Tracking             bool `codec:"tracking" json:"tracking"`
	Favorites            bool `codec:"favorites" json:"favorites"`
	Paperkeys            bool `codec:"paperkeys" json:"paperkeys"`
	Keyfamily            bool `codec:"keyfamily" json:"keyfamily"`
	Service              bool `codec:"service" json:"service"`
	App                  bool `codec:"app" json:"app"`
	Chat                 bool `codec:"chat" json:"chat"`
	PGP                  bool `codec:"pgp" json:"pgp"`
	Kbfsrequest          bool `codec:"kbfsrequest" json:"kbfsrequest"`
	Badges               bool `codec:"badges" json:"badges"`
	Reachability         bool `codec:"reachability" json:"reachability"`
	Team                 bool `codec:"team" json:"team"`
	Ephemeral            bool `codec:"ephemeral" json:"ephemeral"`
	Teambot              bool `codec:"teambot" json:"teambot"`
	Chatkbfsedits        bool `codec:"chatkbfsedits" json:"chatkbfsedits"`
	Chatdev              bool `codec:"chatdev" json:"chatdev"`
	Chatemoji            bool `codec:"chatemoji" json:"chatemoji"`
	Chatemojicross       bool `codec:"chatemojicross" json:"chatemojicross"`
	Deviceclone          bool `codec:"deviceclone" json:"deviceclone"`
	Chatattachments      bool `codec:"chatattachments" json:"chatattachments"`
	Wallet               bool `codec:"wallet" json:"wallet"`
	Audit                bool `codec:"audit" json:"audit"`
	Runtimestats         bool `codec:"runtimestats" json:"runtimestats"`
	FeaturedBots         bool `codec:"featuredBots" json:"featuredBots"`
	Saltpack             bool `codec:"saltpack" json:"saltpack"`
	AllowChatNotifySkips bool `codec:"allowChatNotifySkips" json:"allowChatNotifySkips"`
	Chatarchive          bool `codec:"chatarchive" json:"chatarchive"`
}

func (NotificationChannels) DeepCopy

type NotifyAppClient

type NotifyAppClient struct {
	Cli rpc.GenericClient
}

func (NotifyAppClient) Exit

func (c NotifyAppClient) Exit(ctx context.Context) (err error)

type NotifyAppInterface

type NotifyAppInterface interface {
	Exit(context.Context) error
}

type NotifyAuditClient

type NotifyAuditClient struct {
	Cli rpc.GenericClient
}

func (NotifyAuditClient) BoxAuditError

func (c NotifyAuditClient) BoxAuditError(ctx context.Context, message string) (err error)

func (NotifyAuditClient) RootAuditError

func (c NotifyAuditClient) RootAuditError(ctx context.Context, message string) (err error)

type NotifyAuditInterface

type NotifyAuditInterface interface {
	RootAuditError(context.Context, string) error
	BoxAuditError(context.Context, string) error
}

type NotifyBadgesClient

type NotifyBadgesClient struct {
	Cli rpc.GenericClient
}

func (NotifyBadgesClient) BadgeState

func (c NotifyBadgesClient) BadgeState(ctx context.Context, badgeState BadgeState) (err error)

type NotifyBadgesInterface

type NotifyBadgesInterface interface {
	BadgeState(context.Context, BadgeState) error
}

type NotifyCanUserPerformClient

type NotifyCanUserPerformClient struct {
	Cli rpc.GenericClient
}

func (NotifyCanUserPerformClient) CanUserPerformChanged

func (c NotifyCanUserPerformClient) CanUserPerformChanged(ctx context.Context, teamName string) (err error)

type NotifyCanUserPerformInterface

type NotifyCanUserPerformInterface interface {
	CanUserPerformChanged(context.Context, string) error
}

type NotifyCtlClient

type NotifyCtlClient struct {
	Cli rpc.GenericClient
}

func (NotifyCtlClient) SetNotifications

func (c NotifyCtlClient) SetNotifications(ctx context.Context, channels NotificationChannels) (err error)

type NotifyCtlInterface

type NotifyCtlInterface interface {
	SetNotifications(context.Context, NotificationChannels) error
}

type NotifyDeviceCloneClient

type NotifyDeviceCloneClient struct {
	Cli rpc.GenericClient
}

func (NotifyDeviceCloneClient) DeviceCloneCountChanged

func (c NotifyDeviceCloneClient) DeviceCloneCountChanged(ctx context.Context, newClones int) (err error)

type NotifyDeviceCloneInterface

type NotifyDeviceCloneInterface interface {
	DeviceCloneCountChanged(context.Context, int) error
}

type NotifyEmailAddressClient

type NotifyEmailAddressClient struct {
	Cli rpc.GenericClient
}

func (NotifyEmailAddressClient) EmailAddressVerified

func (c NotifyEmailAddressClient) EmailAddressVerified(ctx context.Context, emailAddress EmailAddress) (err error)

func (NotifyEmailAddressClient) EmailsChanged

func (c NotifyEmailAddressClient) EmailsChanged(ctx context.Context, __arg EmailsChangedArg) (err error)

type NotifyEmailAddressInterface

type NotifyEmailAddressInterface interface {
	EmailAddressVerified(context.Context, EmailAddress) error
	EmailsChanged(context.Context, EmailsChangedArg) error
}

type NotifyEphemeralClient

type NotifyEphemeralClient struct {
	Cli rpc.GenericClient
}

func (NotifyEphemeralClient) NewTeamEk

func (c NotifyEphemeralClient) NewTeamEk(ctx context.Context, __arg NewTeamEkArg) (err error)

func (NotifyEphemeralClient) NewTeambotEk

func (c NotifyEphemeralClient) NewTeambotEk(ctx context.Context, __arg NewTeambotEkArg) (err error)

func (NotifyEphemeralClient) TeambotEkNeeded

func (c NotifyEphemeralClient) TeambotEkNeeded(ctx context.Context, __arg TeambotEkNeededArg) (err error)

type NotifyEphemeralInterface

type NotifyEphemeralInterface interface {
	NewTeamEk(context.Context, NewTeamEkArg) error
	NewTeambotEk(context.Context, NewTeambotEkArg) error
	TeambotEkNeeded(context.Context, TeambotEkNeededArg) error
}

type NotifyFSClient

type NotifyFSClient struct {
	Cli rpc.GenericClient
}

func (NotifyFSClient) FSActivity

func (c NotifyFSClient) FSActivity(ctx context.Context, notification FSNotification) (err error)

func (NotifyFSClient) FSEditListResponse

func (c NotifyFSClient) FSEditListResponse(ctx context.Context, __arg FSEditListResponseArg) (err error)

func (NotifyFSClient) FSFavoritesChanged

func (c NotifyFSClient) FSFavoritesChanged(ctx context.Context) (err error)

func (NotifyFSClient) FSOnlineStatusChanged

func (c NotifyFSClient) FSOnlineStatusChanged(ctx context.Context, online bool) (err error)

func (NotifyFSClient) FSOverallSyncStatusChanged

func (c NotifyFSClient) FSOverallSyncStatusChanged(ctx context.Context, status FolderSyncStatus) (err error)

func (NotifyFSClient) FSPathUpdated

func (c NotifyFSClient) FSPathUpdated(ctx context.Context, path string) (err error)

func (NotifyFSClient) FSSubscriptionNotify

func (c NotifyFSClient) FSSubscriptionNotify(ctx context.Context, __arg FSSubscriptionNotifyArg) (err error)

func (NotifyFSClient) FSSubscriptionNotifyPath

func (c NotifyFSClient) FSSubscriptionNotifyPath(ctx context.Context, __arg FSSubscriptionNotifyPathArg) (err error)

func (NotifyFSClient) FSSyncActivity

func (c NotifyFSClient) FSSyncActivity(ctx context.Context, status FSPathSyncStatus) (err error)

func (NotifyFSClient) FSSyncStatusResponse

func (c NotifyFSClient) FSSyncStatusResponse(ctx context.Context, __arg FSSyncStatusResponseArg) (err error)

type NotifyFSInterface

type NotifyFSInterface interface {
	FSActivity(context.Context, FSNotification) error
	FSPathUpdated(context.Context, string) error
	FSSyncActivity(context.Context, FSPathSyncStatus) error
	FSEditListResponse(context.Context, FSEditListResponseArg) error
	FSSyncStatusResponse(context.Context, FSSyncStatusResponseArg) error
	FSOverallSyncStatusChanged(context.Context, FolderSyncStatus) error
	FSFavoritesChanged(context.Context) error
	FSOnlineStatusChanged(context.Context, bool) error
	FSSubscriptionNotifyPath(context.Context, FSSubscriptionNotifyPathArg) error
	FSSubscriptionNotify(context.Context, FSSubscriptionNotifyArg) error
}

type NotifyFSRequestClient

type NotifyFSRequestClient struct {
	Cli rpc.GenericClient
}

func (NotifyFSRequestClient) FSEditListRequest

func (c NotifyFSRequestClient) FSEditListRequest(ctx context.Context, req FSEditListRequest) (err error)

func (NotifyFSRequestClient) FSSyncStatusRequest

func (c NotifyFSRequestClient) FSSyncStatusRequest(ctx context.Context, req FSSyncStatusRequest) (err error)

type NotifyFSRequestInterface

type NotifyFSRequestInterface interface {
	FSEditListRequest(context.Context, FSEditListRequest) error
	FSSyncStatusRequest(context.Context, FSSyncStatusRequest) error
}

type NotifyFavoritesClient

type NotifyFavoritesClient struct {
	Cli rpc.GenericClient
}

func (NotifyFavoritesClient) FavoritesChanged

func (c NotifyFavoritesClient) FavoritesChanged(ctx context.Context, uid UID) (err error)

type NotifyFavoritesInterface

type NotifyFavoritesInterface interface {
	FavoritesChanged(context.Context, UID) error
}

type NotifyFeaturedBotsClient

type NotifyFeaturedBotsClient struct {
	Cli rpc.GenericClient
}

func (NotifyFeaturedBotsClient) FeaturedBotsUpdate

func (c NotifyFeaturedBotsClient) FeaturedBotsUpdate(ctx context.Context, __arg FeaturedBotsUpdateArg) (err error)

type NotifyFeaturedBotsInterface

type NotifyFeaturedBotsInterface interface {
	FeaturedBotsUpdate(context.Context, FeaturedBotsUpdateArg) error
}

type NotifyInviteFriendsClient

type NotifyInviteFriendsClient struct {
	Cli rpc.GenericClient
}

func (NotifyInviteFriendsClient) UpdateInviteCounts

func (c NotifyInviteFriendsClient) UpdateInviteCounts(ctx context.Context, counts InviteCounts) (err error)

type NotifyInviteFriendsInterface

type NotifyInviteFriendsInterface interface {
	UpdateInviteCounts(context.Context, InviteCounts) error
}

type NotifyKeyfamilyClient

type NotifyKeyfamilyClient struct {
	Cli rpc.GenericClient
}

func (NotifyKeyfamilyClient) KeyfamilyChanged

func (c NotifyKeyfamilyClient) KeyfamilyChanged(ctx context.Context, uid UID) (err error)

type NotifyKeyfamilyInterface

type NotifyKeyfamilyInterface interface {
	KeyfamilyChanged(context.Context, UID) error
}

type NotifyPGPClient

type NotifyPGPClient struct {
	Cli rpc.GenericClient
}

func (NotifyPGPClient) PGPKeyInSecretStoreFile

func (c NotifyPGPClient) PGPKeyInSecretStoreFile(ctx context.Context) (err error)

type NotifyPGPInterface

type NotifyPGPInterface interface {
	PGPKeyInSecretStoreFile(context.Context) error
}

type NotifyPaperKeyClient

type NotifyPaperKeyClient struct {
	Cli rpc.GenericClient
}

func (NotifyPaperKeyClient) PaperKeyCached

func (c NotifyPaperKeyClient) PaperKeyCached(ctx context.Context, __arg PaperKeyCachedArg) (err error)

type NotifyPaperKeyInterface

type NotifyPaperKeyInterface interface {
	PaperKeyCached(context.Context, PaperKeyCachedArg) error
}

type NotifyPhoneNumberClient

type NotifyPhoneNumberClient struct {
	Cli rpc.GenericClient
}

func (NotifyPhoneNumberClient) PhoneNumbersChanged

func (c NotifyPhoneNumberClient) PhoneNumbersChanged(ctx context.Context, __arg PhoneNumbersChangedArg) (err error)

type NotifyPhoneNumberInterface

type NotifyPhoneNumberInterface interface {
	PhoneNumbersChanged(context.Context, PhoneNumbersChangedArg) error
}

type NotifyRuntimeStatsClient

type NotifyRuntimeStatsClient struct {
	Cli rpc.GenericClient
}

func (NotifyRuntimeStatsClient) RuntimeStatsUpdate

func (c NotifyRuntimeStatsClient) RuntimeStatsUpdate(ctx context.Context, stats *RuntimeStats) (err error)

type NotifyRuntimeStatsInterface

type NotifyRuntimeStatsInterface interface {
	RuntimeStatsUpdate(context.Context, *RuntimeStats) error
}

type NotifySaltpackClient

type NotifySaltpackClient struct {
	Cli rpc.GenericClient
}

func (NotifySaltpackClient) SaltpackOperationDone

func (c NotifySaltpackClient) SaltpackOperationDone(ctx context.Context, __arg SaltpackOperationDoneArg) (err error)

func (NotifySaltpackClient) SaltpackOperationProgress

func (c NotifySaltpackClient) SaltpackOperationProgress(ctx context.Context, __arg SaltpackOperationProgressArg) (err error)

func (NotifySaltpackClient) SaltpackOperationStart

func (c NotifySaltpackClient) SaltpackOperationStart(ctx context.Context, __arg SaltpackOperationStartArg) (err error)

type NotifySaltpackInterface

type NotifySaltpackInterface interface {
	SaltpackOperationStart(context.Context, SaltpackOperationStartArg) error
	SaltpackOperationProgress(context.Context, SaltpackOperationProgressArg) error
	SaltpackOperationDone(context.Context, SaltpackOperationDoneArg) error
}

type NotifyServiceClient

type NotifyServiceClient struct {
	Cli rpc.GenericClient
}

func (NotifyServiceClient) HTTPSrvInfoUpdate

func (c NotifyServiceClient) HTTPSrvInfoUpdate(ctx context.Context, info HttpSrvInfo) (err error)
func (c NotifyServiceClient) HandleKeybaseLink(ctx context.Context, __arg HandleKeybaseLinkArg) (err error)

func (NotifyServiceClient) Shutdown

func (c NotifyServiceClient) Shutdown(ctx context.Context, code int) (err error)

type NotifyServiceInterface

type NotifyServiceInterface interface {
	HTTPSrvInfoUpdate(context.Context, HttpSrvInfo) error
	HandleKeybaseLink(context.Context, HandleKeybaseLinkArg) error
	Shutdown(context.Context, int) error
}

type NotifySessionClient

type NotifySessionClient struct {
	Cli rpc.GenericClient
}

func (NotifySessionClient) ClientOutOfDate

func (c NotifySessionClient) ClientOutOfDate(ctx context.Context, __arg ClientOutOfDateArg) (err error)

func (NotifySessionClient) LoggedIn

func (c NotifySessionClient) LoggedIn(ctx context.Context, __arg LoggedInArg) (err error)

func (NotifySessionClient) LoggedOut

func (c NotifySessionClient) LoggedOut(ctx context.Context) (err error)

type NotifySessionInterface

type NotifySessionInterface interface {
	LoggedOut(context.Context) error
	LoggedIn(context.Context, LoggedInArg) error
	ClientOutOfDate(context.Context, ClientOutOfDateArg) error
}

type NotifySimpleFSClient

type NotifySimpleFSClient struct {
	Cli rpc.GenericClient
}

func (NotifySimpleFSClient) SimpleFSArchiveStatusChanged

func (c NotifySimpleFSClient) SimpleFSArchiveStatusChanged(ctx context.Context, status SimpleFSArchiveStatus) (err error)

type NotifySimpleFSInterface

type NotifySimpleFSInterface interface {
	SimpleFSArchiveStatusChanged(context.Context, SimpleFSArchiveStatus) error
}

type NotifyTeamClient

type NotifyTeamClient struct {
	Cli rpc.GenericClient
}

func (NotifyTeamClient) AvatarUpdated

func (c NotifyTeamClient) AvatarUpdated(ctx context.Context, __arg AvatarUpdatedArg) (err error)

func (NotifyTeamClient) NewlyAddedToTeam

func (c NotifyTeamClient) NewlyAddedToTeam(ctx context.Context, teamID TeamID) (err error)

func (NotifyTeamClient) TeamAbandoned

func (c NotifyTeamClient) TeamAbandoned(ctx context.Context, teamID TeamID) (err error)

func (NotifyTeamClient) TeamChangedByID

func (c NotifyTeamClient) TeamChangedByID(ctx context.Context, __arg TeamChangedByIDArg) (err error)

func (NotifyTeamClient) TeamChangedByName

func (c NotifyTeamClient) TeamChangedByName(ctx context.Context, __arg TeamChangedByNameArg) (err error)

func (NotifyTeamClient) TeamDeleted

func (c NotifyTeamClient) TeamDeleted(ctx context.Context, teamID TeamID) (err error)

func (NotifyTeamClient) TeamExit

func (c NotifyTeamClient) TeamExit(ctx context.Context, teamID TeamID) (err error)

func (NotifyTeamClient) TeamMetadataUpdate

func (c NotifyTeamClient) TeamMetadataUpdate(ctx context.Context) (err error)

func (NotifyTeamClient) TeamRoleMapChanged

func (c NotifyTeamClient) TeamRoleMapChanged(ctx context.Context, newVersion UserTeamVersion) (err error)

func (NotifyTeamClient) TeamTreeMembershipsDone

func (c NotifyTeamClient) TeamTreeMembershipsDone(ctx context.Context, result TeamTreeMembershipsDoneResult) (err error)

func (NotifyTeamClient) TeamTreeMembershipsPartial

func (c NotifyTeamClient) TeamTreeMembershipsPartial(ctx context.Context, membership TeamTreeMembership) (err error)

type NotifyTeamInterface

type NotifyTeamInterface interface {
	TeamChangedByID(context.Context, TeamChangedByIDArg) error
	TeamChangedByName(context.Context, TeamChangedByNameArg) error
	TeamDeleted(context.Context, TeamID) error
	TeamAbandoned(context.Context, TeamID) error
	TeamExit(context.Context, TeamID) error
	NewlyAddedToTeam(context.Context, TeamID) error
	TeamRoleMapChanged(context.Context, UserTeamVersion) error
	AvatarUpdated(context.Context, AvatarUpdatedArg) error
	TeamMetadataUpdate(context.Context) error
	TeamTreeMembershipsPartial(context.Context, TeamTreeMembership) error
	TeamTreeMembershipsDone(context.Context, TeamTreeMembershipsDoneResult) error
}

type NotifyTeambotClient

type NotifyTeambotClient struct {
	Cli rpc.GenericClient
}

func (NotifyTeambotClient) NewTeambotKey

func (c NotifyTeambotClient) NewTeambotKey(ctx context.Context, __arg NewTeambotKeyArg) (err error)

func (NotifyTeambotClient) TeambotKeyNeeded

func (c NotifyTeambotClient) TeambotKeyNeeded(ctx context.Context, __arg TeambotKeyNeededArg) (err error)

type NotifyTeambotInterface

type NotifyTeambotInterface interface {
	NewTeambotKey(context.Context, NewTeambotKeyArg) error
	TeambotKeyNeeded(context.Context, TeambotKeyNeededArg) error
}

type NotifyTrackingClient

type NotifyTrackingClient struct {
	Cli rpc.GenericClient
}

func (NotifyTrackingClient) NotifyUserBlocked

func (c NotifyTrackingClient) NotifyUserBlocked(ctx context.Context, b UserBlockedSummary) (err error)

func (NotifyTrackingClient) TrackingChanged

func (c NotifyTrackingClient) TrackingChanged(ctx context.Context, __arg TrackingChangedArg) (err error)

func (NotifyTrackingClient) TrackingInfo

func (c NotifyTrackingClient) TrackingInfo(ctx context.Context, __arg TrackingInfoArg) (err error)

type NotifyTrackingInterface

type NotifyTrackingInterface interface {
	TrackingChanged(context.Context, TrackingChangedArg) error
	TrackingInfo(context.Context, TrackingInfoArg) error
	NotifyUserBlocked(context.Context, UserBlockedSummary) error
}

type NotifyUserBlockedArg

type NotifyUserBlockedArg struct {
	B UserBlockedSummary `codec:"b" json:"b"`
}

type NotifyUsersClient

type NotifyUsersClient struct {
	Cli rpc.GenericClient
}

func (NotifyUsersClient) IdentifyUpdate

func (c NotifyUsersClient) IdentifyUpdate(ctx context.Context, __arg IdentifyUpdateArg) (err error)

func (NotifyUsersClient) PasswordChanged

func (c NotifyUsersClient) PasswordChanged(ctx context.Context, state PassphraseState) (err error)

func (NotifyUsersClient) UserChanged

func (c NotifyUsersClient) UserChanged(ctx context.Context, uid UID) (err error)

func (NotifyUsersClient) WebOfTrustChanged

func (c NotifyUsersClient) WebOfTrustChanged(ctx context.Context, username string) (err error)

type NotifyUsersInterface

type NotifyUsersInterface interface {
	UserChanged(context.Context, UID) error
	WebOfTrustChanged(context.Context, string) error
	PasswordChanged(context.Context, PassphraseState) error
	IdentifyUpdate(context.Context, IdentifyUpdateArg) error
}

type OfflineAvailability

type OfflineAvailability int
const (
	OfflineAvailability_NONE        OfflineAvailability = 0
	OfflineAvailability_BEST_EFFORT OfflineAvailability = 1
)

func (OfflineAvailability) DeepCopy

func (OfflineAvailability) String

func (e OfflineAvailability) String() string

type OkToCheckArg

type OkToCheckArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
	Attempt   int    `codec:"attempt" json:"attempt"`
}

type OnLoginStartupStatus

type OnLoginStartupStatus int
const (
	OnLoginStartupStatus_UNKNOWN  OnLoginStartupStatus = 0
	OnLoginStartupStatus_DISABLED OnLoginStartupStatus = 1
	OnLoginStartupStatus_ENABLED  OnLoginStartupStatus = 2
)

func (OnLoginStartupStatus) DeepCopy

func (OnLoginStartupStatus) String

func (e OnLoginStartupStatus) String() string

type OpDescription

type OpDescription struct {
	AsyncOp__              AsyncOps          `codec:"asyncOp" json:"asyncOp"`
	List__                 *ListArgs         `codec:"list,omitempty" json:"list,omitempty"`
	ListRecursive__        *ListArgs         `codec:"listRecursive,omitempty" json:"listRecursive,omitempty"`
	ListRecursiveToDepth__ *ListToDepthArgs  `codec:"listRecursiveToDepth,omitempty" json:"listRecursiveToDepth,omitempty"`
	Read__                 *ReadArgs         `codec:"read,omitempty" json:"read,omitempty"`
	Write__                *WriteArgs        `codec:"write,omitempty" json:"write,omitempty"`
	Copy__                 *CopyArgs         `codec:"copy,omitempty" json:"copy,omitempty"`
	Move__                 *MoveArgs         `codec:"move,omitempty" json:"move,omitempty"`
	Remove__               *RemoveArgs       `codec:"remove,omitempty" json:"remove,omitempty"`
	GetRevisions__         *GetRevisionsArgs `codec:"getRevisions,omitempty" json:"getRevisions,omitempty"`
}

func NewOpDescriptionWithCopy

func NewOpDescriptionWithCopy(v CopyArgs) OpDescription

func NewOpDescriptionWithGetRevisions

func NewOpDescriptionWithGetRevisions(v GetRevisionsArgs) OpDescription

func NewOpDescriptionWithList

func NewOpDescriptionWithList(v ListArgs) OpDescription

func NewOpDescriptionWithListRecursive

func NewOpDescriptionWithListRecursive(v ListArgs) OpDescription

func NewOpDescriptionWithListRecursiveToDepth

func NewOpDescriptionWithListRecursiveToDepth(v ListToDepthArgs) OpDescription

func NewOpDescriptionWithMove

func NewOpDescriptionWithMove(v MoveArgs) OpDescription

func NewOpDescriptionWithRead

func NewOpDescriptionWithRead(v ReadArgs) OpDescription

func NewOpDescriptionWithRemove

func NewOpDescriptionWithRemove(v RemoveArgs) OpDescription

func NewOpDescriptionWithWrite

func NewOpDescriptionWithWrite(v WriteArgs) OpDescription

func (*OpDescription) AsyncOp

func (o *OpDescription) AsyncOp() (ret AsyncOps, err error)

func (OpDescription) Copy

func (o OpDescription) Copy() (res CopyArgs)

func (OpDescription) DeepCopy

func (o OpDescription) DeepCopy() OpDescription

func (OpDescription) GetRevisions

func (o OpDescription) GetRevisions() (res GetRevisionsArgs)

func (OpDescription) List

func (o OpDescription) List() (res ListArgs)

func (OpDescription) ListRecursive

func (o OpDescription) ListRecursive() (res ListArgs)

func (OpDescription) ListRecursiveToDepth

func (o OpDescription) ListRecursiveToDepth() (res ListToDepthArgs)

func (OpDescription) Move

func (o OpDescription) Move() (res MoveArgs)

func (OpDescription) Read

func (o OpDescription) Read() (res ReadArgs)

func (OpDescription) Remove

func (o OpDescription) Remove() (res RemoveArgs)

func (OpDescription) Write

func (o OpDescription) Write() (res WriteArgs)

type OpID

type OpID [16]byte

func (OpID) DeepCopy

func (o OpID) DeepCopy() OpID

type OpProgress

type OpProgress struct {
	Start        Time     `codec:"start" json:"start"`
	EndEstimate  Time     `codec:"endEstimate" json:"endEstimate"`
	OpType       AsyncOps `codec:"opType" json:"opType"`
	BytesTotal   int64    `codec:"bytesTotal" json:"bytesTotal"`
	BytesRead    int64    `codec:"bytesRead" json:"bytesRead"`
	BytesWritten int64    `codec:"bytesWritten" json:"bytesWritten"`
	FilesTotal   int64    `codec:"filesTotal" json:"filesTotal"`
	FilesRead    int64    `codec:"filesRead" json:"filesRead"`
	FilesWritten int64    `codec:"filesWritten" json:"filesWritten"`
}

func (OpProgress) DeepCopy

func (o OpProgress) DeepCopy() OpProgress

type OpenFlags

type OpenFlags int
const (
	OpenFlags_READ      OpenFlags = 0
	OpenFlags_REPLACE   OpenFlags = 1
	OpenFlags_EXISTING  OpenFlags = 2
	OpenFlags_WRITE     OpenFlags = 4
	OpenFlags_APPEND    OpenFlags = 8
	OpenFlags_DIRECTORY OpenFlags = 16
)

func (OpenFlags) DeepCopy

func (o OpenFlags) DeepCopy() OpenFlags

func (OpenFlags) String

func (e OpenFlags) String() string

type OutOfDateInfo

type OutOfDateInfo struct {
	UpgradeTo         string `codec:"upgradeTo" json:"upgradeTo"`
	UpgradeURI        string `codec:"upgradeURI" json:"upgradeURI"`
	CustomMessage     string `codec:"customMessage" json:"customMessage"`
	CriticalClockSkew int64  `codec:"criticalClockSkew" json:"criticalClockSkew"`
}

func (OutOfDateInfo) DeepCopy

func (o OutOfDateInfo) DeepCopy() OutOfDateInfo

type Outcome

type Outcome int
const (
	Outcome_NONE    Outcome = 0
	Outcome_FIXED   Outcome = 1
	Outcome_IGNORED Outcome = 2
)

func (Outcome) DeepCopy

func (o Outcome) DeepCopy() Outcome

func (Outcome) String

func (e Outcome) String() string

type OutputInstructionsArg

type OutputInstructionsArg struct {
	SessionID    int              `codec:"sessionID" json:"sessionID"`
	Instructions Text             `codec:"instructions" json:"instructions"`
	Proof        string           `codec:"proof" json:"proof"`
	Parameters   *ProveParameters `codec:"parameters,omitempty" json:"parameters,omitempty"`
}

type OutputPGPWarningArg

type OutputPGPWarningArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Warning   string `codec:"warning" json:"warning"`
}

type OutputPrechecksArg

type OutputPrechecksArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	Text      Text `codec:"text" json:"text"`
}

type OutputSignatureNonKeybaseArg

type OutputSignatureNonKeybaseArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	KeyID     string   `codec:"keyID" json:"keyID"`
	SignedAt  Time     `codec:"signedAt" json:"signedAt"`
	Warnings  []string `codec:"warnings" json:"warnings"`
}

type OutputSignatureSuccessArg

type OutputSignatureSuccessArg struct {
	SessionID   int      `codec:"sessionID" json:"sessionID"`
	Fingerprint string   `codec:"fingerprint" json:"fingerprint"`
	Username    string   `codec:"username" json:"username"`
	SignedAt    Time     `codec:"signedAt" json:"signedAt"`
	Warnings    []string `codec:"warnings" json:"warnings"`
}

type PGPClient

type PGPClient struct {
	Cli rpc.GenericClient
}

func (PGPClient) PGPDecrypt

func (c PGPClient) PGPDecrypt(ctx context.Context, __arg PGPDecryptArg) (res PGPSigVerification, err error)

func (PGPClient) PGPDeletePrimary

func (c PGPClient) PGPDeletePrimary(ctx context.Context, sessionID int) (err error)

func (PGPClient) PGPEncrypt

func (c PGPClient) PGPEncrypt(ctx context.Context, __arg PGPEncryptArg) (err error)

func (PGPClient) PGPExport

func (c PGPClient) PGPExport(ctx context.Context, __arg PGPExportArg) (res []KeyInfo, err error)

Exports active PGP keys. Only allows armored export.

func (PGPClient) PGPExportByFingerprint

func (c PGPClient) PGPExportByFingerprint(ctx context.Context, __arg PGPExportByFingerprintArg) (res []KeyInfo, err error)

func (PGPClient) PGPExportByKID

func (c PGPClient) PGPExportByKID(ctx context.Context, __arg PGPExportByKIDArg) (res []KeyInfo, err error)

func (PGPClient) PGPImport

func (c PGPClient) PGPImport(ctx context.Context, __arg PGPImportArg) (err error)

func (PGPClient) PGPKeyGen

func (c PGPClient) PGPKeyGen(ctx context.Context, __arg PGPKeyGenArg) (err error)

func (PGPClient) PGPKeyGenDefault

func (c PGPClient) PGPKeyGenDefault(ctx context.Context, __arg PGPKeyGenDefaultArg) (err error)

func (PGPClient) PGPPull

func (c PGPClient) PGPPull(ctx context.Context, __arg PGPPullArg) (err error)

Download PGP keys for tracked users and update the local GPG keyring. If usernames is nonempty, update only those users.

func (PGPClient) PGPPullPrivate

func (c PGPClient) PGPPullPrivate(ctx context.Context, __arg PGPPullPrivateArg) (err error)

pull the given PGP keys from KBFS to the local GnuPG keychain. If it is empty, then attempt to pull all matching PGP keys in the user's sigchain.

func (PGPClient) PGPPurge

func (c PGPClient) PGPPurge(ctx context.Context, __arg PGPPurgeArg) (res PGPPurgeRes, err error)

func (PGPClient) PGPPushPrivate

func (c PGPClient) PGPPushPrivate(ctx context.Context, __arg PGPPushPrivateArg) (err error)

push the PGP key that matches the given fingerprints from GnuPG to KBFS. If it is empty, then push all matching PGP keys in the user's sigchain.

func (PGPClient) PGPSelect

func (c PGPClient) PGPSelect(ctx context.Context, __arg PGPSelectArg) (err error)

Select an existing key and add to Keybase.

func (PGPClient) PGPSign

func (c PGPClient) PGPSign(ctx context.Context, __arg PGPSignArg) (err error)

func (PGPClient) PGPStorageDismiss

func (c PGPClient) PGPStorageDismiss(ctx context.Context, sessionID int) (err error)

Dismiss the PGP unlock via secret_store_file notification.

func (PGPClient) PGPUpdate

func (c PGPClient) PGPUpdate(ctx context.Context, __arg PGPUpdateArg) (err error)

Push updated key(s) to the server.

func (PGPClient) PGPVerify

func (c PGPClient) PGPVerify(ctx context.Context, __arg PGPVerifyArg) (res PGPSigVerification, err error)

type PGPCreateUids

type PGPCreateUids struct {
	UseDefault bool          `codec:"useDefault" json:"useDefault"`
	Ids        []PGPIdentity `codec:"ids" json:"ids"`
}

func (PGPCreateUids) DeepCopy

func (o PGPCreateUids) DeepCopy() PGPCreateUids

type PGPDecryptArg

type PGPDecryptArg struct {
	SessionID int               `codec:"sessionID" json:"sessionID"`
	Source    Stream            `codec:"source" json:"source"`
	Sink      Stream            `codec:"sink" json:"sink"`
	Opts      PGPDecryptOptions `codec:"opts" json:"opts"`
}

type PGPDecryptOptions

type PGPDecryptOptions struct {
	AssertSigned bool   `codec:"assertSigned" json:"assertSigned"`
	SignedBy     string `codec:"signedBy" json:"signedBy"`
}

func (PGPDecryptOptions) DeepCopy

func (o PGPDecryptOptions) DeepCopy() PGPDecryptOptions

type PGPDeletePrimaryArg

type PGPDeletePrimaryArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type PGPEncryptArg

type PGPEncryptArg struct {
	SessionID int               `codec:"sessionID" json:"sessionID"`
	Source    Stream            `codec:"source" json:"source"`
	Sink      Stream            `codec:"sink" json:"sink"`
	Opts      PGPEncryptOptions `codec:"opts" json:"opts"`
}

type PGPEncryptOptions

type PGPEncryptOptions struct {
	Recipients []string `codec:"recipients" json:"recipients"`
	NoSign     bool     `codec:"noSign" json:"noSign"`
	NoSelf     bool     `codec:"noSelf" json:"noSelf"`
	BinaryOut  bool     `codec:"binaryOut" json:"binaryOut"`
	KeyQuery   string   `codec:"keyQuery" json:"keyQuery"`
}

func (PGPEncryptOptions) DeepCopy

func (o PGPEncryptOptions) DeepCopy() PGPEncryptOptions

type PGPExportArg

type PGPExportArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Options   PGPQuery `codec:"options" json:"options"`
	Encrypted bool     `codec:"encrypted" json:"encrypted"`
}

type PGPExportByFingerprintArg

type PGPExportByFingerprintArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Options   PGPQuery `codec:"options" json:"options"`
	Encrypted bool     `codec:"encrypted" json:"encrypted"`
}

type PGPExportByKIDArg

type PGPExportByKIDArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Options   PGPQuery `codec:"options" json:"options"`
	Encrypted bool     `codec:"encrypted" json:"encrypted"`
}

type PGPFingerprint

type PGPFingerprint [20]byte

func PGPFingerprintFromString

func PGPFingerprintFromString(s string) (ret PGPFingerprint, err error)

func (PGPFingerprint) DeepCopy

func (o PGPFingerprint) DeepCopy() PGPFingerprint

func (PGPFingerprint) MarshalJSON

func (p PGPFingerprint) MarshalJSON() ([]byte, error)

func (*PGPFingerprint) String

func (p *PGPFingerprint) String() string

func (*PGPFingerprint) UnmarshalJSON

func (p *PGPFingerprint) UnmarshalJSON(b []byte) error

type PGPIdentity

type PGPIdentity struct {
	Username string `codec:"username" json:"username"`
	Comment  string `codec:"comment" json:"comment"`
	Email    string `codec:"email" json:"email"`
}

func (PGPIdentity) DeepCopy

func (o PGPIdentity) DeepCopy() PGPIdentity

type PGPImportArg

type PGPImportArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Key        []byte `codec:"key" json:"key"`
	PushSecret bool   `codec:"pushSecret" json:"pushSecret"`
}

type PGPInterface

type PGPInterface interface {
	PGPSign(context.Context, PGPSignArg) error
	// Download PGP keys for tracked users and update the local GPG keyring.
	// If usernames is nonempty, update only those users.
	PGPPull(context.Context, PGPPullArg) error
	PGPEncrypt(context.Context, PGPEncryptArg) error
	PGPDecrypt(context.Context, PGPDecryptArg) (PGPSigVerification, error)
	PGPVerify(context.Context, PGPVerifyArg) (PGPSigVerification, error)
	PGPImport(context.Context, PGPImportArg) error
	// Exports active PGP keys. Only allows armored export.
	PGPExport(context.Context, PGPExportArg) ([]KeyInfo, error)
	PGPExportByFingerprint(context.Context, PGPExportByFingerprintArg) ([]KeyInfo, error)
	PGPExportByKID(context.Context, PGPExportByKIDArg) ([]KeyInfo, error)
	PGPKeyGen(context.Context, PGPKeyGenArg) error
	PGPKeyGenDefault(context.Context, PGPKeyGenDefaultArg) error
	PGPDeletePrimary(context.Context, int) error
	// Select an existing key and add to Keybase.
	PGPSelect(context.Context, PGPSelectArg) error
	// Push updated key(s) to the server.
	PGPUpdate(context.Context, PGPUpdateArg) error
	PGPPurge(context.Context, PGPPurgeArg) (PGPPurgeRes, error)
	// Dismiss the PGP unlock via secret_store_file notification.
	PGPStorageDismiss(context.Context, int) error
	// push the PGP key that matches the given fingerprints from GnuPG to KBFS. If it is empty, then
	// push all matching PGP keys in the user's sigchain.
	PGPPushPrivate(context.Context, PGPPushPrivateArg) error
	// pull the given PGP keys from KBFS to the local GnuPG keychain. If it is empty, then
	// attempt to pull all matching PGP keys in the user's sigchain.
	PGPPullPrivate(context.Context, PGPPullPrivateArg) error
}

type PGPKeyGenArg

type PGPKeyGenArg struct {
	SessionID       int           `codec:"sessionID" json:"sessionID"`
	PrimaryBits     int           `codec:"primaryBits" json:"primaryBits"`
	SubkeyBits      int           `codec:"subkeyBits" json:"subkeyBits"`
	CreateUids      PGPCreateUids `codec:"createUids" json:"createUids"`
	AllowMulti      bool          `codec:"allowMulti" json:"allowMulti"`
	DoExport        bool          `codec:"doExport" json:"doExport"`
	ExportEncrypted bool          `codec:"exportEncrypted" json:"exportEncrypted"`
	PushSecret      bool          `codec:"pushSecret" json:"pushSecret"`
}

type PGPKeyGenDefaultArg

type PGPKeyGenDefaultArg struct {
	SessionID  int           `codec:"sessionID" json:"sessionID"`
	CreateUids PGPCreateUids `codec:"createUids" json:"createUids"`
}

type PGPKeyInSecretStoreFileArg

type PGPKeyInSecretStoreFileArg struct {
}

type PGPPullArg

type PGPPullArg struct {
	SessionID   int      `codec:"sessionID" json:"sessionID"`
	UserAsserts []string `codec:"userAsserts" json:"userAsserts"`
}

type PGPPullPrivateArg

type PGPPullPrivateArg struct {
	SessionID    int              `codec:"sessionID" json:"sessionID"`
	Fingerprints []PGPFingerprint `codec:"fingerprints" json:"fingerprints"`
}

type PGPPurgeArg

type PGPPurgeArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	DoPurge   bool `codec:"doPurge" json:"doPurge"`
}

type PGPPurgeRes

type PGPPurgeRes struct {
	Filenames []string `codec:"filenames" json:"filenames"`
}

Export all pgp keys in lksec, then if doPurge is true, remove the keys from lksec.

func (PGPPurgeRes) DeepCopy

func (o PGPPurgeRes) DeepCopy() PGPPurgeRes

type PGPPushPrivateArg

type PGPPushPrivateArg struct {
	SessionID    int              `codec:"sessionID" json:"sessionID"`
	Fingerprints []PGPFingerprint `codec:"fingerprints" json:"fingerprints"`
}

type PGPQuery

type PGPQuery struct {
	Secret     bool   `codec:"secret" json:"secret"`
	Query      string `codec:"query" json:"query"`
	ExactMatch bool   `codec:"exactMatch" json:"exactMatch"`
}

func (PGPQuery) DeepCopy

func (o PGPQuery) DeepCopy() PGPQuery

type PGPSelectArg

type PGPSelectArg struct {
	SessionID        int    `codec:"sessionID" json:"sessionID"`
	FingerprintQuery string `codec:"fingerprintQuery" json:"fingerprintQuery"`
	AllowMulti       bool   `codec:"allowMulti" json:"allowMulti"`
	SkipImport       bool   `codec:"skipImport" json:"skipImport"`
	OnlyImport       bool   `codec:"onlyImport" json:"onlyImport"`
}

type PGPSigVerification

type PGPSigVerification struct {
	IsSigned bool      `codec:"isSigned" json:"isSigned"`
	Verified bool      `codec:"verified" json:"verified"`
	Signer   User      `codec:"signer" json:"signer"`
	SignKey  PublicKey `codec:"signKey" json:"signKey"`
	Warnings []string  `codec:"warnings" json:"warnings"`
}

PGPSigVerification is returned by pgpDecrypt and pgpVerify with information about the signature verification. If isSigned is false, there was no signature, and the rest of the fields should be ignored.

func (PGPSigVerification) DeepCopy

type PGPSignArg

type PGPSignArg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	Source    Stream         `codec:"source" json:"source"`
	Sink      Stream         `codec:"sink" json:"sink"`
	Opts      PGPSignOptions `codec:"opts" json:"opts"`
}

type PGPSignOptions

type PGPSignOptions struct {
	KeyQuery  string   `codec:"keyQuery" json:"keyQuery"`
	Mode      SignMode `codec:"mode" json:"mode"`
	BinaryIn  bool     `codec:"binaryIn" json:"binaryIn"`
	BinaryOut bool     `codec:"binaryOut" json:"binaryOut"`
}

func (PGPSignOptions) DeepCopy

func (o PGPSignOptions) DeepCopy() PGPSignOptions

type PGPStorageDismissArg

type PGPStorageDismissArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type PGPUiClient

type PGPUiClient struct {
	Cli rpc.GenericClient
}

func (PGPUiClient) Finished

func (c PGPUiClient) Finished(ctx context.Context, sessionID int) (err error)

func (PGPUiClient) KeyGenerated

func (c PGPUiClient) KeyGenerated(ctx context.Context, __arg KeyGeneratedArg) (err error)

func (PGPUiClient) OutputPGPWarning

func (c PGPUiClient) OutputPGPWarning(ctx context.Context, __arg OutputPGPWarningArg) (err error)

func (PGPUiClient) OutputSignatureNonKeybase

func (c PGPUiClient) OutputSignatureNonKeybase(ctx context.Context, __arg OutputSignatureNonKeybaseArg) (err error)

func (PGPUiClient) OutputSignatureSuccess

func (c PGPUiClient) OutputSignatureSuccess(ctx context.Context, __arg OutputSignatureSuccessArg) (err error)

func (PGPUiClient) ShouldPushPrivate

func (c PGPUiClient) ShouldPushPrivate(ctx context.Context, __arg ShouldPushPrivateArg) (res bool, err error)

type PGPUiInterface

type PGPUiInterface interface {
	OutputPGPWarning(context.Context, OutputPGPWarningArg) error
	OutputSignatureSuccess(context.Context, OutputSignatureSuccessArg) error
	OutputSignatureNonKeybase(context.Context, OutputSignatureNonKeybaseArg) error
	KeyGenerated(context.Context, KeyGeneratedArg) error
	ShouldPushPrivate(context.Context, ShouldPushPrivateArg) (bool, error)
	Finished(context.Context, int) error
}

type PGPUpdateArg

type PGPUpdateArg struct {
	SessionID    int      `codec:"sessionID" json:"sessionID"`
	All          bool     `codec:"all" json:"all"`
	Fingerprints []string `codec:"fingerprints" json:"fingerprints"`
}

type PGPVerifyArg

type PGPVerifyArg struct {
	SessionID int              `codec:"sessionID" json:"sessionID"`
	Source    Stream           `codec:"source" json:"source"`
	Opts      PGPVerifyOptions `codec:"opts" json:"opts"`
}

type PGPVerifyOptions

type PGPVerifyOptions struct {
	SignedBy  string `codec:"signedBy" json:"signedBy"`
	Signature []byte `codec:"signature" json:"signature"`
}

func (PGPVerifyOptions) DeepCopy

func (o PGPVerifyOptions) DeepCopy() PGPVerifyOptions

type PTKType

type PTKType int
const (
	PTKType_READER PTKType = 0
)

func (PTKType) DeepCopy

func (o PTKType) DeepCopy() PTKType

func (PTKType) String

func (e PTKType) String() string

type PanicArg

type PanicArg struct {
	Message string `codec:"message" json:"message"`
}

type PaperKeyArg

type PaperKeyArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type PaperKeyCachedArg

type PaperKeyCachedArg struct {
	Uid    UID `codec:"uid" json:"uid"`
	EncKID KID `codec:"encKID" json:"encKID"`
	SigKID KID `codec:"sigKID" json:"sigKID"`
}

type PaperKeySubmitArg

type PaperKeySubmitArg struct {
	SessionID   int    `codec:"sessionID" json:"sessionID"`
	PaperPhrase string `codec:"paperPhrase" json:"paperPhrase"`
}

type PaperProvisionArg

type PaperProvisionArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Username   string `codec:"username" json:"username"`
	DeviceName string `codec:"deviceName" json:"deviceName"`
	PaperKey   string `codec:"paperKey" json:"paperKey"`
}

type PaperprovisionClient

type PaperprovisionClient struct {
	Cli rpc.GenericClient
}

func (PaperprovisionClient) PaperProvision

func (c PaperprovisionClient) PaperProvision(ctx context.Context, __arg PaperProvisionArg) (err error)

Performs paper provision. If the current device isn't provisioned, this function will provision it.

type PaperprovisionInterface

type PaperprovisionInterface interface {
	// Performs paper provision.
	// If the current device isn't provisioned, this function will
	// provision it.
	PaperProvision(context.Context, PaperProvisionArg) error
}

type ParamProofJSON

type ParamProofJSON struct {
	SigHash    SigID  `codec:"sigHash" json:"sig_hash"`
	KbUsername string `codec:"kbUsername" json:"kb_username"`
}

func (ParamProofJSON) DeepCopy

func (o ParamProofJSON) DeepCopy() ParamProofJSON

type ParamProofServiceConfig

type ParamProofServiceConfig struct {
	Version        int                      `codec:"version" json:"version"`
	Domain         string                   `codec:"domain" json:"domain"`
	DisplayName    string                   `codec:"displayName" json:"display_name"`
	Description    string                   `codec:"description" json:"description"`
	UsernameConfig ParamProofUsernameConfig `codec:"usernameConfig" json:"username"`
	BrandColor     string                   `codec:"brandColor" json:"brand_color"`
	PrefillUrl     string                   `codec:"prefillUrl" json:"prefill_url"`
	ProfileUrl     string                   `codec:"profileUrl" json:"profile_url"`
	CheckUrl       string                   `codec:"checkUrl" json:"check_url"`
	CheckPath      []SelectorEntry          `codec:"checkPath" json:"check_path"`
	AvatarPath     []SelectorEntry          `codec:"avatarPath" json:"avatar_path"`
}

func (ParamProofServiceConfig) DeepCopy

type ParamProofUsernameConfig

type ParamProofUsernameConfig struct {
	Re  string `codec:"re" json:"re"`
	Min int    `codec:"min" json:"min"`
	Max int    `codec:"max" json:"max"`
}

func (ParamProofUsernameConfig) DeepCopy

type PassphraseChangeArg

type PassphraseChangeArg struct {
	SessionID     int    `codec:"sessionID" json:"sessionID"`
	OldPassphrase string `codec:"oldPassphrase" json:"oldPassphrase"`
	Passphrase    string `codec:"passphrase" json:"passphrase"`
	Force         bool   `codec:"force" json:"force"`
}

type PassphraseCheckArg

type PassphraseCheckArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Passphrase string `codec:"passphrase" json:"passphrase"`
}

type PassphraseCommonClient

type PassphraseCommonClient struct {
	Cli rpc.GenericClient
}

type PassphraseCommonInterface

type PassphraseCommonInterface interface {
}

type PassphrasePromptArg

type PassphrasePromptArg struct {
	SessionID int         `codec:"sessionID" json:"sessionID"`
	GuiArg    GUIEntryArg `codec:"guiArg" json:"guiArg"`
}

type PassphraseRecoveryPromptType

type PassphraseRecoveryPromptType int
const (
	PassphraseRecoveryPromptType_ENCRYPTED_PGP_KEYS PassphraseRecoveryPromptType = 0
)

func (PassphraseRecoveryPromptType) DeepCopy

func (PassphraseRecoveryPromptType) String

type PassphraseState

type PassphraseState int

PassphraseState values are used in .config.json, so should not be changed without a migration strategy

const (
	PassphraseState_KNOWN  PassphraseState = 0
	PassphraseState_RANDOM PassphraseState = 1
)

func (PassphraseState) DeepCopy

func (o PassphraseState) DeepCopy() PassphraseState

func (PassphraseState) String

func (e PassphraseState) String() string

type PassphraseStream

type PassphraseStream struct {
	PassphraseStream []byte `codec:"passphraseStream" json:"passphraseStream"`
	Generation       int    `codec:"generation" json:"generation"`
}

func (PassphraseStream) DeepCopy

func (o PassphraseStream) DeepCopy() PassphraseStream

type PassphraseType

type PassphraseType int
const (
	PassphraseType_NONE               PassphraseType = 0
	PassphraseType_PAPER_KEY          PassphraseType = 1
	PassphraseType_PASS_PHRASE        PassphraseType = 2
	PassphraseType_VERIFY_PASS_PHRASE PassphraseType = 3
)

func (PassphraseType) DeepCopy

func (o PassphraseType) DeepCopy() PassphraseType

func (PassphraseType) String

func (e PassphraseType) String() string

type PasswordChangedArg

type PasswordChangedArg struct {
	State PassphraseState `codec:"state" json:"state"`
}

type Path

type Path struct {
	PathType__     PathType          `codec:"PathType" json:"PathType"`
	Local__        *string           `codec:"local,omitempty" json:"local,omitempty"`
	Kbfs__         *KBFSPath         `codec:"kbfs,omitempty" json:"kbfs,omitempty"`
	KbfsArchived__ *KBFSArchivedPath `codec:"kbfsArchived,omitempty" json:"kbfsArchived,omitempty"`
}

func NewPathWithKbfs

func NewPathWithKbfs(v KBFSPath) Path

func NewPathWithKbfsArchived

func NewPathWithKbfsArchived(v KBFSArchivedPath) Path

func NewPathWithKbfsPath

func NewPathWithKbfsPath(path string) Path

func NewPathWithLocal

func NewPathWithLocal(v string) Path

func (Path) DeepCopy

func (o Path) DeepCopy() Path

func (Path) Kbfs

func (o Path) Kbfs() (res KBFSPath)

func (Path) KbfsArchived

func (o Path) KbfsArchived() (res KBFSArchivedPath)

func (Path) Local

func (o Path) Local() (res string)

func (*Path) PathType

func (o *Path) PathType() (ret PathType, err error)

func (Path) String

func (path Path) String() string

type PathSubscriptionTopic

type PathSubscriptionTopic int
const (
	PathSubscriptionTopic_CHILDREN PathSubscriptionTopic = 0
	PathSubscriptionTopic_STAT     PathSubscriptionTopic = 1
)

func (PathSubscriptionTopic) DeepCopy

func (PathSubscriptionTopic) String

func (e PathSubscriptionTopic) String() string

type PathType

type PathType int
const (
	PathType_LOCAL         PathType = 0
	PathType_KBFS          PathType = 1
	PathType_KBFS_ARCHIVED PathType = 2
)

func (PathType) DeepCopy

func (o PathType) DeepCopy() PathType

func (PathType) String

func (e PathType) String() string

type PerTeamKey

type PerTeamKey struct {
	Gen    PerTeamKeyGeneration `codec:"gen" json:"gen"`
	Seqno  Seqno                `codec:"seqno" json:"seqno"`
	SigKID KID                  `codec:"sigKID" json:"sigKID"`
	EncKID KID                  `codec:"encKID" json:"encKID"`
}

func (PerTeamKey) DeepCopy

func (o PerTeamKey) DeepCopy() PerTeamKey

func (PerTeamKey) Equal

func (p PerTeamKey) Equal(q PerTeamKey) bool

type PerTeamKeyAndCheck

type PerTeamKeyAndCheck struct {
	Ptk   PerTeamKey                `codec:"ptk" json:"ptk"`
	Check PerTeamSeedCheckPostImage `codec:"check" json:"check"`
}

func (PerTeamKeyAndCheck) DeepCopy

type PerTeamKeyGeneration

type PerTeamKeyGeneration int

func (PerTeamKeyGeneration) DeepCopy

type PerTeamKeySeed

type PerTeamKeySeed [32]byte

func PerTeamKeySeedFromBytes

func PerTeamKeySeedFromBytes(b []byte) (PerTeamKeySeed, error)

func (PerTeamKeySeed) DeepCopy

func (o PerTeamKeySeed) DeepCopy() PerTeamKeySeed

func (PerTeamKeySeed) IsZero

func (s PerTeamKeySeed) IsZero() bool

func (PerTeamKeySeed) ToBytes

func (s PerTeamKeySeed) ToBytes() []byte

type PerTeamKeySeedItem

type PerTeamKeySeedItem struct {
	Seed       PerTeamKeySeed       `codec:"seed" json:"seed"`
	Generation PerTeamKeyGeneration `codec:"generation" json:"generation"`
	Seqno      Seqno                `codec:"seqno" json:"seqno"`
	Check      *PerTeamSeedCheck    `codec:"check,omitempty" json:"check,omitempty"`
}

func (PerTeamKeySeedItem) DeepCopy

type PerTeamSeedCheck

type PerTeamSeedCheck struct {
	Version PerTeamSeedCheckVersion `codec:"version" json:"version"`
	Value   PerTeamSeedCheckValue   `codec:"value" json:"value"`
}

func (PerTeamSeedCheck) DeepCopy

func (o PerTeamSeedCheck) DeepCopy() PerTeamSeedCheck

func (PerTeamSeedCheck) Hash

type PerTeamSeedCheckPostImage

type PerTeamSeedCheckPostImage struct {
	Value   PerTeamSeedCheckValuePostImage `codec:"h" json:"h"`
	Version PerTeamSeedCheckVersion        `codec:"v" json:"v"`
}

func (PerTeamSeedCheckPostImage) DeepCopy

func (PerTeamSeedCheckPostImage) Eq

type PerTeamSeedCheckValue

type PerTeamSeedCheckValue []byte

func (PerTeamSeedCheckValue) DeepCopy

type PerTeamSeedCheckValuePostImage

type PerTeamSeedCheckValuePostImage []byte

func (PerTeamSeedCheckValuePostImage) DeepCopy

type PerTeamSeedCheckVersion

type PerTeamSeedCheckVersion int
const (
	PerTeamSeedCheckVersion_V1 PerTeamSeedCheckVersion = 1
)

func (PerTeamSeedCheckVersion) DeepCopy

func (PerTeamSeedCheckVersion) String

func (e PerTeamSeedCheckVersion) String() string

type PerUserKey

type PerUserKey struct {
	Gen         int   `codec:"gen" json:"gen"`
	Seqno       Seqno `codec:"seqno" json:"seqno"`
	SigKID      KID   `codec:"sigKID" json:"sigKID"`
	EncKID      KID   `codec:"encKID" json:"encKID"`
	SignedByKID KID   `codec:"signedByKID" json:"signedByKID"`
}

func (PerUserKey) DeepCopy

func (o PerUserKey) DeepCopy() PerUserKey

type PerUserKeyBox

type PerUserKeyBox struct {
	Generation  PerUserKeyGeneration `codec:"generation" json:"generation"`
	Box         string               `codec:"box" json:"box"`
	ReceiverKID KID                  `codec:"receiverKID" json:"receiver_kid"`
}

func (PerUserKeyBox) DeepCopy

func (o PerUserKeyBox) DeepCopy() PerUserKeyBox

type PerUserKeyGeneration

type PerUserKeyGeneration int

func (PerUserKeyGeneration) DeepCopy

type PerfEvent

type PerfEvent struct {
	Message   string        `codec:"message" json:"message"`
	Ctime     Time          `codec:"ctime" json:"ctime"`
	EventType PerfEventType `codec:"eventType" json:"eventType"`
}

func (PerfEvent) DeepCopy

func (o PerfEvent) DeepCopy() PerfEvent

type PerfEventType

type PerfEventType int
const (
	PerfEventType_NETWORK      PerfEventType = 0
	PerfEventType_TEAMBOXAUDIT PerfEventType = 1
	PerfEventType_TEAMAUDIT    PerfEventType = 2
	PerfEventType_USERCHAIN    PerfEventType = 3
	PerfEventType_TEAMCHAIN    PerfEventType = 4
	PerfEventType_CLEARCONV    PerfEventType = 5
	PerfEventType_CLEARINBOX   PerfEventType = 6
	PerfEventType_TEAMTREELOAD PerfEventType = 7
)

func (PerfEventType) DeepCopy

func (o PerfEventType) DeepCopy() PerfEventType

func (PerfEventType) String

func (e PerfEventType) String() string

type PerfLogPointArg

type PerfLogPointArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Msg       string `codec:"msg" json:"msg"`
}

type PhoneLookupResult

type PhoneLookupResult struct {
	Uid      UID      `codec:"uid" json:"uid"`
	Username string   `codec:"username" json:"username"`
	Ctime    UnixTime `codec:"ctime" json:"ctime"`
}

func (PhoneLookupResult) DeepCopy

func (o PhoneLookupResult) DeepCopy() PhoneLookupResult

type PhoneNumber

type PhoneNumber string

func (PhoneNumber) AssertionValue

func (p PhoneNumber) AssertionValue() string

func (PhoneNumber) DeepCopy

func (o PhoneNumber) DeepCopy() PhoneNumber

func (PhoneNumber) String

func (p PhoneNumber) String() string

type PhoneNumberChangedMsg

type PhoneNumberChangedMsg struct {
	PhoneNumber PhoneNumber `codec:"phoneNumber" json:"phone"`
}

func (PhoneNumberChangedMsg) DeepCopy

type PhoneNumberLookupResult

type PhoneNumberLookupResult struct {
	PhoneNumber        RawPhoneNumber `codec:"phoneNumber" json:"phone_number"`
	CoercedPhoneNumber PhoneNumber    `codec:"coercedPhoneNumber" json:"coerced_phone_number"`
	Err                *string        `codec:"err,omitempty" json:"err,omitempty"`
	Uid                *UID           `codec:"uid,omitempty" json:"uid,omitempty"`
}

func (PhoneNumberLookupResult) DeepCopy

type PhoneNumbersChangedArg

type PhoneNumbersChangedArg struct {
	List        []UserPhoneNumber `codec:"list" json:"list"`
	Category    string            `codec:"category" json:"category"`
	PhoneNumber PhoneNumber       `codec:"phoneNumber" json:"phoneNumber"`
}

type PhoneNumbersClient

type PhoneNumbersClient struct {
	Cli rpc.GenericClient
}

func (PhoneNumbersClient) AddPhoneNumber

func (c PhoneNumbersClient) AddPhoneNumber(ctx context.Context, __arg AddPhoneNumberArg) (err error)

func (PhoneNumbersClient) DeletePhoneNumber

func (c PhoneNumbersClient) DeletePhoneNumber(ctx context.Context, __arg DeletePhoneNumberArg) (err error)

func (PhoneNumbersClient) EditPhoneNumber

func (c PhoneNumbersClient) EditPhoneNumber(ctx context.Context, __arg EditPhoneNumberArg) (err error)

func (PhoneNumbersClient) GetPhoneNumbers

func (c PhoneNumbersClient) GetPhoneNumbers(ctx context.Context, sessionID int) (res []UserPhoneNumber, err error)

func (PhoneNumbersClient) ResendVerificationForPhoneNumber

func (c PhoneNumbersClient) ResendVerificationForPhoneNumber(ctx context.Context, __arg ResendVerificationForPhoneNumberArg) (err error)

func (PhoneNumbersClient) SetVisibilityAllPhoneNumber

func (c PhoneNumbersClient) SetVisibilityAllPhoneNumber(ctx context.Context, __arg SetVisibilityAllPhoneNumberArg) (err error)

func (PhoneNumbersClient) SetVisibilityPhoneNumber

func (c PhoneNumbersClient) SetVisibilityPhoneNumber(ctx context.Context, __arg SetVisibilityPhoneNumberArg) (err error)

func (PhoneNumbersClient) VerifyPhoneNumber

func (c PhoneNumbersClient) VerifyPhoneNumber(ctx context.Context, __arg VerifyPhoneNumberArg) (err error)

type PhoneNumbersInterface

type PhoneNumbersInterface interface {
	AddPhoneNumber(context.Context, AddPhoneNumberArg) error
	EditPhoneNumber(context.Context, EditPhoneNumberArg) error
	VerifyPhoneNumber(context.Context, VerifyPhoneNumberArg) error
	ResendVerificationForPhoneNumber(context.Context, ResendVerificationForPhoneNumberArg) error
	GetPhoneNumbers(context.Context, int) ([]UserPhoneNumber, error)
	DeletePhoneNumber(context.Context, DeletePhoneNumberArg) error
	SetVisibilityPhoneNumber(context.Context, SetVisibilityPhoneNumberArg) error
	SetVisibilityAllPhoneNumber(context.Context, SetVisibilityAllPhoneNumberArg) error
}

type Pics

type Pics struct {
	Square40  string `codec:"square40" json:"square_40"`
	Square200 string `codec:"square200" json:"square_200"`
	Square360 string `codec:"square360" json:"square_360"`
}

func (Pics) DeepCopy

func (o Pics) DeepCopy() Pics

type Ping2Arg

type Ping2Arg struct {
}

type PingArg

type PingArg struct {
}

type PingResponse

type PingResponse struct {
	Timestamp Time `codec:"timestamp" json:"timestamp"`
}

func (PingResponse) DeepCopy

func (o PingResponse) DeepCopy() PingResponse

type PlatformInfo

type PlatformInfo struct {
	Os        string `codec:"os" json:"os"`
	OsVersion string `codec:"osVersion" json:"osVersion"`
	Arch      string `codec:"arch" json:"arch"`
	GoVersion string `codec:"goVersion" json:"goVersion"`
}

func (PlatformInfo) DeepCopy

func (o PlatformInfo) DeepCopy() PlatformInfo

type PostArg

type PostArg struct {
	Endpoint      string         `codec:"endpoint" json:"endpoint"`
	Args          []StringKVPair `codec:"args" json:"args"`
	HttpStatus    []int          `codec:"httpStatus" json:"httpStatus"`
	AppStatusCode []int          `codec:"appStatusCode" json:"appStatusCode"`
}

func (PostArg) GetAppStatusCodes

func (a PostArg) GetAppStatusCodes() []int

func (PostArg) GetEndpoint

func (a PostArg) GetEndpoint() string

func (PostArg) GetHTTPArgs

func (a PostArg) GetHTTPArgs() []StringKVPair

func (PostArg) GetHttpStatuses

func (a PostArg) GetHttpStatuses() []int

type PostJSONArg

type PostJSONArg struct {
	Endpoint      string         `codec:"endpoint" json:"endpoint"`
	Args          []StringKVPair `codec:"args" json:"args"`
	JSONPayload   []StringKVPair `codec:"JSONPayload" json:"JSONPayload"`
	HttpStatus    []int          `codec:"httpStatus" json:"httpStatus"`
	AppStatusCode []int          `codec:"appStatusCode" json:"appStatusCode"`
}

func (PostJSONArg) GetAppStatusCodes

func (a PostJSONArg) GetAppStatusCodes() []int

func (PostJSONArg) GetEndpoint

func (a PostJSONArg) GetEndpoint() string

func (PostJSONArg) GetHTTPArgs

func (a PostJSONArg) GetHTTPArgs() []StringKVPair

func (PostJSONArg) GetHttpStatuses

func (a PostJSONArg) GetHttpStatuses() []int

type PowerMonitorEventArg

type PowerMonitorEventArg struct {
	Event string `codec:"event" json:"event"`
}

type PprofClient

type PprofClient struct {
	Cli rpc.GenericClient
}

func (PprofClient) HeapProfile

func (c PprofClient) HeapProfile(ctx context.Context, __arg HeapProfileArg) (err error)

func (PprofClient) LogProcessorProfile

func (c PprofClient) LogProcessorProfile(ctx context.Context, __arg LogProcessorProfileArg) (err error)

func (PprofClient) LogTrace

func (c PprofClient) LogTrace(ctx context.Context, __arg LogTraceArg) (err error)

func (PprofClient) ProcessorProfile

func (c PprofClient) ProcessorProfile(ctx context.Context, __arg ProcessorProfileArg) (err error)

func (PprofClient) Trace

func (c PprofClient) Trace(ctx context.Context, __arg TraceArg) (err error)

type PprofInterface

type PprofInterface interface {
	ProcessorProfile(context.Context, ProcessorProfileArg) error
	HeapProfile(context.Context, HeapProfileArg) error
	LogProcessorProfile(context.Context, LogProcessorProfileArg) error
	Trace(context.Context, TraceArg) error
	LogTrace(context.Context, LogTraceArg) error
}

type PreProofWarningArg

type PreProofWarningArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	Text      Text `codec:"text" json:"text"`
}

type PrefetchProgress

type PrefetchProgress struct {
	Start        Time  `codec:"start" json:"start"`
	EndEstimate  Time  `codec:"endEstimate" json:"endEstimate"`
	BytesTotal   int64 `codec:"bytesTotal" json:"bytesTotal"`
	BytesFetched int64 `codec:"bytesFetched" json:"bytesFetched"`
}

func (PrefetchProgress) DeepCopy

func (o PrefetchProgress) DeepCopy() PrefetchProgress

type PrefetchStatus

type PrefetchStatus int
const (
	PrefetchStatus_NOT_STARTED PrefetchStatus = 0
	PrefetchStatus_IN_PROGRESS PrefetchStatus = 1
	PrefetchStatus_COMPLETE    PrefetchStatus = 2
)

func (PrefetchStatus) DeepCopy

func (o PrefetchStatus) DeepCopy() PrefetchStatus

func (PrefetchStatus) String

func (e PrefetchStatus) String() string

type PrepareLogsendArg

type PrepareLogsendArg struct {
}

type Probe

type Probe struct {
	Index           int   `codec:"i" json:"i"`
	TeamSeqno       Seqno `codec:"s" json:"t"`
	TeamHiddenSeqno Seqno `codec:"h" json:"h"`
}

func (Probe) DeepCopy

func (o Probe) DeepCopy() Probe

type ProblemSet

type ProblemSet struct {
	User User         `codec:"user" json:"user"`
	Kid  KID          `codec:"kid" json:"kid"`
	Tlfs []ProblemTLF `codec:"tlfs" json:"tlfs"`
}

ProblemSet is for a particular (user,kid) that initiated a rekey problem. This problem consists of one or more problem TLFs, which are individually scored and have attendant solutions --- devices that if they came online can rekey and solve the ProblemTLF.

func (ProblemSet) DeepCopy

func (o ProblemSet) DeepCopy() ProblemSet

type ProblemSetDevices

type ProblemSetDevices struct {
	ProblemSet ProblemSet `codec:"problemSet" json:"problemSet"`
	Devices    []Device   `codec:"devices" json:"devices"`
}

func (ProblemSetDevices) DeepCopy

func (o ProblemSetDevices) DeepCopy() ProblemSetDevices

type ProblemTLF

type ProblemTLF struct {
	Tlf           TLF   `codec:"tlf" json:"tlf"`
	Score         int   `codec:"score" json:"score"`
	Solution_kids []KID `codec:"solution_kids" json:"solution_kids"`
}

func (ProblemTLF) DeepCopy

func (o ProblemTLF) DeepCopy() ProblemTLF

type Process

type Process struct {
	Pid             string           `codec:"pid" json:"pid"`
	Command         string           `codec:"command" json:"command"`
	FileDescriptors []FileDescriptor `codec:"fileDescriptors" json:"fileDescriptors"`
}

func (Process) DeepCopy

func (o Process) DeepCopy() Process

type ProcessClient

type ProcessClient struct {
	Cli rpc.GenericClient
}

type ProcessInterface

type ProcessInterface interface {
}

type ProcessRuntimeStats

type ProcessRuntimeStats struct {
	Type             ProcessType        `codec:"type" json:"type"`
	Cpu              string             `codec:"cpu" json:"cpu"`
	Resident         string             `codec:"resident" json:"resident"`
	Virt             string             `codec:"virt" json:"virt"`
	Free             string             `codec:"free" json:"free"`
	Goheap           string             `codec:"goheap" json:"goheap"`
	Goheapsys        string             `codec:"goheapsys" json:"goheapsys"`
	Goreleased       string             `codec:"goreleased" json:"goreleased"`
	CpuSeverity      StatsSeverityLevel `codec:"cpuSeverity" json:"cpuSeverity"`
	ResidentSeverity StatsSeverityLevel `codec:"residentSeverity" json:"residentSeverity"`
}

func (ProcessRuntimeStats) DeepCopy

type ProcessType

type ProcessType int
const (
	ProcessType_MAIN ProcessType = 0
	ProcessType_KBFS ProcessType = 1
)

func (ProcessType) DeepCopy

func (o ProcessType) DeepCopy() ProcessType

func (ProcessType) String

func (e ProcessType) String() string

type ProcessedContact

type ProcessedContact struct {
	ContactIndex int               `codec:"contactIndex" json:"contactIndex"`
	ContactName  string            `codec:"contactName" json:"contactName"`
	Component    ContactComponent  `codec:"component" json:"component"`
	Resolved     bool              `codec:"resolved" json:"resolved"`
	Uid          UID               `codec:"uid" json:"uid"`
	Username     string            `codec:"username" json:"username"`
	FullName     string            `codec:"fullName" json:"fullName"`
	Following    bool              `codec:"following" json:"following"`
	ServiceMap   map[string]string `codec:"serviceMap" json:"serviceMap"`
	Assertion    string            `codec:"assertion" json:"assertion"`
	DisplayName  string            `codec:"displayName" json:"displayName"`
	DisplayLabel string            `codec:"displayLabel" json:"displayLabel"`
}

func (ProcessedContact) DeepCopy

func (o ProcessedContact) DeepCopy() ProcessedContact

type ProcessorProfileArg

type ProcessorProfileArg struct {
	SessionID              int         `codec:"sessionID" json:"sessionID"`
	ProfileFile            string      `codec:"profileFile" json:"profileFile"`
	ProfileDurationSeconds DurationSec `codec:"profileDurationSeconds" json:"profileDurationSeconds"`
}

type ProfileEditArg

type ProfileEditArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	FullName  string `codec:"fullName" json:"fullName"`
	Location  string `codec:"location" json:"location"`
	Bio       string `codec:"bio" json:"bio"`
}

type ProfileTeamLoadArg

type ProfileTeamLoadArg struct {
	Arg LoadTeamArg `codec:"arg" json:"arg"`
}

type ProfileTeamLoadRes

type ProfileTeamLoadRes struct {
	LoadTimeNsec int64 `codec:"loadTimeNsec" json:"loadTimeNsec"`
}

func (ProfileTeamLoadRes) DeepCopy

type Progress

type Progress int

func (Progress) DeepCopy

func (o Progress) DeepCopy() Progress

type PromptDefault

type PromptDefault int
const (
	PromptDefault_NONE PromptDefault = 0
	PromptDefault_YES  PromptDefault = 1
	PromptDefault_NO   PromptDefault = 2
)

func (PromptDefault) DeepCopy

func (o PromptDefault) DeepCopy() PromptDefault

func (PromptDefault) String

func (e PromptDefault) String() string

type PromptNewDeviceNameArg

type PromptNewDeviceNameArg struct {
	SessionID       int      `codec:"sessionID" json:"sessionID"`
	ExistingDevices []string `codec:"existingDevices" json:"existingDevices"`
	ErrorMessage    string   `codec:"errorMessage" json:"errorMessage"`
}

type PromptOverwriteArg

type PromptOverwriteArg struct {
	SessionID int                 `codec:"sessionID" json:"sessionID"`
	Account   string              `codec:"account" json:"account"`
	Typ       PromptOverwriteType `codec:"typ" json:"typ"`
}

type PromptOverwriteType

type PromptOverwriteType int
const (
	PromptOverwriteType_SOCIAL PromptOverwriteType = 0
	PromptOverwriteType_SITE   PromptOverwriteType = 1
)

func (PromptOverwriteType) DeepCopy

func (PromptOverwriteType) String

func (e PromptOverwriteType) String() string

type PromptPassphraseRecoveryArg

type PromptPassphraseRecoveryArg struct {
	SessionID int                          `codec:"sessionID" json:"sessionID"`
	Kind      PassphraseRecoveryPromptType `codec:"kind" json:"kind"`
}

type PromptResetAccountArg

type PromptResetAccountArg struct {
	SessionID int         `codec:"sessionID" json:"sessionID"`
	Prompt    ResetPrompt `codec:"prompt" json:"prompt"`
}

type PromptRevokePaperKeysArg

type PromptRevokePaperKeysArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Device    Device `codec:"device" json:"device"`
	Index     int    `codec:"index" json:"index"`
}

type PromptUsernameArg

type PromptUsernameArg struct {
	SessionID  int              `codec:"sessionID" json:"sessionID"`
	Prompt     string           `codec:"prompt" json:"prompt"`
	PrevError  *Status          `codec:"prevError,omitempty" json:"prevError,omitempty"`
	Parameters *ProveParameters `codec:"parameters,omitempty" json:"parameters,omitempty"`
}

type PromptYesNoArg

type PromptYesNoArg struct {
	SessionID     int           `codec:"sessionID" json:"sessionID"`
	Text          Text          `codec:"text" json:"text"`
	PromptDefault PromptDefault `codec:"promptDefault" json:"promptDefault"`
}

type ProofResult

type ProofResult struct {
	State  ProofState  `codec:"state" json:"state"`
	Status ProofStatus `codec:"status" json:"status"`
	Desc   string      `codec:"desc" json:"desc"`
}

func (ProofResult) DeepCopy

func (o ProofResult) DeepCopy() ProofResult

type ProofState

type ProofState int
const (
	ProofState_NONE             ProofState = 0
	ProofState_OK               ProofState = 1
	ProofState_TEMP_FAILURE     ProofState = 2
	ProofState_PERM_FAILURE     ProofState = 3
	ProofState_LOOKING          ProofState = 4
	ProofState_SUPERSEDED       ProofState = 5
	ProofState_POSTED           ProofState = 6
	ProofState_REVOKED          ProofState = 7
	ProofState_DELETED          ProofState = 8
	ProofState_UNKNOWN_TYPE     ProofState = 9
	ProofState_SIG_HINT_MISSING ProofState = 10
	ProofState_UNCHECKED        ProofState = 11
)

func (ProofState) DeepCopy

func (o ProofState) DeepCopy() ProofState

func (ProofState) String

func (e ProofState) String() string

type ProofStatus

type ProofStatus int

3: It's been found in the hunt, but not proven yet 1xx: Retryable soft errors; note that this will be put in the proof_cache, but won't be returned from the proof cache in most cases. Their freshness will always be RANCID. 2xx: Will likely result in a hard error, if repeated enough 3xx: Hard final errors

const (
	ProofStatus_NONE              ProofStatus = 0
	ProofStatus_OK                ProofStatus = 1
	ProofStatus_LOCAL             ProofStatus = 2
	ProofStatus_FOUND             ProofStatus = 3
	ProofStatus_BASE_ERROR        ProofStatus = 100
	ProofStatus_HOST_UNREACHABLE  ProofStatus = 101
	ProofStatus_PERMISSION_DENIED ProofStatus = 103
	ProofStatus_FAILED_PARSE      ProofStatus = 106
	ProofStatus_DNS_ERROR         ProofStatus = 107
	ProofStatus_AUTH_FAILED       ProofStatus = 108
	ProofStatus_HTTP_429          ProofStatus = 129
	ProofStatus_HTTP_500          ProofStatus = 150
	ProofStatus_TIMEOUT           ProofStatus = 160
	ProofStatus_INTERNAL_ERROR    ProofStatus = 170
	ProofStatus_UNCHECKED         ProofStatus = 171
	ProofStatus_MISSING_PVL       ProofStatus = 172
	ProofStatus_BASE_HARD_ERROR   ProofStatus = 200
	ProofStatus_NOT_FOUND         ProofStatus = 201
	ProofStatus_CONTENT_FAILURE   ProofStatus = 202
	ProofStatus_BAD_USERNAME      ProofStatus = 203
	ProofStatus_BAD_REMOTE_ID     ProofStatus = 204
	ProofStatus_TEXT_NOT_FOUND    ProofStatus = 205
	ProofStatus_BAD_ARGS          ProofStatus = 206
	ProofStatus_CONTENT_MISSING   ProofStatus = 207
	ProofStatus_TITLE_NOT_FOUND   ProofStatus = 208
	ProofStatus_SERVICE_ERROR     ProofStatus = 209
	ProofStatus_TOR_SKIPPED       ProofStatus = 210
	ProofStatus_TOR_INCOMPATIBLE  ProofStatus = 211
	ProofStatus_HTTP_300          ProofStatus = 230
	ProofStatus_HTTP_400          ProofStatus = 240
	ProofStatus_HTTP_OTHER        ProofStatus = 260
	ProofStatus_EMPTY_JSON        ProofStatus = 270
	ProofStatus_DELETED           ProofStatus = 301
	ProofStatus_SERVICE_DEAD      ProofStatus = 302
	ProofStatus_BAD_SIGNATURE     ProofStatus = 303
	ProofStatus_BAD_API_URL       ProofStatus = 304
	ProofStatus_UNKNOWN_TYPE      ProofStatus = 305
	ProofStatus_NO_HINT           ProofStatus = 306
	ProofStatus_BAD_HINT_TEXT     ProofStatus = 307
	ProofStatus_INVALID_PVL       ProofStatus = 308
)

func (ProofStatus) DeepCopy

func (o ProofStatus) DeepCopy() ProofStatus

func (ProofStatus) String

func (e ProofStatus) String() string

type ProofSuggestion

type ProofSuggestion struct {
	Key                 string             `codec:"key" json:"key"`
	BelowFold           bool               `codec:"belowFold" json:"belowFold"`
	ProfileText         string             `codec:"profileText" json:"profileText"`
	ProfileIcon         []SizedImage       `codec:"profileIcon" json:"profileIcon"`
	ProfileIconDarkmode []SizedImage       `codec:"profileIconDarkmode" json:"profileIconDarkmode"`
	PickerText          string             `codec:"pickerText" json:"pickerText"`
	PickerSubtext       string             `codec:"pickerSubtext" json:"pickerSubtext"`
	PickerIcon          []SizedImage       `codec:"pickerIcon" json:"pickerIcon"`
	PickerIconDarkmode  []SizedImage       `codec:"pickerIconDarkmode" json:"pickerIconDarkmode"`
	Metas               []Identify3RowMeta `codec:"metas" json:"metas"`
}

func (ProofSuggestion) DeepCopy

func (o ProofSuggestion) DeepCopy() ProofSuggestion

type ProofSuggestionsArg

type ProofSuggestionsArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type ProofSuggestionsRes

type ProofSuggestionsRes struct {
	Suggestions []ProofSuggestion `codec:"suggestions" json:"suggestions"`
	ShowMore    bool              `codec:"showMore" json:"showMore"`
}

func (ProofSuggestionsRes) DeepCopy

type ProofType

type ProofType int
const (
	ProofType_NONE             ProofType = 0
	ProofType_KEYBASE          ProofType = 1
	ProofType_TWITTER          ProofType = 2
	ProofType_GITHUB           ProofType = 3
	ProofType_REDDIT           ProofType = 4
	ProofType_COINBASE         ProofType = 5
	ProofType_HACKERNEWS       ProofType = 6
	ProofType_FACEBOOK         ProofType = 8
	ProofType_GENERIC_SOCIAL   ProofType = 9
	ProofType_GENERIC_WEB_SITE ProofType = 1000
	ProofType_DNS              ProofType = 1001
	ProofType_PGP              ProofType = 1002
	ProofType_ROOTER           ProofType = 100001
)

func (ProofType) DeepCopy

func (o ProofType) DeepCopy() ProofType

func (ProofType) String

func (e ProofType) String() string

type Proofs

type Proofs struct {
	Social     []TrackProof `codec:"social" json:"social"`
	Web        []WebProof   `codec:"web" json:"web"`
	PublicKeys []PublicKey  `codec:"publicKeys" json:"publicKeys"`
}

func (Proofs) DeepCopy

func (o Proofs) DeepCopy() Proofs

type ProveClient

type ProveClient struct {
	Cli rpc.GenericClient
}

func (ProveClient) CheckProof

func (c ProveClient) CheckProof(ctx context.Context, __arg CheckProofArg) (res CheckProofStatus, err error)

func (ProveClient) ListProofServices

func (c ProveClient) ListProofServices(ctx context.Context) (res []string, err error)

func (ProveClient) ListSomeProofServices

func (c ProveClient) ListSomeProofServices(ctx context.Context) (res []string, err error)

func (ProveClient) StartProof

func (c ProveClient) StartProof(ctx context.Context, __arg StartProofArg) (res StartProofResult, err error)

func (ProveClient) ValidateUsername

func (c ProveClient) ValidateUsername(ctx context.Context, __arg ValidateUsernameArg) (err error)

type ProveCommonClient

type ProveCommonClient struct {
	Cli rpc.GenericClient
}

type ProveCommonInterface

type ProveCommonInterface interface {
}

type ProveInterface

type ProveInterface interface {
	StartProof(context.Context, StartProofArg) (StartProofResult, error)
	CheckProof(context.Context, CheckProofArg) (CheckProofStatus, error)
	ListSomeProofServices(context.Context) ([]string, error)
	ListProofServices(context.Context) ([]string, error)
	ValidateUsername(context.Context, ValidateUsernameArg) error
}

type ProveParameters

type ProveParameters struct {
	LogoFull    []SizedImage `codec:"logoFull" json:"logoFull"`
	LogoBlack   []SizedImage `codec:"logoBlack" json:"logoBlack"`
	LogoWhite   []SizedImage `codec:"logoWhite" json:"logoWhite"`
	Title       string       `codec:"title" json:"title"`
	Subtext     string       `codec:"subtext" json:"subtext"`
	Suffix      string       `codec:"suffix" json:"suffix"`
	ButtonLabel string       `codec:"buttonLabel" json:"buttonLabel"`
}

func (ProveParameters) DeepCopy

func (o ProveParameters) DeepCopy() ProveParameters

type ProveUiClient

type ProveUiClient struct {
	Cli rpc.GenericClient
}

func (ProveUiClient) Checking

func (c ProveUiClient) Checking(ctx context.Context, __arg CheckingArg) (err error)

func (ProveUiClient) ContinueChecking

func (c ProveUiClient) ContinueChecking(ctx context.Context, sessionID int) (res bool, err error)

func (ProveUiClient) DisplayRecheckWarning

func (c ProveUiClient) DisplayRecheckWarning(ctx context.Context, __arg DisplayRecheckWarningArg) (err error)

func (ProveUiClient) OkToCheck

func (c ProveUiClient) OkToCheck(ctx context.Context, __arg OkToCheckArg) (res bool, err error)

func (ProveUiClient) OutputInstructions

func (c ProveUiClient) OutputInstructions(ctx context.Context, __arg OutputInstructionsArg) (err error)

func (ProveUiClient) OutputPrechecks

func (c ProveUiClient) OutputPrechecks(ctx context.Context, __arg OutputPrechecksArg) (err error)

func (ProveUiClient) PreProofWarning

func (c ProveUiClient) PreProofWarning(ctx context.Context, __arg PreProofWarningArg) (res bool, err error)

func (ProveUiClient) PromptOverwrite

func (c ProveUiClient) PromptOverwrite(ctx context.Context, __arg PromptOverwriteArg) (res bool, err error)

func (ProveUiClient) PromptUsername

func (c ProveUiClient) PromptUsername(ctx context.Context, __arg PromptUsernameArg) (res string, err error)

type ProveUiInterface

type ProveUiInterface interface {
	PromptOverwrite(context.Context, PromptOverwriteArg) (bool, error)
	PromptUsername(context.Context, PromptUsernameArg) (string, error)
	OutputPrechecks(context.Context, OutputPrechecksArg) error
	PreProofWarning(context.Context, PreProofWarningArg) (bool, error)
	OutputInstructions(context.Context, OutputInstructionsArg) error
	OkToCheck(context.Context, OkToCheckArg) (bool, error)
	Checking(context.Context, CheckingArg) error
	ContinueChecking(context.Context, int) (bool, error)
	DisplayRecheckWarning(context.Context, DisplayRecheckWarningArg) error
}

type ProvisionMethod

type ProvisionMethod int
const (
	ProvisionMethod_DEVICE     ProvisionMethod = 0
	ProvisionMethod_PAPER_KEY  ProvisionMethod = 1
	ProvisionMethod_PASSPHRASE ProvisionMethod = 2
	ProvisionMethod_GPG_IMPORT ProvisionMethod = 3
	ProvisionMethod_GPG_SIGN   ProvisionMethod = 4
)

func (ProvisionMethod) DeepCopy

func (o ProvisionMethod) DeepCopy() ProvisionMethod

func (ProvisionMethod) String

func (e ProvisionMethod) String() string

type ProvisionUiClient

type ProvisionUiClient struct {
	Cli rpc.GenericClient
}

func (ProvisionUiClient) ChooseDevice

func (c ProvisionUiClient) ChooseDevice(ctx context.Context, __arg ChooseDeviceArg) (res DeviceID, err error)

func (ProvisionUiClient) ChooseDeviceType

func (c ProvisionUiClient) ChooseDeviceType(ctx context.Context, __arg ChooseDeviceTypeArg) (res DeviceType, err error)

If provisioning via device, this will be called so user can select the provisioner/provisionee device type: desktop or mobile. If selecting the existing device type, set kind to EXISTING_DEVICE_0. If selecting the new device type, set kind to NEW_DEVICE_1.

func (ProvisionUiClient) ChooseGPGMethod

func (c ProvisionUiClient) ChooseGPGMethod(ctx context.Context, __arg ChooseGPGMethodArg) (res GPGMethod, err error)

Called during device provisioning for the user to select a GPG method, either import the key into keybase's local keyring or use GPG to sign a provisioning statement.

The keys are provided for display purposes, so the UI can do something like "We found the following GPG keys on this machine. How would you like to use one of them to provision this device?"

After this, gpg_ui.selectKey will be called (if there are multiple keys available).

func (ProvisionUiClient) ChooseProvisioningMethod

func (c ProvisionUiClient) ChooseProvisioningMethod(ctx context.Context, __arg ChooseProvisioningMethodArg) (res ProvisionMethod, err error)

DEPRECATED: Called during device provisioning for the user to select a method for provisioning. gpgOption will be true if GPG should be offered as an option.

func (ProvisionUiClient) DisplayAndPromptSecret

func (c ProvisionUiClient) DisplayAndPromptSecret(ctx context.Context, __arg DisplayAndPromptSecretArg) (res SecretResponse, err error)

DisplayAndPromptSecret displays a secret that the user can enter into the other device. It also can return a secret that the user enters into this device (from the other device). If it does not return a secret, it will be canceled when this device receives the secret via kex2. If there is an error in the phrase, then previousErr will be set when this is called again.

func (ProvisionUiClient) DisplaySecretExchanged

func (c ProvisionUiClient) DisplaySecretExchanged(ctx context.Context, sessionID int) (err error)

DisplaySecretExchanged is called when the kex2 secret has successfully been exchanged by the two devices.

func (ProvisionUiClient) PromptNewDeviceName

func (c ProvisionUiClient) PromptNewDeviceName(ctx context.Context, __arg PromptNewDeviceNameArg) (res string, err error)

PromptNewDeviceName is called when the device provisioning process needs a name for the new device. To help the clients not send a duplicate name, existingDevices is populated with the current device names for the user. If the device name returned to the service is invalid or already taken, it will call this again with an error message in errorMessage.

func (ProvisionUiClient) ProvisioneeSuccess

func (c ProvisionUiClient) ProvisioneeSuccess(ctx context.Context, __arg ProvisioneeSuccessArg) (err error)

ProvisioneeSuccess is called on provisionee when it is successfully provisioned.

func (ProvisionUiClient) ProvisionerSuccess

func (c ProvisionUiClient) ProvisionerSuccess(ctx context.Context, __arg ProvisionerSuccessArg) (err error)

ProvisionerSuccess is called on provisioner when it successfully provisions another device.

func (ProvisionUiClient) SwitchToGPGSignOK

func (c ProvisionUiClient) SwitchToGPGSignOK(ctx context.Context, __arg SwitchToGPGSignOKArg) (res bool, err error)

If there was an error importing a gpg key into the local keyring, tell the user and offer to switch to GPG signing with this key. Return true to switch to GPG signing, false to abort provisioning.

type ProvisionUiInterface

type ProvisionUiInterface interface {
	// DEPRECATED:
	// Called during device provisioning for the user to select a
	// method for provisioning.  gpgOption will be true if GPG
	// should be offered as an option.
	ChooseProvisioningMethod(context.Context, ChooseProvisioningMethodArg) (ProvisionMethod, error)
	// Called during device provisioning for the user to select a
	// GPG method, either import the key into keybase's local keyring
	// or use GPG to sign a provisioning statement.
	//
	// The keys are provided for display purposes, so the UI can
	// do something like "We found the following GPG keys on this
	// machine.  How would you like to use one of them to provision
	// this device?"
	//
	// After this, gpg_ui.selectKey will be called (if there are
	// multiple keys available).
	ChooseGPGMethod(context.Context, ChooseGPGMethodArg) (GPGMethod, error)
	// If there was an error importing a gpg key into the local
	// keyring, tell the user and offer to switch to GPG signing
	// with this key.  Return true to switch to GPG signing,
	// false to abort provisioning.
	SwitchToGPGSignOK(context.Context, SwitchToGPGSignOKArg) (bool, error)
	ChooseDevice(context.Context, ChooseDeviceArg) (DeviceID, error)
	// If provisioning via device, this will be called so user can select the provisioner/provisionee device type: desktop or mobile.
	// If selecting the existing device type, set kind to EXISTING_DEVICE_0.
	// If selecting the new device type, set kind to NEW_DEVICE_1.
	ChooseDeviceType(context.Context, ChooseDeviceTypeArg) (DeviceType, error)
	// DisplayAndPromptSecret displays a secret that the user can enter into the other device.
	// It also can return a secret that the user enters into this device (from the other device).
	// If it does not return a secret, it will be canceled when this device receives the secret via kex2.
	// If there is an error in the phrase, then previousErr will be set when this is called again.
	DisplayAndPromptSecret(context.Context, DisplayAndPromptSecretArg) (SecretResponse, error)
	// DisplaySecretExchanged is called when the kex2 secret has successfully been exchanged by the two
	// devices.
	DisplaySecretExchanged(context.Context, int) error
	// PromptNewDeviceName is called when the device provisioning process needs a name for the new device.
	// To help the clients not send a duplicate name, existingDevices is populated with the current device
	// names for the user.  If the device name returned to the service is invalid or already
	// taken, it will call this again with an error message in errorMessage.
	PromptNewDeviceName(context.Context, PromptNewDeviceNameArg) (string, error)
	// ProvisioneeSuccess is called on provisionee when it is successfully provisioned.
	ProvisioneeSuccess(context.Context, ProvisioneeSuccessArg) error
	// ProvisionerSuccess is called on provisioner when it successfully provisions another device.
	ProvisionerSuccess(context.Context, ProvisionerSuccessArg) error
}

type ProvisioneeSuccessArg

type ProvisioneeSuccessArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Username   string `codec:"username" json:"username"`
	DeviceName string `codec:"deviceName" json:"deviceName"`
}

type ProvisionerSuccessArg

type ProvisionerSuccessArg struct {
	SessionID  int          `codec:"sessionID" json:"sessionID"`
	DeviceName string       `codec:"deviceName" json:"deviceName"`
	DeviceType DeviceTypeV2 `codec:"deviceType" json:"deviceType"`
}

type ProxyData

type ProxyData struct {
	AddressWithPort string    `codec:"addressWithPort" json:"addressWithPort"`
	ProxyType       ProxyType `codec:"proxyType" json:"proxyType"`
	CertPinning     bool      `codec:"certPinning" json:"certPinning"`
}

func (ProxyData) DeepCopy

func (o ProxyData) DeepCopy() ProxyData

type ProxyType

type ProxyType int
const (
	ProxyType_No_Proxy     ProxyType = 0
	ProxyType_HTTP_Connect ProxyType = 1
	ProxyType_Socks        ProxyType = 2
)

func (ProxyType) DeepCopy

func (o ProxyType) DeepCopy() ProxyType

func (ProxyType) String

func (e ProxyType) String() string

type PruneBranchArg

type PruneBranchArg struct {
	FolderID string            `codec:"folderID" json:"folderID"`
	BranchID string            `codec:"branchID" json:"branchID"`
	LogTags  map[string]string `codec:"logTags" json:"logTags"`
}

type PublicCanonicalTLFNameAndIDArg

type PublicCanonicalTLFNameAndIDArg struct {
	Query TLFQuery `codec:"query" json:"query"`
}

type PublicKey

type PublicKey struct {
	KID               KID           `codec:"KID" json:"KID"`
	PGPFingerprint    string        `codec:"PGPFingerprint" json:"PGPFingerprint"`
	PGPIdentities     []PGPIdentity `codec:"PGPIdentities" json:"PGPIdentities"`
	IsSibkey          bool          `codec:"isSibkey" json:"isSibkey"`
	IsEldest          bool          `codec:"isEldest" json:"isEldest"`
	ParentID          string        `codec:"parentID" json:"parentID"`
	DeviceID          DeviceID      `codec:"deviceID" json:"deviceID"`
	DeviceDescription string        `codec:"deviceDescription" json:"deviceDescription"`
	DeviceType        DeviceTypeV2  `codec:"deviceType" json:"deviceType"`
	CTime             Time          `codec:"cTime" json:"cTime"`
	ETime             Time          `codec:"eTime" json:"eTime"`
	IsRevoked         bool          `codec:"isRevoked" json:"isRevoked"`
}

func PublicKeyV1FromDeviceKeyV2

func PublicKeyV1FromDeviceKeyV2(keyV2 PublicKeyV2NaCl) PublicKey

func PublicKeyV1FromPGPKeyV2

func PublicKeyV1FromPGPKeyV2(keyV2 PublicKeyV2PGPSummary) PublicKey

func (PublicKey) DeepCopy

func (o PublicKey) DeepCopy() PublicKey

type PublicKeyV2

type PublicKeyV2 struct {
	KeyType__ KeyType                `codec:"keyType" json:"keyType"`
	Nacl__    *PublicKeyV2NaCl       `codec:"nacl,omitempty" json:"nacl,omitempty"`
	PGP__     *PublicKeyV2PGPSummary `codec:"pgp,omitempty" json:"pgp,omitempty"`
}

func NewPublicKeyV2Default

func NewPublicKeyV2Default(keyType KeyType) PublicKeyV2

func NewPublicKeyV2WithNacl

func NewPublicKeyV2WithNacl(v PublicKeyV2NaCl) PublicKeyV2

func NewPublicKeyV2WithPgp

func NewPublicKeyV2WithPgp(v PublicKeyV2PGPSummary) PublicKeyV2

func (PublicKeyV2) DeepCopy

func (o PublicKeyV2) DeepCopy() PublicKeyV2

func (*PublicKeyV2) KeyType

func (o *PublicKeyV2) KeyType() (ret KeyType, err error)

func (PublicKeyV2) Nacl

func (o PublicKeyV2) Nacl() (res PublicKeyV2NaCl)

func (PublicKeyV2) Pgp

func (o PublicKeyV2) Pgp() (res PublicKeyV2PGPSummary)

type PublicKeyV2Base

type PublicKeyV2Base struct {
	Kid          KID                `codec:"kid" json:"kid"`
	IsSibkey     bool               `codec:"isSibkey" json:"isSibkey"`
	IsEldest     bool               `codec:"isEldest" json:"isEldest"`
	CTime        Time               `codec:"cTime" json:"cTime"`
	ETime        Time               `codec:"eTime" json:"eTime"`
	Provisioning SignatureMetadata  `codec:"provisioning" json:"provisioning"`
	Revocation   *SignatureMetadata `codec:"revocation,omitempty" json:"revocation,omitempty"`
}

func (PublicKeyV2Base) DeepCopy

func (o PublicKeyV2Base) DeepCopy() PublicKeyV2Base

type PublicKeyV2NaCl

type PublicKeyV2NaCl struct {
	Base              PublicKeyV2Base `codec:"base" json:"base"`
	Parent            *KID            `codec:"parent,omitempty" json:"parent,omitempty"`
	DeviceID          DeviceID        `codec:"deviceID" json:"deviceID"`
	DeviceDescription string          `codec:"deviceDescription" json:"deviceDescription"`
	DeviceType        DeviceTypeV2    `codec:"deviceType" json:"deviceType"`
}

func (PublicKeyV2NaCl) DeepCopy

func (o PublicKeyV2NaCl) DeepCopy() PublicKeyV2NaCl

type PublicKeyV2PGPSummary

type PublicKeyV2PGPSummary struct {
	Base        PublicKeyV2Base `codec:"base" json:"base"`
	Fingerprint PGPFingerprint  `codec:"fingerprint" json:"fingerprint"`
	Identities  []PGPIdentity   `codec:"identities" json:"identities"`
}

func (PublicKeyV2PGPSummary) DeepCopy

type PushOutOfBandMessagesArg

type PushOutOfBandMessagesArg struct {
	Oobm []gregor1.OutOfBandMessage `codec:"oobm" json:"oobm"`
}

type PushReason

type PushReason int
const (
	PushReason_NONE        PushReason = 0
	PushReason_RECONNECTED PushReason = 1
	PushReason_NEW_DATA    PushReason = 2
)

func (PushReason) DeepCopy

func (o PushReason) DeepCopy() PushReason

func (PushReason) String

func (e PushReason) String() string

type PushStateArg

type PushStateArg struct {
	State  gregor1.State `codec:"state" json:"state"`
	Reason PushReason    `codec:"reason" json:"reason"`
}

type PutBlockAgainArg

type PutBlockAgainArg struct {
	Folder   string         `codec:"folder" json:"folder"`
	Ref      BlockReference `codec:"ref" json:"ref"`
	BlockKey string         `codec:"blockKey" json:"blockKey"`
	Buf      []byte         `codec:"buf" json:"buf"`
}

type PutBlockArg

type PutBlockArg struct {
	Bid      BlockIdCombo `codec:"bid" json:"bid"`
	Folder   string       `codec:"folder" json:"folder"`
	BlockKey string       `codec:"blockKey" json:"blockKey"`
	Buf      []byte       `codec:"buf" json:"buf"`
}

type PutGitMetadataArg

type PutGitMetadataArg struct {
	Folder     FolderHandle     `codec:"folder" json:"folder"`
	RepoID     RepoID           `codec:"repoID" json:"repoID"`
	Metadata   GitLocalMetadata `codec:"metadata" json:"metadata"`
	NotifyTeam bool             `codec:"notifyTeam" json:"notifyTeam"`
}

type PutKVEntryArg

type PutKVEntryArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	TeamName   string `codec:"teamName" json:"teamName"`
	Namespace  string `codec:"namespace" json:"namespace"`
	EntryKey   string `codec:"entryKey" json:"entryKey"`
	Revision   int    `codec:"revision" json:"revision"`
	EntryValue string `codec:"entryValue" json:"entryValue"`
}

type PutKeysArg

type PutKeysArg struct {
	KeyHalves []KeyHalf         `codec:"keyHalves" json:"keyHalves"`
	LogTags   map[string]string `codec:"logTags" json:"logTags"`
}

type PutMetadataArg

type PutMetadataArg struct {
	MdBlock         MDBlock           `codec:"mdBlock" json:"mdBlock"`
	ReaderKeyBundle KeyBundle         `codec:"readerKeyBundle" json:"readerKeyBundle"`
	WriterKeyBundle KeyBundle         `codec:"writerKeyBundle" json:"writerKeyBundle"`
	LogTags         map[string]string `codec:"logTags" json:"logTags"`
	LockContext     *LockContext      `codec:"lockContext,omitempty" json:"lockContext,omitempty"`
	Priority        MDPriority        `codec:"priority" json:"priority"`
}

type QuotaClient

type QuotaClient struct {
	Cli rpc.GenericClient
}

func (QuotaClient) VerifySession

func (c QuotaClient) VerifySession(ctx context.Context, session string) (res VerifySessionRes, err error)

type QuotaInterface

type QuotaInterface interface {
	VerifySession(context.Context, string) (VerifySessionRes, error)
}

type RatchetType

type RatchetType int
const (
	RatchetType_MAIN        RatchetType = 0
	RatchetType_BLINDED     RatchetType = 1
	RatchetType_SELF        RatchetType = 2
	RatchetType_UNCOMMITTED RatchetType = 3
)

func (RatchetType) DeepCopy

func (o RatchetType) DeepCopy() RatchetType

func (RatchetType) String

func (e RatchetType) String() string

type RawPhoneNumber

type RawPhoneNumber string

func (RawPhoneNumber) DeepCopy

func (o RawPhoneNumber) DeepCopy() RawPhoneNumber

type Reachability

type Reachability struct {
	Reachable Reachable `codec:"reachable" json:"reachable"`
}

func (Reachability) DeepCopy

func (o Reachability) DeepCopy() Reachability

type ReachabilityChangedArg

type ReachabilityChangedArg struct {
	Reachability Reachability `codec:"reachability" json:"reachability"`
}

type ReachabilityClient

type ReachabilityClient struct {
	Cli rpc.GenericClient
}

func (ReachabilityClient) CheckReachability

func (c ReachabilityClient) CheckReachability(ctx context.Context) (res Reachability, err error)

Performs a reachability check. This is not a cached response.

func (ReachabilityClient) ReachabilityChanged

func (c ReachabilityClient) ReachabilityChanged(ctx context.Context, reachability Reachability) (err error)

func (ReachabilityClient) StartReachability

func (c ReachabilityClient) StartReachability(ctx context.Context) (res Reachability, err error)

Start reachability checks and return current status, which may be cached.

type ReachabilityInterface

type ReachabilityInterface interface {
	ReachabilityChanged(context.Context, Reachability) error
	// Start reachability checks and return current status, which
	// may be cached.
	StartReachability(context.Context) (Reachability, error)
	// Performs a reachability check. This is not a cached response.
	CheckReachability(context.Context) (Reachability, error)
}

type Reachable

type Reachable int
const (
	Reachable_UNKNOWN Reachable = 0
	Reachable_YES     Reachable = 1
	Reachable_NO      Reachable = 2
)

func (Reachable) DeepCopy

func (o Reachable) DeepCopy() Reachable

func (Reachable) String

func (e Reachable) String() string

type ReacjiSkinTone

type ReacjiSkinTone int
const (
	ReacjiSkinTone_NONE      ReacjiSkinTone = 0
	ReacjiSkinTone_SKINTONE1 ReacjiSkinTone = 1
	ReacjiSkinTone_SKINTONE2 ReacjiSkinTone = 2
	ReacjiSkinTone_SKINTONE3 ReacjiSkinTone = 3
	ReacjiSkinTone_SKINTONE4 ReacjiSkinTone = 4
	ReacjiSkinTone_SKINTONE5 ReacjiSkinTone = 5
)

func (ReacjiSkinTone) DeepCopy

func (o ReacjiSkinTone) DeepCopy() ReacjiSkinTone

func (ReacjiSkinTone) String

func (e ReacjiSkinTone) String() string

type ReadArg

type ReadArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	S         Stream `codec:"s" json:"s"`
	Sz        int    `codec:"sz" json:"sz"`
}

type ReadArgs

type ReadArgs struct {
	OpID   OpID  `codec:"opID" json:"opID"`
	Path   Path  `codec:"path" json:"path"`
	Offset int64 `codec:"offset" json:"offset"`
	Size   int   `codec:"size" json:"size"`
}

func (ReadArgs) DeepCopy

func (o ReadArgs) DeepCopy() ReadArgs

type ReaderKeyMask

type ReaderKeyMask struct {
	Application TeamApplication      `codec:"application" json:"application"`
	Generation  PerTeamKeyGeneration `codec:"generation" json:"generation"`
	Mask        MaskB64              `codec:"mask" json:"mask"`
}

func (ReaderKeyMask) DeepCopy

func (o ReaderKeyMask) DeepCopy() ReaderKeyMask

type RecoverAccountFromEmailAddressArg

type RecoverAccountFromEmailAddressArg struct {
	Email string `codec:"email" json:"email"`
}

type RecoverPassphraseArg

type RecoverPassphraseArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Username  string `codec:"username" json:"username"`
}

type RecoverUsernameWithEmailArg

type RecoverUsernameWithEmailArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Email     string `codec:"email" json:"email"`
}

type RecoverUsernameWithPhoneArg

type RecoverUsernameWithPhoneArg struct {
	SessionID int         `codec:"sessionID" json:"sessionID"`
	Phone     PhoneNumber `codec:"phone" json:"phone"`
}

type ReferenceCountRes

type ReferenceCountRes struct {
	Counts []BlockIdCount `codec:"counts" json:"counts"`
}

func (ReferenceCountRes) DeepCopy

func (o ReferenceCountRes) DeepCopy() ReferenceCountRes

type RefreshArg

type RefreshArg struct {
	SessionID         int               `codec:"sessionID" json:"sessionID"`
	ProblemSetDevices ProblemSetDevices `codec:"problemSetDevices" json:"problemSetDevices"`
}

type Reg1Arg

type Reg1Arg struct {
	Uid UID       `codec:"uid" json:"uid"`
	Kid BinaryKID `codec:"kid" json:"kid"`
}

type Reg2Arg

type Reg2Arg struct {
	Ctext []byte `codec:"ctext" json:"ctext"`
}

type RegisterAddressArg

type RegisterAddressArg struct {
	SessionID    int         `codec:"sessionID" json:"sessionID"`
	Address      string      `codec:"address" json:"address"`
	Force        bool        `codec:"force" json:"force"`
	WantedFamily string      `codec:"wantedFamily" json:"wantedFamily"`
	SigVersion   *SigVersion `codec:"sigVersion,omitempty" json:"sigVersion,omitempty"`
}

type RegisterAddressRes

type RegisterAddressRes struct {
	Type   string `codec:"type" json:"type"`
	Family string `codec:"family" json:"family"`
}

func (RegisterAddressRes) DeepCopy

type RegisterBTCArg

type RegisterBTCArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Address   string `codec:"address" json:"address"`
	Force     bool   `codec:"force" json:"force"`
}

type RegisterChatUIArg

type RegisterChatUIArg struct {
}

type RegisterForUpdatesArg

type RegisterForUpdatesArg struct {
	FolderID     string            `codec:"folderID" json:"folderID"`
	CurrRevision int64             `codec:"currRevision" json:"currRevision"`
	LogTags      map[string]string `codec:"logTags" json:"logTags"`
}

type RegisterGregorFirehoseArg

type RegisterGregorFirehoseArg struct {
}

type RegisterGregorFirehoseFilteredArg

type RegisterGregorFirehoseFilteredArg struct {
	Systems []string `codec:"systems" json:"systems"`
}

type RegisterHomeUIArg

type RegisterHomeUIArg struct {
}

type RegisterIdentify3UIArg

type RegisterIdentify3UIArg struct {
}

type RegisterIdentifyUIArg

type RegisterIdentifyUIArg struct {
}

type RegisterLogUIArg

type RegisterLogUIArg struct {
}

type RegisterLoggerArg

type RegisterLoggerArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Name      string   `codec:"name" json:"name"`
	Level     LogLevel `codec:"level" json:"level"`
}

type RegisterRekeyUIArg

type RegisterRekeyUIArg struct {
}

type RegisterSecretUIArg

type RegisterSecretUIArg struct {
}

type RegisterUpdateUIArg

type RegisterUpdateUIArg struct {
}

type RekeyClient

type RekeyClient struct {
	Cli rpc.GenericClient
}

func (RekeyClient) DebugShowRekeyStatus

func (c RekeyClient) DebugShowRekeyStatus(ctx context.Context, sessionID int) (err error)

DebugShowRekeyStatus is used by the CLI to kick off a "ShowRekeyStatus" window for the current user.

func (RekeyClient) GetPendingRekeyStatus

func (c RekeyClient) GetPendingRekeyStatus(ctx context.Context, sessionID int) (res ProblemSetDevices, err error)

GetPendingRekeyStatus returns the pending ProblemSetDevices.

func (RekeyClient) GetRevokeWarning

func (c RekeyClient) GetRevokeWarning(ctx context.Context, __arg GetRevokeWarningArg) (res RevokeWarning, err error)

GetRevokeWarning computes the TLFs that will be endangered if actingDevice revokes targetDevice.

func (RekeyClient) RekeyStatusFinish

func (c RekeyClient) RekeyStatusFinish(ctx context.Context, sessionID int) (res Outcome, err error)

RekeyStatusFinish is called when work is completed on a given RekeyStatus window. The Outcome can be Fixed or Ignored.

func (RekeyClient) RekeySync

func (c RekeyClient) RekeySync(ctx context.Context, __arg RekeySyncArg) (err error)

RekeySync flushes the current rekey loop and gets to a good stopping point to assert state. Good for race-free testing, not very useful in production. Force overrides a long-snooze.

func (RekeyClient) ShowPendingRekeyStatus

func (c RekeyClient) ShowPendingRekeyStatus(ctx context.Context, sessionID int) (err error)

ShowPendingRekeyStatus shows either pending gregor-initiated rekey harassments or nothing if none were pending.

type RekeyEvent

type RekeyEvent struct {
	EventType     RekeyEventType `codec:"eventType" json:"eventType"`
	InterruptType int            `codec:"interruptType" json:"interruptType"`
}

func (RekeyEvent) DeepCopy

func (o RekeyEvent) DeepCopy() RekeyEvent

type RekeyEventType

type RekeyEventType int
const (
	RekeyEventType_NONE                     RekeyEventType = 0
	RekeyEventType_NOT_LOGGED_IN            RekeyEventType = 1
	RekeyEventType_API_ERROR                RekeyEventType = 2
	RekeyEventType_NO_PROBLEMS              RekeyEventType = 3
	RekeyEventType_LOAD_ME_ERROR            RekeyEventType = 4
	RekeyEventType_CURRENT_DEVICE_CAN_REKEY RekeyEventType = 5
	RekeyEventType_DEVICE_LOAD_ERROR        RekeyEventType = 6
	RekeyEventType_HARASS                   RekeyEventType = 7
	RekeyEventType_NO_GREGOR_MESSAGES       RekeyEventType = 8
)

func (RekeyEventType) DeepCopy

func (o RekeyEventType) DeepCopy() RekeyEventType

func (RekeyEventType) String

func (e RekeyEventType) String() string

type RekeyInterface

type RekeyInterface interface {
	// ShowPendingRekeyStatus shows either pending gregor-initiated rekey harassments
	// or nothing if none were pending.
	ShowPendingRekeyStatus(context.Context, int) error
	// GetPendingRekeyStatus returns the pending ProblemSetDevices.
	GetPendingRekeyStatus(context.Context, int) (ProblemSetDevices, error)
	// DebugShowRekeyStatus is used by the CLI to kick off a "ShowRekeyStatus" window for
	// the current user.
	DebugShowRekeyStatus(context.Context, int) error
	// RekeyStatusFinish is called when work is completed on a given RekeyStatus window. The Outcome
	// can be Fixed or Ignored.
	RekeyStatusFinish(context.Context, int) (Outcome, error)
	// RekeySync flushes the current rekey loop and gets to a good stopping point
	// to assert state. Good for race-free testing, not very useful in production.
	// Force overrides a long-snooze.
	RekeySync(context.Context, RekeySyncArg) error
	// GetRevokeWarning computes the TLFs that will be endangered if actingDevice
	// revokes targetDevice.
	GetRevokeWarning(context.Context, GetRevokeWarningArg) (RevokeWarning, error)
}

type RekeyRequest

type RekeyRequest struct {
	FolderID string `codec:"folderID" json:"folderID"`
	Revision int64  `codec:"revision" json:"revision"`
}

func (RekeyRequest) DeepCopy

func (o RekeyRequest) DeepCopy() RekeyRequest

type RekeySendEventArg

type RekeySendEventArg struct {
	SessionID int        `codec:"sessionID" json:"sessionID"`
	Event     RekeyEvent `codec:"event" json:"event"`
}

type RekeyStatusFinishArg

type RekeyStatusFinishArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type RekeySyncArg

type RekeySyncArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	Force     bool `codec:"force" json:"force"`
}

type RekeyUIClient

type RekeyUIClient struct {
	Cli rpc.GenericClient
}

func (RekeyUIClient) DelegateRekeyUI

func (c RekeyUIClient) DelegateRekeyUI(ctx context.Context) (res int, err error)

func (RekeyUIClient) Refresh

func (c RekeyUIClient) Refresh(ctx context.Context, __arg RefreshArg) (err error)

Refresh is called whenever Electron should refresh the UI, either because a change came in, or because there was a timeout poll.

func (RekeyUIClient) RekeySendEvent

func (c RekeyUIClient) RekeySendEvent(ctx context.Context, __arg RekeySendEventArg) (err error)

RekeySendEvent sends updates as to what's going on in the rekey thread. This is mainly useful in testing.

type RekeyUIInterface

type RekeyUIInterface interface {
	DelegateRekeyUI(context.Context) (int, error)
	// Refresh is called whenever Electron should refresh the UI, either
	// because a change came in, or because there was a timeout poll.
	Refresh(context.Context, RefreshArg) error
	// RekeySendEvent sends updates as to what's going on in the rekey
	// thread. This is mainly useful in testing.
	RekeySendEvent(context.Context, RekeySendEventArg) error
}

type ReleaseLockArg

type ReleaseLockArg struct {
	FolderID string `codec:"folderID" json:"folderID"`
	LockID   LockID `codec:"lockID" json:"lockID"`
}

type ReloadArg

type ReloadArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type RemoteProof

type RemoteProof struct {
	ProofType     ProofType `codec:"proofType" json:"proofType"`
	Key           string    `codec:"key" json:"key"`
	Value         string    `codec:"value" json:"value"`
	DisplayMarkup string    `codec:"displayMarkup" json:"displayMarkup"`
	SigID         SigID     `codec:"sigID" json:"sigID"`
	MTime         Time      `codec:"mTime" json:"mTime"`
}

func (RemoteProof) DeepCopy

func (o RemoteProof) DeepCopy() RemoteProof

type RemoteTrack

type RemoteTrack struct {
	Username string `codec:"username" json:"username"`
	Uid      UID    `codec:"uid" json:"uid"`
	LinkID   LinkID `codec:"linkID" json:"linkID"`
}

func (RemoteTrack) DeepCopy

func (o RemoteTrack) DeepCopy() RemoteTrack

type RemoveArgs

type RemoveArgs struct {
	OpID      OpID `codec:"opID" json:"opID"`
	Path      Path `codec:"path" json:"path"`
	Recursive bool `codec:"recursive" json:"recursive"`
}

func (RemoveArgs) DeepCopy

func (o RemoveArgs) DeepCopy() RemoveArgs

type RemoveTeamMemberFailure

type RemoveTeamMemberFailure struct {
	TeamMember     TeamMemberToRemove `codec:"teamMember" json:"teamMember"`
	ErrorAtTarget  *string            `codec:"errorAtTarget,omitempty" json:"errorAtTarget,omitempty"`
	ErrorAtSubtree *string            `codec:"errorAtSubtree,omitempty" json:"errorAtSubtree,omitempty"`
}

func (RemoveTeamMemberFailure) DeepCopy

type RepoID

type RepoID string

func (RepoID) DeepCopy

func (o RepoID) DeepCopy() RepoID

type ReportLastTrackArg

type ReportLastTrackArg struct {
	SessionID int           `codec:"sessionID" json:"sessionID"`
	Track     *TrackSummary `codec:"track,omitempty" json:"track,omitempty"`
}

type ReportTrackTokenArg

type ReportTrackTokenArg struct {
	SessionID  int        `codec:"sessionID" json:"sessionID"`
	TrackToken TrackToken `codec:"trackToken" json:"trackToken"`
}

type ReportUserArg

type ReportUserArg struct {
	SessionID         int     `codec:"sessionID" json:"sessionID"`
	Username          string  `codec:"username" json:"username"`
	Reason            string  `codec:"reason" json:"reason"`
	Comment           string  `codec:"comment" json:"comment"`
	IncludeTranscript bool    `codec:"includeTranscript" json:"includeTranscript"`
	ConvID            *string `codec:"convID,omitempty" json:"convID,omitempty"`
}

type RequestFollowingAndUnverifiedFollowersArg

type RequestFollowingAndUnverifiedFollowersArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type RequestInviteCountsArg

type RequestInviteCountsArg struct {
}

type ResendVerificationForPhoneNumberArg

type ResendVerificationForPhoneNumberArg struct {
	SessionID   int         `codec:"sessionID" json:"sessionID"`
	PhoneNumber PhoneNumber `codec:"phoneNumber" json:"phoneNumber"`
}

type ResetAccountArg

type ResetAccountArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Passphrase string `codec:"passphrase" json:"passphrase"`
}

type ResetArg

type ResetArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	S         Stream `codec:"s" json:"s"`
}

type ResetClient

type ResetClient struct {
	Cli rpc.GenericClient
}

type ResetInterface

type ResetInterface interface {
}
type ResetLink struct {
	Ctime      UnixTime        `codec:"ctime" json:"ctime"`
	MerkleRoot ResetMerkleRoot `codec:"merkleRoot" json:"merkle_root"`
	Prev       ResetPrev       `codec:"prev" json:"prev"`
	ResetSeqno Seqno           `codec:"resetSeqno" json:"reset_seqno"`
	Type       ResetType       `codec:"type" json:"type"`
	Uid        UID             `codec:"uid" json:"uid"`
}

func (ResetLink) DeepCopy

func (o ResetLink) DeepCopy() ResetLink

func (ResetLink) Summarize

func (r ResetLink) Summarize() ResetSummary

type ResetMerkleRoot

type ResetMerkleRoot struct {
	HashMeta HashMeta `codec:"hashMeta" json:"hash_meta"`
	Seqno    Seqno    `codec:"seqno" json:"seqno"`
}

func (ResetMerkleRoot) DeepCopy

func (o ResetMerkleRoot) DeepCopy() ResetMerkleRoot

type ResetMessage

type ResetMessage int
const (
	ResetMessage_ENTERED_VERIFIED     ResetMessage = 0
	ResetMessage_ENTERED_PASSWORDLESS ResetMessage = 1
	ResetMessage_REQUEST_VERIFIED     ResetMessage = 2
	ResetMessage_NOT_COMPLETED        ResetMessage = 3
	ResetMessage_CANCELED             ResetMessage = 4
	ResetMessage_COMPLETED            ResetMessage = 5
	ResetMessage_RESET_LINK_SENT      ResetMessage = 6
)

func (ResetMessage) DeepCopy

func (o ResetMessage) DeepCopy() ResetMessage

func (ResetMessage) String

func (e ResetMessage) String() string

type ResetPrev

type ResetPrev struct {
	EldestKID *KID   `codec:"eldestKID,omitempty" json:"eldest_kid,omitempty"`
	LastSeqno Seqno  `codec:"lastSeqno" json:"public_seqno"`
	Reset     SHA512 `codec:"reset" json:"reset"`
}

func (ResetPrev) DeepCopy

func (o ResetPrev) DeepCopy() ResetPrev

type ResetPrompt

type ResetPrompt struct {
	T__        ResetPromptType  `codec:"t" json:"t"`
	Complete__ *ResetPromptInfo `codec:"complete,omitempty" json:"complete,omitempty"`
}

func NewResetPromptDefault

func NewResetPromptDefault(t ResetPromptType) ResetPrompt

func NewResetPromptWithComplete

func NewResetPromptWithComplete(v ResetPromptInfo) ResetPrompt

func (ResetPrompt) Complete

func (o ResetPrompt) Complete() (res ResetPromptInfo)

func (ResetPrompt) DeepCopy

func (o ResetPrompt) DeepCopy() ResetPrompt

func (*ResetPrompt) T

func (o *ResetPrompt) T() (ret ResetPromptType, err error)

type ResetPromptInfo

type ResetPromptInfo struct {
	HasWallet bool `codec:"hasWallet" json:"hasWallet"`
}

func (ResetPromptInfo) DeepCopy

func (o ResetPromptInfo) DeepCopy() ResetPromptInfo

type ResetPromptResponse

type ResetPromptResponse int
const (
	ResetPromptResponse_NOTHING       ResetPromptResponse = 0
	ResetPromptResponse_CANCEL_RESET  ResetPromptResponse = 1
	ResetPromptResponse_CONFIRM_RESET ResetPromptResponse = 2
)

func (ResetPromptResponse) DeepCopy

func (ResetPromptResponse) String

func (e ResetPromptResponse) String() string

type ResetPromptType

type ResetPromptType int
const (
	ResetPromptType_COMPLETE         ResetPromptType = 0
	ResetPromptType_ENTER_NO_DEVICES ResetPromptType = 1
	ResetPromptType_ENTER_FORGOT_PW  ResetPromptType = 2
	ResetPromptType_ENTER_RESET_PW   ResetPromptType = 3
)

func (ResetPromptType) DeepCopy

func (o ResetPromptType) DeepCopy() ResetPromptType

func (ResetPromptType) String

func (e ResetPromptType) String() string

type ResetState

type ResetState struct {
	EndTime Time `codec:"endTime" json:"end_time"`
	Active  bool `codec:"active" json:"active"`
}

func (ResetState) DeepCopy

func (o ResetState) DeepCopy() ResetState

type ResetSummary

type ResetSummary struct {
	Ctime       UnixTime        `codec:"ctime" json:"ctime"`
	MerkleRoot  ResetMerkleRoot `codec:"merkleRoot" json:"merkleRoot"`
	ResetSeqno  Seqno           `codec:"resetSeqno" json:"resetSeqno"`
	EldestSeqno Seqno           `codec:"eldestSeqno" json:"eldestSeqno"`
	Type        ResetType       `codec:"type" json:"type"`
}

func (ResetSummary) DeepCopy

func (o ResetSummary) DeepCopy() ResetSummary

type ResetType

type ResetType int
const (
	ResetType_NONE   ResetType = 0
	ResetType_RESET  ResetType = 1
	ResetType_DELETE ResetType = 2
)

func (ResetType) DeepCopy

func (o ResetType) DeepCopy() ResetType

func (ResetType) String

func (e ResetType) String() string

func (*ResetType) UnmarshalJSON

func (t *ResetType) UnmarshalJSON(b []byte) error

type Resolve3Arg

type Resolve3Arg struct {
	Assertion string              `codec:"assertion" json:"assertion"`
	Oa        OfflineAvailability `codec:"oa" json:"oa"`
}

type ResolveIdentifyImplicitTeamArg

type ResolveIdentifyImplicitTeamArg struct {
	SessionID        int                 `codec:"sessionID" json:"sessionID"`
	Assertions       string              `codec:"assertions" json:"assertions"`
	Suffix           string              `codec:"suffix" json:"suffix"`
	IsPublic         bool                `codec:"isPublic" json:"isPublic"`
	DoIdentifies     bool                `codec:"doIdentifies" json:"doIdentifies"`
	Create           bool                `codec:"create" json:"create"`
	Reason           IdentifyReason      `codec:"reason" json:"reason"`
	IdentifyBehavior TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
	Oa               OfflineAvailability `codec:"oa" json:"oa"`
}

type ResolveIdentifyImplicitTeamRes

type ResolveIdentifyImplicitTeamRes struct {
	DisplayName string                              `codec:"displayName" json:"displayName"`
	TeamID      TeamID                              `codec:"teamID" json:"teamID"`
	Writers     []UserVersion                       `codec:"writers" json:"writers"`
	TrackBreaks map[UserVersion]IdentifyTrackBreaks `codec:"trackBreaks" json:"trackBreaks"`
	FolderID    TLFID                               `codec:"folderID" json:"folderID"`
}

func (ResolveIdentifyImplicitTeamRes) DeepCopy

type ResolveImplicitTeamArg

type ResolveImplicitTeamArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Id        TeamID `codec:"id" json:"id"`
}

type RevisionSpanType

type RevisionSpanType int
const (
	RevisionSpanType_DEFAULT   RevisionSpanType = 0
	RevisionSpanType_LAST_FIVE RevisionSpanType = 1
)

func (RevisionSpanType) DeepCopy

func (o RevisionSpanType) DeepCopy() RevisionSpanType

func (RevisionSpanType) String

func (e RevisionSpanType) String() string

type RevokeClient

type RevokeClient struct {
	Cli rpc.GenericClient
}

func (RevokeClient) RevokeDevice

func (c RevokeClient) RevokeDevice(ctx context.Context, __arg RevokeDeviceArg) (err error)

func (RevokeClient) RevokeKey

func (c RevokeClient) RevokeKey(ctx context.Context, __arg RevokeKeyArg) (err error)

func (RevokeClient) RevokeSigs

func (c RevokeClient) RevokeSigs(ctx context.Context, __arg RevokeSigsArg) (err error)

type RevokeDeviceArg

type RevokeDeviceArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	DeviceID  DeviceID `codec:"deviceID" json:"deviceID"`
	ForceSelf bool     `codec:"forceSelf" json:"forceSelf"`
	ForceLast bool     `codec:"forceLast" json:"forceLast"`
}

type RevokeInterface

type RevokeInterface interface {
	RevokeKey(context.Context, RevokeKeyArg) error
	RevokeDevice(context.Context, RevokeDeviceArg) error
	RevokeSigs(context.Context, RevokeSigsArg) error
}

type RevokeKeyArg

type RevokeKeyArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
	KeyID     KID `codec:"keyID" json:"keyID"`
}

type RevokeSigsArg

type RevokeSigsArg struct {
	SessionID    int      `codec:"sessionID" json:"sessionID"`
	SigIDQueries []string `codec:"sigIDQueries" json:"sigIDQueries"`
}

type RevokeWarning

type RevokeWarning struct {
	EndangeredTLFs []TLF `codec:"endangeredTLFs" json:"endangeredTLFs"`
}

func (RevokeWarning) DeepCopy

func (o RevokeWarning) DeepCopy() RevokeWarning

type RevokedKey

type RevokedKey struct {
	Key  PublicKey   `codec:"key" json:"key"`
	Time KeybaseTime `codec:"time" json:"time"`
	By   KID         `codec:"by" json:"by"`
}

func RevokedKeyV1FromDeviceKeyV2

func RevokedKeyV1FromDeviceKeyV2(keyV2 PublicKeyV2NaCl) RevokedKey

func (RevokedKey) DeepCopy

func (o RevokedKey) DeepCopy() RevokedKey

type RevokedProof

type RevokedProof struct {
	Proof   RemoteProof `codec:"proof" json:"proof"`
	Diff    TrackDiff   `codec:"diff" json:"diff"`
	Snoozed bool        `codec:"snoozed" json:"snoozed"`
}

func (RevokedProof) DeepCopy

func (o RevokedProof) DeepCopy() RevokedProof

type RootAuditErrorArg

type RootAuditErrorArg struct {
	Message string `codec:"message" json:"message"`
}

type RotationType

type RotationType int
const (
	RotationType_VISIBLE RotationType = 0
	RotationType_HIDDEN  RotationType = 1
	RotationType_CLKR    RotationType = 2
)

func (RotationType) DeepCopy

func (o RotationType) DeepCopy() RotationType

func (RotationType) String

func (e RotationType) String() string

type RuntimeClient

type RuntimeClient struct {
	Cli rpc.GenericClient
}

type RuntimeGroup

type RuntimeGroup int
const (
	RuntimeGroup_UNKNOWN     RuntimeGroup = 0
	RuntimeGroup_LINUXLIKE   RuntimeGroup = 1
	RuntimeGroup_DARWINLIKE  RuntimeGroup = 2
	RuntimeGroup_WINDOWSLIKE RuntimeGroup = 3
)

func (RuntimeGroup) DeepCopy

func (o RuntimeGroup) DeepCopy() RuntimeGroup

func (RuntimeGroup) String

func (e RuntimeGroup) String() string

type RuntimeInterface

type RuntimeInterface interface {
}

type RuntimeStats

type RuntimeStats struct {
	ProcessStats        []ProcessRuntimeStats `codec:"processStats" json:"processStats"`
	DbStats             []DbStats             `codec:"dbStats" json:"dbStats"`
	PerfEvents          []PerfEvent           `codec:"perfEvents" json:"perfEvents"`
	ConvLoaderActive    bool                  `codec:"convLoaderActive" json:"convLoaderActive"`
	SelectiveSyncActive bool                  `codec:"selectiveSyncActive" json:"selectiveSyncActive"`
}

func (RuntimeStats) DeepCopy

func (o RuntimeStats) DeepCopy() RuntimeStats

type RuntimeStatsUpdateArg

type RuntimeStatsUpdateArg struct {
	Stats *RuntimeStats `codec:"stats,omitempty" json:"stats,omitempty"`
}

type SHA512

type SHA512 []byte

func SHA512FromString

func SHA512FromString(s string) (ret SHA512, err error)

func (SHA512) DeepCopy

func (o SHA512) DeepCopy() SHA512

func (SHA512) Eq

func (s SHA512) Eq(s2 SHA512) bool

func (SHA512) String

func (s SHA512) String() string

func (*SHA512) UnmarshalJSON

func (s *SHA512) UnmarshalJSON(b []byte) error

type SaltpackClient

type SaltpackClient struct {
	Cli rpc.GenericClient
}

func (SaltpackClient) SaltpackDecrypt

func (c SaltpackClient) SaltpackDecrypt(ctx context.Context, __arg SaltpackDecryptArg) (res SaltpackEncryptedMessageInfo, err error)

func (SaltpackClient) SaltpackDecryptFile

func (c SaltpackClient) SaltpackDecryptFile(ctx context.Context, __arg SaltpackDecryptFileArg) (res SaltpackFileResult, err error)

func (SaltpackClient) SaltpackDecryptString

func (c SaltpackClient) SaltpackDecryptString(ctx context.Context, __arg SaltpackDecryptStringArg) (res SaltpackPlaintextResult, err error)

func (SaltpackClient) SaltpackEncrypt

func (c SaltpackClient) SaltpackEncrypt(ctx context.Context, __arg SaltpackEncryptArg) (res SaltpackEncryptResult, err error)

func (SaltpackClient) SaltpackEncryptFile

func (c SaltpackClient) SaltpackEncryptFile(ctx context.Context, __arg SaltpackEncryptFileArg) (res SaltpackEncryptFileResult, err error)

func (SaltpackClient) SaltpackEncryptString

func (c SaltpackClient) SaltpackEncryptString(ctx context.Context, __arg SaltpackEncryptStringArg) (res SaltpackEncryptStringResult, err error)

func (SaltpackClient) SaltpackEncryptStringToTextFile

func (c SaltpackClient) SaltpackEncryptStringToTextFile(ctx context.Context, __arg SaltpackEncryptStringToTextFileArg) (res SaltpackEncryptFileResult, err error)

func (SaltpackClient) SaltpackSaveCiphertextToFile

func (c SaltpackClient) SaltpackSaveCiphertextToFile(ctx context.Context, __arg SaltpackSaveCiphertextToFileArg) (res string, err error)

func (SaltpackClient) SaltpackSaveSignedMsgToFile

func (c SaltpackClient) SaltpackSaveSignedMsgToFile(ctx context.Context, __arg SaltpackSaveSignedMsgToFileArg) (res string, err error)

func (SaltpackClient) SaltpackSign

func (c SaltpackClient) SaltpackSign(ctx context.Context, __arg SaltpackSignArg) (err error)

func (SaltpackClient) SaltpackSignFile

func (c SaltpackClient) SaltpackSignFile(ctx context.Context, __arg SaltpackSignFileArg) (res string, err error)

func (SaltpackClient) SaltpackSignString

func (c SaltpackClient) SaltpackSignString(ctx context.Context, __arg SaltpackSignStringArg) (res string, err error)

func (SaltpackClient) SaltpackSignStringToTextFile

func (c SaltpackClient) SaltpackSignStringToTextFile(ctx context.Context, __arg SaltpackSignStringToTextFileArg) (res string, err error)

func (SaltpackClient) SaltpackVerify

func (c SaltpackClient) SaltpackVerify(ctx context.Context, __arg SaltpackVerifyArg) (err error)

func (SaltpackClient) SaltpackVerifyFile

func (c SaltpackClient) SaltpackVerifyFile(ctx context.Context, __arg SaltpackVerifyFileArg) (res SaltpackVerifyFileResult, err error)

func (SaltpackClient) SaltpackVerifyString

func (c SaltpackClient) SaltpackVerifyString(ctx context.Context, __arg SaltpackVerifyStringArg) (res SaltpackVerifyResult, err error)

type SaltpackDecryptArg

type SaltpackDecryptArg struct {
	SessionID int                    `codec:"sessionID" json:"sessionID"`
	Source    Stream                 `codec:"source" json:"source"`
	Sink      Stream                 `codec:"sink" json:"sink"`
	Opts      SaltpackDecryptOptions `codec:"opts" json:"opts"`
}

type SaltpackDecryptFileArg

type SaltpackDecryptFileArg struct {
	SessionID         int    `codec:"sessionID" json:"sessionID"`
	EncryptedFilename string `codec:"encryptedFilename" json:"encryptedFilename"`
	DestinationDir    string `codec:"destinationDir" json:"destinationDir"`
}

type SaltpackDecryptOptions

type SaltpackDecryptOptions struct {
	Interactive      bool `codec:"interactive" json:"interactive"`
	ForceRemoteCheck bool `codec:"forceRemoteCheck" json:"forceRemoteCheck"`
	UsePaperKey      bool `codec:"usePaperKey" json:"usePaperKey"`
}

func (SaltpackDecryptOptions) DeepCopy

type SaltpackDecryptStringArg

type SaltpackDecryptStringArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Ciphertext string `codec:"ciphertext" json:"ciphertext"`
}

type SaltpackEncryptArg

type SaltpackEncryptArg struct {
	SessionID int                    `codec:"sessionID" json:"sessionID"`
	Source    Stream                 `codec:"source" json:"source"`
	Sink      Stream                 `codec:"sink" json:"sink"`
	Opts      SaltpackEncryptOptions `codec:"opts" json:"opts"`
}

type SaltpackEncryptFileArg

type SaltpackEncryptFileArg struct {
	SessionID      int                            `codec:"sessionID" json:"sessionID"`
	Filename       string                         `codec:"filename" json:"filename"`
	DestinationDir string                         `codec:"destinationDir" json:"destinationDir"`
	Opts           SaltpackFrontendEncryptOptions `codec:"opts" json:"opts"`
}

type SaltpackEncryptFileResult

type SaltpackEncryptFileResult struct {
	UsedUnresolvedSBS      bool   `codec:"usedUnresolvedSBS" json:"usedUnresolvedSBS"`
	UnresolvedSBSAssertion string `codec:"unresolvedSBSAssertion" json:"unresolvedSBSAssertion"`
	Filename               string `codec:"filename" json:"filename"`
}

func (SaltpackEncryptFileResult) DeepCopy

type SaltpackEncryptOptions

type SaltpackEncryptOptions struct {
	Recipients                []string         `codec:"recipients" json:"recipients"`
	TeamRecipients            []string         `codec:"teamRecipients" json:"teamRecipients"`
	AuthenticityType          AuthenticityType `codec:"authenticityType" json:"authenticityType"`
	UseEntityKeys             bool             `codec:"useEntityKeys" json:"useEntityKeys"`
	UseDeviceKeys             bool             `codec:"useDeviceKeys" json:"useDeviceKeys"`
	UsePaperKeys              bool             `codec:"usePaperKeys" json:"usePaperKeys"`
	NoSelfEncrypt             bool             `codec:"noSelfEncrypt" json:"noSelfEncrypt"`
	Binary                    bool             `codec:"binary" json:"binary"`
	SaltpackVersion           int              `codec:"saltpackVersion" json:"saltpackVersion"`
	NoForcePoll               bool             `codec:"noForcePoll" json:"noForcePoll"`
	UseKBFSKeysOnlyForTesting bool             `codec:"useKBFSKeysOnlyForTesting" json:"useKBFSKeysOnlyForTesting"`
}

func (SaltpackEncryptOptions) DeepCopy

type SaltpackEncryptResult

type SaltpackEncryptResult struct {
	UsedUnresolvedSBS      bool   `codec:"usedUnresolvedSBS" json:"usedUnresolvedSBS"`
	UnresolvedSBSAssertion string `codec:"unresolvedSBSAssertion" json:"unresolvedSBSAssertion"`
}

func (SaltpackEncryptResult) DeepCopy

type SaltpackEncryptStringArg

type SaltpackEncryptStringArg struct {
	SessionID int                            `codec:"sessionID" json:"sessionID"`
	Plaintext string                         `codec:"plaintext" json:"plaintext"`
	Opts      SaltpackFrontendEncryptOptions `codec:"opts" json:"opts"`
}

type SaltpackEncryptStringResult

type SaltpackEncryptStringResult struct {
	UsedUnresolvedSBS      bool   `codec:"usedUnresolvedSBS" json:"usedUnresolvedSBS"`
	UnresolvedSBSAssertion string `codec:"unresolvedSBSAssertion" json:"unresolvedSBSAssertion"`
	Ciphertext             string `codec:"ciphertext" json:"ciphertext"`
}

func (SaltpackEncryptStringResult) DeepCopy

type SaltpackEncryptStringToTextFileArg

type SaltpackEncryptStringToTextFileArg struct {
	SessionID int                            `codec:"sessionID" json:"sessionID"`
	Plaintext string                         `codec:"plaintext" json:"plaintext"`
	Opts      SaltpackFrontendEncryptOptions `codec:"opts" json:"opts"`
}

type SaltpackEncryptedMessageInfo

type SaltpackEncryptedMessageInfo struct {
	Devices          []Device       `codec:"devices" json:"devices"`
	NumAnonReceivers int            `codec:"numAnonReceivers" json:"numAnonReceivers"`
	ReceiverIsAnon   bool           `codec:"receiverIsAnon" json:"receiverIsAnon"`
	Sender           SaltpackSender `codec:"sender" json:"sender"`
}

func (SaltpackEncryptedMessageInfo) DeepCopy

type SaltpackFileResult

type SaltpackFileResult struct {
	Info              SaltpackEncryptedMessageInfo `codec:"info" json:"info"`
	DecryptedFilename string                       `codec:"decryptedFilename" json:"decryptedFilename"`
	Signed            bool                         `codec:"signed" json:"signed"`
}

func (SaltpackFileResult) DeepCopy

type SaltpackFrontendEncryptOptions

type SaltpackFrontendEncryptOptions struct {
	Recipients  []string `codec:"recipients" json:"recipients"`
	Signed      bool     `codec:"signed" json:"signed"`
	IncludeSelf bool     `codec:"includeSelf" json:"includeSelf"`
}

func (SaltpackFrontendEncryptOptions) DeepCopy

type SaltpackOperationDoneArg

type SaltpackOperationDoneArg struct {
	OpType   SaltpackOperationType `codec:"opType" json:"opType"`
	Filename string                `codec:"filename" json:"filename"`
}

type SaltpackOperationProgressArg

type SaltpackOperationProgressArg struct {
	OpType        SaltpackOperationType `codec:"opType" json:"opType"`
	Filename      string                `codec:"filename" json:"filename"`
	BytesComplete int64                 `codec:"bytesComplete" json:"bytesComplete"`
	BytesTotal    int64                 `codec:"bytesTotal" json:"bytesTotal"`
}

type SaltpackOperationStartArg

type SaltpackOperationStartArg struct {
	OpType   SaltpackOperationType `codec:"opType" json:"opType"`
	Filename string                `codec:"filename" json:"filename"`
}

type SaltpackOperationType

type SaltpackOperationType int
const (
	SaltpackOperationType_ENCRYPT SaltpackOperationType = 0
	SaltpackOperationType_DECRYPT SaltpackOperationType = 1
	SaltpackOperationType_SIGN    SaltpackOperationType = 2
	SaltpackOperationType_VERIFY  SaltpackOperationType = 3
)

func (SaltpackOperationType) DeepCopy

func (SaltpackOperationType) String

func (e SaltpackOperationType) String() string

type SaltpackPlaintextResult

type SaltpackPlaintextResult struct {
	Info      SaltpackEncryptedMessageInfo `codec:"info" json:"info"`
	Plaintext string                       `codec:"plaintext" json:"plaintext"`
	Signed    bool                         `codec:"signed" json:"signed"`
}

func (SaltpackPlaintextResult) DeepCopy

type SaltpackPromptForDecryptArg

type SaltpackPromptForDecryptArg struct {
	SessionID      int            `codec:"sessionID" json:"sessionID"`
	SigningKID     KID            `codec:"signingKID" json:"signingKID"`
	Sender         SaltpackSender `codec:"sender" json:"sender"`
	UsedDelegateUI bool           `codec:"usedDelegateUI" json:"usedDelegateUI"`
	Signed         bool           `codec:"signed" json:"signed"`
}

type SaltpackSaveCiphertextToFileArg

type SaltpackSaveCiphertextToFileArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Ciphertext string `codec:"ciphertext" json:"ciphertext"`
}

type SaltpackSaveSignedMsgToFileArg

type SaltpackSaveSignedMsgToFileArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	SignedMsg string `codec:"signedMsg" json:"signedMsg"`
}

type SaltpackSender

type SaltpackSender struct {
	Uid        UID                `codec:"uid" json:"uid"`
	Username   string             `codec:"username" json:"username"`
	Fullname   string             `codec:"fullname" json:"fullname"`
	SenderType SaltpackSenderType `codec:"senderType" json:"senderType"`
}

func (SaltpackSender) DeepCopy

func (o SaltpackSender) DeepCopy() SaltpackSender

type SaltpackSenderType

type SaltpackSenderType int
const (
	SaltpackSenderType_NOT_TRACKED    SaltpackSenderType = 0
	SaltpackSenderType_UNKNOWN        SaltpackSenderType = 1
	SaltpackSenderType_ANONYMOUS      SaltpackSenderType = 2
	SaltpackSenderType_TRACKING_BROKE SaltpackSenderType = 3
	SaltpackSenderType_TRACKING_OK    SaltpackSenderType = 4
	SaltpackSenderType_SELF           SaltpackSenderType = 5
	SaltpackSenderType_REVOKED        SaltpackSenderType = 6
	SaltpackSenderType_EXPIRED        SaltpackSenderType = 7
)

func (SaltpackSenderType) DeepCopy

func (SaltpackSenderType) String

func (e SaltpackSenderType) String() string

type SaltpackSignArg

type SaltpackSignArg struct {
	SessionID int                 `codec:"sessionID" json:"sessionID"`
	Source    Stream              `codec:"source" json:"source"`
	Sink      Stream              `codec:"sink" json:"sink"`
	Opts      SaltpackSignOptions `codec:"opts" json:"opts"`
}

type SaltpackSignFileArg

type SaltpackSignFileArg struct {
	SessionID      int    `codec:"sessionID" json:"sessionID"`
	Filename       string `codec:"filename" json:"filename"`
	DestinationDir string `codec:"destinationDir" json:"destinationDir"`
}

type SaltpackSignOptions

type SaltpackSignOptions struct {
	Detached        bool `codec:"detached" json:"detached"`
	Binary          bool `codec:"binary" json:"binary"`
	SaltpackVersion int  `codec:"saltpackVersion" json:"saltpackVersion"`
}

func (SaltpackSignOptions) DeepCopy

type SaltpackSignStringArg

type SaltpackSignStringArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Plaintext string `codec:"plaintext" json:"plaintext"`
}

type SaltpackSignStringToTextFileArg

type SaltpackSignStringToTextFileArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Plaintext string `codec:"plaintext" json:"plaintext"`
}

type SaltpackUiClient

type SaltpackUiClient struct {
	Cli rpc.GenericClient
}

func (SaltpackUiClient) SaltpackPromptForDecrypt

func (c SaltpackUiClient) SaltpackPromptForDecrypt(ctx context.Context, __arg SaltpackPromptForDecryptArg) (err error)

func (SaltpackUiClient) SaltpackVerifyBadSender

func (c SaltpackUiClient) SaltpackVerifyBadSender(ctx context.Context, __arg SaltpackVerifyBadSenderArg) (err error)

func (SaltpackUiClient) SaltpackVerifySuccess

func (c SaltpackUiClient) SaltpackVerifySuccess(ctx context.Context, __arg SaltpackVerifySuccessArg) (err error)

type SaltpackUiInterface

type SaltpackUiInterface interface {
	SaltpackPromptForDecrypt(context.Context, SaltpackPromptForDecryptArg) error
	SaltpackVerifySuccess(context.Context, SaltpackVerifySuccessArg) error
	SaltpackVerifyBadSender(context.Context, SaltpackVerifyBadSenderArg) error
}

type SaltpackVerifyArg

type SaltpackVerifyArg struct {
	SessionID int                   `codec:"sessionID" json:"sessionID"`
	Source    Stream                `codec:"source" json:"source"`
	Sink      Stream                `codec:"sink" json:"sink"`
	Opts      SaltpackVerifyOptions `codec:"opts" json:"opts"`
}

type SaltpackVerifyBadSenderArg

type SaltpackVerifyBadSenderArg struct {
	SessionID  int            `codec:"sessionID" json:"sessionID"`
	SigningKID KID            `codec:"signingKID" json:"signingKID"`
	Sender     SaltpackSender `codec:"sender" json:"sender"`
}

type SaltpackVerifyFileArg

type SaltpackVerifyFileArg struct {
	SessionID      int    `codec:"sessionID" json:"sessionID"`
	SignedFilename string `codec:"signedFilename" json:"signedFilename"`
	DestinationDir string `codec:"destinationDir" json:"destinationDir"`
}

type SaltpackVerifyFileResult

type SaltpackVerifyFileResult struct {
	SigningKID       KID            `codec:"signingKID" json:"signingKID"`
	Sender           SaltpackSender `codec:"sender" json:"sender"`
	VerifiedFilename string         `codec:"verifiedFilename" json:"verifiedFilename"`
	Verified         bool           `codec:"verified" json:"verified"`
}

func (SaltpackVerifyFileResult) DeepCopy

type SaltpackVerifyOptions

type SaltpackVerifyOptions struct {
	SignedBy  string `codec:"signedBy" json:"signedBy"`
	Signature []byte `codec:"signature" json:"signature"`
}

func (SaltpackVerifyOptions) DeepCopy

type SaltpackVerifyResult

type SaltpackVerifyResult struct {
	SigningKID KID            `codec:"signingKID" json:"signingKID"`
	Sender     SaltpackSender `codec:"sender" json:"sender"`
	Plaintext  string         `codec:"plaintext" json:"plaintext"`
	Verified   bool           `codec:"verified" json:"verified"`
}

func (SaltpackVerifyResult) DeepCopy

type SaltpackVerifyStringArg

type SaltpackVerifyStringArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	SignedMsg string `codec:"signedMsg" json:"signedMsg"`
}

type SaltpackVerifySuccessArg

type SaltpackVerifySuccessArg struct {
	SessionID  int            `codec:"sessionID" json:"sessionID"`
	SigningKID KID            `codec:"signingKID" json:"signingKID"`
	Sender     SaltpackSender `codec:"sender" json:"sender"`
}

type SaveContactListArg

type SaveContactListArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	Contacts  []Contact `codec:"contacts" json:"contacts"`
}

type ScanProofsArg

type ScanProofsArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Infile     string `codec:"infile" json:"infile"`
	Indices    string `codec:"indices" json:"indices"`
	Sigid      string `codec:"sigid" json:"sigid"`
	Ratelimit  int    `codec:"ratelimit" json:"ratelimit"`
	Cachefile  string `codec:"cachefile" json:"cachefile"`
	Ignorefile string `codec:"ignorefile" json:"ignorefile"`
}

type ScanProofsClient

type ScanProofsClient struct {
	Cli rpc.GenericClient
}

func (ScanProofsClient) ScanProofs

func (c ScanProofsClient) ScanProofs(ctx context.Context, __arg ScanProofsArg) (err error)

type ScanProofsInterface

type ScanProofsInterface interface {
	ScanProofs(context.Context, ScanProofsArg) error
}

type ScriptArg

type ScriptArg struct {
	Script string   `codec:"script" json:"script"`
	Args   []string `codec:"args" json:"args"`
}

type SearchArg

type SearchArg struct {
	Query  string `codec:"query" json:"query"`
	Limit  int    `codec:"limit" json:"limit"`
	Offset int    `codec:"offset" json:"offset"`
}

func (SearchArg) String

func (a SearchArg) String() string

type SearchLocalArg

type SearchLocalArg struct {
	Query     string `codec:"query" json:"query"`
	Limit     int    `codec:"limit" json:"limit"`
	SkipCache bool   `codec:"skipCache" json:"skipCache"`
}

func (SearchLocalArg) String

func (a SearchLocalArg) String() string

type SearchRes

type SearchRes struct {
	Bots       []FeaturedBot `codec:"bots" json:"bots"`
	IsLastPage bool          `codec:"isLastPage" json:"isLastPage"`
}

func (SearchRes) DeepCopy

func (o SearchRes) DeepCopy() SearchRes

type SecondStepArg

type SecondStepArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
	Val       int `codec:"val" json:"val"`
}

type SecretEntryArg

type SecretEntryArg struct {
	Desc       string `codec:"desc" json:"desc"`
	Prompt     string `codec:"prompt" json:"prompt"`
	Err        string `codec:"err" json:"err"`
	Cancel     string `codec:"cancel" json:"cancel"`
	Ok         string `codec:"ok" json:"ok"`
	Reason     string `codec:"reason" json:"reason"`
	ShowTyping bool   `codec:"showTyping" json:"showTyping"`
}

func (SecretEntryArg) DeepCopy

func (o SecretEntryArg) DeepCopy() SecretEntryArg

type SecretEntryRes

type SecretEntryRes struct {
	Text        string `codec:"text" json:"text"`
	Canceled    bool   `codec:"canceled" json:"canceled"`
	StoreSecret bool   `codec:"storeSecret" json:"storeSecret"`
}

func (SecretEntryRes) DeepCopy

func (o SecretEntryRes) DeepCopy() SecretEntryRes

type SecretKeys

type SecretKeys struct {
	Signing    NaclSigningKeyPrivate `codec:"signing" json:"signing"`
	Encryption NaclDHKeyPrivate      `codec:"encryption" json:"encryption"`
}

func (SecretKeys) DeepCopy

func (o SecretKeys) DeepCopy() SecretKeys

type SecretKeysClient

type SecretKeysClient struct {
	Cli rpc.GenericClient
}

func (SecretKeysClient) GetSecretKeys

func (c SecretKeysClient) GetSecretKeys(ctx context.Context, sessionID int) (res SecretKeys, err error)

type SecretKeysInterface

type SecretKeysInterface interface {
	GetSecretKeys(context.Context, int) (SecretKeys, error)
}

type SecretResponse

type SecretResponse struct {
	Secret []byte `codec:"secret" json:"secret"`
	Phrase string `codec:"phrase" json:"phrase"`
}

SecretResponse should be returned by DisplayAndPromptSecret. Use either secret or phrase.

func (SecretResponse) DeepCopy

func (o SecretResponse) DeepCopy() SecretResponse

type SecretUiClient

type SecretUiClient struct {
	Cli rpc.GenericClient
}

func (SecretUiClient) GetPassphrase

func (c SecretUiClient) GetPassphrase(ctx context.Context, __arg GetPassphraseArg) (res GetPassphraseRes, err error)

type SecretUiInterface

type SecretUiInterface interface {
	GetPassphrase(context.Context, GetPassphraseArg) (GetPassphraseRes, error)
}

type SeitanAKey

type SeitanAKey string

func (SeitanAKey) DeepCopy

func (o SeitanAKey) DeepCopy() SeitanAKey

type SeitanIKey

type SeitanIKey string

func (SeitanIKey) DeepCopy

func (o SeitanIKey) DeepCopy() SeitanIKey
type SeitanIKeyInvitelink string

func (SeitanIKeyInvitelink) DeepCopy

func (SeitanIKeyInvitelink) String

func (t SeitanIKeyInvitelink) String() string

type SeitanIKeyV2

type SeitanIKeyV2 string

func (SeitanIKeyV2) DeepCopy

func (o SeitanIKeyV2) DeepCopy() SeitanIKeyV2

type SeitanKeyAndLabel

type SeitanKeyAndLabel struct {
	V__          SeitanKeyAndLabelVersion     `codec:"v" json:"v"`
	V1__         *SeitanKeyAndLabelVersion1   `codec:"v1,omitempty" json:"v1,omitempty"`
	V2__         *SeitanKeyAndLabelVersion2   `codec:"v2,omitempty" json:"v2,omitempty"`
	Invitelink__ *SeitanKeyAndLabelInvitelink `codec:"invitelink,omitempty" json:"invitelink,omitempty"`
}

func (SeitanKeyAndLabel) DeepCopy

func (o SeitanKeyAndLabel) DeepCopy() SeitanKeyAndLabel
func (o SeitanKeyAndLabel) Invitelink() (res SeitanKeyAndLabelInvitelink)

func (*SeitanKeyAndLabel) V

func (SeitanKeyAndLabel) V1

func (SeitanKeyAndLabel) V2

type SeitanKeyAndLabelInvitelink struct {
	I SeitanIKeyInvitelink `codec:"i" json:"i"`
	L SeitanKeyLabel       `codec:"l" json:"l"`
}

func (SeitanKeyAndLabelInvitelink) DeepCopy

type SeitanKeyAndLabelVersion

type SeitanKeyAndLabelVersion int
const (
	SeitanKeyAndLabelVersion_V1         SeitanKeyAndLabelVersion = 1
	SeitanKeyAndLabelVersion_V2         SeitanKeyAndLabelVersion = 2
	SeitanKeyAndLabelVersion_Invitelink SeitanKeyAndLabelVersion = 3
)

func (SeitanKeyAndLabelVersion) DeepCopy

func (SeitanKeyAndLabelVersion) String

func (e SeitanKeyAndLabelVersion) String() string

type SeitanKeyAndLabelVersion1

type SeitanKeyAndLabelVersion1 struct {
	I SeitanIKey     `codec:"i" json:"i"`
	L SeitanKeyLabel `codec:"l" json:"l"`
}

func (SeitanKeyAndLabelVersion1) DeepCopy

type SeitanKeyAndLabelVersion2

type SeitanKeyAndLabelVersion2 struct {
	K SeitanPubKey   `codec:"k" json:"k"`
	L SeitanKeyLabel `codec:"l" json:"l"`
}

func (SeitanKeyAndLabelVersion2) DeepCopy

type SeitanKeyLabel

type SeitanKeyLabel struct {
	T__       SeitanKeyLabelType     `codec:"t" json:"t"`
	Sms__     *SeitanKeyLabelSms     `codec:"sms,omitempty" json:"sms,omitempty"`
	Generic__ *SeitanKeyLabelGeneric `codec:"generic,omitempty" json:"generic,omitempty"`
}

func NewSeitanKeyLabelDefault

func NewSeitanKeyLabelDefault(t SeitanKeyLabelType) SeitanKeyLabel

func NewSeitanKeyLabelWithGeneric

func NewSeitanKeyLabelWithGeneric(v SeitanKeyLabelGeneric) SeitanKeyLabel

func NewSeitanKeyLabelWithSms

func NewSeitanKeyLabelWithSms(v SeitanKeyLabelSms) SeitanKeyLabel

func (SeitanKeyLabel) DeepCopy

func (o SeitanKeyLabel) DeepCopy() SeitanKeyLabel

func (SeitanKeyLabel) Generic

func (o SeitanKeyLabel) Generic() (res SeitanKeyLabelGeneric)

func (SeitanKeyLabel) Sms

func (o SeitanKeyLabel) Sms() (res SeitanKeyLabelSms)

func (*SeitanKeyLabel) T

func (o *SeitanKeyLabel) T() (ret SeitanKeyLabelType, err error)

type SeitanKeyLabelGeneric

type SeitanKeyLabelGeneric struct {
	L string `codec:"l" json:"l"`
}

func (SeitanKeyLabelGeneric) DeepCopy

type SeitanKeyLabelSms

type SeitanKeyLabelSms struct {
	F string `codec:"f" json:"f"`
	N string `codec:"n" json:"n"`
}

func (SeitanKeyLabelSms) DeepCopy

func (o SeitanKeyLabelSms) DeepCopy() SeitanKeyLabelSms

type SeitanKeyLabelType

type SeitanKeyLabelType int
const (
	SeitanKeyLabelType_SMS     SeitanKeyLabelType = 1
	SeitanKeyLabelType_GENERIC SeitanKeyLabelType = 2
)

func (SeitanKeyLabelType) DeepCopy

func (SeitanKeyLabelType) String

func (e SeitanKeyLabelType) String() string

type SeitanPubKey

type SeitanPubKey string

func (SeitanPubKey) DeepCopy

func (o SeitanPubKey) DeepCopy() SeitanPubKey

type SelectKeyAndPushOptionArg

type SelectKeyAndPushOptionArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Keys      []GPGKey `codec:"keys" json:"keys"`
}

type SelectKeyArg

type SelectKeyArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Keys      []GPGKey `codec:"keys" json:"keys"`
}

type SelectKeyRes

type SelectKeyRes struct {
	KeyID        string `codec:"keyID" json:"keyID"`
	DoSecretPush bool   `codec:"doSecretPush" json:"doSecretPush"`
}

func (SelectKeyRes) DeepCopy

func (o SelectKeyRes) DeepCopy() SelectKeyRes

type SelectorEntry

type SelectorEntry struct {
	IsIndex    bool   `codec:"isIndex" json:"isIndex"`
	Index      int    `codec:"index" json:"index"`
	IsKey      bool   `codec:"isKey" json:"isKey"`
	Key        string `codec:"key" json:"key"`
	IsAll      bool   `codec:"isAll" json:"isAll"`
	IsContents bool   `codec:"isContents" json:"isContents"`
}

func (SelectorEntry) DeepCopy

func (o SelectorEntry) DeepCopy() SelectorEntry

func (*SelectorEntry) UnmarshalJSON

func (se *SelectorEntry) UnmarshalJSON(b []byte) error

type SelfProvisionArg

type SelfProvisionArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	DeviceName string `codec:"deviceName" json:"deviceName"`
}

type SelfprovisionClient

type SelfprovisionClient struct {
	Cli rpc.GenericClient
}

func (SelfprovisionClient) SelfProvision

func (c SelfprovisionClient) SelfProvision(ctx context.Context, __arg SelfProvisionArg) (err error)

Performs self provision. If the current device is clone, this function will provision it as a new device.

type SelfprovisionInterface

type SelfprovisionInterface interface {
	// Performs self provision. If the current device is clone, this function
	// will provision it as a new device.
	SelfProvision(context.Context, SelfProvisionArg) error
}

type SendVerificationEmailArg

type SendVerificationEmailArg struct {
	SessionID int          `codec:"sessionID" json:"sessionID"`
	Email     EmailAddress `codec:"email" json:"email"`
}

type SeqType

type SeqType int
const (
	SeqType_NONE                SeqType = 0
	SeqType_PUBLIC              SeqType = 1
	SeqType_PRIVATE             SeqType = 2
	SeqType_SEMIPRIVATE         SeqType = 3
	SeqType_USER_PRIVATE_HIDDEN SeqType = 16
	SeqType_TEAM_PRIVATE_HIDDEN SeqType = 17
)

func (SeqType) DeepCopy

func (o SeqType) DeepCopy() SeqType

func (SeqType) String

func (e SeqType) String() string

type Seqno

type Seqno int64

func (Seqno) DeepCopy

func (o Seqno) DeepCopy() Seqno

func (Seqno) Eq

func (s Seqno) Eq(s2 Seqno) bool

func (Seqno) String

func (s Seqno) String() string

type ServiceDisplayConfig

type ServiceDisplayConfig struct {
	CreationDisabled bool    `codec:"creationDisabled" json:"creation_disabled"`
	Priority         int     `codec:"priority" json:"priority"`
	Key              string  `codec:"key" json:"key"`
	Group            *string `codec:"group,omitempty" json:"group,omitempty"`
	New              bool    `codec:"new" json:"new"`
	LogoKey          string  `codec:"logoKey" json:"logo_key"`
}

func (ServiceDisplayConfig) DeepCopy

type ServiceStatus

type ServiceStatus struct {
	Version        string        `codec:"version" json:"version"`
	Label          string        `codec:"label" json:"label"`
	Pid            string        `codec:"pid" json:"pid"`
	LastExitStatus string        `codec:"lastExitStatus" json:"lastExitStatus"`
	BundleVersion  string        `codec:"bundleVersion" json:"bundleVersion"`
	InstallStatus  InstallStatus `codec:"installStatus" json:"installStatus"`
	InstallAction  InstallAction `codec:"installAction" json:"installAction"`
	Status         Status        `codec:"status" json:"status"`
}

func (ServiceStatus) DeepCopy

func (o ServiceStatus) DeepCopy() ServiceStatus

func (ServiceStatus) NeedsInstall

func (s ServiceStatus) NeedsInstall() bool

type ServicesStatus

type ServicesStatus struct {
	Service []ServiceStatus `codec:"service" json:"service"`
	Kbfs    []ServiceStatus `codec:"kbfs" json:"kbfs"`
	Updater []ServiceStatus `codec:"updater" json:"updater"`
}

func (ServicesStatus) DeepCopy

func (o ServicesStatus) DeepCopy() ServicesStatus

type Session

type Session struct {
	Uid             UID    `codec:"uid" json:"uid"`
	Username        string `codec:"username" json:"username"`
	Token           string `codec:"token" json:"token"`
	DeviceSubkeyKid KID    `codec:"deviceSubkeyKid" json:"deviceSubkeyKid"`
	DeviceSibkeyKid KID    `codec:"deviceSibkeyKid" json:"deviceSibkeyKid"`
}

func (Session) DeepCopy

func (o Session) DeepCopy() Session

type SessionClient

type SessionClient struct {
	Cli rpc.GenericClient
}

func (SessionClient) CurrentSession

func (c SessionClient) CurrentSession(ctx context.Context, sessionID int) (res Session, err error)

func (SessionClient) SessionPing

func (c SessionClient) SessionPing(ctx context.Context) (err error)

type SessionInterface

type SessionInterface interface {
	CurrentSession(context.Context, int) (Session, error)
	SessionPing(context.Context) error
}

type SessionPingArg

type SessionPingArg struct {
}

type SessionStatus

type SessionStatus struct {
	SessionFor string `codec:"SessionFor" json:"SessionFor"`
	Loaded     bool   `codec:"Loaded" json:"Loaded"`
	Cleared    bool   `codec:"Cleared" json:"Cleared"`
	SaltOnly   bool   `codec:"SaltOnly" json:"SaltOnly"`
	Expired    bool   `codec:"Expired" json:"Expired"`
}

func (SessionStatus) DeepCopy

func (o SessionStatus) DeepCopy() SessionStatus

type SessionToken

type SessionToken string

func (SessionToken) DeepCopy

func (o SessionToken) DeepCopy() SessionToken

type SetCurrentMountDirArg

type SetCurrentMountDirArg struct {
	Dir string `codec:"dir" json:"dir"`
}

type SetImplicitTeamModeForTestArg

type SetImplicitTeamModeForTestArg struct {
	ImplicitTeamMode string `codec:"implicitTeamMode" json:"implicitTeamMode"`
}

type SetLockdownModeArg

type SetLockdownModeArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	Enabled   bool `codec:"enabled" json:"enabled"`
}

type SetNotificationsArg

type SetNotificationsArg struct {
	Channels NotificationChannels `codec:"channels" json:"channels"`
}

type SetOnLoginStartupArg

type SetOnLoginStartupArg struct {
	Enabled bool `codec:"enabled" json:"enabled"`
}

type SetPathArg

type SetPathArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Path      string `codec:"path" json:"path"`
}

type SetPreferenceArg

type SetPreferenceArg struct {
	Preference IncomingSharePreference `codec:"preference" json:"preference"`
}

type SetPrimaryEmailArg

type SetPrimaryEmailArg struct {
	SessionID int          `codec:"sessionID" json:"sessionID"`
	Email     EmailAddress `codec:"email" json:"email"`
}

type SetProxyDataArg

type SetProxyDataArg struct {
	ProxyData ProxyData `codec:"proxyData" json:"proxyData"`
}

type SetRememberPassphraseArg

type SetRememberPassphraseArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	Remember  bool `codec:"remember" json:"remember"`
}

type SetTarsDisabledArg

type SetTarsDisabledArg struct {
	TeamID   TeamID `codec:"teamID" json:"teamID"`
	Disabled bool   `codec:"disabled" json:"disabled"`
}

type SetTeamMemberShowcaseArg

type SetTeamMemberShowcaseArg struct {
	TeamID      TeamID `codec:"teamID" json:"teamID"`
	IsShowcased bool   `codec:"isShowcased" json:"isShowcased"`
}

type SetTeamRepoSettingsArg

type SetTeamRepoSettingsArg struct {
	Folder       FolderHandle `codec:"folder" json:"folder"`
	RepoID       RepoID       `codec:"repoID" json:"repoID"`
	ChannelName  *string      `codec:"channelName,omitempty" json:"channelName,omitempty"`
	ChatDisabled bool         `codec:"chatDisabled" json:"chatDisabled"`
}

type SetTeamShowcaseArg

type SetTeamShowcaseArg struct {
	TeamID            TeamID  `codec:"teamID" json:"teamID"`
	IsShowcased       *bool   `codec:"isShowcased,omitempty" json:"isShowcased,omitempty"`
	Description       *string `codec:"description,omitempty" json:"description,omitempty"`
	AnyMemberShowcase *bool   `codec:"anyMemberShowcase,omitempty" json:"anyMemberShowcase,omitempty"`
}

type SetUserBlocksArg

type SetUserBlocksArg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	Blocks    []UserBlockArg `codec:"blocks" json:"blocks"`
}

type SetUserConfigArg

type SetUserConfigArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Username  string `codec:"username" json:"username"`
	Key       string `codec:"key" json:"key"`
	Value     string `codec:"value" json:"value"`
}

type SetValueArg

type SetValueArg struct {
	Path  string      `codec:"path" json:"path"`
	Value ConfigValue `codec:"value" json:"value"`
}

type SetVisibilityAllEmailArg

type SetVisibilityAllEmailArg struct {
	SessionID  int                `codec:"sessionID" json:"sessionID"`
	Visibility IdentityVisibility `codec:"visibility" json:"visibility"`
}

type SetVisibilityAllPhoneNumberArg

type SetVisibilityAllPhoneNumberArg struct {
	SessionID  int                `codec:"sessionID" json:"sessionID"`
	Visibility IdentityVisibility `codec:"visibility" json:"visibility"`
}

type SetVisibilityEmailArg

type SetVisibilityEmailArg struct {
	SessionID  int                `codec:"sessionID" json:"sessionID"`
	Email      EmailAddress       `codec:"email" json:"email"`
	Visibility IdentityVisibility `codec:"visibility" json:"visibility"`
}

type SetVisibilityPhoneNumberArg

type SetVisibilityPhoneNumberArg struct {
	SessionID   int                `codec:"sessionID" json:"sessionID"`
	PhoneNumber PhoneNumber        `codec:"phoneNumber" json:"phoneNumber"`
	Visibility  IdentityVisibility `codec:"visibility" json:"visibility"`
}

type ShouldPushPrivateArg

type ShouldPushPrivateArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	Prompt    bool `codec:"prompt" json:"prompt"`
}

type ShowPendingRekeyStatusArg

type ShowPendingRekeyStatusArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type ShutdownArg

type ShutdownArg struct {
	Code int `codec:"code" json:"code"`
}

type Sig

type Sig struct {
	Seqno        Seqno  `codec:"seqno" json:"seqno"`
	SigID        SigID  `codec:"sigID" json:"sigID"`
	SigIDDisplay string `codec:"sigIDDisplay" json:"sigIDDisplay"`
	Type         string `codec:"type" json:"type"`
	CTime        Time   `codec:"cTime" json:"cTime"`
	Revoked      bool   `codec:"revoked" json:"revoked"`
	Active       bool   `codec:"active" json:"active"`
	Key          string `codec:"key" json:"key"`
	Body         string `codec:"body" json:"body"`
}

func (Sig) DeepCopy

func (o Sig) DeepCopy() Sig

type SigChainLocation

type SigChainLocation struct {
	Seqno   Seqno   `codec:"seqno" json:"seqno"`
	SeqType SeqType `codec:"seqType" json:"seqType"`
}

func (SigChainLocation) Comparable

func (s SigChainLocation) Comparable(s2 SigChainLocation) error

func (SigChainLocation) DeepCopy

func (o SigChainLocation) DeepCopy() SigChainLocation

func (SigChainLocation) Eq

func (SigChainLocation) LessThanOrEqualTo

func (s SigChainLocation) LessThanOrEqualTo(s2 SigChainLocation) bool

func (SigChainLocation) Sub1

type SigHint

type SigHint struct {
	RemoteId  string `codec:"remoteId" json:"remoteId"`
	HumanUrl  string `codec:"humanUrl" json:"humanUrl"`
	ApiUrl    string `codec:"apiUrl" json:"apiUrl"`
	CheckText string `codec:"checkText" json:"checkText"`
}

func (SigHint) DeepCopy

func (o SigHint) DeepCopy() SigHint

type SigID

type SigID string

func SigIDFromString

func SigIDFromString(s string) (SigID, error)

func (SigID) DeepCopy

func (o SigID) DeepCopy() SigID

func (SigID) Eq

func (s SigID) Eq(t SigID) bool

func (SigID) Exists

func (s SigID) Exists() bool

func (SigID) IsNil

func (s SigID) IsNil() bool

func (*SigID) MarshalJSON

func (s *SigID) MarshalJSON() ([]byte, error)

func (SigID) PrefixMatch

func (s SigID) PrefixMatch(q string, exact bool) bool

func (SigID) String

func (s SigID) String() string

func (SigID) StripSuffix

func (s SigID) StripSuffix() SigIDBase

func (SigID) ToBytes

func (s SigID) ToBytes() []byte

func (SigID) ToDisplayString

func (s SigID) ToDisplayString(verbose bool) string

func (SigID) ToMapKey

func (s SigID) ToMapKey() SigIDMapKey

ToMapKey returns the string representation (hex-encoded) of a SigID with the hardcoded 0x0f suffix (for backward comptability with on-disk storage).

func (SigID) ToMediumID

func (s SigID) ToMediumID() string

func (SigID) ToShortID

func (s SigID) ToShortID() string

func (*SigID) UnmarshalJSON

func (s *SigID) UnmarshalJSON(b []byte) error

type SigIDBase

type SigIDBase string

SigIDBase is a 64-character long hex encoding of the SHA256 of a signature, without any suffix. You get a SigID by adding either a 0f or a 22 suffix.

func SigIDBaseFromBytes

func SigIDBaseFromBytes(b [SIG_ID_LEN]byte) SigIDBase

func SigIDBaseFromSlice

func SigIDBaseFromSlice(b []byte) (SigIDBase, error)

func SigIDBaseFromString

func SigIDBaseFromString(s string) (SigIDBase, error)

func (SigIDBase) Eq

func (s SigIDBase) Eq(t SigIDBase) bool

func (SigIDBase) EqSigID

func (s SigIDBase) EqSigID(t SigID) bool

func (SigIDBase) MarshalJSON

func (s SigIDBase) MarshalJSON() ([]byte, error)

MarshalJSON output the SigIDBase as a full SigID to be compatible with legacy versions of the app.

func (SigIDBase) String

func (s SigIDBase) String() string

func (SigIDBase) ToBytes

func (s SigIDBase) ToBytes() []byte

func (SigIDBase) ToSigID

func (s SigIDBase) ToSigID(p SigIDSuffixParameters) SigID

func (SigIDBase) ToSigIDLegacy

func (s SigIDBase) ToSigIDLegacy() SigID

ToSigIDLegacy does what all of Keybase used to do, which is to always assign a 0x0f suffix to SigIDBases to get SigIDs.

func (*SigIDBase) UnmarshalJSON

func (s *SigIDBase) UnmarshalJSON(b []byte) error

UnmarshalJSON will accept either a SigID or a SigIDBase, and can strip off the suffix.

type SigIDMapKey

type SigIDMapKey string

type SigIDSuffixParameters

type SigIDSuffixParameters struct {
	IsUserSig       bool       // true for user, false for team
	IsWalletStellar bool       // exceptional sig type for backwards compatibility
	SigVersion      SigVersion // 1,2 or 3 supported now
}

SigIDSuffixParameters specify how to turn a 64-character SigIDBase into a 66-character SigID, via the two suffixes. In the future, there might be a third, 38, in use.

func SigIDSuffixParametersFromTypeAndVersion

func SigIDSuffixParametersFromTypeAndVersion(typ string, vers SigVersion) SigIDSuffixParameters

func (SigIDSuffixParameters) String

func (s SigIDSuffixParameters) String() string

type SigListArg

type SigListArg struct {
	SessionID int         `codec:"sessionID" json:"sessionID"`
	Arg       SigListArgs `codec:"arg" json:"arg"`
}

type SigListArgs

type SigListArgs struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	Username  string    `codec:"username" json:"username"`
	AllKeys   bool      `codec:"allKeys" json:"allKeys"`
	Types     *SigTypes `codec:"types,omitempty" json:"types,omitempty"`
	Filterx   string    `codec:"filterx" json:"filterx"`
	Verbose   bool      `codec:"verbose" json:"verbose"`
	Revoked   bool      `codec:"revoked" json:"revoked"`
}

func (SigListArgs) DeepCopy

func (o SigListArgs) DeepCopy() SigListArgs

type SigListJSONArg

type SigListJSONArg struct {
	SessionID int         `codec:"sessionID" json:"sessionID"`
	Arg       SigListArgs `codec:"arg" json:"arg"`
}

type SigTypes

type SigTypes struct {
	Track          bool `codec:"track" json:"track"`
	Proof          bool `codec:"proof" json:"proof"`
	Cryptocurrency bool `codec:"cryptocurrency" json:"cryptocurrency"`
	IsSelf         bool `codec:"isSelf" json:"isSelf"`
}

func (SigTypes) DeepCopy

func (o SigTypes) DeepCopy() SigTypes

type SigVersion

type SigVersion int

func (SigVersion) DeepCopy

func (o SigVersion) DeepCopy() SigVersion

type SignArg

type SignArg struct {
	Msg         []byte `codec:"msg" json:"msg"`
	Fingerprint []byte `codec:"fingerprint" json:"fingerprint"`
}

type SignED25519Arg

type SignED25519Arg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Msg       []byte `codec:"msg" json:"msg"`
	Reason    string `codec:"reason" json:"reason"`
}

type SignED25519ForKBFSArg

type SignED25519ForKBFSArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Msg       []byte `codec:"msg" json:"msg"`
	Reason    string `codec:"reason" json:"reason"`
}

type SignMode

type SignMode int
const (
	SignMode_ATTACHED SignMode = 0
	SignMode_DETACHED SignMode = 1
	SignMode_CLEAR    SignMode = 2
)

func (SignMode) DeepCopy

func (o SignMode) DeepCopy() SignMode

func (SignMode) String

func (e SignMode) String() string

type SignToStringArg

type SignToStringArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Msg       []byte `codec:"msg" json:"msg"`
	Reason    string `codec:"reason" json:"reason"`
}

type SignatureMetadata

type SignatureMetadata struct {
	SigningKID              KID              `codec:"signingKID" json:"signingKID"`
	PrevMerkleRootSigned    MerkleRootV2     `codec:"prevMerkleRootSigned" json:"prevMerkleRootSigned"`
	FirstAppearedUnverified Seqno            `codec:"firstAppearedUnverified" json:"firstAppearedUnverified"`
	Time                    Time             `codec:"time" json:"time"`
	SigChainLocation        SigChainLocation `codec:"sigChainLocation" json:"sigChainLocation"`
}

func (SignatureMetadata) DeepCopy

func (o SignatureMetadata) DeepCopy() SignatureMetadata

type Signer

type Signer struct {
	E Seqno `codec:"e" json:"e"`
	K KID   `codec:"k" json:"k"`
	U UID   `codec:"u" json:"u"`
}

func (Signer) DeepCopy

func (o Signer) DeepCopy() Signer

func (Signer) UserVersion

func (s Signer) UserVersion() UserVersion

type SignupArg

type SignupArg struct {
	SessionID   int        `codec:"sessionID" json:"sessionID"`
	Email       string     `codec:"email" json:"email"`
	InviteCode  string     `codec:"inviteCode" json:"inviteCode"`
	Passphrase  string     `codec:"passphrase" json:"passphrase"`
	Username    string     `codec:"username" json:"username"`
	DeviceName  string     `codec:"deviceName" json:"deviceName"`
	DeviceType  DeviceType `codec:"deviceType" json:"deviceType"`
	StoreSecret bool       `codec:"storeSecret" json:"storeSecret"`
	SkipMail    bool       `codec:"skipMail" json:"skipMail"`
	GenPGPBatch bool       `codec:"genPGPBatch" json:"genPGPBatch"`
	GenPaper    bool       `codec:"genPaper" json:"genPaper"`
	RandomPw    bool       `codec:"randomPw" json:"randomPw"`
	VerifyEmail bool       `codec:"verifyEmail" json:"verifyEmail"`
	BotToken    BotToken   `codec:"botToken" json:"botToken"`
	SkipGPG     bool       `codec:"skipGPG" json:"skipGPG"`
}

type SignupClient

type SignupClient struct {
	Cli rpc.GenericClient
}

func (SignupClient) CheckInvitationCode

func (c SignupClient) CheckInvitationCode(ctx context.Context, __arg CheckInvitationCodeArg) (err error)

func (SignupClient) CheckUsernameAvailable

func (c SignupClient) CheckUsernameAvailable(ctx context.Context, __arg CheckUsernameAvailableArg) (err error)

func (SignupClient) GetInvitationCode

func (c SignupClient) GetInvitationCode(ctx context.Context, sessionID int) (res string, err error)

func (SignupClient) InviteRequest

func (c SignupClient) InviteRequest(ctx context.Context, __arg InviteRequestArg) (err error)

func (SignupClient) Signup

func (c SignupClient) Signup(ctx context.Context, __arg SignupArg) (res SignupRes, err error)

type SignupInterface

type SignupInterface interface {
	CheckUsernameAvailable(context.Context, CheckUsernameAvailableArg) error
	Signup(context.Context, SignupArg) (SignupRes, error)
	InviteRequest(context.Context, InviteRequestArg) error
	CheckInvitationCode(context.Context, CheckInvitationCodeArg) error
	GetInvitationCode(context.Context, int) (string, error)
}

type SignupRes

type SignupRes struct {
	PassphraseOk bool   `codec:"passphraseOk" json:"passphraseOk"`
	PostOk       bool   `codec:"postOk" json:"postOk"`
	WriteOk      bool   `codec:"writeOk" json:"writeOk"`
	PaperKey     string `codec:"paperKey" json:"paperKey"`
}

func (SignupRes) DeepCopy

func (o SignupRes) DeepCopy() SignupRes

type SigsClient

type SigsClient struct {
	Cli rpc.GenericClient
}

func (SigsClient) SigList

func (c SigsClient) SigList(ctx context.Context, __arg SigListArg) (res []Sig, err error)

func (SigsClient) SigListJSON

func (c SigsClient) SigListJSON(ctx context.Context, __arg SigListJSONArg) (res string, err error)

type SigsInterface

type SigsInterface interface {
	SigList(context.Context, SigListArg) ([]Sig, error)
	SigListJSON(context.Context, SigListJSONArg) (string, error)
}

type SimpleFSArchiveAllFilesArg

type SimpleFSArchiveAllFilesArg struct {
	OutputDir             string `codec:"outputDir" json:"outputDir"`
	OverwriteZip          bool   `codec:"overwriteZip" json:"overwriteZip"`
	IncludePublicReadonly bool   `codec:"includePublicReadonly" json:"includePublicReadonly"`
}

type SimpleFSArchiveAllFilesResult

type SimpleFSArchiveAllFilesResult struct {
	TlfPathToJobDesc map[string]SimpleFSArchiveJobDesc `codec:"tlfPathToJobDesc" json:"tlfPathToJobDesc"`
	TlfPathToError   map[string]string                 `codec:"tlfPathToError" json:"tlfPathToError"`
	SkippedTLFPaths  []string                          `codec:"skippedTLFPaths" json:"skippedTLFPaths"`
}

func (SimpleFSArchiveAllFilesResult) DeepCopy

type SimpleFSArchiveAllGitReposArg

type SimpleFSArchiveAllGitReposArg struct {
	OutputDir    string `codec:"outputDir" json:"outputDir"`
	OverwriteZip bool   `codec:"overwriteZip" json:"overwriteZip"`
}

type SimpleFSArchiveAllGitReposResult

type SimpleFSArchiveAllGitReposResult struct {
	GitRepoToJobDesc map[string]SimpleFSArchiveJobDesc `codec:"gitRepoToJobDesc" json:"gitRepoToJobDesc"`
	GitRepoToError   map[string]string                 `codec:"gitRepoToError" json:"gitRepoToError"`
}

func (SimpleFSArchiveAllGitReposResult) DeepCopy

type SimpleFSArchiveCancelOrDismissJobArg

type SimpleFSArchiveCancelOrDismissJobArg struct {
	JobID string `codec:"jobID" json:"jobID"`
}

type SimpleFSArchiveCheckArchiveArg

type SimpleFSArchiveCheckArchiveArg struct {
	ArchiveZipFilePath string `codec:"archiveZipFilePath" json:"archiveZipFilePath"`
}

type SimpleFSArchiveCheckArchiveResult

type SimpleFSArchiveCheckArchiveResult struct {
	Desc               SimpleFSArchiveJobDesc `codec:"desc" json:"desc"`
	CurrentTLFRevision KBFSRevision           `codec:"currentTLFRevision" json:"currentTLFRevision"`
	PathsWithIssues    map[string]string      `codec:"pathsWithIssues" json:"pathsWithIssues"`
}

func (SimpleFSArchiveCheckArchiveResult) DeepCopy

type SimpleFSArchiveFile

type SimpleFSArchiveFile struct {
	State        SimpleFSFileArchiveState `codec:"state" json:"state"`
	DirentType   DirentType               `codec:"direntType" json:"direntType"`
	Sha256SumHex string                   `codec:"sha256SumHex" json:"sha256SumHex"`
}

func (SimpleFSArchiveFile) DeepCopy

type SimpleFSArchiveJobDesc

type SimpleFSArchiveJobDesc struct {
	JobID                string           `codec:"jobID" json:"jobID"`
	KbfsPathWithRevision KBFSArchivedPath `codec:"kbfsPathWithRevision" json:"kbfsPathWithRevision"`
	GitRepo              *string          `codec:"gitRepo,omitempty" json:"gitRepo,omitempty"`
	OverwriteZip         bool             `codec:"overwriteZip" json:"overwriteZip"`
	StartTime            Time             `codec:"startTime" json:"startTime"`
	StagingPath          string           `codec:"stagingPath" json:"stagingPath"`
	TargetName           string           `codec:"targetName" json:"targetName"`
	ZipFilePath          string           `codec:"zipFilePath" json:"zipFilePath"`
}

func (SimpleFSArchiveJobDesc) DeepCopy

type SimpleFSArchiveJobErrorState

type SimpleFSArchiveJobErrorState struct {
	Error     string `codec:"error" json:"error"`
	NextRetry Time   `codec:"nextRetry" json:"nextRetry"`
}

func (SimpleFSArchiveJobErrorState) DeepCopy

type SimpleFSArchiveJobFreshness

type SimpleFSArchiveJobFreshness struct {
	CurrentTLFRevision KBFSRevision `codec:"currentTLFRevision" json:"currentTLFRevision"`
}

func (SimpleFSArchiveJobFreshness) DeepCopy

type SimpleFSArchiveJobPhase

type SimpleFSArchiveJobPhase int
const (
	SimpleFSArchiveJobPhase_Queued   SimpleFSArchiveJobPhase = 0
	SimpleFSArchiveJobPhase_Indexing SimpleFSArchiveJobPhase = 1
	SimpleFSArchiveJobPhase_Indexed  SimpleFSArchiveJobPhase = 2
	SimpleFSArchiveJobPhase_Copying  SimpleFSArchiveJobPhase = 3
	SimpleFSArchiveJobPhase_Copied   SimpleFSArchiveJobPhase = 4
	SimpleFSArchiveJobPhase_Zipping  SimpleFSArchiveJobPhase = 5
	SimpleFSArchiveJobPhase_Done     SimpleFSArchiveJobPhase = 6
)

func (SimpleFSArchiveJobPhase) DeepCopy

func (SimpleFSArchiveJobPhase) String

func (e SimpleFSArchiveJobPhase) String() string

type SimpleFSArchiveJobState

type SimpleFSArchiveJobState struct {
	Desc        SimpleFSArchiveJobDesc         `codec:"desc" json:"desc"`
	Manifest    map[string]SimpleFSArchiveFile `codec:"manifest" json:"manifest"`
	Phase       SimpleFSArchiveJobPhase        `codec:"phase" json:"phase"`
	BytesTotal  int64                          `codec:"bytesTotal" json:"bytesTotal"`
	BytesCopied int64                          `codec:"bytesCopied" json:"bytesCopied"`
	BytesZipped int64                          `codec:"bytesZipped" json:"bytesZipped"`
}

func (SimpleFSArchiveJobState) DeepCopy

type SimpleFSArchiveJobStatus

type SimpleFSArchiveJobStatus struct {
	Desc            SimpleFSArchiveJobDesc        `codec:"desc" json:"desc"`
	Phase           SimpleFSArchiveJobPhase       `codec:"phase" json:"phase"`
	TodoCount       int                           `codec:"todoCount" json:"todoCount"`
	InProgressCount int                           `codec:"inProgressCount" json:"inProgressCount"`
	CompleteCount   int                           `codec:"completeCount" json:"completeCount"`
	SkippedCount    int                           `codec:"skippedCount" json:"skippedCount"`
	TotalCount      int                           `codec:"totalCount" json:"totalCount"`
	BytesTotal      int64                         `codec:"bytesTotal" json:"bytesTotal"`
	BytesCopied     int64                         `codec:"bytesCopied" json:"bytesCopied"`
	BytesZipped     int64                         `codec:"bytesZipped" json:"bytesZipped"`
	Error           *SimpleFSArchiveJobErrorState `codec:"error,omitempty" json:"error,omitempty"`
}

func (SimpleFSArchiveJobStatus) DeepCopy

type SimpleFSArchiveStartArg

type SimpleFSArchiveStartArg struct {
	ArchiveJobStartPath ArchiveJobStartPath `codec:"archiveJobStartPath" json:"archiveJobStartPath"`
	OutputPath          string              `codec:"outputPath" json:"outputPath"`
	OverwriteZip        bool                `codec:"overwriteZip" json:"overwriteZip"`
}

type SimpleFSArchiveState

type SimpleFSArchiveState struct {
	Jobs        map[string]SimpleFSArchiveJobState `codec:"jobs" json:"jobs"`
	LastUpdated Time                               `codec:"lastUpdated" json:"lastUpdated"`
}

func (SimpleFSArchiveState) DeepCopy

type SimpleFSArchiveStatus

type SimpleFSArchiveStatus struct {
	Jobs        []SimpleFSArchiveJobStatus `codec:"jobs" json:"jobs"`
	LastUpdated Time                       `codec:"lastUpdated" json:"lastUpdated"`
}

func (SimpleFSArchiveStatus) DeepCopy

type SimpleFSArchiveStatusChangedArg

type SimpleFSArchiveStatusChangedArg struct {
	Status SimpleFSArchiveStatus `codec:"status" json:"status"`
}

type SimpleFSCancelArg

type SimpleFSCancelArg struct {
	OpID OpID `codec:"opID" json:"opID"`
}

type SimpleFSCancelDownloadArg

type SimpleFSCancelDownloadArg struct {
	DownloadID string `codec:"downloadID" json:"downloadID"`
}

type SimpleFSCancelJournalUploadsArg

type SimpleFSCancelJournalUploadsArg struct {
	Path KBFSPath `codec:"path" json:"path"`
}

type SimpleFSCancelUploadArg

type SimpleFSCancelUploadArg struct {
	UploadID string `codec:"uploadID" json:"uploadID"`
}

type SimpleFSCheckArg

type SimpleFSCheckArg struct {
	OpID OpID `codec:"opID" json:"opID"`
}

type SimpleFSCheckReachabilityArg

type SimpleFSCheckReachabilityArg struct {
}

type SimpleFSClearConflictStateArg

type SimpleFSClearConflictStateArg struct {
	Path Path `codec:"path" json:"path"`
}

type SimpleFSClient

type SimpleFSClient struct {
	Cli rpc.GenericClient
}

func (SimpleFSClient) SimpleFSArchiveAllFiles

func (c SimpleFSClient) SimpleFSArchiveAllFiles(ctx context.Context, __arg SimpleFSArchiveAllFilesArg) (res SimpleFSArchiveAllFilesResult, err error)

func (SimpleFSClient) SimpleFSArchiveAllGitRepos

func (c SimpleFSClient) SimpleFSArchiveAllGitRepos(ctx context.Context, __arg SimpleFSArchiveAllGitReposArg) (res SimpleFSArchiveAllGitReposResult, err error)

func (SimpleFSClient) SimpleFSArchiveCancelOrDismissJob

func (c SimpleFSClient) SimpleFSArchiveCancelOrDismissJob(ctx context.Context, jobID string) (err error)

func (SimpleFSClient) SimpleFSArchiveCheckArchive

func (c SimpleFSClient) SimpleFSArchiveCheckArchive(ctx context.Context, archiveZipFilePath string) (res SimpleFSArchiveCheckArchiveResult, err error)

func (SimpleFSClient) SimpleFSArchiveStart

func (c SimpleFSClient) SimpleFSArchiveStart(ctx context.Context, __arg SimpleFSArchiveStartArg) (res SimpleFSArchiveJobDesc, err error)

func (SimpleFSClient) SimpleFSCancel

func (c SimpleFSClient) SimpleFSCancel(ctx context.Context, opID OpID) (err error)

Cancels a running operation, like copy.

func (SimpleFSClient) SimpleFSCancelDownload

func (c SimpleFSClient) SimpleFSCancelDownload(ctx context.Context, downloadID string) (err error)

func (SimpleFSClient) SimpleFSCancelJournalUploads

func (c SimpleFSClient) SimpleFSCancelJournalUploads(ctx context.Context, path KBFSPath) (err error)

func (SimpleFSClient) SimpleFSCancelUpload

func (c SimpleFSClient) SimpleFSCancelUpload(ctx context.Context, uploadID string) (err error)

func (SimpleFSClient) SimpleFSCheck

func (c SimpleFSClient) SimpleFSCheck(ctx context.Context, opID OpID) (res OpProgress, err error)

Check progress of pending operation

func (SimpleFSClient) SimpleFSCheckReachability

func (c SimpleFSClient) SimpleFSCheckReachability(ctx context.Context) (err error)

func (SimpleFSClient) SimpleFSClearConflictState

func (c SimpleFSClient) SimpleFSClearConflictState(ctx context.Context, path Path) (err error)

func (SimpleFSClient) SimpleFSClose

func (c SimpleFSClient) SimpleFSClose(ctx context.Context, opID OpID) (err error)

Close OpID, cancels any pending operation. Must be called after list/copy/remove

func (SimpleFSClient) SimpleFSConfigureDownload

func (c SimpleFSClient) SimpleFSConfigureDownload(ctx context.Context, __arg SimpleFSConfigureDownloadArg) (err error)

func (SimpleFSClient) SimpleFSCopy

func (c SimpleFSClient) SimpleFSCopy(ctx context.Context, __arg SimpleFSCopyArg) (err error)

Begin copy of file or directory.

func (SimpleFSClient) SimpleFSCopyRecursive

func (c SimpleFSClient) SimpleFSCopyRecursive(ctx context.Context, __arg SimpleFSCopyRecursiveArg) (err error)

Begin recursive copy of directory

overwriteExistingFiles controls whether an existing file from `src` will overwrite a file with the same name in `dest`; if `false`, an error will be returned in that case. For directories that share a name, the copy will continue recursively into the directory without causing an error.

func (SimpleFSClient) SimpleFSDeobfuscatePath

func (c SimpleFSClient) SimpleFSDeobfuscatePath(ctx context.Context, path Path) (res []string, err error)

func (SimpleFSClient) SimpleFSDismissDownload

func (c SimpleFSClient) SimpleFSDismissDownload(ctx context.Context, downloadID string) (err error)

func (SimpleFSClient) SimpleFSDismissUpload

func (c SimpleFSClient) SimpleFSDismissUpload(ctx context.Context, uploadID string) (err error)

func (SimpleFSClient) SimpleFSDumpDebuggingInfo

func (c SimpleFSClient) SimpleFSDumpDebuggingInfo(ctx context.Context) (err error)

Instructs KBFS to dump debugging info into its logs.

func (SimpleFSClient) SimpleFSFinishResolvingConflict

func (c SimpleFSClient) SimpleFSFinishResolvingConflict(ctx context.Context, path Path) (err error)

func (SimpleFSClient) SimpleFSFolderEditHistory

func (c SimpleFSClient) SimpleFSFolderEditHistory(ctx context.Context, path Path) (res FSFolderEditHistory, err error)

simpleFSFolderEditHistory returns the edit history for the TLF described by `path`, for the most recent writers of that TLF. The writers are in descending order by the modification time (as recorded by the server) of their most recent edit.

func (SimpleFSClient) SimpleFSFolderSyncConfigAndStatus

func (c SimpleFSClient) SimpleFSFolderSyncConfigAndStatus(ctx context.Context, path Path) (res FolderSyncConfigAndStatus, err error)

func (SimpleFSClient) SimpleFSForceStuckConflict

func (c SimpleFSClient) SimpleFSForceStuckConflict(ctx context.Context, path Path) (err error)

Force a TLF into a stuck conflict state (for testing).

func (SimpleFSClient) SimpleFSGetArchiveJobFreshness

func (c SimpleFSClient) SimpleFSGetArchiveJobFreshness(ctx context.Context, jobID string) (res SimpleFSArchiveJobFreshness, err error)

func (SimpleFSClient) SimpleFSGetArchiveStatus

func (c SimpleFSClient) SimpleFSGetArchiveStatus(ctx context.Context) (res SimpleFSArchiveStatus, err error)

func (SimpleFSClient) SimpleFSGetDownloadInfo

func (c SimpleFSClient) SimpleFSGetDownloadInfo(ctx context.Context, downloadID string) (res DownloadInfo, err error)

func (SimpleFSClient) SimpleFSGetDownloadStatus

func (c SimpleFSClient) SimpleFSGetDownloadStatus(ctx context.Context) (res DownloadStatus, err error)

func (SimpleFSClient) SimpleFSGetFilesTabBadge

func (c SimpleFSClient) SimpleFSGetFilesTabBadge(ctx context.Context) (res FilesTabBadge, err error)

func (SimpleFSClient) SimpleFSGetFolder

func (c SimpleFSClient) SimpleFSGetFolder(ctx context.Context, path KBFSPath) (res FolderWithFavFlags, err error)

func (SimpleFSClient) SimpleFSGetGUIFileContext

func (c SimpleFSClient) SimpleFSGetGUIFileContext(ctx context.Context, path KBFSPath) (res GUIFileContext, err error)

func (SimpleFSClient) SimpleFSGetIndexProgress

func (c SimpleFSClient) SimpleFSGetIndexProgress(ctx context.Context) (res SimpleFSIndexProgress, err error)

func (SimpleFSClient) SimpleFSGetOnlineStatus

func (c SimpleFSClient) SimpleFSGetOnlineStatus(ctx context.Context, clientID string) (res KbfsOnlineStatus, err error)

func (SimpleFSClient) SimpleFSGetOps

func (c SimpleFSClient) SimpleFSGetOps(ctx context.Context) (res []OpDescription, err error)

Get all the outstanding operations

func (SimpleFSClient) SimpleFSGetRevisions

func (c SimpleFSClient) SimpleFSGetRevisions(ctx context.Context, __arg SimpleFSGetRevisionsArg) (err error)

Get revision info for a directory entry

func (SimpleFSClient) SimpleFSGetStats

func (c SimpleFSClient) SimpleFSGetStats(ctx context.Context) (res SimpleFSStats, err error)

func (SimpleFSClient) SimpleFSGetTeamQuotaUsage

func (c SimpleFSClient) SimpleFSGetTeamQuotaUsage(ctx context.Context, teamName TeamName) (res SimpleFSQuotaUsage, err error)

simpleFSGetTeamQuotaUsage returns the quota usage for the given team, if the logged-in user has access to that team. Any usage includes local journal usage as well.

func (SimpleFSClient) SimpleFSGetUploadStatus

func (c SimpleFSClient) SimpleFSGetUploadStatus(ctx context.Context) (res []UploadState, err error)

func (SimpleFSClient) SimpleFSGetUserQuotaUsage

func (c SimpleFSClient) SimpleFSGetUserQuotaUsage(ctx context.Context) (res SimpleFSQuotaUsage, err error)

simpleFSGetUserQuotaUsage returns the quota usage for the logged-in user. Any usage includes local journal usage as well.

func (SimpleFSClient) SimpleFSList

func (c SimpleFSClient) SimpleFSList(ctx context.Context, __arg SimpleFSListArg) (err error)

Begin list of items in directory at path. Retrieve results with readList(). Can be a single file to get flags/status. If `refreshSubscription` is true and the path is a KBFS path, simpleFS will begin sending `FSPathUpdated` notifications for the for the corresponding TLF, until another call refreshes the subscription on a different TLF.

func (SimpleFSClient) SimpleFSListFavorites

func (c SimpleFSClient) SimpleFSListFavorites(ctx context.Context) (res FavoritesResult, err error)

simpleFSListFavorites gets the current favorites, ignored folders, and new folders from the KBFS cache.

func (SimpleFSClient) SimpleFSListRecursive

func (c SimpleFSClient) SimpleFSListRecursive(ctx context.Context, __arg SimpleFSListRecursiveArg) (err error)

Begin recursive list of items in directory at path. If `refreshSubscription` is true and the path is a KBFS path, simpleFS will begin sending `FSPathUpdated` notifications for the for the corresponding TLF, until another call refreshes the subscription on a different TLF.

func (SimpleFSClient) SimpleFSListRecursiveToDepth

func (c SimpleFSClient) SimpleFSListRecursiveToDepth(ctx context.Context, __arg SimpleFSListRecursiveToDepthArg) (err error)

Begin recursive list of items in directory at path up to a given depth

func (SimpleFSClient) SimpleFSMakeOpid

func (c SimpleFSClient) SimpleFSMakeOpid(ctx context.Context) (res OpID, err error)

Convenience helper for generating new random value

func (SimpleFSClient) SimpleFSMakeTempDirForUpload

func (c SimpleFSClient) SimpleFSMakeTempDirForUpload(ctx context.Context) (res string, err error)

func (SimpleFSClient) SimpleFSMove

func (c SimpleFSClient) SimpleFSMove(ctx context.Context, __arg SimpleFSMoveArg) (err error)

Begin move of file or directory, from/to KBFS only

func (SimpleFSClient) SimpleFSObfuscatePath

func (c SimpleFSClient) SimpleFSObfuscatePath(ctx context.Context, path Path) (res string, err error)

func (SimpleFSClient) SimpleFSOpen

func (c SimpleFSClient) SimpleFSOpen(ctx context.Context, __arg SimpleFSOpenArg) (err error)

Create/open a file and leave it open or create a directory Files must be closed afterwards.

func (SimpleFSClient) SimpleFSRead

func (c SimpleFSClient) SimpleFSRead(ctx context.Context, __arg SimpleFSReadArg) (res FileContent, err error)

Read (possibly partial) contents of open file, up to the amount specified by size. Repeat until zero bytes are returned or error. If size is zero, read an arbitrary amount.

func (SimpleFSClient) SimpleFSReadList

func (c SimpleFSClient) SimpleFSReadList(ctx context.Context, opID OpID) (res SimpleFSListResult, err error)

Get list of Paths in progress. Can indicate status of pending to get more entries.

func (SimpleFSClient) SimpleFSReadRevisions

func (c SimpleFSClient) SimpleFSReadRevisions(ctx context.Context, opID OpID) (res GetRevisionsResult, err error)

Get list of revisions in progress. Can indicate status of pending to get more revisions.

func (SimpleFSClient) SimpleFSRemove

func (c SimpleFSClient) SimpleFSRemove(ctx context.Context, __arg SimpleFSRemoveArg) (err error)

Remove file or directory from filesystem

func (SimpleFSClient) SimpleFSRename

func (c SimpleFSClient) SimpleFSRename(ctx context.Context, __arg SimpleFSRenameArg) (err error)

Rename file or directory, KBFS side only

func (SimpleFSClient) SimpleFSReset

func (c SimpleFSClient) SimpleFSReset(ctx context.Context, __arg SimpleFSResetArg) (err error)

simpleFSReset completely resets the KBFS folder referenced in `path`. It should only be called after explicit user confirmation.

func (SimpleFSClient) SimpleFSResetIndex

func (c SimpleFSClient) SimpleFSResetIndex(ctx context.Context) (err error)

func (SimpleFSClient) SimpleFSSearch

func (c SimpleFSClient) SimpleFSSearch(ctx context.Context, __arg SimpleFSSearchArg) (res SimpleFSSearchResults, err error)

func (SimpleFSClient) SimpleFSSetDebugLevel

func (c SimpleFSClient) SimpleFSSetDebugLevel(ctx context.Context, level string) (err error)

func (SimpleFSClient) SimpleFSSetFolderSyncConfig

func (c SimpleFSClient) SimpleFSSetFolderSyncConfig(ctx context.Context, __arg SimpleFSSetFolderSyncConfigArg) (err error)

func (SimpleFSClient) SimpleFSSetNotificationThreshold

func (c SimpleFSClient) SimpleFSSetNotificationThreshold(ctx context.Context, threshold int64) (err error)

func (SimpleFSClient) SimpleFSSetSfmiBannerDismissed

func (c SimpleFSClient) SimpleFSSetSfmiBannerDismissed(ctx context.Context, dismissed bool) (err error)

func (SimpleFSClient) SimpleFSSetStat

func (c SimpleFSClient) SimpleFSSetStat(ctx context.Context, __arg SimpleFSSetStatArg) (err error)

Set/clear file bits - only executable for now

func (SimpleFSClient) SimpleFSSetSyncOnCellular

func (c SimpleFSClient) SimpleFSSetSyncOnCellular(ctx context.Context, syncOnCellular bool) (err error)

func (SimpleFSClient) SimpleFSSettings

func (c SimpleFSClient) SimpleFSSettings(ctx context.Context) (res FSSettings, err error)

func (SimpleFSClient) SimpleFSStartDownload

func (c SimpleFSClient) SimpleFSStartDownload(ctx context.Context, __arg SimpleFSStartDownloadArg) (res string, err error)

func (SimpleFSClient) SimpleFSStartUpload

func (c SimpleFSClient) SimpleFSStartUpload(ctx context.Context, __arg SimpleFSStartUploadArg) (res string, err error)

func (SimpleFSClient) SimpleFSStat

func (c SimpleFSClient) SimpleFSStat(ctx context.Context, __arg SimpleFSStatArg) (res Dirent, err error)

Get info about file

func (SimpleFSClient) SimpleFSSubscribeNonPath

func (c SimpleFSClient) SimpleFSSubscribeNonPath(ctx context.Context, __arg SimpleFSSubscribeNonPathArg) (err error)

func (SimpleFSClient) SimpleFSSubscribePath

func (c SimpleFSClient) SimpleFSSubscribePath(ctx context.Context, __arg SimpleFSSubscribePathArg) (err error)
func (c SimpleFSClient) SimpleFSSymlink(ctx context.Context, __arg SimpleFSSymlinkArg) (err error)

Make a symlink of file or directory

func (SimpleFSClient) SimpleFSSyncConfigAndStatus

func (c SimpleFSClient) SimpleFSSyncConfigAndStatus(ctx context.Context, identifyBehavior *TLFIdentifyBehavior) (res SyncConfigAndStatusRes, err error)

func (SimpleFSClient) SimpleFSSyncStatus

func (c SimpleFSClient) SimpleFSSyncStatus(ctx context.Context, filter ListFilter) (res FSSyncStatus, err error)

Get sync status.

func (SimpleFSClient) SimpleFSUnsubscribe

func (c SimpleFSClient) SimpleFSUnsubscribe(ctx context.Context, __arg SimpleFSUnsubscribeArg) (err error)

func (SimpleFSClient) SimpleFSUserEditHistory

func (c SimpleFSClient) SimpleFSUserEditHistory(ctx context.Context) (res []FSFolderEditHistory, err error)

simpleFSUserEditHistory returns edit histories of TLFs that the logged-in user can access. Each returned history is corresponds to a unique writer-TLF pair. They are in descending order by the modification time (as recorded by the server) of the most recent edit in each history.

func (SimpleFSClient) SimpleFSUserIn

func (c SimpleFSClient) SimpleFSUserIn(ctx context.Context, clientID string) (err error)

func (SimpleFSClient) SimpleFSUserOut

func (c SimpleFSClient) SimpleFSUserOut(ctx context.Context, clientID string) (err error)

func (SimpleFSClient) SimpleFSWait

func (c SimpleFSClient) SimpleFSWait(ctx context.Context, opID OpID) (err error)

Blocking wait for the pending operation to finish

func (SimpleFSClient) SimpleFSWrite

func (c SimpleFSClient) SimpleFSWrite(ctx context.Context, __arg SimpleFSWriteArg) (err error)

Append content to opened file. May be repeated until OpID is closed.

type SimpleFSCloseArg

type SimpleFSCloseArg struct {
	OpID OpID `codec:"opID" json:"opID"`
}

type SimpleFSConfigureDownloadArg

type SimpleFSConfigureDownloadArg struct {
	CacheDirOverride    string `codec:"cacheDirOverride" json:"cacheDirOverride"`
	DownloadDirOverride string `codec:"downloadDirOverride" json:"downloadDirOverride"`
}

type SimpleFSCopyArg

type SimpleFSCopyArg struct {
	OpID                   OpID `codec:"opID" json:"opID"`
	Src                    Path `codec:"src" json:"src"`
	Dest                   Path `codec:"dest" json:"dest"`
	OverwriteExistingFiles bool `codec:"overwriteExistingFiles" json:"overwriteExistingFiles"`
}

type SimpleFSCopyRecursiveArg

type SimpleFSCopyRecursiveArg struct {
	OpID                   OpID `codec:"opID" json:"opID"`
	Src                    Path `codec:"src" json:"src"`
	Dest                   Path `codec:"dest" json:"dest"`
	OverwriteExistingFiles bool `codec:"overwriteExistingFiles" json:"overwriteExistingFiles"`
}

type SimpleFSDeobfuscatePathArg

type SimpleFSDeobfuscatePathArg struct {
	Path Path `codec:"path" json:"path"`
}

type SimpleFSDismissDownloadArg

type SimpleFSDismissDownloadArg struct {
	DownloadID string `codec:"downloadID" json:"downloadID"`
}

type SimpleFSDismissUploadArg

type SimpleFSDismissUploadArg struct {
	UploadID string `codec:"uploadID" json:"uploadID"`
}

type SimpleFSDumpDebuggingInfoArg

type SimpleFSDumpDebuggingInfoArg struct {
}

type SimpleFSFileArchiveState

type SimpleFSFileArchiveState int
const (
	SimpleFSFileArchiveState_ToDo       SimpleFSFileArchiveState = 0
	SimpleFSFileArchiveState_InProgress SimpleFSFileArchiveState = 1
	SimpleFSFileArchiveState_Complete   SimpleFSFileArchiveState = 2
	SimpleFSFileArchiveState_Skipped    SimpleFSFileArchiveState = 3
)

func (SimpleFSFileArchiveState) DeepCopy

func (SimpleFSFileArchiveState) String

func (e SimpleFSFileArchiveState) String() string

type SimpleFSFinishResolvingConflictArg

type SimpleFSFinishResolvingConflictArg struct {
	Path Path `codec:"path" json:"path"`
}

type SimpleFSFolderEditHistoryArg

type SimpleFSFolderEditHistoryArg struct {
	Path Path `codec:"path" json:"path"`
}

type SimpleFSFolderSyncConfigAndStatusArg

type SimpleFSFolderSyncConfigAndStatusArg struct {
	Path Path `codec:"path" json:"path"`
}

type SimpleFSForceStuckConflictArg

type SimpleFSForceStuckConflictArg struct {
	Path Path `codec:"path" json:"path"`
}

type SimpleFSGetArchiveJobFreshnessArg

type SimpleFSGetArchiveJobFreshnessArg struct {
	JobID string `codec:"jobID" json:"jobID"`
}

type SimpleFSGetArchiveStatusArg

type SimpleFSGetArchiveStatusArg struct {
}

type SimpleFSGetDownloadInfoArg

type SimpleFSGetDownloadInfoArg struct {
	DownloadID string `codec:"downloadID" json:"downloadID"`
}

type SimpleFSGetDownloadStatusArg

type SimpleFSGetDownloadStatusArg struct {
}

type SimpleFSGetFilesTabBadgeArg

type SimpleFSGetFilesTabBadgeArg struct {
}

type SimpleFSGetFolderArg

type SimpleFSGetFolderArg struct {
	Path KBFSPath `codec:"path" json:"path"`
}

type SimpleFSGetGUIFileContextArg

type SimpleFSGetGUIFileContextArg struct {
	Path KBFSPath `codec:"path" json:"path"`
}

type SimpleFSGetIndexProgressArg

type SimpleFSGetIndexProgressArg struct {
}

type SimpleFSGetOnlineStatusArg

type SimpleFSGetOnlineStatusArg struct {
	ClientID string `codec:"clientID" json:"clientID"`
}

type SimpleFSGetOpsArg

type SimpleFSGetOpsArg struct {
}

type SimpleFSGetRevisionsArg

type SimpleFSGetRevisionsArg struct {
	OpID     OpID             `codec:"opID" json:"opID"`
	Path     Path             `codec:"path" json:"path"`
	SpanType RevisionSpanType `codec:"spanType" json:"spanType"`
}

type SimpleFSGetStatsArg

type SimpleFSGetStatsArg struct {
}

type SimpleFSGetTeamQuotaUsageArg

type SimpleFSGetTeamQuotaUsageArg struct {
	TeamName TeamName `codec:"teamName" json:"teamName"`
}

type SimpleFSGetUploadStatusArg

type SimpleFSGetUploadStatusArg struct {
}

type SimpleFSGetUserQuotaUsageArg

type SimpleFSGetUserQuotaUsageArg struct {
}

type SimpleFSIndexProgress

type SimpleFSIndexProgress struct {
	OverallProgress IndexProgressRecord `codec:"overallProgress" json:"overallProgress"`
	CurrFolder      Folder              `codec:"currFolder" json:"currFolder"`
	CurrProgress    IndexProgressRecord `codec:"currProgress" json:"currProgress"`
	FoldersLeft     []Folder            `codec:"foldersLeft" json:"foldersLeft"`
}

func (SimpleFSIndexProgress) DeepCopy

type SimpleFSInterface

type SimpleFSInterface interface {
	// Begin list of items in directory at path.
	// Retrieve results with readList().
	// Can be a single file to get flags/status.
	// If `refreshSubscription` is true and the path is a KBFS path, simpleFS
	// will begin sending `FSPathUpdated` notifications for the for the
	// corresponding TLF, until another call refreshes the subscription on a
	// different TLF.
	SimpleFSList(context.Context, SimpleFSListArg) error
	// Begin recursive list of items in directory at path.
	// If `refreshSubscription` is true and the path is a KBFS path, simpleFS
	// will begin sending `FSPathUpdated` notifications for the for the
	// corresponding TLF, until another call refreshes the subscription on a
	// different TLF.
	SimpleFSListRecursive(context.Context, SimpleFSListRecursiveArg) error
	// Begin recursive list of items in directory at path up to a given depth
	SimpleFSListRecursiveToDepth(context.Context, SimpleFSListRecursiveToDepthArg) error
	// Get list of Paths in progress. Can indicate status of pending
	// to get more entries.
	SimpleFSReadList(context.Context, OpID) (SimpleFSListResult, error)
	// Begin copy of file or directory.
	SimpleFSCopy(context.Context, SimpleFSCopyArg) error
	// Make a symlink of file or directory
	SimpleFSSymlink(context.Context, SimpleFSSymlinkArg) error
	// Begin recursive copy of directory
	//
	// overwriteExistingFiles controls whether an existing file from `src` will
	// overwrite a file with the same name in `dest`; if `false`, an error will be
	// returned in that case.  For directories that share a name, the copy will
	// continue recursively into the directory without causing an error.
	SimpleFSCopyRecursive(context.Context, SimpleFSCopyRecursiveArg) error
	// Begin move of file or directory, from/to KBFS only
	SimpleFSMove(context.Context, SimpleFSMoveArg) error
	// Rename file or directory, KBFS side only
	SimpleFSRename(context.Context, SimpleFSRenameArg) error
	// Create/open a file and leave it open
	// or create a directory
	// Files must be closed afterwards.
	SimpleFSOpen(context.Context, SimpleFSOpenArg) error
	// Set/clear file bits - only executable for now
	SimpleFSSetStat(context.Context, SimpleFSSetStatArg) error
	// Read (possibly partial) contents of open file,
	// up to the amount specified by size.
	// Repeat until zero bytes are returned or error.
	// If size is zero, read an arbitrary amount.
	SimpleFSRead(context.Context, SimpleFSReadArg) (FileContent, error)
	// Append content to opened file.
	// May be repeated until OpID is closed.
	SimpleFSWrite(context.Context, SimpleFSWriteArg) error
	// Remove file or directory from filesystem
	SimpleFSRemove(context.Context, SimpleFSRemoveArg) error
	// Get info about file
	SimpleFSStat(context.Context, SimpleFSStatArg) (Dirent, error)
	// Get revision info for a directory entry
	SimpleFSGetRevisions(context.Context, SimpleFSGetRevisionsArg) error
	// Get list of revisions in progress. Can indicate status of pending
	// to get more revisions.
	SimpleFSReadRevisions(context.Context, OpID) (GetRevisionsResult, error)
	// Convenience helper for generating new random value
	SimpleFSMakeOpid(context.Context) (OpID, error)
	// Close OpID, cancels any pending operation.
	// Must be called after list/copy/remove
	SimpleFSClose(context.Context, OpID) error
	// Cancels a running operation, like copy.
	SimpleFSCancel(context.Context, OpID) error
	// Check progress of pending operation
	SimpleFSCheck(context.Context, OpID) (OpProgress, error)
	// Get all the outstanding operations
	SimpleFSGetOps(context.Context) ([]OpDescription, error)
	// Blocking wait for the pending operation to finish
	SimpleFSWait(context.Context, OpID) error
	// Instructs KBFS to dump debugging info into its logs.
	SimpleFSDumpDebuggingInfo(context.Context) error
	SimpleFSClearConflictState(context.Context, Path) error
	SimpleFSFinishResolvingConflict(context.Context, Path) error
	// Force a TLF into a stuck conflict state (for testing).
	SimpleFSForceStuckConflict(context.Context, Path) error
	// Get sync status.
	SimpleFSSyncStatus(context.Context, ListFilter) (FSSyncStatus, error)
	// simpleFSUserEditHistory returns edit histories of TLFs that the logged-in
	// user can access.  Each returned history is corresponds to a unique
	// writer-TLF pair.  They are in descending order by the modification time
	// (as recorded by the server) of the most recent edit in each history.
	SimpleFSUserEditHistory(context.Context) ([]FSFolderEditHistory, error)
	// simpleFSFolderEditHistory returns the edit history for the TLF
	// described by `path`, for the most recent writers of that TLF.
	// The writers are in descending order by the modification time (as
	// recorded by the server) of their most recent edit.
	SimpleFSFolderEditHistory(context.Context, Path) (FSFolderEditHistory, error)
	// simpleFSListFavorites gets the current favorites, ignored folders, and new
	// folders from the KBFS cache.
	SimpleFSListFavorites(context.Context) (FavoritesResult, error)
	// simpleFSGetUserQuotaUsage returns the quota usage for the logged-in
	// user.  Any usage includes local journal usage as well.
	SimpleFSGetUserQuotaUsage(context.Context) (SimpleFSQuotaUsage, error)
	// simpleFSGetTeamQuotaUsage returns the quota usage for the given team, if
	// the logged-in user has access to that team.  Any usage includes
	// local journal usage as well.
	SimpleFSGetTeamQuotaUsage(context.Context, TeamName) (SimpleFSQuotaUsage, error)
	// simpleFSReset completely resets the KBFS folder referenced in `path`.
	// It should only be called after explicit user confirmation.
	SimpleFSReset(context.Context, SimpleFSResetArg) error
	SimpleFSFolderSyncConfigAndStatus(context.Context, Path) (FolderSyncConfigAndStatus, error)
	SimpleFSSetFolderSyncConfig(context.Context, SimpleFSSetFolderSyncConfigArg) error
	SimpleFSSyncConfigAndStatus(context.Context, *TLFIdentifyBehavior) (SyncConfigAndStatusRes, error)
	SimpleFSGetFolder(context.Context, KBFSPath) (FolderWithFavFlags, error)
	SimpleFSGetOnlineStatus(context.Context, string) (KbfsOnlineStatus, error)
	SimpleFSCheckReachability(context.Context) error
	SimpleFSSetDebugLevel(context.Context, string) error
	SimpleFSSettings(context.Context) (FSSettings, error)
	SimpleFSSetNotificationThreshold(context.Context, int64) error
	SimpleFSSetSfmiBannerDismissed(context.Context, bool) error
	SimpleFSSetSyncOnCellular(context.Context, bool) error
	SimpleFSObfuscatePath(context.Context, Path) (string, error)
	SimpleFSDeobfuscatePath(context.Context, Path) ([]string, error)
	SimpleFSGetStats(context.Context) (SimpleFSStats, error)
	SimpleFSSubscribePath(context.Context, SimpleFSSubscribePathArg) error
	SimpleFSSubscribeNonPath(context.Context, SimpleFSSubscribeNonPathArg) error
	SimpleFSUnsubscribe(context.Context, SimpleFSUnsubscribeArg) error
	SimpleFSStartDownload(context.Context, SimpleFSStartDownloadArg) (string, error)
	SimpleFSGetDownloadInfo(context.Context, string) (DownloadInfo, error)
	SimpleFSGetDownloadStatus(context.Context) (DownloadStatus, error)
	SimpleFSCancelDownload(context.Context, string) error
	SimpleFSDismissDownload(context.Context, string) error
	SimpleFSConfigureDownload(context.Context, SimpleFSConfigureDownloadArg) error
	SimpleFSMakeTempDirForUpload(context.Context) (string, error)
	SimpleFSStartUpload(context.Context, SimpleFSStartUploadArg) (string, error)
	SimpleFSGetUploadStatus(context.Context) ([]UploadState, error)
	SimpleFSCancelUpload(context.Context, string) error
	SimpleFSDismissUpload(context.Context, string) error
	SimpleFSGetFilesTabBadge(context.Context) (FilesTabBadge, error)
	SimpleFSGetGUIFileContext(context.Context, KBFSPath) (GUIFileContext, error)
	SimpleFSUserIn(context.Context, string) error
	SimpleFSUserOut(context.Context, string) error
	SimpleFSSearch(context.Context, SimpleFSSearchArg) (SimpleFSSearchResults, error)
	SimpleFSResetIndex(context.Context) error
	SimpleFSGetIndexProgress(context.Context) (SimpleFSIndexProgress, error)
	SimpleFSCancelJournalUploads(context.Context, KBFSPath) error
	SimpleFSArchiveStart(context.Context, SimpleFSArchiveStartArg) (SimpleFSArchiveJobDesc, error)
	SimpleFSArchiveCancelOrDismissJob(context.Context, string) error
	SimpleFSGetArchiveStatus(context.Context) (SimpleFSArchiveStatus, error)
	SimpleFSGetArchiveJobFreshness(context.Context, string) (SimpleFSArchiveJobFreshness, error)
	SimpleFSArchiveCheckArchive(context.Context, string) (SimpleFSArchiveCheckArchiveResult, error)
	SimpleFSArchiveAllFiles(context.Context, SimpleFSArchiveAllFilesArg) (SimpleFSArchiveAllFilesResult, error)
	SimpleFSArchiveAllGitRepos(context.Context, SimpleFSArchiveAllGitReposArg) (SimpleFSArchiveAllGitReposResult, error)
}

type SimpleFSListArg

type SimpleFSListArg struct {
	OpID                OpID       `codec:"opID" json:"opID"`
	Path                Path       `codec:"path" json:"path"`
	Filter              ListFilter `codec:"filter" json:"filter"`
	RefreshSubscription bool       `codec:"refreshSubscription" json:"refreshSubscription"`
}

type SimpleFSListFavoritesArg

type SimpleFSListFavoritesArg struct {
}

type SimpleFSListRecursiveArg

type SimpleFSListRecursiveArg struct {
	OpID                OpID       `codec:"opID" json:"opID"`
	Path                Path       `codec:"path" json:"path"`
	Filter              ListFilter `codec:"filter" json:"filter"`
	RefreshSubscription bool       `codec:"refreshSubscription" json:"refreshSubscription"`
}

type SimpleFSListRecursiveToDepthArg

type SimpleFSListRecursiveToDepthArg struct {
	OpID                OpID       `codec:"opID" json:"opID"`
	Path                Path       `codec:"path" json:"path"`
	Filter              ListFilter `codec:"filter" json:"filter"`
	RefreshSubscription bool       `codec:"refreshSubscription" json:"refreshSubscription"`
	Depth               int        `codec:"depth" json:"depth"`
}

type SimpleFSListResult

type SimpleFSListResult struct {
	Entries  []Dirent `codec:"entries" json:"entries"`
	Progress Progress `codec:"progress" json:"progress"`
}

func (SimpleFSListResult) DeepCopy

type SimpleFSMakeOpidArg

type SimpleFSMakeOpidArg struct {
}

type SimpleFSMakeTempDirForUploadArg

type SimpleFSMakeTempDirForUploadArg struct {
}

type SimpleFSMoveArg

type SimpleFSMoveArg struct {
	OpID                   OpID `codec:"opID" json:"opID"`
	Src                    Path `codec:"src" json:"src"`
	Dest                   Path `codec:"dest" json:"dest"`
	OverwriteExistingFiles bool `codec:"overwriteExistingFiles" json:"overwriteExistingFiles"`
}

type SimpleFSObfuscatePathArg

type SimpleFSObfuscatePathArg struct {
	Path Path `codec:"path" json:"path"`
}

type SimpleFSOpenArg

type SimpleFSOpenArg struct {
	OpID  OpID      `codec:"opID" json:"opID"`
	Dest  Path      `codec:"dest" json:"dest"`
	Flags OpenFlags `codec:"flags" json:"flags"`
}

type SimpleFSQuotaUsage

type SimpleFSQuotaUsage struct {
	UsageBytes      int64 `codec:"usageBytes" json:"usageBytes"`
	ArchiveBytes    int64 `codec:"archiveBytes" json:"archiveBytes"`
	LimitBytes      int64 `codec:"limitBytes" json:"limitBytes"`
	GitUsageBytes   int64 `codec:"gitUsageBytes" json:"gitUsageBytes"`
	GitArchiveBytes int64 `codec:"gitArchiveBytes" json:"gitArchiveBytes"`
	GitLimitBytes   int64 `codec:"gitLimitBytes" json:"gitLimitBytes"`
}

func (SimpleFSQuotaUsage) DeepCopy

type SimpleFSReadArg

type SimpleFSReadArg struct {
	OpID   OpID  `codec:"opID" json:"opID"`
	Offset int64 `codec:"offset" json:"offset"`
	Size   int   `codec:"size" json:"size"`
}

type SimpleFSReadListArg

type SimpleFSReadListArg struct {
	OpID OpID `codec:"opID" json:"opID"`
}

type SimpleFSReadRevisionsArg

type SimpleFSReadRevisionsArg struct {
	OpID OpID `codec:"opID" json:"opID"`
}

type SimpleFSRemoveArg

type SimpleFSRemoveArg struct {
	OpID      OpID `codec:"opID" json:"opID"`
	Path      Path `codec:"path" json:"path"`
	Recursive bool `codec:"recursive" json:"recursive"`
}

type SimpleFSRenameArg

type SimpleFSRenameArg struct {
	Src  Path `codec:"src" json:"src"`
	Dest Path `codec:"dest" json:"dest"`
}

type SimpleFSResetArg

type SimpleFSResetArg struct {
	Path  Path   `codec:"path" json:"path"`
	TlfID string `codec:"tlfID" json:"tlfID"`
}

type SimpleFSResetIndexArg

type SimpleFSResetIndexArg struct {
}

type SimpleFSSearchArg

type SimpleFSSearchArg struct {
	Query        string `codec:"query" json:"query"`
	NumResults   int    `codec:"numResults" json:"numResults"`
	StartingFrom int    `codec:"startingFrom" json:"startingFrom"`
}

type SimpleFSSearchHit

type SimpleFSSearchHit struct {
	Path string `codec:"path" json:"path"`
}

func (SimpleFSSearchHit) DeepCopy

func (o SimpleFSSearchHit) DeepCopy() SimpleFSSearchHit

type SimpleFSSearchResults

type SimpleFSSearchResults struct {
	Hits       []SimpleFSSearchHit `codec:"hits" json:"hits"`
	NextResult int                 `codec:"nextResult" json:"nextResult"`
}

func (SimpleFSSearchResults) DeepCopy

type SimpleFSSetDebugLevelArg

type SimpleFSSetDebugLevelArg struct {
	Level string `codec:"level" json:"level"`
}

type SimpleFSSetFolderSyncConfigArg

type SimpleFSSetFolderSyncConfigArg struct {
	Path   Path             `codec:"path" json:"path"`
	Config FolderSyncConfig `codec:"config" json:"config"`
}

type SimpleFSSetNotificationThresholdArg

type SimpleFSSetNotificationThresholdArg struct {
	Threshold int64 `codec:"threshold" json:"threshold"`
}

type SimpleFSSetSfmiBannerDismissedArg

type SimpleFSSetSfmiBannerDismissedArg struct {
	Dismissed bool `codec:"dismissed" json:"dismissed"`
}

type SimpleFSSetStatArg

type SimpleFSSetStatArg struct {
	Dest Path       `codec:"dest" json:"dest"`
	Flag DirentType `codec:"flag" json:"flag"`
}

type SimpleFSSetSyncOnCellularArg

type SimpleFSSetSyncOnCellularArg struct {
	SyncOnCellular bool `codec:"syncOnCellular" json:"syncOnCellular"`
}

type SimpleFSSettingsArg

type SimpleFSSettingsArg struct {
}

type SimpleFSStartDownloadArg

type SimpleFSStartDownloadArg struct {
	Path              KBFSPath `codec:"path" json:"path"`
	IsRegularDownload bool     `codec:"isRegularDownload" json:"isRegularDownload"`
}

type SimpleFSStartUploadArg

type SimpleFSStartUploadArg struct {
	SourceLocalPath  string   `codec:"sourceLocalPath" json:"sourceLocalPath"`
	TargetParentPath KBFSPath `codec:"targetParentPath" json:"targetParentPath"`
}

type SimpleFSStatArg

type SimpleFSStatArg struct {
	Path                Path `codec:"path" json:"path"`
	RefreshSubscription bool `codec:"refreshSubscription" json:"refreshSubscription"`
}

type SimpleFSStats

type SimpleFSStats struct {
	ProcessStats      ProcessRuntimeStats `codec:"processStats" json:"processStats"`
	BlockCacheDbStats []string            `codec:"blockCacheDbStats" json:"blockCacheDbStats"`
	SyncCacheDbStats  []string            `codec:"syncCacheDbStats" json:"syncCacheDbStats"`
	RuntimeDbStats    []DbStats           `codec:"runtimeDbStats" json:"runtimeDbStats"`
}

func (SimpleFSStats) DeepCopy

func (o SimpleFSStats) DeepCopy() SimpleFSStats

type SimpleFSSubscribeNonPathArg

type SimpleFSSubscribeNonPathArg struct {
	IdentifyBehavior          *TLFIdentifyBehavior `codec:"identifyBehavior,omitempty" json:"identifyBehavior,omitempty"`
	ClientID                  string               `codec:"clientID" json:"clientID"`
	SubscriptionID            string               `codec:"subscriptionID" json:"subscriptionID"`
	Topic                     SubscriptionTopic    `codec:"topic" json:"topic"`
	DeduplicateIntervalSecond int                  `codec:"deduplicateIntervalSecond" json:"deduplicateIntervalSecond"`
}

type SimpleFSSubscribePathArg

type SimpleFSSubscribePathArg struct {
	IdentifyBehavior          *TLFIdentifyBehavior  `codec:"identifyBehavior,omitempty" json:"identifyBehavior,omitempty"`
	ClientID                  string                `codec:"clientID" json:"clientID"`
	SubscriptionID            string                `codec:"subscriptionID" json:"subscriptionID"`
	KbfsPath                  string                `codec:"kbfsPath" json:"kbfsPath"`
	Topic                     PathSubscriptionTopic `codec:"topic" json:"topic"`
	DeduplicateIntervalSecond int                   `codec:"deduplicateIntervalSecond" json:"deduplicateIntervalSecond"`
}

type SimpleFSSymlinkArg

type SimpleFSSymlinkArg struct {
	Target string `codec:"target" json:"target"`
	Link   Path   `codec:"link" json:"link"`
}

type SimpleFSSyncConfigAndStatusArg

type SimpleFSSyncConfigAndStatusArg struct {
	IdentifyBehavior *TLFIdentifyBehavior `codec:"identifyBehavior,omitempty" json:"identifyBehavior,omitempty"`
}

type SimpleFSSyncStatusArg

type SimpleFSSyncStatusArg struct {
	Filter ListFilter `codec:"filter" json:"filter"`
}

type SimpleFSUnsubscribeArg

type SimpleFSUnsubscribeArg struct {
	IdentifyBehavior *TLFIdentifyBehavior `codec:"identifyBehavior,omitempty" json:"identifyBehavior,omitempty"`
	ClientID         string               `codec:"clientID" json:"clientID"`
	SubscriptionID   string               `codec:"subscriptionID" json:"subscriptionID"`
}

type SimpleFSUserEditHistoryArg

type SimpleFSUserEditHistoryArg struct {
}

type SimpleFSUserInArg

type SimpleFSUserInArg struct {
	ClientID string `codec:"clientID" json:"clientID"`
}

type SimpleFSUserOutArg

type SimpleFSUserOutArg struct {
	ClientID string `codec:"clientID" json:"clientID"`
}

type SimpleFSWaitArg

type SimpleFSWaitArg struct {
	OpID OpID `codec:"opID" json:"opID"`
}

type SimpleFSWriteArg

type SimpleFSWriteArg struct {
	OpID    OpID   `codec:"opID" json:"opID"`
	Offset  int64  `codec:"offset" json:"offset"`
	Content []byte `codec:"content" json:"content"`
}

type SizedImage

type SizedImage struct {
	Path  string `codec:"path" json:"path"`
	Width int    `codec:"width" json:"width"`
}

func (SizedImage) DeepCopy

func (o SizedImage) DeepCopy() SizedImage

type SocialAssertion

type SocialAssertion struct {
	User    string                 `codec:"user" json:"user"`
	Service SocialAssertionService `codec:"service" json:"service"`
}

SocialAssertion contains a service and username for that service, that together form an assertion about a user. It can either be a social assertion (like "facebook" or "twitter") or a server trust assertion (like "phone" or "email").

If the assertion is for social network, resolving an assertion requires that the user posts a Keybase proof on the asserted service as the asserted user.

For server trust assertion, we have to trust the server.

func (SocialAssertion) DeepCopy

func (o SocialAssertion) DeepCopy() SocialAssertion

func (SocialAssertion) String

func (sa SocialAssertion) String() string

func (SocialAssertion) TeamInviteName

func (sa SocialAssertion) TeamInviteName() TeamInviteName

func (SocialAssertion) TeamInviteType

func (sa SocialAssertion) TeamInviteType() string

type SocialAssertionService

type SocialAssertionService string

SocialAssertionService is a service that can be used to assert proofs for a user.

func (SocialAssertionService) DeepCopy

type StartArg

type StartArg struct {
	SessionID    int            `codec:"sessionID" json:"sessionID"`
	Username     string         `codec:"username" json:"username"`
	Reason       IdentifyReason `codec:"reason" json:"reason"`
	ForceDisplay bool           `codec:"forceDisplay" json:"forceDisplay"`
}

type StartImplicitTeamMigrationArg

type StartImplicitTeamMigrationArg struct {
	FolderID string `codec:"folderID" json:"folderID"`
}

type StartMigrationArg

type StartMigrationArg struct {
	Folder Folder `codec:"folder" json:"folder"`
}

type StartProofArg

type StartProofArg struct {
	SessionID    int         `codec:"sessionID" json:"sessionID"`
	Service      string      `codec:"service" json:"service"`
	Username     string      `codec:"username" json:"username"`
	Force        bool        `codec:"force" json:"force"`
	PromptPosted bool        `codec:"promptPosted" json:"promptPosted"`
	Auto         bool        `codec:"auto" json:"auto"`
	SigVersion   *SigVersion `codec:"sigVersion,omitempty" json:"sigVersion,omitempty"`
}

type StartProofResult

type StartProofResult struct {
	SigID SigID `codec:"sigID" json:"sigID"`
}

func (StartProofResult) DeepCopy

func (o StartProofResult) DeepCopy() StartProofResult

type StartReachabilityArg

type StartReachabilityArg struct {
}

type StartStatus

type StartStatus struct {
	Log string `codec:"log" json:"log"`
}

func (StartStatus) DeepCopy

func (o StartStatus) DeepCopy() StartStatus

type StartUpdateIfNeededArg

type StartUpdateIfNeededArg struct {
}

type StatsSeverityLevel

type StatsSeverityLevel int
const (
	StatsSeverityLevel_NORMAL  StatsSeverityLevel = 0
	StatsSeverityLevel_WARNING StatsSeverityLevel = 1
	StatsSeverityLevel_SEVERE  StatsSeverityLevel = 2
)

func (StatsSeverityLevel) DeepCopy

func (StatsSeverityLevel) String

func (e StatsSeverityLevel) String() string

type Status

type Status struct {
	Code   int            `codec:"code" json:"code"`
	Name   string         `codec:"name" json:"name"`
	Desc   string         `codec:"desc" json:"desc"`
	Fields []StringKVPair `codec:"fields" json:"fields"`
}

func StatusFromCode

func StatusFromCode(code StatusCode, message string) Status

func StatusOK

func StatusOK(desc string) Status

func (Status) DeepCopy

func (o Status) DeepCopy() Status

func (Status) Error

func (s Status) Error() string

func (Status) GoError

func (s Status) GoError() error

type StatusCode

type StatusCode int
const (
	StatusCode_SCOk                                        StatusCode = 0
	StatusCode_SCInputError                                StatusCode = 100
	StatusCode_SCAssertionParseError                       StatusCode = 101
	StatusCode_SCLoginRequired                             StatusCode = 201
	StatusCode_SCBadSession                                StatusCode = 202
	StatusCode_SCBadLoginUserNotFound                      StatusCode = 203
	StatusCode_SCBadLoginPassword                          StatusCode = 204
	StatusCode_SCNotFound                                  StatusCode = 205
	StatusCode_SCThrottleControl                           StatusCode = 210
	StatusCode_SCDeleted                                   StatusCode = 216
	StatusCode_SCGeneric                                   StatusCode = 218
	StatusCode_SCAlreadyLoggedIn                           StatusCode = 235
	StatusCode_SCExists                                    StatusCode = 230
	StatusCode_SCCanceled                                  StatusCode = 237
	StatusCode_SCInputCanceled                             StatusCode = 239
	StatusCode_SCBadUsername                               StatusCode = 243
	StatusCode_SCOffline                                   StatusCode = 267
	StatusCode_SCReloginRequired                           StatusCode = 274
	StatusCode_SCResolutionFailed                          StatusCode = 275
	StatusCode_SCProfileNotPublic                          StatusCode = 276
	StatusCode_SCIdentifyFailed                            StatusCode = 277
	StatusCode_SCTrackingBroke                             StatusCode = 278
	StatusCode_SCWrongCryptoFormat                         StatusCode = 279
	StatusCode_SCDecryptionError                           StatusCode = 280
	StatusCode_SCInvalidAddress                            StatusCode = 281
	StatusCode_SCWrongCryptoMsgType                        StatusCode = 282
	StatusCode_SCNoSession                                 StatusCode = 283
	StatusCode_SCAccountReset                              StatusCode = 290
	StatusCode_SCIdentifiesFailed                          StatusCode = 295
	StatusCode_SCNoSpaceOnDevice                           StatusCode = 297
	StatusCode_SCMerkleClientError                         StatusCode = 299
	StatusCode_SCMerkleUpdateRoot                          StatusCode = 300
	StatusCode_SCBadEmail                                  StatusCode = 472
	StatusCode_SCRateLimit                                 StatusCode = 602
	StatusCode_SCBadSignupUsernameTaken                    StatusCode = 701
	StatusCode_SCDuplicate                                 StatusCode = 706
	StatusCode_SCBadInvitationCode                         StatusCode = 707
	StatusCode_SCBadSignupUsernameReserved                 StatusCode = 710
	StatusCode_SCBadSignupTeamName                         StatusCode = 711
	StatusCode_SCFeatureFlag                               StatusCode = 712
	StatusCode_SCEmailTaken                                StatusCode = 713
	StatusCode_SCEmailAlreadyAdded                         StatusCode = 714
	StatusCode_SCEmailLimitExceeded                        StatusCode = 715
	StatusCode_SCEmailCannotDeletePrimary                  StatusCode = 716
	StatusCode_SCEmailUnknown                              StatusCode = 717
	StatusCode_SCBotSignupTokenNotFound                    StatusCode = 719
	StatusCode_SCNoUpdate                                  StatusCode = 723
	StatusCode_SCMissingResult                             StatusCode = 801
	StatusCode_SCKeyNotFound                               StatusCode = 901
	StatusCode_SCKeyCorrupted                              StatusCode = 905
	StatusCode_SCKeyInUse                                  StatusCode = 907
	StatusCode_SCKeyBadGen                                 StatusCode = 913
	StatusCode_SCKeyNoSecret                               StatusCode = 914
	StatusCode_SCKeyBadUIDs                                StatusCode = 915
	StatusCode_SCKeyNoActive                               StatusCode = 916
	StatusCode_SCKeyNoSig                                  StatusCode = 917
	StatusCode_SCKeyBadSig                                 StatusCode = 918
	StatusCode_SCKeyBadEldest                              StatusCode = 919
	StatusCode_SCKeyNoEldest                               StatusCode = 920
	StatusCode_SCKeyDuplicateUpdate                        StatusCode = 921
	StatusCode_SCSibkeyAlreadyExists                       StatusCode = 922
	StatusCode_SCDecryptionKeyNotFound                     StatusCode = 924
	StatusCode_SCVerificationKeyNotFound                   StatusCode = 925
	StatusCode_SCKeyNoPGPEncryption                        StatusCode = 927
	StatusCode_SCKeyNoNaClEncryption                       StatusCode = 928
	StatusCode_SCKeySyncedPGPNotFound                      StatusCode = 929
	StatusCode_SCKeyNoMatchingGPG                          StatusCode = 930
	StatusCode_SCKeyRevoked                                StatusCode = 931
	StatusCode_SCSigCannotVerify                           StatusCode = 1002
	StatusCode_SCSigWrongKey                               StatusCode = 1008
	StatusCode_SCSigOldSeqno                               StatusCode = 1010
	StatusCode_SCSigCreationDisallowed                     StatusCode = 1016
	StatusCode_SCSigMissingRatchet                         StatusCode = 1021
	StatusCode_SCSigBadTotalOrder                          StatusCode = 1022
	StatusCode_SCBadTrackSession                           StatusCode = 1301
	StatusCode_SCDeviceBadName                             StatusCode = 1404
	StatusCode_SCDeviceBadStatus                           StatusCode = 1405
	StatusCode_SCDeviceNameInUse                           StatusCode = 1408
	StatusCode_SCDeviceNotFound                            StatusCode = 1409
	StatusCode_SCDeviceMismatch                            StatusCode = 1410
	StatusCode_SCDeviceRequired                            StatusCode = 1411
	StatusCode_SCDevicePrevProvisioned                     StatusCode = 1413
	StatusCode_SCDeviceNoProvision                         StatusCode = 1414
	StatusCode_SCDeviceProvisionViaDevice                  StatusCode = 1415
	StatusCode_SCRevokeCurrentDevice                       StatusCode = 1416
	StatusCode_SCRevokeLastDevice                          StatusCode = 1417
	StatusCode_SCDeviceProvisionOffline                    StatusCode = 1418
	StatusCode_SCRevokeLastDevicePGP                       StatusCode = 1419
	StatusCode_SCStreamExists                              StatusCode = 1501
	StatusCode_SCStreamNotFound                            StatusCode = 1502
	StatusCode_SCStreamWrongKind                           StatusCode = 1503
	StatusCode_SCStreamEOF                                 StatusCode = 1504
	StatusCode_SCStreamUnknown                             StatusCode = 1505
	StatusCode_SCGenericAPIError                           StatusCode = 1600
	StatusCode_SCAPINetworkError                           StatusCode = 1601
	StatusCode_SCTimeout                                   StatusCode = 1602
	StatusCode_SCKBFSClientTimeout                         StatusCode = 1603
	StatusCode_SCProofError                                StatusCode = 1701
	StatusCode_SCIdentificationExpired                     StatusCode = 1702
	StatusCode_SCSelfNotFound                              StatusCode = 1703
	StatusCode_SCBadKexPhrase                              StatusCode = 1704
	StatusCode_SCNoUIDelegation                            StatusCode = 1705
	StatusCode_SCNoUI                                      StatusCode = 1706
	StatusCode_SCGPGUnavailable                            StatusCode = 1707
	StatusCode_SCInvalidVersionError                       StatusCode = 1800
	StatusCode_SCOldVersionError                           StatusCode = 1801
	StatusCode_SCInvalidLocationError                      StatusCode = 1802
	StatusCode_SCServiceStatusError                        StatusCode = 1803
	StatusCode_SCInstallError                              StatusCode = 1804
	StatusCode_SCLoadKextError                             StatusCode = 1810
	StatusCode_SCLoadKextPermError                         StatusCode = 1811
	StatusCode_SCGitInternal                               StatusCode = 2300
	StatusCode_SCGitRepoAlreadyExists                      StatusCode = 2301
	StatusCode_SCGitInvalidRepoName                        StatusCode = 2302
	StatusCode_SCGitCannotDelete                           StatusCode = 2303
	StatusCode_SCGitRepoDoesntExist                        StatusCode = 2304
	StatusCode_SCLoginStateTimeout                         StatusCode = 2400
	StatusCode_SCChatInternal                              StatusCode = 2500
	StatusCode_SCChatRateLimit                             StatusCode = 2501
	StatusCode_SCChatConvExists                            StatusCode = 2502
	StatusCode_SCChatUnknownTLFID                          StatusCode = 2503
	StatusCode_SCChatNotInConv                             StatusCode = 2504
	StatusCode_SCChatBadMsg                                StatusCode = 2505
	StatusCode_SCChatBroadcast                             StatusCode = 2506
	StatusCode_SCChatAlreadySuperseded                     StatusCode = 2507
	StatusCode_SCChatAlreadyDeleted                        StatusCode = 2508
	StatusCode_SCChatTLFFinalized                          StatusCode = 2509
	StatusCode_SCChatCollision                             StatusCode = 2510
	StatusCode_SCIdentifySummaryError                      StatusCode = 2511
	StatusCode_SCNeedSelfRekey                             StatusCode = 2512
	StatusCode_SCNeedOtherRekey                            StatusCode = 2513
	StatusCode_SCChatMessageCollision                      StatusCode = 2514
	StatusCode_SCChatDuplicateMessage                      StatusCode = 2515
	StatusCode_SCChatClientError                           StatusCode = 2516
	StatusCode_SCChatNotInTeam                             StatusCode = 2517
	StatusCode_SCChatStalePreviousState                    StatusCode = 2518
	StatusCode_SCChatEphemeralRetentionPolicyViolatedError StatusCode = 2519
	StatusCode_SCChatUsersAlreadyInConversationError       StatusCode = 2520
	StatusCode_SCChatBadConversationError                  StatusCode = 2521
	StatusCode_SCTeamBadMembership                         StatusCode = 2604
	StatusCode_SCTeamSelfNotOwner                          StatusCode = 2607
	StatusCode_SCTeamNotFound                              StatusCode = 2614
	StatusCode_SCTeamExists                                StatusCode = 2619
	StatusCode_SCTeamReadError                             StatusCode = 2623
	StatusCode_SCTeamWritePermDenied                       StatusCode = 2625
	StatusCode_SCTeamBadGeneration                         StatusCode = 2634
	StatusCode_SCNoOp                                      StatusCode = 2638
	StatusCode_SCTeamInviteBadCancel                       StatusCode = 2645
	StatusCode_SCTeamInviteBadToken                        StatusCode = 2646
	StatusCode_SCTeamInviteCompletionMissing               StatusCode = 2648
	StatusCode_SCTeamBadNameReservedDB                     StatusCode = 2650
	StatusCode_SCTeamTarDuplicate                          StatusCode = 2663
	StatusCode_SCTeamTarNotFound                           StatusCode = 2664
	StatusCode_SCTeamMemberExists                          StatusCode = 2665
	StatusCode_SCTeamNotReleased                           StatusCode = 2666
	StatusCode_SCTeamPermanentlyLeft                       StatusCode = 2667
	StatusCode_SCTeamNeedRootId                            StatusCode = 2668
	StatusCode_SCTeamHasLiveChildren                       StatusCode = 2669
	StatusCode_SCTeamDeleteError                           StatusCode = 2670
	StatusCode_SCTeamBadRootTeam                           StatusCode = 2671
	StatusCode_SCTeamNameConflictsWithUser                 StatusCode = 2672
	StatusCode_SCTeamDeleteNoUpPointer                     StatusCode = 2673
	StatusCode_SCTeamNeedOwner                             StatusCode = 2674
	StatusCode_SCTeamNoOwnerAllowed                        StatusCode = 2675
	StatusCode_SCTeamImplicitNoNonSbs                      StatusCode = 2676
	StatusCode_SCTeamImplicitBadHash                       StatusCode = 2677
	StatusCode_SCTeamImplicitBadName                       StatusCode = 2678
	StatusCode_SCTeamImplicitClash                         StatusCode = 2679
	StatusCode_SCTeamImplicitDuplicate                     StatusCode = 2680
	StatusCode_SCTeamImplicitBadOp                         StatusCode = 2681
	StatusCode_SCTeamImplicitBadRole                       StatusCode = 2682
	StatusCode_SCTeamImplicitNotFound                      StatusCode = 2683
	StatusCode_SCTeamBadAdminSeqnoType                     StatusCode = 2684
	StatusCode_SCTeamImplicitBadAdd                        StatusCode = 2685
	StatusCode_SCTeamImplicitBadRemove                     StatusCode = 2686
	StatusCode_SCTeamInviteTokenReused                     StatusCode = 2696
	StatusCode_SCTeamKeyMaskNotFound                       StatusCode = 2697
	StatusCode_SCTeamBanned                                StatusCode = 2702
	StatusCode_SCTeamInvalidBan                            StatusCode = 2703
	StatusCode_SCTeamShowcasePermDenied                    StatusCode = 2711
	StatusCode_SCTeamProvisionalCanKey                     StatusCode = 2721
	StatusCode_SCTeamProvisionalCannotKey                  StatusCode = 2722
	StatusCode_SCTeamFTLOutdated                           StatusCode = 2736
	StatusCode_SCTeamStorageWrongRevision                  StatusCode = 2760
	StatusCode_SCTeamStorageBadGeneration                  StatusCode = 2761
	StatusCode_SCTeamStorageNotFound                       StatusCode = 2762
	StatusCode_SCTeamContactSettingsBlock                  StatusCode = 2763
	StatusCode_SCTeamSeitanInviteNeedPUK                   StatusCode = 2770
	StatusCode_SCEphemeralKeyBadGeneration                 StatusCode = 2900
	StatusCode_SCEphemeralKeyUnexpectedBox                 StatusCode = 2901
	StatusCode_SCEphemeralKeyMissingBox                    StatusCode = 2902
	StatusCode_SCEphemeralKeyWrongNumberOfKeys             StatusCode = 2903
	StatusCode_SCEphemeralKeyMismatchedKey                 StatusCode = 2904
	StatusCode_SCEphemeralPairwiseMACsMissingUIDs          StatusCode = 2905
	StatusCode_SCEphemeralDeviceAfterEK                    StatusCode = 2906
	StatusCode_SCEphemeralMemberAfterEK                    StatusCode = 2907
	StatusCode_SCEphemeralDeviceStale                      StatusCode = 2908
	StatusCode_SCEphemeralUserStale                        StatusCode = 2909
	StatusCode_SCStellarError                              StatusCode = 3100
	StatusCode_SCStellarBadInput                           StatusCode = 3101
	StatusCode_SCStellarWrongRevision                      StatusCode = 3102
	StatusCode_SCStellarMissingBundle                      StatusCode = 3103
	StatusCode_SCStellarBadPuk                             StatusCode = 3104
	StatusCode_SCStellarMissingAccount                     StatusCode = 3105
	StatusCode_SCStellarBadPrev                            StatusCode = 3106
	StatusCode_SCStellarWrongPrimary                       StatusCode = 3107
	StatusCode_SCStellarUnsupportedCurrency                StatusCode = 3108
	StatusCode_SCStellarNeedDisclaimer                     StatusCode = 3109
	StatusCode_SCStellarDeviceNotMobile                    StatusCode = 3110
	StatusCode_SCStellarMobileOnlyPurgatory                StatusCode = 3111
	StatusCode_SCStellarIncompatibleVersion                StatusCode = 3112
	StatusCode_SCNISTWrongSize                             StatusCode = 3201
	StatusCode_SCNISTBadMode                               StatusCode = 3202
	StatusCode_SCNISTHashWrongSize                         StatusCode = 3203
	StatusCode_SCNISTSigWrongSize                          StatusCode = 3204
	StatusCode_SCNISTSigBadInput                           StatusCode = 3205
	StatusCode_SCNISTSigBadUID                             StatusCode = 3206
	StatusCode_SCNISTSigBadDeviceID                        StatusCode = 3207
	StatusCode_SCNISTSigBadNonce                           StatusCode = 3208
	StatusCode_SCNISTNoSigOrHash                           StatusCode = 3209
	StatusCode_SCNISTExpired                               StatusCode = 3210
	StatusCode_SCNISTSigRevoked                            StatusCode = 3211
	StatusCode_SCNISTKeyRevoked                            StatusCode = 3212
	StatusCode_SCNISTUserDeleted                           StatusCode = 3213
	StatusCode_SCNISTNoDevice                              StatusCode = 3214
	StatusCode_SCNISTSigCannot_verify                      StatusCode = 3215
	StatusCode_SCNISTReplay                                StatusCode = 3216
	StatusCode_SCNISTSigBadLifetime                        StatusCode = 3217
	StatusCode_SCNISTNotFound                              StatusCode = 3218
	StatusCode_SCNISTBadClock                              StatusCode = 3219
	StatusCode_SCNISTSigBadCtime                           StatusCode = 3220
	StatusCode_SCBadSignupUsernameDeleted                  StatusCode = 3221
	StatusCode_SCPhoneNumberUnknown                        StatusCode = 3400
	StatusCode_SCPhoneNumberAlreadyVerified                StatusCode = 3401
	StatusCode_SCPhoneNumberVerificationCodeExpired        StatusCode = 3402
	StatusCode_SCPhoneNumberWrongVerificationCode          StatusCode = 3403
	StatusCode_SCPhoneNumberLimitExceeded                  StatusCode = 3404
	StatusCode_SCNoPaperKeys                               StatusCode = 3605
	StatusCode_SCTeambotKeyGenerationExists                StatusCode = 3800
	StatusCode_SCTeambotKeyOldBoxedGeneration              StatusCode = 3801
	StatusCode_SCTeambotKeyBadGeneration                   StatusCode = 3802
	StatusCode_SCAirdropRegisterFailedMisc                 StatusCode = 4207
	StatusCode_SCSimpleFSNameExists                        StatusCode = 5101
	StatusCode_SCSimpleFSDirNotEmpty                       StatusCode = 5102
	StatusCode_SCSimpleFSNotExist                          StatusCode = 5103
	StatusCode_SCSimpleFSNoAccess                          StatusCode = 5104
)

func (StatusCode) DeepCopy

func (o StatusCode) DeepCopy() StatusCode

func (StatusCode) String

func (e StatusCode) String() string

type StellarAccount

type StellarAccount struct {
	AccountID         string `codec:"accountID" json:"accountID"`
	FederationAddress string `codec:"federationAddress" json:"federationAddress"`
	SigID             SigID  `codec:"sigID" json:"sigID"`
	Hidden            bool   `codec:"hidden" json:"hidden"`
}

func (StellarAccount) DeepCopy

func (o StellarAccount) DeepCopy() StellarAccount

type StopArg

type StopArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	ExitCode  ExitCode `codec:"exitCode" json:"exitCode"`
}

type StopServiceArg

type StopServiceArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	ExitCode  ExitCode `codec:"exitCode" json:"exitCode"`
}

type Stream

type Stream struct {
	Fd int `codec:"fd" json:"fd"`
}

func (Stream) DeepCopy

func (o Stream) DeepCopy() Stream

type StreamUiClient

type StreamUiClient struct {
	Cli rpc.GenericClient
}

func (StreamUiClient) Close

func (c StreamUiClient) Close(ctx context.Context, __arg CloseArg) (err error)

func (StreamUiClient) Read

func (c StreamUiClient) Read(ctx context.Context, __arg ReadArg) (res []byte, err error)

func (StreamUiClient) Reset

func (c StreamUiClient) Reset(ctx context.Context, __arg ResetArg) (err error)

func (StreamUiClient) Write

func (c StreamUiClient) Write(ctx context.Context, __arg WriteArg) (res int, err error)

type StreamUiInterface

type StreamUiInterface interface {
	Close(context.Context, CloseArg) error
	Read(context.Context, ReadArg) ([]byte, error)
	Reset(context.Context, ResetArg) error
	Write(context.Context, WriteArg) (int, error)
}

type StringKVPair

type StringKVPair struct {
	Key   string `codec:"key" json:"key"`
	Value string `codec:"value" json:"value"`
}

func (StringKVPair) BoolValue

func (p StringKVPair) BoolValue() bool

func (StringKVPair) DeepCopy

func (o StringKVPair) DeepCopy() StringKVPair

func (StringKVPair) IntValue

func (p StringKVPair) IntValue() int

type SubscriptionTopic

type SubscriptionTopic int
const (
	SubscriptionTopic_FAVORITES           SubscriptionTopic = 0
	SubscriptionTopic_JOURNAL_STATUS      SubscriptionTopic = 1
	SubscriptionTopic_ONLINE_STATUS       SubscriptionTopic = 2
	SubscriptionTopic_DOWNLOAD_STATUS     SubscriptionTopic = 3
	SubscriptionTopic_FILES_TAB_BADGE     SubscriptionTopic = 4
	SubscriptionTopic_OVERALL_SYNC_STATUS SubscriptionTopic = 5
	SubscriptionTopic_SETTINGS            SubscriptionTopic = 6
	SubscriptionTopic_UPLOAD_STATUS       SubscriptionTopic = 7
)

func (SubscriptionTopic) DeepCopy

func (o SubscriptionTopic) DeepCopy() SubscriptionTopic

func (SubscriptionTopic) String

func (e SubscriptionTopic) String() string

type SubteamListEntry

type SubteamListEntry struct {
	Name        TeamName `codec:"name" json:"name"`
	TeamID      TeamID   `codec:"teamID" json:"teamID"`
	MemberCount int      `codec:"memberCount" json:"memberCount"`
}

func (SubteamListEntry) DeepCopy

func (o SubteamListEntry) DeepCopy() SubteamListEntry

type SubteamListResult

type SubteamListResult struct {
	Entries []SubteamListEntry `codec:"entries" json:"entries"`
}

func (SubteamListResult) DeepCopy

func (o SubteamListResult) DeepCopy() SubteamListResult

type SubteamLogPoint

type SubteamLogPoint struct {
	Name  TeamName `codec:"name" json:"name"`
	Seqno Seqno    `codec:"seqno" json:"seqno"`
}

func (SubteamLogPoint) DeepCopy

func (o SubteamLogPoint) DeepCopy() SubteamLogPoint

type SwitchToGPGSignOKArg

type SwitchToGPGSignOKArg struct {
	SessionID   int    `codec:"sessionID" json:"sessionID"`
	Key         GPGKey `codec:"key" json:"key"`
	ImportError string `codec:"importError" json:"importError"`
}

type SyncConfigAndStatusRes

type SyncConfigAndStatusRes struct {
	Folders       []FolderSyncConfigAndStatusWithFolder `codec:"folders" json:"folders"`
	OverallStatus FolderSyncStatus                      `codec:"overallStatus" json:"overallStatus"`
}

func (SyncConfigAndStatusRes) DeepCopy

type TLF

type TLF struct {
	Id        TLFID    `codec:"id" json:"id"`
	Name      string   `codec:"name" json:"name"`
	Writers   []string `codec:"writers" json:"writers"`
	Readers   []string `codec:"readers" json:"readers"`
	IsPrivate bool     `codec:"isPrivate" json:"isPrivate"`
}

func (TLF) DeepCopy

func (o TLF) DeepCopy() TLF

type TLFBreak

type TLFBreak struct {
	Breaks []TLFIdentifyFailure `codec:"breaks" json:"breaks"`
}

func (TLFBreak) DeepCopy

func (o TLFBreak) DeepCopy() TLFBreak

type TLFID

type TLFID string

func (TLFID) DeepCopy

func (o TLFID) DeepCopy() TLFID

func (TLFID) Eq

func (t TLFID) Eq(u TLFID) bool

func (TLFID) Exists

func (t TLFID) Exists() bool

func (TLFID) IsNil

func (t TLFID) IsNil() bool

func (TLFID) String

func (t TLFID) String() string

func (TLFID) ToBytes

func (t TLFID) ToBytes() []byte

type TLFIdentifyBehavior

type TLFIdentifyBehavior int
const (
	TLFIdentifyBehavior_UNSET              TLFIdentifyBehavior = 0
	TLFIdentifyBehavior_CHAT_CLI           TLFIdentifyBehavior = 1
	TLFIdentifyBehavior_CHAT_GUI           TLFIdentifyBehavior = 2
	TLFIdentifyBehavior_REMOVED_AND_UNUSED TLFIdentifyBehavior = 3
	TLFIdentifyBehavior_KBFS_REKEY         TLFIdentifyBehavior = 4
	TLFIdentifyBehavior_KBFS_QR            TLFIdentifyBehavior = 5
	TLFIdentifyBehavior_CHAT_SKIP          TLFIdentifyBehavior = 6
	TLFIdentifyBehavior_SALTPACK           TLFIdentifyBehavior = 7
	TLFIdentifyBehavior_CLI                TLFIdentifyBehavior = 8
	TLFIdentifyBehavior_GUI                TLFIdentifyBehavior = 9
	TLFIdentifyBehavior_DEFAULT_KBFS       TLFIdentifyBehavior = 10
	TLFIdentifyBehavior_KBFS_CHAT          TLFIdentifyBehavior = 11
	TLFIdentifyBehavior_RESOLVE_AND_CHECK  TLFIdentifyBehavior = 12
	TLFIdentifyBehavior_GUI_PROFILE        TLFIdentifyBehavior = 13
	TLFIdentifyBehavior_KBFS_INIT          TLFIdentifyBehavior = 14
	TLFIdentifyBehavior_FS_GUI             TLFIdentifyBehavior = 15
)

func (TLFIdentifyBehavior) AllowCaching

func (b TLFIdentifyBehavior) AllowCaching() bool

func (TLFIdentifyBehavior) AllowDeletedUsers

func (b TLFIdentifyBehavior) AllowDeletedUsers() bool

func (TLFIdentifyBehavior) AlwaysRunIdentify

func (b TLFIdentifyBehavior) AlwaysRunIdentify() bool

func (TLFIdentifyBehavior) CanUseUntrackedFastPath

func (b TLFIdentifyBehavior) CanUseUntrackedFastPath() bool

func (TLFIdentifyBehavior) DeepCopy

func (TLFIdentifyBehavior) NotifyGUIAboutBreaks

func (b TLFIdentifyBehavior) NotifyGUIAboutBreaks() bool

func (TLFIdentifyBehavior) ShouldRefreshChatView

func (b TLFIdentifyBehavior) ShouldRefreshChatView() bool

ShouldRefreshChatView indicates that when the identify is complete, we should update the chat system's view of the computed track breaks (also affects username coloring in the GUI).

func (TLFIdentifyBehavior) ShouldSuppressTrackerPopups

func (b TLFIdentifyBehavior) ShouldSuppressTrackerPopups() bool

All of the chat modes want to prevent tracker popups.

func (TLFIdentifyBehavior) SkipExternalChecks

func (b TLFIdentifyBehavior) SkipExternalChecks() bool

SkipExternalChecks indicates we do not want to run any external proof checkers in identify modes that yield true.

func (TLFIdentifyBehavior) SkipUserCard

func (b TLFIdentifyBehavior) SkipUserCard() bool

func (TLFIdentifyBehavior) String

func (e TLFIdentifyBehavior) String() string

func (TLFIdentifyBehavior) UnblockThenForceIDTable

func (b TLFIdentifyBehavior) UnblockThenForceIDTable() bool

func (TLFIdentifyBehavior) WarningInsteadOfErrorOnBrokenTracks

func (b TLFIdentifyBehavior) WarningInsteadOfErrorOnBrokenTracks() bool

type TLFIdentifyFailure

type TLFIdentifyFailure struct {
	User   User                 `codec:"user" json:"user"`
	Breaks *IdentifyTrackBreaks `codec:"breaks,omitempty" json:"breaks,omitempty"`
}

func (TLFIdentifyFailure) DeepCopy

type TLFQuery

type TLFQuery struct {
	TlfName          string              `codec:"tlfName" json:"tlfName"`
	IdentifyBehavior TLFIdentifyBehavior `codec:"identifyBehavior" json:"identifyBehavior"`
}

func (TLFQuery) DeepCopy

func (o TLFQuery) DeepCopy() TLFQuery

type TLFVisibility

type TLFVisibility int
const (
	TLFVisibility_ANY     TLFVisibility = 0
	TLFVisibility_PUBLIC  TLFVisibility = 1
	TLFVisibility_PRIVATE TLFVisibility = 2
)

func (TLFVisibility) DeepCopy

func (o TLFVisibility) DeepCopy() TLFVisibility

func (TLFVisibility) Eq

func (TLFVisibility) String

func (e TLFVisibility) String() string

type TeamAbandonedArg

type TeamAbandonedArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type TeamAcceptInviteArg

type TeamAcceptInviteArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Token     string `codec:"token" json:"token"`
}

type TeamAcceptInviteOrRequestAccessArg

type TeamAcceptInviteOrRequestAccessArg struct {
	SessionID   int    `codec:"sessionID" json:"sessionID"`
	TokenOrName string `codec:"tokenOrName" json:"tokenOrName"`
}

type TeamAcceptOrRequestResult

type TeamAcceptOrRequestResult struct {
	WasToken    bool `codec:"wasToken" json:"wasToken"`
	WasSeitan   bool `codec:"wasSeitan" json:"wasSeitan"`
	WasTeamName bool `codec:"wasTeamName" json:"wasTeamName"`
	WasOpenTeam bool `codec:"wasOpenTeam" json:"wasOpenTeam"`
}

func (TeamAcceptOrRequestResult) DeepCopy

type TeamAccessRequest

type TeamAccessRequest struct {
	Uid         UID   `codec:"uid" json:"uid"`
	EldestSeqno Seqno `codec:"eldestSeqno" json:"eldest_seqno"`
}

func (TeamAccessRequest) DeepCopy

func (o TeamAccessRequest) DeepCopy() TeamAccessRequest

type TeamAddEmailsBulkArg

type TeamAddEmailsBulkArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Name      string   `codec:"name" json:"name"`
	Emails    string   `codec:"emails" json:"emails"`
	Role      TeamRole `codec:"role" json:"role"`
}

type TeamAddMemberArg

type TeamAddMemberArg struct {
	SessionID            int              `codec:"sessionID" json:"sessionID"`
	TeamID               TeamID           `codec:"teamID" json:"teamID"`
	Email                string           `codec:"email" json:"email"`
	Phone                string           `codec:"phone" json:"phone"`
	Username             string           `codec:"username" json:"username"`
	Role                 TeamRole         `codec:"role" json:"role"`
	BotSettings          *TeamBotSettings `codec:"botSettings,omitempty" json:"botSettings,omitempty"`
	SendChatNotification bool             `codec:"sendChatNotification" json:"sendChatNotification"`
	EmailInviteMessage   *string          `codec:"emailInviteMessage,omitempty" json:"emailInviteMessage,omitempty"`
}

type TeamAddMemberResult

type TeamAddMemberResult struct {
	Invited     bool  `codec:"invited" json:"invited"`
	User        *User `codec:"user,omitempty" json:"user,omitempty"`
	ChatSending bool  `codec:"chatSending" json:"chatSending"`
}

func (TeamAddMemberResult) DeepCopy

type TeamAddMembersArg

type TeamAddMembersArg struct {
	SessionID            int              `codec:"sessionID" json:"sessionID"`
	TeamID               TeamID           `codec:"teamID" json:"teamID"`
	Assertions           []string         `codec:"assertions" json:"assertions"`
	Role                 TeamRole         `codec:"role" json:"role"`
	BotSettings          *TeamBotSettings `codec:"botSettings,omitempty" json:"botSettings,omitempty"`
	SendChatNotification bool             `codec:"sendChatNotification" json:"sendChatNotification"`
	EmailInviteMessage   *string          `codec:"emailInviteMessage,omitempty" json:"emailInviteMessage,omitempty"`
}

type TeamAddMembersMultiRoleArg

type TeamAddMembersMultiRoleArg struct {
	SessionID            int            `codec:"sessionID" json:"sessionID"`
	TeamID               TeamID         `codec:"teamID" json:"teamID"`
	Users                []UserRolePair `codec:"users" json:"users"`
	SendChatNotification bool           `codec:"sendChatNotification" json:"sendChatNotification"`
	EmailInviteMessage   *string        `codec:"emailInviteMessage,omitempty" json:"emailInviteMessage,omitempty"`
	AddToChannels        []string       `codec:"addToChannels" json:"addToChannels"`
}

type TeamAddMembersResult

type TeamAddMembersResult struct {
	NotAdded []User `codec:"notAdded" json:"notAdded"`
}

func (TeamAddMembersResult) DeepCopy

type TeamAndMemberShowcase

type TeamAndMemberShowcase struct {
	TeamShowcase      TeamShowcase `codec:"teamShowcase" json:"teamShowcase"`
	IsMemberShowcased bool         `codec:"isMemberShowcased" json:"isMemberShowcased"`
}

func (TeamAndMemberShowcase) DeepCopy

type TeamApplication

type TeamApplication int
const (
	TeamApplication_KBFS                TeamApplication = 1
	TeamApplication_CHAT                TeamApplication = 2
	TeamApplication_SALTPACK            TeamApplication = 3
	TeamApplication_GIT_METADATA        TeamApplication = 4
	TeamApplication_SEITAN_INVITE_TOKEN TeamApplication = 5
	TeamApplication_STELLAR_RELAY       TeamApplication = 6
	TeamApplication_KVSTORE             TeamApplication = 7
)

func (TeamApplication) DeepCopy

func (o TeamApplication) DeepCopy() TeamApplication

func (TeamApplication) String

func (e TeamApplication) String() string

type TeamApplicationKey

type TeamApplicationKey struct {
	Application   TeamApplication      `codec:"application" json:"application"`
	KeyGeneration PerTeamKeyGeneration `codec:"keyGeneration" json:"keyGeneration"`
	Key           Bytes32              `codec:"key" json:"key"`
}

func (TeamApplicationKey) DeepCopy

func (TeamApplicationKey) Generation

func (k TeamApplicationKey) Generation() int

func (TeamApplicationKey) Material

func (k TeamApplicationKey) Material() Bytes32

type TeamAvatar

type TeamAvatar struct {
	AvatarFilename string         `codec:"avatarFilename" json:"avatarFilename"`
	Crop           *ImageCropRect `codec:"crop,omitempty" json:"crop,omitempty"`
}

func (TeamAvatar) DeepCopy

func (o TeamAvatar) DeepCopy() TeamAvatar

type TeamBlock

type TeamBlock struct {
	TeamName   string `codec:"teamName" json:"fq_name"`
	CreateTime Time   `codec:"createTime" json:"ctime"`
}

func (TeamBlock) DeepCopy

func (o TeamBlock) DeepCopy() TeamBlock

type TeamBotSettings

type TeamBotSettings struct {
	Cmds     bool     `codec:"cmds" json:"cmds"`
	Mentions bool     `codec:"mentions" json:"mentions"`
	Triggers []string `codec:"triggers" json:"triggers"`
	Convs    []string `codec:"convs" json:"convs"`
}

func (*TeamBotSettings) ConvIDAllowed

func (s *TeamBotSettings) ConvIDAllowed(strCID string) bool

func (TeamBotSettings) DeepCopy

func (o TeamBotSettings) DeepCopy() TeamBotSettings

func (*TeamBotSettings) Eq

type TeamCLKRMsg

type TeamCLKRMsg struct {
	TeamID              TeamID               `codec:"teamID" json:"team_id"`
	Generation          PerTeamKeyGeneration `codec:"generation" json:"generation"`
	Score               int                  `codec:"score" json:"score"`
	ResetUsersUntrusted []TeamCLKRResetUser  `codec:"resetUsersUntrusted" json:"reset_users"`
}

func (TeamCLKRMsg) DeepCopy

func (o TeamCLKRMsg) DeepCopy() TeamCLKRMsg

type TeamCLKRResetUser

type TeamCLKRResetUser struct {
	Uid               UID   `codec:"uid" json:"uid"`
	UserEldestSeqno   Seqno `codec:"userEldestSeqno" json:"user_eldest"`
	MemberEldestSeqno Seqno `codec:"memberEldestSeqno" json:"member_eldest"`
}

func (TeamCLKRResetUser) DeepCopy

func (o TeamCLKRResetUser) DeepCopy() TeamCLKRResetUser

type TeamChangeReq

type TeamChangeReq struct {
	Owners           []UserVersion                           `codec:"owners" json:"owners"`
	Admins           []UserVersion                           `codec:"admins" json:"admins"`
	Writers          []UserVersion                           `codec:"writers" json:"writers"`
	Readers          []UserVersion                           `codec:"readers" json:"readers"`
	Bots             []UserVersion                           `codec:"bots" json:"bots"`
	RestrictedBots   map[UserVersion]TeamBotSettings         `codec:"restrictedBots" json:"restrictedBots"`
	None             []UserVersion                           `codec:"none" json:"none"`
	CompletedInvites map[TeamInviteID]UserVersionPercentForm `codec:"completedInvites" json:"completedInvites"`
	UsedInvites      []TeamUsedInvite                        `codec:"usedInvites" json:"usedInvites"`
}

func (*TeamChangeReq) AddUVWithRole

func (req *TeamChangeReq) AddUVWithRole(uv UserVersion, role TeamRole,
	botSettings *TeamBotSettings) error

func (*TeamChangeReq) CompleteInviteID

func (req *TeamChangeReq) CompleteInviteID(inviteID TeamInviteID, uv UserVersionPercentForm)

CompleteInviteID adds to the `completed_invites` field, and signals that the invite can never be used again. It's used for SBS, Keybase, SeitanV1, and SeitanV2 invites.

func (TeamChangeReq) DeepCopy

func (o TeamChangeReq) DeepCopy() TeamChangeReq

func (*TeamChangeReq) GetAllAdds

func (req *TeamChangeReq) GetAllAdds() (ret []UserVersion)

func (*TeamChangeReq) RestrictedBotUVs

func (req *TeamChangeReq) RestrictedBotUVs() (ret []UserVersion)

func (*TeamChangeReq) UseInviteID

func (req *TeamChangeReq) UseInviteID(inviteID TeamInviteID, uv UserVersionPercentForm)

UseInviteID adds to the `used_invites` field. It is used for SeitanInvitelink invites, which can be used multiple times.

type TeamChangeRow

type TeamChangeRow struct {
	Id                  TeamID `codec:"id" json:"id"`
	Name                string `codec:"name" json:"name"`
	KeyRotated          bool   `codec:"keyRotated" json:"key_rotated"`
	MembershipChanged   bool   `codec:"membershipChanged" json:"membership_changed"`
	LatestSeqno         Seqno  `codec:"latestSeqno" json:"latest_seqno"`
	LatestHiddenSeqno   Seqno  `codec:"latestHiddenSeqno" json:"latest_hidden_seqno"`
	LatestOffchainSeqno Seqno  `codec:"latestOffchainSeqno" json:"latest_offchain_version"`
	ImplicitTeam        bool   `codec:"implicitTeam" json:"implicit_team"`
	Misc                bool   `codec:"misc" json:"misc"`
	RemovedResetUsers   bool   `codec:"removedResetUsers" json:"removed_reset_users"`
}

func (TeamChangeRow) DeepCopy

func (o TeamChangeRow) DeepCopy() TeamChangeRow

type TeamChangeSet

type TeamChangeSet struct {
	MembershipChanged bool `codec:"membershipChanged" json:"membershipChanged"`
	KeyRotated        bool `codec:"keyRotated" json:"keyRotated"`
	Renamed           bool `codec:"renamed" json:"renamed"`
	Misc              bool `codec:"misc" json:"misc"`
}

func (TeamChangeSet) DeepCopy

func (o TeamChangeSet) DeepCopy() TeamChangeSet

type TeamChangedByIDArg

type TeamChangedByIDArg struct {
	TeamID              TeamID            `codec:"teamID" json:"teamID"`
	LatestSeqno         Seqno             `codec:"latestSeqno" json:"latestSeqno"`
	ImplicitTeam        bool              `codec:"implicitTeam" json:"implicitTeam"`
	Changes             TeamChangeSet     `codec:"changes" json:"changes"`
	LatestHiddenSeqno   Seqno             `codec:"latestHiddenSeqno" json:"latestHiddenSeqno"`
	LatestOffchainSeqno Seqno             `codec:"latestOffchainSeqno" json:"latestOffchainSeqno"`
	Source              TeamChangedSource `codec:"source" json:"source"`
}

type TeamChangedByNameArg

type TeamChangedByNameArg struct {
	TeamName            string            `codec:"teamName" json:"teamName"`
	LatestSeqno         Seqno             `codec:"latestSeqno" json:"latestSeqno"`
	ImplicitTeam        bool              `codec:"implicitTeam" json:"implicitTeam"`
	Changes             TeamChangeSet     `codec:"changes" json:"changes"`
	LatestHiddenSeqno   Seqno             `codec:"latestHiddenSeqno" json:"latestHiddenSeqno"`
	LatestOffchainSeqno Seqno             `codec:"latestOffchainSeqno" json:"latestOffchainSeqno"`
	Source              TeamChangedSource `codec:"source" json:"source"`
}

type TeamChangedSource

type TeamChangedSource int
const (
	TeamChangedSource_SERVER       TeamChangedSource = 0
	TeamChangedSource_LOCAL        TeamChangedSource = 1
	TeamChangedSource_LOCAL_RENAME TeamChangedSource = 2
)

func (TeamChangedSource) DeepCopy

func (o TeamChangedSource) DeepCopy() TeamChangedSource

func (TeamChangedSource) String

func (e TeamChangedSource) String() string

type TeamContactSettings

type TeamContactSettings struct {
	TeamID  TeamID `codec:"teamID" json:"team_id"`
	Enabled bool   `codec:"enabled" json:"enabled"`
}

func (TeamContactSettings) DeepCopy

type TeamCreateArg

type TeamCreateArg struct {
	SessionID   int    `codec:"sessionID" json:"sessionID"`
	Name        string `codec:"name" json:"name"`
	JoinSubteam bool   `codec:"joinSubteam" json:"joinSubteam"`
}

type TeamCreateFancyArg

type TeamCreateFancyArg struct {
	SessionID int                 `codec:"sessionID" json:"sessionID"`
	TeamInfo  TeamCreateFancyInfo `codec:"teamInfo" json:"teamInfo"`
}

type TeamCreateFancyInfo

type TeamCreateFancyInfo struct {
	Name               string         `codec:"name" json:"name"`
	Description        string         `codec:"description" json:"description"`
	JoinSubteam        bool           `codec:"joinSubteam" json:"joinSubteam"`
	OpenSettings       TeamSettings   `codec:"openSettings" json:"openSettings"`
	ProfileShowcase    bool           `codec:"profileShowcase" json:"profileShowcase"`
	Avatar             *TeamAvatar    `codec:"avatar,omitempty" json:"avatar,omitempty"`
	ChatChannels       []string       `codec:"chatChannels" json:"chatChannels"`
	Subteams           []string       `codec:"subteams" json:"subteams"`
	Users              []UserRolePair `codec:"users" json:"users"`
	EmailInviteMessage *string        `codec:"emailInviteMessage,omitempty" json:"emailInviteMessage,omitempty"`
}

func (TeamCreateFancyInfo) DeepCopy

type TeamCreateResult

type TeamCreateResult struct {
	TeamID       TeamID `codec:"teamID" json:"teamID"`
	ChatSent     bool   `codec:"chatSent" json:"chatSent"`
	CreatorAdded bool   `codec:"creatorAdded" json:"creatorAdded"`
}

func (TeamCreateResult) DeepCopy

func (o TeamCreateResult) DeepCopy() TeamCreateResult

type TeamCreateSeitanInvitelinkArg

type TeamCreateSeitanInvitelinkArg struct {
	SessionID int               `codec:"sessionID" json:"sessionID"`
	Teamname  string            `codec:"teamname" json:"teamname"`
	Role      TeamRole          `codec:"role" json:"role"`
	MaxUses   TeamInviteMaxUses `codec:"maxUses" json:"maxUses"`
	Etime     *UnixTime         `codec:"etime,omitempty" json:"etime,omitempty"`
}

type TeamCreateSeitanInvitelinkWithDurationArg

type TeamCreateSeitanInvitelinkWithDurationArg struct {
	SessionID   int               `codec:"sessionID" json:"sessionID"`
	Teamname    string            `codec:"teamname" json:"teamname"`
	Role        TeamRole          `codec:"role" json:"role"`
	MaxUses     TeamInviteMaxUses `codec:"maxUses" json:"maxUses"`
	ExpireAfter *string           `codec:"expireAfter,omitempty" json:"expireAfter,omitempty"`
}

type TeamCreateSeitanTokenArg

type TeamCreateSeitanTokenArg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	Teamname  string         `codec:"teamname" json:"teamname"`
	Role      TeamRole       `codec:"role" json:"role"`
	Label     SeitanKeyLabel `codec:"label" json:"label"`
}

type TeamCreateSeitanTokenV2Arg

type TeamCreateSeitanTokenV2Arg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	Teamname  string         `codec:"teamname" json:"teamname"`
	Role      TeamRole       `codec:"role" json:"role"`
	Label     SeitanKeyLabel `codec:"label" json:"label"`
}

type TeamCreateWithSettingsArg

type TeamCreateWithSettingsArg struct {
	SessionID   int          `codec:"sessionID" json:"sessionID"`
	Name        string       `codec:"name" json:"name"`
	JoinSubteam bool         `codec:"joinSubteam" json:"joinSubteam"`
	Settings    TeamSettings `codec:"settings" json:"settings"`
}

type TeamData

type TeamData struct {
	Subversion                int                                                  `codec:"v" json:"v"`
	Frozen                    bool                                                 `codec:"frozen" json:"frozen"`
	Tombstoned                bool                                                 `codec:"tombstoned" json:"tombstoned"`
	Secretless                bool                                                 `codec:"secretless" json:"secretless"`
	Name                      TeamName                                             `codec:"name" json:"name"`
	Chain                     TeamSigChainState                                    `codec:"chain" json:"chain"`
	PerTeamKeySeedsUnverified map[PerTeamKeyGeneration]PerTeamKeySeedItem          `codec:"perTeamKeySeeds" json:"perTeamKeySeedsUnverified"`
	ReaderKeyMasks            map[TeamApplication]map[PerTeamKeyGeneration]MaskB64 `codec:"readerKeyMasks" json:"readerKeyMasks"`
	LatestSeqnoHint           Seqno                                                `codec:"latestSeqnoHint" json:"latestSeqnoHint"`
	CachedAt                  Time                                                 `codec:"cachedAt" json:"cachedAt"`
	TlfCryptKeys              map[TeamApplication][]CryptKey                       `codec:"tlfCryptKeys" json:"tlfCryptKeys"`
}

func (TeamData) DeepCopy

func (o TeamData) DeepCopy() TeamData

func (TeamData) ID

func (d TeamData) ID() TeamID

func (TeamData) IsPublic

func (d TeamData) IsPublic() bool

func (*TeamData) KeySummary

func (h *TeamData) KeySummary() string

type TeamDebugArg

type TeamDebugArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type TeamDebugRes

type TeamDebugRes struct {
	Chain TeamSigChainState `codec:"chain" json:"chain"`
}

func (TeamDebugRes) DeepCopy

func (o TeamDebugRes) DeepCopy() TeamDebugRes

type TeamDeleteArg

type TeamDeleteArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	TeamID    TeamID `codec:"teamID" json:"teamID"`
}

type TeamDeletedArg

type TeamDeletedArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type TeamDetails

type TeamDetails struct {
	Name                   string                               `codec:"name" json:"name"`
	Members                TeamMembersDetails                   `codec:"members" json:"members"`
	KeyGeneration          PerTeamKeyGeneration                 `codec:"keyGeneration" json:"keyGeneration"`
	AnnotatedActiveInvites map[TeamInviteID]AnnotatedTeamInvite `codec:"annotatedActiveInvites" json:"annotatedActiveInvites"`
	Settings               TeamSettings                         `codec:"settings" json:"settings"`
	Showcase               TeamShowcase                         `codec:"showcase" json:"showcase"`
}

func FilterTeamDetailsForMembers

func FilterTeamDetailsForMembers(usernames []string, details TeamDetails) TeamDetails

func (TeamDetails) DeepCopy

func (o TeamDetails) DeepCopy() TeamDetails

type TeamEditMemberArg

type TeamEditMemberArg struct {
	SessionID   int              `codec:"sessionID" json:"sessionID"`
	Name        string           `codec:"name" json:"name"`
	Username    string           `codec:"username" json:"username"`
	Role        TeamRole         `codec:"role" json:"role"`
	BotSettings *TeamBotSettings `codec:"botSettings,omitempty" json:"botSettings,omitempty"`
}

type TeamEditMembersArg

type TeamEditMembersArg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	TeamID    TeamID         `codec:"teamID" json:"teamID"`
	Users     []UserRolePair `codec:"users" json:"users"`
}

type TeamEditMembersResult

type TeamEditMembersResult struct {
	Failures []UserRolePair `codec:"failures" json:"failures"`
}

func (TeamEditMembersResult) DeepCopy

type TeamEk

type TeamEk struct {
	Seed     Bytes32        `codec:"seed" json:"seed"`
	Metadata TeamEkMetadata `codec:"metadata" json:"metadata"`
}

func (TeamEk) DeepCopy

func (o TeamEk) DeepCopy() TeamEk

type TeamEkBoxMetadata

type TeamEkBoxMetadata struct {
	Box                 string       `codec:"box" json:"box"`
	RecipientGeneration EkGeneration `codec:"recipientGeneration" json:"recipient_generation"`
	RecipientUID        UID          `codec:"recipientUID" json:"recipient_uid"`
}

func (TeamEkBoxMetadata) DeepCopy

func (o TeamEkBoxMetadata) DeepCopy() TeamEkBoxMetadata

type TeamEkBoxed

type TeamEkBoxed struct {
	Box              string         `codec:"box" json:"box"`
	UserEkGeneration EkGeneration   `codec:"userEkGeneration" json:"user_ek_generation"`
	Metadata         TeamEkMetadata `codec:"metadata" json:"metadata"`
}

func (TeamEkBoxed) DeepCopy

func (o TeamEkBoxed) DeepCopy() TeamEkBoxed

type TeamEkMetadata

type TeamEkMetadata struct {
	Kid        KID          `codec:"kid" json:"team_ephemeral_dh_public"`
	HashMeta   HashMeta     `codec:"hashMeta" json:"hash_meta"`
	Generation EkGeneration `codec:"generation" json:"generation"`
	Ctime      Time         `codec:"ctime" json:"ctime"`
}

func (TeamEkMetadata) DeepCopy

func (o TeamEkMetadata) DeepCopy() TeamEkMetadata

type TeamEkStatement

type TeamEkStatement struct {
	CurrentTeamEkMetadata TeamEkMetadata `codec:"currentTeamEkMetadata" json:"current_team_ek_metadata"`
}

func (TeamEkStatement) DeepCopy

func (o TeamEkStatement) DeepCopy() TeamEkStatement

type TeamEncryptedKBFSKeyset

type TeamEncryptedKBFSKeyset struct {
	V int    `codec:"v" json:"v"`
	E []byte `codec:"e" json:"e"`
	N []byte `codec:"n" json:"n"`
}

func (TeamEncryptedKBFSKeyset) DeepCopy

type TeamEncryptedKBFSKeysetHash

type TeamEncryptedKBFSKeysetHash string

func TeamEncryptedKBFSKeysetHashFromBytes

func TeamEncryptedKBFSKeysetHashFromBytes(s []byte) TeamEncryptedKBFSKeysetHash

func TeamEncryptedKBFSKeysetHashFromString

func TeamEncryptedKBFSKeysetHashFromString(s string) TeamEncryptedKBFSKeysetHash

func (TeamEncryptedKBFSKeysetHash) Bytes

func (e TeamEncryptedKBFSKeysetHash) Bytes() []byte

func (TeamEncryptedKBFSKeysetHash) DeepCopy

func (TeamEncryptedKBFSKeysetHash) SecureEqual

func (TeamEncryptedKBFSKeysetHash) String

type TeamEphemeralKey

type TeamEphemeralKey struct {
	KeyType__ TeamEphemeralKeyType `codec:"keyType" json:"keyType"`
	Team__    *TeamEk              `codec:"team,omitempty" json:"team,omitempty"`
	Teambot__ *TeambotEk           `codec:"teambot,omitempty" json:"teambot,omitempty"`
}

func NewTeamEphemeralKeyWithTeam

func NewTeamEphemeralKeyWithTeam(v TeamEk) TeamEphemeralKey

func NewTeamEphemeralKeyWithTeambot

func NewTeamEphemeralKeyWithTeambot(v TeambotEk) TeamEphemeralKey

func (TeamEphemeralKey) Ctime

func (k TeamEphemeralKey) Ctime() Time

func (TeamEphemeralKey) DeepCopy

func (o TeamEphemeralKey) DeepCopy() TeamEphemeralKey

func (TeamEphemeralKey) Generation

func (k TeamEphemeralKey) Generation() EkGeneration

func (*TeamEphemeralKey) KeyType

func (o *TeamEphemeralKey) KeyType() (ret TeamEphemeralKeyType, err error)

func (TeamEphemeralKey) Material

func (k TeamEphemeralKey) Material() Bytes32

func (TeamEphemeralKey) Team

func (o TeamEphemeralKey) Team() (res TeamEk)

func (TeamEphemeralKey) Teambot

func (o TeamEphemeralKey) Teambot() (res TeambotEk)

type TeamEphemeralKeyBoxed

type TeamEphemeralKeyBoxed struct {
	KeyType__ TeamEphemeralKeyType `codec:"keyType" json:"keyType"`
	Team__    *TeamEkBoxed         `codec:"team,omitempty" json:"team,omitempty"`
	Teambot__ *TeambotEkBoxed      `codec:"teambot,omitempty" json:"teambot,omitempty"`
}

func NewTeamEphemeralKeyBoxedWithTeam

func NewTeamEphemeralKeyBoxedWithTeam(v TeamEkBoxed) TeamEphemeralKeyBoxed

func NewTeamEphemeralKeyBoxedWithTeambot

func NewTeamEphemeralKeyBoxedWithTeambot(v TeambotEkBoxed) TeamEphemeralKeyBoxed

func (TeamEphemeralKeyBoxed) Ctime

func (k TeamEphemeralKeyBoxed) Ctime() Time

func (TeamEphemeralKeyBoxed) DeepCopy

func (TeamEphemeralKeyBoxed) Generation

func (k TeamEphemeralKeyBoxed) Generation() EkGeneration

func (*TeamEphemeralKeyBoxed) KeyType

func (o *TeamEphemeralKeyBoxed) KeyType() (ret TeamEphemeralKeyType, err error)

func (TeamEphemeralKeyBoxed) Team

func (o TeamEphemeralKeyBoxed) Team() (res TeamEkBoxed)

func (TeamEphemeralKeyBoxed) Teambot

func (o TeamEphemeralKeyBoxed) Teambot() (res TeambotEkBoxed)

type TeamEphemeralKeyType

type TeamEphemeralKeyType int
const (
	TeamEphemeralKeyType_TEAM    TeamEphemeralKeyType = 0
	TeamEphemeralKeyType_TEAMBOT TeamEphemeralKeyType = 1
)

func (TeamEphemeralKeyType) DeepCopy

func (TeamEphemeralKeyType) IsTeam

func (k TeamEphemeralKeyType) IsTeam() bool

func (TeamEphemeralKeyType) IsTeambot

func (k TeamEphemeralKeyType) IsTeambot() bool

func (TeamEphemeralKeyType) String

func (e TeamEphemeralKeyType) String() string

type TeamExitArg

type TeamExitArg struct {
	TeamID TeamID `codec:"teamID" json:"teamID"`
}

type TeamExitRow

type TeamExitRow struct {
	Id TeamID `codec:"id" json:"id"`
}

func (TeamExitRow) DeepCopy

func (o TeamExitRow) DeepCopy() TeamExitRow

type TeamGetArg

type TeamGetArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
}

type TeamGetBotSettingsArg

type TeamGetBotSettingsArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
	Username  string `codec:"username" json:"username"`
}

type TeamGetByIDArg

type TeamGetByIDArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Id        TeamID `codec:"id" json:"id"`
}

type TeamGetLegacyTLFUpgrade

type TeamGetLegacyTLFUpgrade struct {
	EncryptedKeyset  string               `codec:"encryptedKeyset" json:"encrypted_keyset"`
	TeamGeneration   PerTeamKeyGeneration `codec:"teamGeneration" json:"team_generation"`
	LegacyGeneration int                  `codec:"legacyGeneration" json:"legacy_generation"`
	AppType          TeamApplication      `codec:"appType" json:"app_type"`
}

func (TeamGetLegacyTLFUpgrade) DeepCopy

type TeamGetMembersByIDArg

type TeamGetMembersByIDArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Id        TeamID `codec:"id" json:"id"`
}

type TeamGetSubteamsUnverifiedArg

type TeamGetSubteamsUnverifiedArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Name      TeamName `codec:"name" json:"name"`
}

type TeamID

type TeamID string

func MakeTestSubTeamID

func MakeTestSubTeamID(n uint32, public bool) TeamID

Used by unit tests.

func MakeTestTeamID

func MakeTestTeamID(n uint32, public bool) TeamID

Used by unit tests.

func NilTeamID

func NilTeamID() TeamID

func TeamIDFromString

func TeamIDFromString(s string) (TeamID, error)

func (TeamID) AsUserOrTeam

func (t TeamID) AsUserOrTeam() UserOrTeamID

func (TeamID) DeepCopy

func (o TeamID) DeepCopy() TeamID

func (TeamID) Eq

func (t TeamID) Eq(t2 TeamID) bool

func (TeamID) Equal

func (t TeamID) Equal(v TeamID) bool

func (TeamID) Exists

func (t TeamID) Exists() bool

func (TeamID) IsNil

func (t TeamID) IsNil() bool

func (TeamID) IsPublic

func (t TeamID) IsPublic() bool

func (TeamID) IsRootTeam

func (t TeamID) IsRootTeam() bool

func (TeamID) IsSubTeam

func (t TeamID) IsSubTeam() bool

Can panic if invalid

func (TeamID) Less

func (t TeamID) Less(v TeamID) bool

func (TeamID) NotEqual

func (t TeamID) NotEqual(v TeamID) bool

func (TeamID) Size

func (t TeamID) Size() int

Size implements the cache.Measurable interface.

func (TeamID) String

func (t TeamID) String() string

func (TeamID) ToBytes

func (t TeamID) ToBytes() []byte

type TeamIDAndName

type TeamIDAndName struct {
	Id   TeamID   `codec:"id" json:"id"`
	Name TeamName `codec:"name" json:"name"`
}

func (TeamIDAndName) DeepCopy

func (o TeamIDAndName) DeepCopy() TeamIDAndName

type TeamIDWithVisibility

type TeamIDWithVisibility struct {
	TeamID     TeamID        `codec:"teamID" json:"teamID"`
	Visibility TLFVisibility `codec:"visibility" json:"visibility"`
}

func (TeamIDWithVisibility) DeepCopy

type TeamIgnoreRequestArg

type TeamIgnoreRequestArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
	Username  string `codec:"username" json:"username"`
}

type TeamInvite

type TeamInvite struct {
	Role    TeamRole           `codec:"role" json:"role"`
	Id      TeamInviteID       `codec:"id" json:"id"`
	Type    TeamInviteType     `codec:"type" json:"type"`
	Name    TeamInviteName     `codec:"name" json:"name"`
	Inviter UserVersion        `codec:"inviter" json:"inviter"`
	MaxUses *TeamInviteMaxUses `codec:"maxUses,omitempty" json:"maxUses,omitempty"`
	Etime   *UnixTime          `codec:"etime,omitempty" json:"etime,omitempty"`
}

func (TeamInvite) DeepCopy

func (o TeamInvite) DeepCopy() TeamInvite

func (TeamInvite) IsExpired

func (ti TeamInvite) IsExpired(now time.Time) bool

func (TeamInvite) IsInfiniteUses

func (ti TeamInvite) IsInfiniteUses() bool

func (TeamInvite) IsUsedUp

func (ti TeamInvite) IsUsedUp(alreadyUsed int) bool

func (TeamInvite) KeybaseUserVersion

func (t TeamInvite) KeybaseUserVersion() (UserVersion, error)

func (TeamInvite) UsesLeftString

func (ti TeamInvite) UsesLeftString(alreadyUsed int) string

type TeamInviteCategory

type TeamInviteCategory int
const (
	TeamInviteCategory_NONE       TeamInviteCategory = 0
	TeamInviteCategory_UNKNOWN    TeamInviteCategory = 1
	TeamInviteCategory_KEYBASE    TeamInviteCategory = 2
	TeamInviteCategory_EMAIL      TeamInviteCategory = 3
	TeamInviteCategory_SBS        TeamInviteCategory = 4
	TeamInviteCategory_SEITAN     TeamInviteCategory = 5
	TeamInviteCategory_PHONE      TeamInviteCategory = 6
	TeamInviteCategory_INVITELINK TeamInviteCategory = 7
)

func (TeamInviteCategory) DeepCopy

func (TeamInviteCategory) String

func (e TeamInviteCategory) String() string

type TeamInviteDisplayName

type TeamInviteDisplayName string

func (TeamInviteDisplayName) DeepCopy

type TeamInviteID

type TeamInviteID string

func TeamInviteIDFromString

func TeamInviteIDFromString(s string) (TeamInviteID, error)

func (TeamInviteID) DeepCopy

func (o TeamInviteID) DeepCopy() TeamInviteID

func (TeamInviteID) Eq

func (i TeamInviteID) Eq(i2 TeamInviteID) bool

type TeamInviteMaxUses

type TeamInviteMaxUses int

func NewTeamInviteFiniteUses

func NewTeamInviteFiniteUses(maxUses int) (v TeamInviteMaxUses, err error)

func (TeamInviteMaxUses) DeepCopy

func (o TeamInviteMaxUses) DeepCopy() TeamInviteMaxUses

func (*TeamInviteMaxUses) IsNotNilAndValid

func (e *TeamInviteMaxUses) IsNotNilAndValid() bool

type TeamInviteMetadata

type TeamInviteMetadata struct {
	Invite      TeamInvite               `codec:"invite" json:"invite"`
	TeamSigMeta TeamSignatureMetadata    `codec:"teamSigMeta" json:"teamSigMeta"`
	Status      TeamInviteMetadataStatus `codec:"status" json:"status"`
	UsedInvites []TeamUsedInviteLogPoint `codec:"usedInvites" json:"usedInvites"`
}

func NewTeamInviteMetadata

func NewTeamInviteMetadata(invite TeamInvite, teamSigMeta TeamSignatureMetadata) TeamInviteMetadata

func (TeamInviteMetadata) ComputeValidity

func (md TeamInviteMetadata) ComputeValidity(now time.Time,
	userLog map[UserVersion][]UserLogPoint) (isValid bool, validityDescription string)

ComputeValidity is used for invitelinks, but is accurate for other invites as well. It computes whether the invite is still valid (i.e., if it can still be used), and a short description of when it was invalidated or under what conditions it can be later invalidated.

func (TeamInviteMetadata) DeepCopy

type TeamInviteMetadataCancel

type TeamInviteMetadataCancel struct {
	TeamSigMeta TeamSignatureMetadata `codec:"teamSigMeta" json:"teamSigMeta"`
}

func (TeamInviteMetadataCancel) DeepCopy

type TeamInviteMetadataCompleted

type TeamInviteMetadataCompleted struct {
	TeamSigMeta TeamSignatureMetadata `codec:"teamSigMeta" json:"teamSigMeta"`
}

func (TeamInviteMetadataCompleted) DeepCopy

type TeamInviteMetadataStatus

type TeamInviteMetadataStatus struct {
	Code__      TeamInviteMetadataStatusCode `codec:"code" json:"code"`
	Cancelled__ *TeamInviteMetadataCancel    `codec:"cancelled,omitempty" json:"cancelled,omitempty"`
	Completed__ *TeamInviteMetadataCompleted `codec:"completed,omitempty" json:"completed,omitempty"`
}

func NewTeamInviteMetadataStatusWithActive

func NewTeamInviteMetadataStatusWithActive() TeamInviteMetadataStatus

func NewTeamInviteMetadataStatusWithObsolete

func NewTeamInviteMetadataStatusWithObsolete() TeamInviteMetadataStatus

func (TeamInviteMetadataStatus) Cancelled

func (*TeamInviteMetadataStatus) Code

func (TeamInviteMetadataStatus) Completed

func (TeamInviteMetadataStatus) DeepCopy

type TeamInviteMetadataStatusCode

type TeamInviteMetadataStatusCode int
const (
	TeamInviteMetadataStatusCode_ACTIVE    TeamInviteMetadataStatusCode = 0
	TeamInviteMetadataStatusCode_OBSOLETE  TeamInviteMetadataStatusCode = 1
	TeamInviteMetadataStatusCode_CANCELLED TeamInviteMetadataStatusCode = 2
	TeamInviteMetadataStatusCode_COMPLETED TeamInviteMetadataStatusCode = 3
)

func (TeamInviteMetadataStatusCode) DeepCopy

func (TeamInviteMetadataStatusCode) String

type TeamInviteName

type TeamInviteName string

func (TeamInviteName) DeepCopy

func (o TeamInviteName) DeepCopy() TeamInviteName

type TeamInviteSocialNetwork

type TeamInviteSocialNetwork string

func (TeamInviteSocialNetwork) DeepCopy

type TeamInviteType

type TeamInviteType struct {
	C__       TeamInviteCategory       `codec:"c" json:"c"`
	Unknown__ *string                  `codec:"unknown,omitempty" json:"unknown,omitempty"`
	Sbs__     *TeamInviteSocialNetwork `codec:"sbs,omitempty" json:"sbs,omitempty"`
}

func NewTeamInviteTypeDefault

func NewTeamInviteTypeDefault(c TeamInviteCategory) TeamInviteType

func NewTeamInviteTypeWithSbs

func NewTeamInviteTypeWithSbs(v TeamInviteSocialNetwork) TeamInviteType

func NewTeamInviteTypeWithUnknown

func NewTeamInviteTypeWithUnknown(v string) TeamInviteType

func (*TeamInviteType) C

func (o *TeamInviteType) C() (ret TeamInviteCategory, err error)

func (TeamInviteType) DeepCopy

func (o TeamInviteType) DeepCopy() TeamInviteType

func (TeamInviteType) Eq

func (TeamInviteType) Sbs

func (TeamInviteType) String

func (t TeamInviteType) String() (string, error)

func (TeamInviteType) Unknown

func (o TeamInviteType) Unknown() (res string)

type TeamInvitee

type TeamInvitee struct {
	InviteID    TeamInviteID `codec:"inviteID" json:"invite_id"`
	Uid         UID          `codec:"uid" json:"uid"`
	EldestSeqno Seqno        `codec:"eldestSeqno" json:"eldest_seqno"`
	Role        TeamRole     `codec:"role" json:"role"`
}

func (TeamInvitee) DeepCopy

func (o TeamInvitee) DeepCopy() TeamInvitee

type TeamJoinRequest

type TeamJoinRequest struct {
	Name     string   `codec:"name" json:"name"`
	Username string   `codec:"username" json:"username"`
	FullName FullName `codec:"fullName" json:"fullName"`
	Ctime    UnixTime `codec:"ctime" json:"ctime"`
}

func (TeamJoinRequest) DeepCopy

func (o TeamJoinRequest) DeepCopy() TeamJoinRequest

type TeamKBFSKeyRefresher

type TeamKBFSKeyRefresher struct {
	Generation int             `codec:"generation" json:"generation"`
	AppType    TeamApplication `codec:"appType" json:"appType"`
}

func (TeamKBFSKeyRefresher) DeepCopy

type TeamLeaveArg

type TeamLeaveArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
	Permanent bool   `codec:"permanent" json:"permanent"`
}

type TeamLegacyTLFUpgradeChainInfo

type TeamLegacyTLFUpgradeChainInfo struct {
	KeysetHash       TeamEncryptedKBFSKeysetHash `codec:"keysetHash" json:"keysetHash"`
	TeamGeneration   PerTeamKeyGeneration        `codec:"teamGeneration" json:"teamGeneration"`
	LegacyGeneration int                         `codec:"legacyGeneration" json:"legacyGeneration"`
	AppType          TeamApplication             `codec:"appType" json:"appType"`
}

func (TeamLegacyTLFUpgradeChainInfo) DeepCopy

type TeamList

type TeamList struct {
	Teams []MemberInfo `codec:"teams" json:"teams"`
}

func (TeamList) DeepCopy

func (o TeamList) DeepCopy() TeamList

type TeamListMyAccessRequestsArg

type TeamListMyAccessRequestsArg struct {
	SessionID int     `codec:"sessionID" json:"sessionID"`
	TeamName  *string `codec:"teamName,omitempty" json:"teamName,omitempty"`
}

type TeamListRequestsArg

type TeamListRequestsArg struct {
	SessionID int     `codec:"sessionID" json:"sessionID"`
	TeamName  *string `codec:"teamName,omitempty" json:"teamName,omitempty"`
}

type TeamListSubteamsRecursiveArg

type TeamListSubteamsRecursiveArg struct {
	SessionID      int    `codec:"sessionID" json:"sessionID"`
	ParentTeamName string `codec:"parentTeamName" json:"parentTeamName"`
	ForceRepoll    bool   `codec:"forceRepoll" json:"forceRepoll"`
}

type TeamListTeammatesArg

type TeamListTeammatesArg struct {
	SessionID            int  `codec:"sessionID" json:"sessionID"`
	IncludeImplicitTeams bool `codec:"includeImplicitTeams" json:"includeImplicitTeams"`
}

type TeamListUnverifiedArg

type TeamListUnverifiedArg struct {
	SessionID            int    `codec:"sessionID" json:"sessionID"`
	UserAssertion        string `codec:"userAssertion" json:"userAssertion"`
	IncludeImplicitTeams bool   `codec:"includeImplicitTeams" json:"includeImplicitTeams"`
}

type TeamListVerifiedArg

type TeamListVerifiedArg struct {
	SessionID            int    `codec:"sessionID" json:"sessionID"`
	UserAssertion        string `codec:"userAssertion" json:"userAssertion"`
	IncludeImplicitTeams bool   `codec:"includeImplicitTeams" json:"includeImplicitTeams"`
}

type TeamMember

type TeamMember struct {
	Uid         UID              `codec:"uid" json:"uid"`
	Role        TeamRole         `codec:"role" json:"role"`
	EldestSeqno Seqno            `codec:"eldestSeqno" json:"eldestSeqno"`
	Status      TeamMemberStatus `codec:"status" json:"status"`
	BotSettings *TeamBotSettings `codec:"botSettings,omitempty" json:"botSettings,omitempty"`
}

func (TeamMember) DeepCopy

func (o TeamMember) DeepCopy() TeamMember

type TeamMemberDetails

type TeamMemberDetails struct {
	Uv       UserVersion      `codec:"uv" json:"uv"`
	Username string           `codec:"username" json:"username"`
	FullName FullName         `codec:"fullName" json:"fullName"`
	NeedsPUK bool             `codec:"needsPUK" json:"needsPUK"`
	Status   TeamMemberStatus `codec:"status" json:"status"`
	JoinTime *Time            `codec:"joinTime,omitempty" json:"joinTime,omitempty"`
	Role     TeamRole         `codec:"role" json:"role"`
}

func FilterInactiveReadersWriters

func FilterInactiveReadersWriters(arg []TeamMemberDetails) (ret []TeamMemberDetails)

func FilterMembersDetails

func FilterMembersDetails(membMap map[string]struct{}, details []TeamMemberDetails) (res []TeamMemberDetails)

func (TeamMemberDetails) DeepCopy

func (o TeamMemberDetails) DeepCopy() TeamMemberDetails

type TeamMemberOutFromReset

type TeamMemberOutFromReset struct {
	TeamID    TeamID        `codec:"teamID" json:"team_id"`
	TeamName  string        `codec:"teamName" json:"team_name"`
	ResetUser TeamResetUser `codec:"resetUser" json:"reset_user"`
}

func (TeamMemberOutFromReset) DeepCopy

type TeamMemberOutReset

type TeamMemberOutReset struct {
	TeamID   TeamID        `codec:"teamID" json:"teamID"`
	Teamname string        `codec:"teamname" json:"teamname"`
	Username string        `codec:"username" json:"username"`
	Uid      UID           `codec:"uid" json:"uid"`
	Id       gregor1.MsgID `codec:"id" json:"id"`
}

func (TeamMemberOutReset) DeepCopy

type TeamMemberRole

type TeamMemberRole struct {
	Uid      UID      `codec:"uid" json:"uid"`
	Username string   `codec:"username" json:"username"`
	FullName FullName `codec:"fullName" json:"fullName"`
	Role     TeamRole `codec:"role" json:"role"`
}

func (TeamMemberRole) DeepCopy

func (o TeamMemberRole) DeepCopy() TeamMemberRole

type TeamMemberStatus

type TeamMemberStatus int
const (
	TeamMemberStatus_ACTIVE  TeamMemberStatus = 0
	TeamMemberStatus_RESET   TeamMemberStatus = 1
	TeamMemberStatus_DELETED TeamMemberStatus = 2
)

func (TeamMemberStatus) DeepCopy

func (o TeamMemberStatus) DeepCopy() TeamMemberStatus

func (TeamMemberStatus) IsActive

func (s TeamMemberStatus) IsActive() bool

func (TeamMemberStatus) IsDeleted

func (s TeamMemberStatus) IsDeleted() bool

func (TeamMemberStatus) IsReset

func (s TeamMemberStatus) IsReset() bool

func (TeamMemberStatus) String

func (e TeamMemberStatus) String() string

type TeamMemberToRemove

type TeamMemberToRemove struct {
	Type__      TeamMemberToRemoveType       `codec:"type" json:"type"`
	Assertion__ *AssertionTeamMemberToRemove `codec:"assertion,omitempty" json:"assertion,omitempty"`
	Inviteid__  *InviteTeamMemberToRemove    `codec:"inviteid,omitempty" json:"inviteid,omitempty"`
}

func NewTeamMemberToRemoveWithInviteid

func NewTeamMemberToRemoveWithInviteid(v InviteTeamMemberToRemove) TeamMemberToRemove

func (TeamMemberToRemove) Assertion

func (o TeamMemberToRemove) Assertion() (res AssertionTeamMemberToRemove)

func (TeamMemberToRemove) DeepCopy

func (TeamMemberToRemove) Inviteid

func (o TeamMemberToRemove) Inviteid() (res InviteTeamMemberToRemove)

func (*TeamMemberToRemove) Type

func (o *TeamMemberToRemove) Type() (ret TeamMemberToRemoveType, err error)

type TeamMemberToRemoveType

type TeamMemberToRemoveType int
const (
	TeamMemberToRemoveType_ASSERTION TeamMemberToRemoveType = 0
	TeamMemberToRemoveType_INVITEID  TeamMemberToRemoveType = 1
)

func (TeamMemberToRemoveType) DeepCopy

func (TeamMemberToRemoveType) String

func (e TeamMemberToRemoveType) String() string

type TeamMembers

type TeamMembers struct {
	Owners         []UserVersion `codec:"owners" json:"owners"`
	Admins         []UserVersion `codec:"admins" json:"admins"`
	Writers        []UserVersion `codec:"writers" json:"writers"`
	Readers        []UserVersion `codec:"readers" json:"readers"`
	Bots           []UserVersion `codec:"bots" json:"bots"`
	RestrictedBots []UserVersion `codec:"restrictedBots" json:"restrictedBots"`
}

func (TeamMembers) AllUIDs

func (t TeamMembers) AllUIDs() []UID

func (TeamMembers) AllUserVersions

func (t TeamMembers) AllUserVersions() []UserVersion

func (TeamMembers) DeepCopy

func (o TeamMembers) DeepCopy() TeamMembers

type TeamMembersDetails

type TeamMembersDetails struct {
	Owners         []TeamMemberDetails `codec:"owners" json:"owners"`
	Admins         []TeamMemberDetails `codec:"admins" json:"admins"`
	Writers        []TeamMemberDetails `codec:"writers" json:"writers"`
	Readers        []TeamMemberDetails `codec:"readers" json:"readers"`
	Bots           []TeamMemberDetails `codec:"bots" json:"bots"`
	RestrictedBots []TeamMemberDetails `codec:"restrictedBots" json:"restrictedBots"`
}

func (TeamMembersDetails) DeepCopy

type TeamMetadataUpdateArg

type TeamMetadataUpdateArg struct {
}

type TeamName

type TeamName struct {
	Parts []TeamNamePart `codec:"parts" json:"parts"`
}

func TeamNameFromString

func TeamNameFromString(s string) (TeamName, error)

func (TeamName) Append

func (t TeamName) Append(part string) (t3 TeamName, err error)

Return a new team name with the part added to the end. For example {foo.bar}.Append(baz) -> {foo.bar.baz}

func (TeamName) AssertEqString

func (t TeamName) AssertEqString(s string) error

func (TeamName) DeepCopy

func (o TeamName) DeepCopy() TeamName

func (TeamName) Depth

func (t TeamName) Depth() int

The number of parts in a team name. Root teams have 1.

func (TeamName) Eq

func (t TeamName) Eq(t2 TeamName) bool

func (TeamName) IsAncestorOf

func (t TeamName) IsAncestorOf(other TeamName) bool

func (TeamName) IsImplicit

func (t TeamName) IsImplicit() bool

func (TeamName) IsNil

func (t TeamName) IsNil() bool

func (TeamName) IsRootTeam

func (t TeamName) IsRootTeam() bool

func (TeamName) LastPart

func (t TeamName) LastPart() TeamNamePart

func (TeamName) Parent

func (t TeamName) Parent() (TeamName, error)

func (TeamName) RootAncestorName

func (t TeamName) RootAncestorName() TeamName

func (TeamName) RootID

func (t TeamName) RootID() TeamID

func (TeamName) String

func (t TeamName) String() string

func (TeamName) SwapLastPart

func (t TeamName) SwapLastPart(newLast string) (TeamName, error)

func (TeamName) ToPrivateTeamID

func (t TeamName) ToPrivateTeamID() TeamID

func (TeamName) ToPublicTeamID

func (t TeamName) ToPublicTeamID() TeamID

func (TeamName) ToTeamID

func (t TeamName) ToTeamID(public bool) TeamID

Get the top level team id for this team name. Only makes sense for non-sub teams. The first 15 bytes of the sha256 of the lowercase team name, followed by the byte 0x24, encoded as hex.

type TeamNameLogPoint

type TeamNameLogPoint struct {
	LastPart TeamNamePart `codec:"lastPart" json:"lastPart"`
	Seqno    Seqno        `codec:"seqno" json:"seqno"`
}

func (TeamNameLogPoint) DeepCopy

func (o TeamNameLogPoint) DeepCopy() TeamNameLogPoint

type TeamNamePart

type TeamNamePart string

func (TeamNamePart) DeepCopy

func (o TeamNamePart) DeepCopy() TeamNamePart

func (TeamNamePart) Eq

func (t TeamNamePart) Eq(t2 TeamNamePart) bool

func (TeamNamePart) String

func (p TeamNamePart) String() string

type TeamNewlyAddedRow

type TeamNewlyAddedRow struct {
	Id   TeamID `codec:"id" json:"id"`
	Name string `codec:"name" json:"name"`
}

func (TeamNewlyAddedRow) DeepCopy

func (o TeamNewlyAddedRow) DeepCopy() TeamNewlyAddedRow

type TeamOpenReqMsg

type TeamOpenReqMsg struct {
	TeamID TeamID              `codec:"teamID" json:"team_id"`
	Tars   []TeamAccessRequest `codec:"tars" json:"tars"`
}

func (TeamOpenReqMsg) DeepCopy

func (o TeamOpenReqMsg) DeepCopy() TeamOpenReqMsg

type TeamOpenSweepMsg

type TeamOpenSweepMsg struct {
	TeamID              TeamID              `codec:"teamID" json:"team_id"`
	ResetUsersUntrusted []TeamCLKRResetUser `codec:"resetUsersUntrusted" json:"reset_users"`
}

func (TeamOpenSweepMsg) DeepCopy

func (o TeamOpenSweepMsg) DeepCopy() TeamOpenSweepMsg

type TeamOperation

type TeamOperation struct {
	ManageMembers          bool `codec:"manageMembers" json:"manageMembers"`
	ManageSubteams         bool `codec:"manageSubteams" json:"manageSubteams"`
	CreateChannel          bool `codec:"createChannel" json:"createChannel"`
	Chat                   bool `codec:"chat" json:"chat"`
	DeleteChannel          bool `codec:"deleteChannel" json:"deleteChannel"`
	RenameChannel          bool `codec:"renameChannel" json:"renameChannel"`
	RenameTeam             bool `codec:"renameTeam" json:"renameTeam"`
	EditChannelDescription bool `codec:"editChannelDescription" json:"editChannelDescription"`
	EditTeamDescription    bool `codec:"editTeamDescription" json:"editTeamDescription"`
	SetTeamShowcase        bool `codec:"setTeamShowcase" json:"setTeamShowcase"`
	SetMemberShowcase      bool `codec:"setMemberShowcase" json:"setMemberShowcase"`
	SetRetentionPolicy     bool `codec:"setRetentionPolicy" json:"setRetentionPolicy"`
	SetMinWriterRole       bool `codec:"setMinWriterRole" json:"setMinWriterRole"`
	ChangeOpenTeam         bool `codec:"changeOpenTeam" json:"changeOpenTeam"`
	LeaveTeam              bool `codec:"leaveTeam" json:"leaveTeam"`
	JoinTeam               bool `codec:"joinTeam" json:"joinTeam"`
	SetPublicityAny        bool `codec:"setPublicityAny" json:"setPublicityAny"`
	ListFirst              bool `codec:"listFirst" json:"listFirst"`
	ChangeTarsDisabled     bool `codec:"changeTarsDisabled" json:"changeTarsDisabled"`
	DeleteChatHistory      bool `codec:"deleteChatHistory" json:"deleteChatHistory"`
	DeleteOtherEmojis      bool `codec:"deleteOtherEmojis" json:"deleteOtherEmojis"`
	DeleteOtherMessages    bool `codec:"deleteOtherMessages" json:"deleteOtherMessages"`
	DeleteTeam             bool `codec:"deleteTeam" json:"deleteTeam"`
	PinMessage             bool `codec:"pinMessage" json:"pinMessage"`
	ManageBots             bool `codec:"manageBots" json:"manageBots"`
	ManageEmojis           bool `codec:"manageEmojis" json:"manageEmojis"`
}

func (TeamOperation) DeepCopy

func (o TeamOperation) DeepCopy() TeamOperation

type TeamPlusApplicationKeys

type TeamPlusApplicationKeys struct {
	Id                 TeamID               `codec:"id" json:"id"`
	Name               string               `codec:"name" json:"name"`
	Implicit           bool                 `codec:"implicit" json:"implicit"`
	Public             bool                 `codec:"public" json:"public"`
	Application        TeamApplication      `codec:"application" json:"application"`
	Writers            []UserVersion        `codec:"writers" json:"writers"`
	OnlyReaders        []UserVersion        `codec:"onlyReaders" json:"onlyReaders"`
	OnlyRestrictedBots []UserVersion        `codec:"onlyRestrictedBots" json:"onlyRestrictedBots"`
	ApplicationKeys    []TeamApplicationKey `codec:"applicationKeys" json:"applicationKeys"`
}

func (TeamPlusApplicationKeys) DeepCopy

type TeamProfileAddEntry

type TeamProfileAddEntry struct {
	TeamID         TeamID   `codec:"teamID" json:"teamID"`
	TeamName       TeamName `codec:"teamName" json:"teamName"`
	Open           bool     `codec:"open" json:"open"`
	DisabledReason string   `codec:"disabledReason" json:"disabledReason"`
}

func (TeamProfileAddEntry) DeepCopy

type TeamProfileAddListArg

type TeamProfileAddListArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Username  string `codec:"username" json:"username"`
}

type TeamReAddMemberAfterResetArg

type TeamReAddMemberAfterResetArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Id        TeamID `codec:"id" json:"id"`
	Username  string `codec:"username" json:"username"`
}

type TeamRefreshers

type TeamRefreshers struct {
	NeedKeyGeneration                     PerTeamKeyGeneration                       `codec:"needKeyGeneration" json:"needKeyGeneration"`
	NeedApplicationsAtGenerations         map[PerTeamKeyGeneration][]TeamApplication `codec:"needApplicationsAtGenerations" json:"needApplicationsAtGenerations"`
	NeedApplicationsAtGenerationsWithKBFS map[PerTeamKeyGeneration][]TeamApplication `codec:"needApplicationsAtGenerationsWithKBFS" json:"needApplicationsAtGenerationsWithKBFS"`
	WantMembers                           []UserVersion                              `codec:"wantMembers" json:"wantMembers"`
	WantMembersRole                       TeamRole                                   `codec:"wantMembersRole" json:"wantMembersRole"`
	NeedKBFSKeyGeneration                 TeamKBFSKeyRefresher                       `codec:"needKBFSKeyGeneration" json:"needKBFSKeyGeneration"`
}

* TeamRefreshData are needed or wanted data requirements that, if unmet, will cause * a refresh of the cache.

func (TeamRefreshers) DeepCopy

func (o TeamRefreshers) DeepCopy() TeamRefreshers

type TeamRemoveMemberArg

type TeamRemoveMemberArg struct {
	SessionID int                `codec:"sessionID" json:"sessionID"`
	TeamID    TeamID             `codec:"teamID" json:"teamID"`
	Member    TeamMemberToRemove `codec:"member" json:"member"`
}

type TeamRemoveMembersArg

type TeamRemoveMembersArg struct {
	SessionID               int                  `codec:"sessionID" json:"sessionID"`
	TeamID                  TeamID               `codec:"teamID" json:"teamID"`
	Members                 []TeamMemberToRemove `codec:"members" json:"members"`
	NoErrorOnPartialFailure bool                 `codec:"noErrorOnPartialFailure" json:"noErrorOnPartialFailure"`
}

type TeamRemoveMembersResult

type TeamRemoveMembersResult struct {
	Failures []RemoveTeamMemberFailure `codec:"failures" json:"failures"`
}

func (TeamRemoveMembersResult) DeepCopy

type TeamRenameArg

type TeamRenameArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	PrevName  TeamName `codec:"prevName" json:"prevName"`
	NewName   TeamName `codec:"newName" json:"newName"`
}

type TeamRequestAccessArg

type TeamRequestAccessArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
}

type TeamRequestAccessResult

type TeamRequestAccessResult struct {
	Open bool `codec:"open" json:"open"`
}

func (TeamRequestAccessResult) DeepCopy

type TeamResetUser

type TeamResetUser struct {
	Username    string `codec:"username" json:"username"`
	Uid         UID    `codec:"uid" json:"uid"`
	EldestSeqno Seqno  `codec:"eldestSeqno" json:"eldest_seqno"`
	IsDelete    bool   `codec:"isDelete" json:"is_delete"`
}

func (TeamResetUser) DeepCopy

func (o TeamResetUser) DeepCopy() TeamResetUser

type TeamRole

type TeamRole int
const (
	TeamRole_NONE          TeamRole = 0
	TeamRole_READER        TeamRole = 1
	TeamRole_WRITER        TeamRole = 2
	TeamRole_ADMIN         TeamRole = 3
	TeamRole_OWNER         TeamRole = 4
	TeamRole_BOT           TeamRole = 5
	TeamRole_RESTRICTEDBOT TeamRole = 6
)

func (TeamRole) DeepCopy

func (o TeamRole) DeepCopy() TeamRole

func (TeamRole) HumanString

func (r TeamRole) HumanString() string

func (TeamRole) IsAdminOrAbove

func (r TeamRole) IsAdminOrAbove() bool

func (TeamRole) IsBotLike

func (r TeamRole) IsBotLike() bool

func (TeamRole) IsBotOrAbove

func (r TeamRole) IsBotOrAbove() bool

func (TeamRole) IsOrAbove

func (r TeamRole) IsOrAbove(min TeamRole) bool

func (TeamRole) IsReaderOrAbove

func (r TeamRole) IsReaderOrAbove() bool

func (TeamRole) IsRestrictedBot

func (r TeamRole) IsRestrictedBot() bool

func (TeamRole) IsRestrictedBotOrAbove

func (r TeamRole) IsRestrictedBotOrAbove() bool

func (TeamRole) IsWriterOrAbove

func (r TeamRole) IsWriterOrAbove() bool

func (TeamRole) String

func (e TeamRole) String() string

type TeamRoleMapAndVersion

type TeamRoleMapAndVersion struct {
	Teams   map[TeamID]TeamRolePair `codec:"teams" json:"teams"`
	Version UserTeamVersion         `codec:"version" json:"user_team_version"`
}

func (TeamRoleMapAndVersion) DeepCopy

type TeamRoleMapChangedArg

type TeamRoleMapChangedArg struct {
	NewVersion UserTeamVersion `codec:"newVersion" json:"newVersion"`
}

type TeamRoleMapStored

type TeamRoleMapStored struct {
	Data     TeamRoleMapAndVersion `codec:"data" json:"data"`
	CachedAt Time                  `codec:"cachedAt" json:"cachedAt"`
}

func (TeamRoleMapStored) DeepCopy

func (o TeamRoleMapStored) DeepCopy() TeamRoleMapStored

type TeamRolePair

type TeamRolePair struct {
	Role         TeamRole `codec:"role" json:"role"`
	ImplicitRole TeamRole `codec:"implicitRole" json:"implicit_role"`
}

func (TeamRolePair) DeepCopy

func (o TeamRolePair) DeepCopy() TeamRolePair

type TeamRotateKeyArg

type TeamRotateKeyArg struct {
	TeamID TeamID       `codec:"teamID" json:"teamID"`
	Rt     RotationType `codec:"rt" json:"rt"`
}

type TeamSBSMsg

type TeamSBSMsg struct {
	TeamID   TeamID        `codec:"teamID" json:"team_id"`
	Score    int           `codec:"score" json:"score"`
	Invitees []TeamInvitee `codec:"invitees" json:"invitees"`
}

func (TeamSBSMsg) DeepCopy

func (o TeamSBSMsg) DeepCopy() TeamSBSMsg

type TeamSearchArg

type TeamSearchArg struct {
	Uid       *UID   `codec:"uid,omitempty" json:"uid,omitempty"`
	Query     string `codec:"query" json:"query"`
	Limit     int    `codec:"limit" json:"limit"`
	UseRemote bool   `codec:"useRemote" json:"useRemote"`
}

type TeamSearchClient

type TeamSearchClient struct {
	Cli rpc.GenericClient
}

func (TeamSearchClient) TeamSearch

func (c TeamSearchClient) TeamSearch(ctx context.Context, __arg TeamSearchArg) (res TeamSearchRes, err error)

type TeamSearchExport

type TeamSearchExport struct {
	Items     map[TeamID]TeamSearchItem `codec:"items" json:"items"`
	Suggested []TeamID                  `codec:"suggested" json:"suggested"`
}

func (TeamSearchExport) DeepCopy

func (o TeamSearchExport) DeepCopy() TeamSearchExport

func (TeamSearchExport) Hash

func (e TeamSearchExport) Hash() string

type TeamSearchInterface

type TeamSearchInterface interface {
	TeamSearch(context.Context, TeamSearchArg) (TeamSearchRes, error)
}

type TeamSearchItem

type TeamSearchItem struct {
	Id          TeamID  `codec:"id" json:"id"`
	Name        string  `codec:"name" json:"name"`
	Description *string `codec:"description,omitempty" json:"description,omitempty"`
	MemberCount int     `codec:"memberCount" json:"memberCount"`
	LastActive  Time    `codec:"lastActive" json:"lastActive"`
	IsDemoted   bool    `codec:"isDemoted" json:"isDemoted"`
	InTeam      bool    `codec:"inTeam" json:"inTeam"`
}

func (TeamSearchItem) DeepCopy

func (o TeamSearchItem) DeepCopy() TeamSearchItem

type TeamSearchRes

type TeamSearchRes struct {
	Results []TeamSearchItem `codec:"results" json:"results"`
}

func (TeamSearchRes) DeepCopy

func (o TeamSearchRes) DeepCopy() TeamSearchRes

type TeamSeitanMsg

type TeamSeitanMsg struct {
	TeamID  TeamID              `codec:"teamID" json:"team_id"`
	Seitans []TeamSeitanRequest `codec:"seitans" json:"seitans"`
}

func (TeamSeitanMsg) DeepCopy

func (o TeamSeitanMsg) DeepCopy() TeamSeitanMsg

type TeamSeitanRequest

type TeamSeitanRequest struct {
	InviteID    TeamInviteID `codec:"inviteID" json:"invite_id"`
	Uid         UID          `codec:"uid" json:"uid"`
	EldestSeqno Seqno        `codec:"eldestSeqno" json:"eldest_seqno"`
	Akey        SeitanAKey   `codec:"akey" json:"akey"`
	Role        TeamRole     `codec:"role" json:"role"`
	UnixCTime   int64        `codec:"unixCTime" json:"ctime"`
}

func (TeamSeitanRequest) DeepCopy

func (o TeamSeitanRequest) DeepCopy() TeamSeitanRequest

type TeamSetBotSettingsArg

type TeamSetBotSettingsArg struct {
	SessionID   int             `codec:"sessionID" json:"sessionID"`
	Name        string          `codec:"name" json:"name"`
	Username    string          `codec:"username" json:"username"`
	BotSettings TeamBotSettings `codec:"botSettings" json:"botSettings"`
}

type TeamSetSettingsArg

type TeamSetSettingsArg struct {
	SessionID int          `codec:"sessionID" json:"sessionID"`
	TeamID    TeamID       `codec:"teamID" json:"teamID"`
	Settings  TeamSettings `codec:"settings" json:"settings"`
}

type TeamSettings

type TeamSettings struct {
	Open   bool     `codec:"open" json:"open"`
	JoinAs TeamRole `codec:"joinAs" json:"joinAs"`
}

func (TeamSettings) DeepCopy

func (o TeamSettings) DeepCopy() TeamSettings

type TeamShowcase

type TeamShowcase struct {
	IsShowcased       bool    `codec:"isShowcased" json:"is_showcased"`
	Description       *string `codec:"description,omitempty" json:"description,omitempty"`
	SetByUID          *UID    `codec:"setByUID,omitempty" json:"set_by_uid,omitempty"`
	AnyMemberShowcase bool    `codec:"anyMemberShowcase" json:"any_member_showcase"`
}

func (TeamShowcase) DeepCopy

func (o TeamShowcase) DeepCopy() TeamShowcase

type TeamSigChainState

type TeamSigChainState struct {
	Reader                  UserVersion                                       `codec:"reader" json:"reader"`
	Id                      TeamID                                            `codec:"id" json:"id"`
	Implicit                bool                                              `codec:"implicit" json:"implicit"`
	Public                  bool                                              `codec:"public" json:"public"`
	RootAncestor            TeamName                                          `codec:"rootAncestor" json:"rootAncestor"`
	NameDepth               int                                               `codec:"nameDepth" json:"nameDepth"`
	NameLog                 []TeamNameLogPoint                                `codec:"nameLog" json:"nameLog"`
	LastSeqno               Seqno                                             `codec:"lastSeqno" json:"lastSeqno"`
	LastLinkID              LinkID                                            `codec:"lastLinkID" json:"lastLinkID"`
	LastHighSeqno           Seqno                                             `codec:"lastHighSeqno" json:"lastHighSeqno"`
	LastHighLinkID          LinkID                                            `codec:"lastHighLinkID" json:"lastHighLinkID"`
	ParentID                *TeamID                                           `codec:"parentID,omitempty" json:"parentID,omitempty"`
	UserLog                 map[UserVersion][]UserLogPoint                    `codec:"userLog" json:"userLog"`
	SubteamLog              map[TeamID][]SubteamLogPoint                      `codec:"subteamLog" json:"subteamLog"`
	PerTeamKeys             map[PerTeamKeyGeneration]PerTeamKey               `codec:"perTeamKeys" json:"perTeamKeys"`
	MaxPerTeamKeyGeneration PerTeamKeyGeneration                              `codec:"maxPerTeamKeyGeneration" json:"maxPerTeamKeyGeneration"`
	PerTeamKeyCTime         UnixTime                                          `codec:"perTeamKeyCTime" json:"perTeamKeyCTime"`
	LinkIDs                 map[Seqno]LinkID                                  `codec:"linkIDs" json:"linkIDs"`
	StubbedLinks            map[Seqno]bool                                    `codec:"stubbedLinks" json:"stubbedLinks"`
	InviteMetadatas         map[TeamInviteID]TeamInviteMetadata               `codec:"inviteMetadatas" json:"inviteMetadatas"`
	Open                    bool                                              `codec:"open" json:"open"`
	OpenTeamJoinAs          TeamRole                                          `codec:"openTeamJoinAs" json:"openTeamJoinAs"`
	Bots                    map[UserVersion]TeamBotSettings                   `codec:"bots" json:"bots"`
	TlfIDs                  []TLFID                                           `codec:"tlfIDs" json:"tlfIDs"`
	TlfLegacyUpgrade        map[TeamApplication]TeamLegacyTLFUpgradeChainInfo `codec:"tlfLegacyUpgrade" json:"tlfLegacyUpgrade"`
	HeadMerkle              *MerkleRootV2                                     `codec:"headMerkle,omitempty" json:"headMerkle,omitempty"`
	MerkleRoots             map[Seqno]MerkleRootV2                            `codec:"merkleRoots" json:"merkleRoots"`
}

func (TeamSigChainState) ActiveInvites

func (s TeamSigChainState) ActiveInvites() (ret []TeamInvite)

func (TeamSigChainState) DeepCopy

func (o TeamSigChainState) DeepCopy() TeamSigChainState

func (TeamSigChainState) GetAllUVs

func (s TeamSigChainState) GetAllUVs() (res []UserVersion)

func (TeamSigChainState) GetUserLastJoinTime

func (s TeamSigChainState) GetUserLastJoinTime(user UserVersion) (time Time, err error)

func (TeamSigChainState) GetUserLastRoleChangeTime

func (s TeamSigChainState) GetUserLastRoleChangeTime(user UserVersion) (time Time, wasMember bool)

GetUserLastRoleChangeTime returns the time of the last role change for user in team. If the user left the team as a last change, the time of such leave event is returned. If the user was never in the team, then this function returns time=0 and wasMember=false.

func (s TeamSigChainState) HasAnyStubbedLinks() bool

func (TeamSigChainState) KeySummary

func (s TeamSigChainState) KeySummary() string

func (TeamSigChainState) ListSubteams

func (s TeamSigChainState) ListSubteams() (res []TeamIDAndName)

func (TeamSigChainState) UserRole

func (s TeamSigChainState) UserRole(user UserVersion) TeamRole

type TeamSignatureMetadata

type TeamSignatureMetadata struct {
	SigMeta SignatureMetadata `codec:"sigMeta" json:"sigMeta"`
	Uv      UserVersion       `codec:"uv" json:"uv"`
}

func NewTeamSigMeta

func NewTeamSigMeta(sigMeta SignatureMetadata, uv UserVersion) TeamSignatureMetadata

func (TeamSignatureMetadata) DeepCopy

type TeamStatus

type TeamStatus int
const (
	TeamStatus_NONE      TeamStatus = 0
	TeamStatus_LIVE      TeamStatus = 1
	TeamStatus_DELETED   TeamStatus = 2
	TeamStatus_ABANDONED TeamStatus = 3
)

func (TeamStatus) DeepCopy

func (o TeamStatus) DeepCopy() TeamStatus

func (TeamStatus) String

func (e TeamStatus) String() string

type TeamTreeEntry

type TeamTreeEntry struct {
	Name  TeamName `codec:"name" json:"name"`
	Admin bool     `codec:"admin" json:"admin"`
}

func (TeamTreeEntry) DeepCopy

func (o TeamTreeEntry) DeepCopy() TeamTreeEntry

type TeamTreeError

type TeamTreeError struct {
	Message           string `codec:"message" json:"message"`
	WillSkipSubtree   bool   `codec:"willSkipSubtree" json:"willSkipSubtree"`
	WillSkipAncestors bool   `codec:"willSkipAncestors" json:"willSkipAncestors"`
}

func (TeamTreeError) DeepCopy

func (o TeamTreeError) DeepCopy() TeamTreeError

type TeamTreeInitial

type TeamTreeInitial struct {
	Guid int `codec:"guid" json:"guid"`
}

func (TeamTreeInitial) DeepCopy

func (o TeamTreeInitial) DeepCopy() TeamTreeInitial

type TeamTreeMembership

type TeamTreeMembership struct {
	TeamName       string                   `codec:"teamName" json:"teamName"`
	Result         TeamTreeMembershipResult `codec:"result" json:"result"`
	TargetTeamID   TeamID                   `codec:"targetTeamID" json:"targetTeamID"`
	TargetUsername string                   `codec:"targetUsername" json:"targetUsername"`
	Guid           int                      `codec:"guid" json:"guid"`
}

func (TeamTreeMembership) DeepCopy

type TeamTreeMembershipResult

type TeamTreeMembershipResult struct {
	S__     TeamTreeMembershipStatus `codec:"s" json:"s"`
	Ok__    *TeamTreeMembershipValue `codec:"ok,omitempty" json:"ok,omitempty"`
	Error__ *TeamTreeError           `codec:"error,omitempty" json:"error,omitempty"`
}

func NewTeamTreeMembershipResultWithError

func NewTeamTreeMembershipResultWithError(v TeamTreeError) TeamTreeMembershipResult

func NewTeamTreeMembershipResultWithHidden

func NewTeamTreeMembershipResultWithHidden() TeamTreeMembershipResult

func (TeamTreeMembershipResult) DeepCopy

func (TeamTreeMembershipResult) Error

func (o TeamTreeMembershipResult) Error() (res TeamTreeError)

func (TeamTreeMembershipResult) Ok

func (*TeamTreeMembershipResult) S

type TeamTreeMembershipStatus

type TeamTreeMembershipStatus int
const (
	TeamTreeMembershipStatus_OK     TeamTreeMembershipStatus = 0
	TeamTreeMembershipStatus_ERROR  TeamTreeMembershipStatus = 1
	TeamTreeMembershipStatus_HIDDEN TeamTreeMembershipStatus = 2
)

func (TeamTreeMembershipStatus) DeepCopy

func (TeamTreeMembershipStatus) String

func (e TeamTreeMembershipStatus) String() string

type TeamTreeMembershipValue

type TeamTreeMembershipValue struct {
	Role     TeamRole `codec:"role" json:"role"`
	JoinTime *Time    `codec:"joinTime,omitempty" json:"joinTime,omitempty"`
	TeamID   TeamID   `codec:"teamID" json:"teamID"`
}

func (TeamTreeMembershipValue) DeepCopy

type TeamTreeMembershipsDoneArg

type TeamTreeMembershipsDoneArg struct {
	Result TeamTreeMembershipsDoneResult `codec:"result" json:"result"`
}

type TeamTreeMembershipsDoneResult

type TeamTreeMembershipsDoneResult struct {
	ExpectedCount  int    `codec:"expectedCount" json:"expectedCount"`
	TargetTeamID   TeamID `codec:"targetTeamID" json:"targetTeamID"`
	TargetUsername string `codec:"targetUsername" json:"targetUsername"`
	Guid           int    `codec:"guid" json:"guid"`
}

func (TeamTreeMembershipsDoneResult) DeepCopy

type TeamTreeMembershipsPartialArg

type TeamTreeMembershipsPartialArg struct {
	Membership TeamTreeMembership `codec:"membership" json:"membership"`
}

type TeamTreeResult

type TeamTreeResult struct {
	Entries []TeamTreeEntry `codec:"entries" json:"entries"`
}

func (TeamTreeResult) DeepCopy

func (o TeamTreeResult) DeepCopy() TeamTreeResult

type TeamTreeUnverifiedArg

type TeamTreeUnverifiedArg struct {
	SessionID int      `codec:"sessionID" json:"sessionID"`
	Name      TeamName `codec:"name" json:"name"`
}

type TeamType

type TeamType int
const (
	TeamType_NONE   TeamType = 0
	TeamType_LEGACY TeamType = 1
	TeamType_MODERN TeamType = 2
)

func (TeamType) DeepCopy

func (o TeamType) DeepCopy() TeamType

func (TeamType) String

func (e TeamType) String() string

type TeamUsedInvite

type TeamUsedInvite struct {
	InviteID TeamInviteID           `codec:"inviteID" json:"inviteID"`
	Uv       UserVersionPercentForm `codec:"uv" json:"uv"`
}

func (TeamUsedInvite) DeepCopy

func (o TeamUsedInvite) DeepCopy() TeamUsedInvite

type TeamUsedInviteLogPoint

type TeamUsedInviteLogPoint struct {
	Uv       UserVersion `codec:"uv" json:"uv"`
	LogPoint int         `codec:"logPoint" json:"logPoint"`
}

func (TeamUsedInviteLogPoint) DeepCopy

type TeambotClient

type TeambotClient struct {
	Cli rpc.GenericClient
}

type TeambotEk

type TeambotEk struct {
	Seed     Bytes32           `codec:"seed" json:"seed"`
	Metadata TeambotEkMetadata `codec:"metadata" json:"metadata"`
}

func (TeambotEk) DeepCopy

func (o TeambotEk) DeepCopy() TeambotEk

type TeambotEkBoxed

type TeambotEkBoxed struct {
	Box      string            `codec:"box" json:"box"`
	Metadata TeambotEkMetadata `codec:"metadata" json:"metadata"`
}

func (TeambotEkBoxed) DeepCopy

func (o TeambotEkBoxed) DeepCopy() TeambotEkBoxed

type TeambotEkMetadata

type TeambotEkMetadata struct {
	Kid              KID          `codec:"kid" json:"teambot_dh_public"`
	Generation       EkGeneration `codec:"generation" json:"generation"`
	Uid              UID          `codec:"uid" json:"uid"`
	UserEkGeneration EkGeneration `codec:"userEkGeneration" json:"user_ek_generation"`
	HashMeta         HashMeta     `codec:"hashMeta" json:"hash_meta"`
	Ctime            Time         `codec:"ctime" json:"ctime"`
}

func (TeambotEkMetadata) DeepCopy

func (o TeambotEkMetadata) DeepCopy() TeambotEkMetadata

type TeambotEkNeededArg

type TeambotEkNeededArg struct {
	Id                    TeamID        `codec:"id" json:"id"`
	Uid                   UID           `codec:"uid" json:"uid"`
	Generation            EkGeneration  `codec:"generation" json:"generation"`
	ForceCreateGeneration *EkGeneration `codec:"forceCreateGeneration,omitempty" json:"forceCreateGeneration,omitempty"`
}

type TeambotInterface

type TeambotInterface interface {
}

type TeambotKey

type TeambotKey struct {
	Seed     Bytes32            `codec:"seed" json:"seed"`
	Metadata TeambotKeyMetadata `codec:"metadata" json:"metadata"`
}

func (TeambotKey) DeepCopy

func (o TeambotKey) DeepCopy() TeambotKey

func (TeambotKey) Generation

func (k TeambotKey) Generation() int

func (TeambotKey) Material

func (k TeambotKey) Material() Bytes32

type TeambotKeyBoxed

type TeambotKeyBoxed struct {
	Box      string             `codec:"box" json:"box"`
	Metadata TeambotKeyMetadata `codec:"metadata" json:"metadata"`
}

func (TeambotKeyBoxed) DeepCopy

func (o TeambotKeyBoxed) DeepCopy() TeambotKeyBoxed

type TeambotKeyGeneration

type TeambotKeyGeneration int64

func (TeambotKeyGeneration) DeepCopy

type TeambotKeyMetadata

type TeambotKeyMetadata struct {
	Kid           KID                  `codec:"kid" json:"teambot_dh_public"`
	Generation    TeambotKeyGeneration `codec:"generation" json:"generation"`
	Uid           UID                  `codec:"uid" json:"uid"`
	PukGeneration PerUserKeyGeneration `codec:"pukGeneration" json:"puk_generation"`
	Application   TeamApplication      `codec:"application" json:"application"`
}

func (TeambotKeyMetadata) DeepCopy

type TeambotKeyNeededArg

type TeambotKeyNeededArg struct {
	Id          TeamID               `codec:"id" json:"id"`
	Uid         UID                  `codec:"uid" json:"uid"`
	Generation  TeambotKeyGeneration `codec:"generation" json:"generation"`
	Application TeamApplication      `codec:"application" json:"application"`
}

type TeamsClient

type TeamsClient struct {
	Cli rpc.GenericClient
}

func (TeamsClient) CanUserPerform

func (c TeamsClient) CanUserPerform(ctx context.Context, name string) (res TeamOperation, err error)

func (TeamsClient) FindAssertionsInTeamNoResolve

func (c TeamsClient) FindAssertionsInTeamNoResolve(ctx context.Context, __arg FindAssertionsInTeamNoResolveArg) (res []string, err error)

func (TeamsClient) FindNextMerkleRootAfterTeamRemoval

func (c TeamsClient) FindNextMerkleRootAfterTeamRemoval(ctx context.Context, __arg FindNextMerkleRootAfterTeamRemovalArg) (res NextMerkleRootRes, err error)

FindNextMerkleRootAfterTeamRemoval finds the first Merkle root that contains the user being removed from the team at that given seqno in the team's chain. You should pass in a previous Merkle root as a starting point for the binary search.

func (TeamsClient) FindNextMerkleRootAfterTeamRemovalBySigningKey

func (c TeamsClient) FindNextMerkleRootAfterTeamRemovalBySigningKey(ctx context.Context, __arg FindNextMerkleRootAfterTeamRemovalBySigningKeyArg) (res NextMerkleRootRes, err error)

FindNextMerkleRootAfterTeamRemovalBySigningKey find the first Merkle root that contains the user with the given signing key being removed from the given team. If there are several such instances, we will return just the last one. When anyRoleAllowed is false, the team removal is any drop in permissions from Writer (or above) to Reader (or below).

func (TeamsClient) Ftl

func (c TeamsClient) Ftl(ctx context.Context, arg FastTeamLoadArg) (res FastTeamLoadRes, err error)

func (TeamsClient) GetAnnotatedTeam

func (c TeamsClient) GetAnnotatedTeam(ctx context.Context, teamID TeamID) (res AnnotatedTeam, err error)

func (TeamsClient) GetAnnotatedTeamByName

func (c TeamsClient) GetAnnotatedTeamByName(ctx context.Context, teamName string) (res AnnotatedTeam, err error)

func (TeamsClient) GetInviteLinkDetails

func (c TeamsClient) GetInviteLinkDetails(ctx context.Context, inviteID TeamInviteID) (res InviteLinkDetails, err error)

func (TeamsClient) GetTarsDisabled

func (c TeamsClient) GetTarsDisabled(ctx context.Context, teamID TeamID) (res bool, err error)

func (TeamsClient) GetTeamAndMemberShowcase

func (c TeamsClient) GetTeamAndMemberShowcase(ctx context.Context, teamID TeamID) (res TeamAndMemberShowcase, err error)

func (TeamsClient) GetTeamID

func (c TeamsClient) GetTeamID(ctx context.Context, teamName string) (res TeamID, err error)

Gets a TeamID from a team name string. Returns an error if the current user can't read the team.

func (TeamsClient) GetTeamName

func (c TeamsClient) GetTeamName(ctx context.Context, teamID TeamID) (res TeamName, err error)

Gets a TeamName from a team id string. Returns an error if the current user can't read the team.

func (TeamsClient) GetTeamRoleMap

func (c TeamsClient) GetTeamRoleMap(ctx context.Context) (res TeamRoleMapAndVersion, err error)

func (TeamsClient) GetTeamRootID

func (c TeamsClient) GetTeamRootID(ctx context.Context, id TeamID) (res TeamID, err error)

func (TeamsClient) GetTeamShowcase

func (c TeamsClient) GetTeamShowcase(ctx context.Context, teamID TeamID) (res TeamShowcase, err error)

func (TeamsClient) GetUntrustedTeamInfo

func (c TeamsClient) GetUntrustedTeamInfo(ctx context.Context, teamName TeamName) (res UntrustedTeamInfo, err error)

func (TeamsClient) LoadTeamPlusApplicationKeys

func (c TeamsClient) LoadTeamPlusApplicationKeys(ctx context.Context, __arg LoadTeamPlusApplicationKeysArg) (res TeamPlusApplicationKeys, err error)

* loadTeamPlusApplicationKeys loads team information for applications like KBFS and Chat. * If refreshers are non-empty, then force a refresh of the cache if the requirements * of the refreshers aren't met. If OfflineAvailability is set to BEST_EFFORT, and the * client is currently offline (or thinks it's offline), then the refreshers are overridden * and ignored, and stale data might still be returned.

func (TeamsClient) LoadTeamTreeMembershipsAsync

func (c TeamsClient) LoadTeamTreeMembershipsAsync(ctx context.Context, __arg LoadTeamTreeMembershipsAsyncArg) (res TeamTreeInitial, err error)

func (TeamsClient) LookupImplicitTeam

func (c TeamsClient) LookupImplicitTeam(ctx context.Context, __arg LookupImplicitTeamArg) (res LookupImplicitTeamRes, err error)

func (TeamsClient) LookupOrCreateImplicitTeam

func (c TeamsClient) LookupOrCreateImplicitTeam(ctx context.Context, __arg LookupOrCreateImplicitTeamArg) (res LookupImplicitTeamRes, err error)

func (TeamsClient) ProfileTeamLoad

func (c TeamsClient) ProfileTeamLoad(ctx context.Context, arg LoadTeamArg) (res ProfileTeamLoadRes, err error)

ProfileTeamLoad loads a team and then throws it on the ground, for the purposes of profiling the team load machinery.

func (TeamsClient) SetTarsDisabled

func (c TeamsClient) SetTarsDisabled(ctx context.Context, __arg SetTarsDisabledArg) (err error)

func (TeamsClient) SetTeamMemberShowcase

func (c TeamsClient) SetTeamMemberShowcase(ctx context.Context, __arg SetTeamMemberShowcaseArg) (err error)

func (TeamsClient) SetTeamShowcase

func (c TeamsClient) SetTeamShowcase(ctx context.Context, __arg SetTeamShowcaseArg) (err error)

func (TeamsClient) TeamAcceptInvite

func (c TeamsClient) TeamAcceptInvite(ctx context.Context, __arg TeamAcceptInviteArg) (err error)

func (TeamsClient) TeamAcceptInviteOrRequestAccess

func (c TeamsClient) TeamAcceptInviteOrRequestAccess(ctx context.Context, __arg TeamAcceptInviteOrRequestAccessArg) (res TeamAcceptOrRequestResult, err error)

func (TeamsClient) TeamAddEmailsBulk

func (c TeamsClient) TeamAddEmailsBulk(ctx context.Context, __arg TeamAddEmailsBulkArg) (res BulkRes, err error)

func (TeamsClient) TeamAddMember

func (c TeamsClient) TeamAddMember(ctx context.Context, __arg TeamAddMemberArg) (res TeamAddMemberResult, err error)

func (TeamsClient) TeamAddMembers

func (c TeamsClient) TeamAddMembers(ctx context.Context, __arg TeamAddMembersArg) (res TeamAddMembersResult, err error)

func (TeamsClient) TeamAddMembersMultiRole

func (c TeamsClient) TeamAddMembersMultiRole(ctx context.Context, __arg TeamAddMembersMultiRoleArg) (res TeamAddMembersResult, err error)

func (TeamsClient) TeamCreate

func (c TeamsClient) TeamCreate(ctx context.Context, __arg TeamCreateArg) (res TeamCreateResult, err error)

func (TeamsClient) TeamCreateFancy

func (c TeamsClient) TeamCreateFancy(ctx context.Context, __arg TeamCreateFancyArg) (res TeamID, err error)
func (c TeamsClient) TeamCreateSeitanInvitelink(ctx context.Context, __arg TeamCreateSeitanInvitelinkArg) (res Invitelink, err error)

func (TeamsClient) TeamCreateSeitanInvitelinkWithDuration

func (c TeamsClient) TeamCreateSeitanInvitelinkWithDuration(ctx context.Context, __arg TeamCreateSeitanInvitelinkWithDurationArg) (res Invitelink, err error)

func (TeamsClient) TeamCreateSeitanToken

func (c TeamsClient) TeamCreateSeitanToken(ctx context.Context, __arg TeamCreateSeitanTokenArg) (res SeitanIKey, err error)

func (TeamsClient) TeamCreateSeitanTokenV2

func (c TeamsClient) TeamCreateSeitanTokenV2(ctx context.Context, __arg TeamCreateSeitanTokenV2Arg) (res SeitanIKeyV2, err error)

func (TeamsClient) TeamCreateWithSettings

func (c TeamsClient) TeamCreateWithSettings(ctx context.Context, __arg TeamCreateWithSettingsArg) (res TeamCreateResult, err error)

func (TeamsClient) TeamDebug

func (c TeamsClient) TeamDebug(ctx context.Context, teamID TeamID) (res TeamDebugRes, err error)

func (TeamsClient) TeamDelete

func (c TeamsClient) TeamDelete(ctx context.Context, __arg TeamDeleteArg) (err error)

func (TeamsClient) TeamEditMember

func (c TeamsClient) TeamEditMember(ctx context.Context, __arg TeamEditMemberArg) (err error)

func (TeamsClient) TeamEditMembers

func (c TeamsClient) TeamEditMembers(ctx context.Context, __arg TeamEditMembersArg) (res TeamEditMembersResult, err error)

func (TeamsClient) TeamGet

func (c TeamsClient) TeamGet(ctx context.Context, __arg TeamGetArg) (res TeamDetails, err error)

func (TeamsClient) TeamGetBotSettings

func (c TeamsClient) TeamGetBotSettings(ctx context.Context, __arg TeamGetBotSettingsArg) (res TeamBotSettings, err error)

func (TeamsClient) TeamGetByID

func (c TeamsClient) TeamGetByID(ctx context.Context, __arg TeamGetByIDArg) (res TeamDetails, err error)

func (TeamsClient) TeamGetMembersByID

func (c TeamsClient) TeamGetMembersByID(ctx context.Context, __arg TeamGetMembersByIDArg) (res []TeamMemberDetails, err error)

func (TeamsClient) TeamGetSubteamsUnverified

func (c TeamsClient) TeamGetSubteamsUnverified(ctx context.Context, __arg TeamGetSubteamsUnverifiedArg) (res SubteamListResult, err error)

func (TeamsClient) TeamIgnoreRequest

func (c TeamsClient) TeamIgnoreRequest(ctx context.Context, __arg TeamIgnoreRequestArg) (err error)

func (TeamsClient) TeamLeave

func (c TeamsClient) TeamLeave(ctx context.Context, __arg TeamLeaveArg) (err error)

func (TeamsClient) TeamListMyAccessRequests

func (c TeamsClient) TeamListMyAccessRequests(ctx context.Context, __arg TeamListMyAccessRequestsArg) (res []TeamName, err error)

func (TeamsClient) TeamListRequests

func (c TeamsClient) TeamListRequests(ctx context.Context, __arg TeamListRequestsArg) (res []TeamJoinRequest, err error)

func (TeamsClient) TeamListSubteamsRecursive

func (c TeamsClient) TeamListSubteamsRecursive(ctx context.Context, __arg TeamListSubteamsRecursiveArg) (res []TeamIDAndName, err error)

func (TeamsClient) TeamListTeammates

func (c TeamsClient) TeamListTeammates(ctx context.Context, __arg TeamListTeammatesArg) (res AnnotatedTeamList, err error)

func (TeamsClient) TeamListUnverified

func (c TeamsClient) TeamListUnverified(ctx context.Context, __arg TeamListUnverifiedArg) (res AnnotatedTeamList, err error)

func (TeamsClient) TeamListVerified

func (c TeamsClient) TeamListVerified(ctx context.Context, __arg TeamListVerifiedArg) (res AnnotatedTeamList, err error)

func (TeamsClient) TeamProfileAddList

func (c TeamsClient) TeamProfileAddList(ctx context.Context, __arg TeamProfileAddListArg) (res []TeamProfileAddEntry, err error)

func (TeamsClient) TeamReAddMemberAfterReset

func (c TeamsClient) TeamReAddMemberAfterReset(ctx context.Context, __arg TeamReAddMemberAfterResetArg) (err error)

func (TeamsClient) TeamRemoveMember

func (c TeamsClient) TeamRemoveMember(ctx context.Context, __arg TeamRemoveMemberArg) (err error)

func (TeamsClient) TeamRemoveMembers

func (c TeamsClient) TeamRemoveMembers(ctx context.Context, __arg TeamRemoveMembersArg) (res TeamRemoveMembersResult, err error)

func (TeamsClient) TeamRename

func (c TeamsClient) TeamRename(ctx context.Context, __arg TeamRenameArg) (err error)

func (TeamsClient) TeamRequestAccess

func (c TeamsClient) TeamRequestAccess(ctx context.Context, __arg TeamRequestAccessArg) (res TeamRequestAccessResult, err error)

func (TeamsClient) TeamRotateKey

func (c TeamsClient) TeamRotateKey(ctx context.Context, __arg TeamRotateKeyArg) (err error)

func (TeamsClient) TeamSetBotSettings

func (c TeamsClient) TeamSetBotSettings(ctx context.Context, __arg TeamSetBotSettingsArg) (err error)

func (TeamsClient) TeamSetSettings

func (c TeamsClient) TeamSetSettings(ctx context.Context, __arg TeamSetSettingsArg) (err error)

func (TeamsClient) TeamTreeUnverified

func (c TeamsClient) TeamTreeUnverified(ctx context.Context, __arg TeamTreeUnverifiedArg) (res TeamTreeResult, err error)

func (TeamsClient) TryDecryptWithTeamKey

func (c TeamsClient) TryDecryptWithTeamKey(ctx context.Context, __arg TryDecryptWithTeamKeyArg) (res []byte, err error)

func (TeamsClient) UntrustedTeamExists

func (c TeamsClient) UntrustedTeamExists(ctx context.Context, teamName TeamName) (res UntrustedTeamExistsResult, err error)

func (TeamsClient) UploadTeamAvatar

func (c TeamsClient) UploadTeamAvatar(ctx context.Context, __arg UploadTeamAvatarArg) (err error)

type TeamsInterface

type TeamsInterface interface {
	GetUntrustedTeamInfo(context.Context, TeamName) (UntrustedTeamInfo, error)
	TeamCreate(context.Context, TeamCreateArg) (TeamCreateResult, error)
	TeamCreateWithSettings(context.Context, TeamCreateWithSettingsArg) (TeamCreateResult, error)
	TeamCreateFancy(context.Context, TeamCreateFancyArg) (TeamID, error)
	TeamGetByID(context.Context, TeamGetByIDArg) (TeamDetails, error)
	TeamGet(context.Context, TeamGetArg) (TeamDetails, error)
	TeamGetMembersByID(context.Context, TeamGetMembersByIDArg) ([]TeamMemberDetails, error)
	TeamListUnverified(context.Context, TeamListUnverifiedArg) (AnnotatedTeamList, error)
	TeamListTeammates(context.Context, TeamListTeammatesArg) (AnnotatedTeamList, error)
	TeamListVerified(context.Context, TeamListVerifiedArg) (AnnotatedTeamList, error)
	TeamListSubteamsRecursive(context.Context, TeamListSubteamsRecursiveArg) ([]TeamIDAndName, error)
	TeamAddMember(context.Context, TeamAddMemberArg) (TeamAddMemberResult, error)
	TeamAddMembers(context.Context, TeamAddMembersArg) (TeamAddMembersResult, error)
	TeamAddMembersMultiRole(context.Context, TeamAddMembersMultiRoleArg) (TeamAddMembersResult, error)
	TeamRemoveMember(context.Context, TeamRemoveMemberArg) error
	TeamRemoveMembers(context.Context, TeamRemoveMembersArg) (TeamRemoveMembersResult, error)
	TeamLeave(context.Context, TeamLeaveArg) error
	TeamEditMember(context.Context, TeamEditMemberArg) error
	TeamEditMembers(context.Context, TeamEditMembersArg) (TeamEditMembersResult, error)
	TeamGetBotSettings(context.Context, TeamGetBotSettingsArg) (TeamBotSettings, error)
	TeamSetBotSettings(context.Context, TeamSetBotSettingsArg) error
	UntrustedTeamExists(context.Context, TeamName) (UntrustedTeamExistsResult, error)
	TeamRename(context.Context, TeamRenameArg) error
	TeamAcceptInvite(context.Context, TeamAcceptInviteArg) error
	TeamRequestAccess(context.Context, TeamRequestAccessArg) (TeamRequestAccessResult, error)
	TeamAcceptInviteOrRequestAccess(context.Context, TeamAcceptInviteOrRequestAccessArg) (TeamAcceptOrRequestResult, error)
	TeamListRequests(context.Context, TeamListRequestsArg) ([]TeamJoinRequest, error)
	TeamListMyAccessRequests(context.Context, TeamListMyAccessRequestsArg) ([]TeamName, error)
	TeamIgnoreRequest(context.Context, TeamIgnoreRequestArg) error
	TeamTreeUnverified(context.Context, TeamTreeUnverifiedArg) (TeamTreeResult, error)
	TeamGetSubteamsUnverified(context.Context, TeamGetSubteamsUnverifiedArg) (SubteamListResult, error)
	TeamDelete(context.Context, TeamDeleteArg) error
	TeamSetSettings(context.Context, TeamSetSettingsArg) error
	TeamCreateSeitanToken(context.Context, TeamCreateSeitanTokenArg) (SeitanIKey, error)
	TeamCreateSeitanTokenV2(context.Context, TeamCreateSeitanTokenV2Arg) (SeitanIKeyV2, error)
	TeamCreateSeitanInvitelink(context.Context, TeamCreateSeitanInvitelinkArg) (Invitelink, error)
	TeamCreateSeitanInvitelinkWithDuration(context.Context, TeamCreateSeitanInvitelinkWithDurationArg) (Invitelink, error)
	GetInviteLinkDetails(context.Context, TeamInviteID) (InviteLinkDetails, error)
	TeamAddEmailsBulk(context.Context, TeamAddEmailsBulkArg) (BulkRes, error)
	LookupImplicitTeam(context.Context, LookupImplicitTeamArg) (LookupImplicitTeamRes, error)
	LookupOrCreateImplicitTeam(context.Context, LookupOrCreateImplicitTeamArg) (LookupImplicitTeamRes, error)
	TeamReAddMemberAfterReset(context.Context, TeamReAddMemberAfterResetArg) error
	// * loadTeamPlusApplicationKeys loads team information for applications like KBFS and Chat.
	// * If refreshers are non-empty, then force a refresh of the cache if the requirements
	// * of the refreshers aren't met. If OfflineAvailability is set to BEST_EFFORT, and the
	// * client is currently offline (or thinks it's offline), then the refreshers are overridden
	// * and ignored, and stale data might still be returned.
	LoadTeamPlusApplicationKeys(context.Context, LoadTeamPlusApplicationKeysArg) (TeamPlusApplicationKeys, error)
	GetTeamRootID(context.Context, TeamID) (TeamID, error)
	GetTeamShowcase(context.Context, TeamID) (TeamShowcase, error)
	GetTeamAndMemberShowcase(context.Context, TeamID) (TeamAndMemberShowcase, error)
	SetTeamShowcase(context.Context, SetTeamShowcaseArg) error
	SetTeamMemberShowcase(context.Context, SetTeamMemberShowcaseArg) error
	CanUserPerform(context.Context, string) (TeamOperation, error)
	TeamRotateKey(context.Context, TeamRotateKeyArg) error
	TeamDebug(context.Context, TeamID) (TeamDebugRes, error)
	GetTarsDisabled(context.Context, TeamID) (bool, error)
	SetTarsDisabled(context.Context, SetTarsDisabledArg) error
	TeamProfileAddList(context.Context, TeamProfileAddListArg) ([]TeamProfileAddEntry, error)
	UploadTeamAvatar(context.Context, UploadTeamAvatarArg) error
	TryDecryptWithTeamKey(context.Context, TryDecryptWithTeamKeyArg) ([]byte, error)
	// FindNextMerkleRootAfterTeamRemoval finds the first Merkle root that contains the user being
	// removed from the team at that given seqno in the team's chain. You should pass in a previous
	// Merkle root as a starting point for the binary search.
	FindNextMerkleRootAfterTeamRemoval(context.Context, FindNextMerkleRootAfterTeamRemovalArg) (NextMerkleRootRes, error)
	// FindNextMerkleRootAfterTeamRemovalBySigningKey find the first Merkle root that contains the user
	// with the given signing key being removed from the given team. If there are several such instances,
	// we will return just the last one. When anyRoleAllowed is false, the team removal is any drop in
	// permissions from Writer (or above) to Reader (or below).
	FindNextMerkleRootAfterTeamRemovalBySigningKey(context.Context, FindNextMerkleRootAfterTeamRemovalBySigningKeyArg) (NextMerkleRootRes, error)
	// ProfileTeamLoad loads a team and then throws it on the ground, for the purposes of profiling
	// the team load machinery.
	ProfileTeamLoad(context.Context, LoadTeamArg) (ProfileTeamLoadRes, error)
	// Gets a TeamID from a team name string. Returns an error if the
	// current user can't read the team.
	GetTeamID(context.Context, string) (TeamID, error)
	// Gets a TeamName from a team id string. Returns an error if the
	// current user can't read the team.
	GetTeamName(context.Context, TeamID) (TeamName, error)
	Ftl(context.Context, FastTeamLoadArg) (FastTeamLoadRes, error)
	GetTeamRoleMap(context.Context) (TeamRoleMapAndVersion, error)
	GetAnnotatedTeam(context.Context, TeamID) (AnnotatedTeam, error)
	GetAnnotatedTeamByName(context.Context, string) (AnnotatedTeam, error)
	LoadTeamTreeMembershipsAsync(context.Context, LoadTeamTreeMembershipsAsyncArg) (TeamTreeInitial, error)
	FindAssertionsInTeamNoResolve(context.Context, FindAssertionsInTeamNoResolveArg) ([]string, error)
}

type TeamsUiClient

type TeamsUiClient struct {
	Cli rpc.GenericClient
}

func (TeamsUiClient) ConfirmInviteLinkAccept

func (c TeamsUiClient) ConfirmInviteLinkAccept(ctx context.Context, __arg ConfirmInviteLinkAcceptArg) (res bool, err error)

func (TeamsUiClient) ConfirmRootTeamDelete

func (c TeamsUiClient) ConfirmRootTeamDelete(ctx context.Context, __arg ConfirmRootTeamDeleteArg) (res bool, err error)

func (TeamsUiClient) ConfirmSubteamDelete

func (c TeamsUiClient) ConfirmSubteamDelete(ctx context.Context, __arg ConfirmSubteamDeleteArg) (res bool, err error)

type TeamsUiInterface

type TeamsUiInterface interface {
	ConfirmRootTeamDelete(context.Context, ConfirmRootTeamDeleteArg) (bool, error)
	ConfirmSubteamDelete(context.Context, ConfirmSubteamDeleteArg) (bool, error)
	ConfirmInviteLinkAccept(context.Context, ConfirmInviteLinkAcceptArg) (bool, error)
}

type Test

type Test struct {
	Reply string `codec:"reply" json:"reply"`
}

Result from calling test(..).

func (Test) DeepCopy

func (o Test) DeepCopy() Test

type TestAirdropRegArg

type TestAirdropRegArg struct {
}

type TestArg

type TestArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
}

type TestCallbackArg

type TestCallbackArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
}

type TestClient

type TestClient struct {
	Cli rpc.GenericClient
}

func (TestClient) Echo

func (c TestClient) Echo(ctx context.Context, arg Generic) (res Generic, err error)

func (TestClient) Panic

func (c TestClient) Panic(ctx context.Context, message string) (err error)

For testing crashes.

func (TestClient) Test

func (c TestClient) Test(ctx context.Context, __arg TestArg) (res Test, err error)

Call test method. Will trigger the testCallback method, whose result will be set in the returned Test object, reply property.

func (TestClient) TestAirdropReg

func (c TestClient) TestAirdropReg(ctx context.Context) (err error)

For testing airdrop reg.

func (TestClient) TestCallback

func (c TestClient) TestCallback(ctx context.Context, __arg TestCallbackArg) (res string, err error)

This is a service callback triggered from test(..). The name param is what was passed into test.

type TestInterface

type TestInterface interface {
	// Call test method.
	// Will trigger the testCallback method, whose result will be set in the
	// returned Test object, reply property.
	Test(context.Context, TestArg) (Test, error)
	// This is a service callback triggered from test(..).
	// The name param is what was passed into test.
	TestCallback(context.Context, TestCallbackArg) (string, error)
	// For testing crashes.
	Panic(context.Context, string) error
	// For testing airdrop reg.
	TestAirdropReg(context.Context) error
	Echo(context.Context, Generic) (Generic, error)
}

type Text

type Text struct {
	Data   string `codec:"data" json:"data"`
	Markup bool   `codec:"markup" json:"markup"`
}

func (Text) DeepCopy

func (o Text) DeepCopy() Text

type Time

type Time int64

func TimeFromSeconds

func TimeFromSeconds(seconds int64) Time

func ToTime

func ToTime(t time.Time) Time

func ToTimePtr

func ToTimePtr(t *time.Time) *Time

func (Time) After

func (t Time) After(t2 Time) bool

func (Time) Before

func (t Time) Before(t2 Time) bool

func (Time) DeepCopy

func (o Time) DeepCopy() Time

func (Time) IsZero

func (t Time) IsZero() bool

func (Time) Time

func (t Time) Time() time.Time

func (Time) UnixSeconds

func (t Time) UnixSeconds() int64

type TimeTravelResetArg

type TimeTravelResetArg struct {
	SessionID int                 `codec:"sessionID" json:"sessionID"`
	Username  string              `codec:"username" json:"username"`
	Duration  gregor1.DurationSec `codec:"duration" json:"duration"`
}

type TlfClient

type TlfClient struct {
	Cli rpc.GenericClient
}

func (TlfClient) CompleteAndCanonicalizePrivateTlfName

func (c TlfClient) CompleteAndCanonicalizePrivateTlfName(ctx context.Context, query TLFQuery) (res CanonicalTLFNameAndIDWithBreaks, err error)

func (TlfClient) CryptKeys

func (c TlfClient) CryptKeys(ctx context.Context, query TLFQuery) (res GetTLFCryptKeysRes, err error)

CryptKeys returns TLF crypt keys from all generations.

func (TlfClient) PublicCanonicalTLFNameAndID

func (c TlfClient) PublicCanonicalTLFNameAndID(ctx context.Context, query TLFQuery) (res CanonicalTLFNameAndIDWithBreaks, err error)

* tlfCanonicalID returns the canonical name and TLFID for tlfName. * TLFID should not be cached or stored persistently.

type TlfInterface

type TlfInterface interface {
	// CryptKeys returns TLF crypt keys from all generations.
	CryptKeys(context.Context, TLFQuery) (GetTLFCryptKeysRes, error)
	// * tlfCanonicalID returns the canonical name and TLFID for tlfName.
	// * TLFID should not be cached or stored persistently.
	PublicCanonicalTLFNameAndID(context.Context, TLFQuery) (CanonicalTLFNameAndIDWithBreaks, error)
	CompleteAndCanonicalizePrivateTlfName(context.Context, TLFQuery) (CanonicalTLFNameAndIDWithBreaks, error)
}

type TlfKeysClient

type TlfKeysClient struct {
	Cli rpc.GenericClient
}

func (TlfKeysClient) GetPublicCanonicalTLFNameAndID

func (c TlfKeysClient) GetPublicCanonicalTLFNameAndID(ctx context.Context, query TLFQuery) (res CanonicalTLFNameAndIDWithBreaks, err error)

getPublicCanonicalTLFNameAndID return the canonical name and TLFID for tlfName. TLF ID should not be cached or stored persistently.

func (TlfKeysClient) GetTLFCryptKeys

func (c TlfKeysClient) GetTLFCryptKeys(ctx context.Context, query TLFQuery) (res GetTLFCryptKeysRes, err error)

getTLFCryptKeys returns TLF crypt keys from all generations and the TLF ID. TLF ID should not be cached or stored persistently.

type TlfKeysInterface

type TlfKeysInterface interface {
	// getTLFCryptKeys returns TLF crypt keys from all generations and the TLF ID.
	// TLF ID should not be cached or stored persistently.
	GetTLFCryptKeys(context.Context, TLFQuery) (GetTLFCryptKeysRes, error)
	// getPublicCanonicalTLFNameAndID return the canonical name and TLFID for tlfName.
	// TLF ID should not be cached or stored persistently.
	GetPublicCanonicalTLFNameAndID(context.Context, TLFQuery) (CanonicalTLFNameAndIDWithBreaks, error)
}

type ToStatusAble

type ToStatusAble interface {
	ToStatus() Status
}

ToStatusAble is something that can be coerced into a status. Some error types in your application might want this.

type ToggleRuntimeStatsArg

type ToggleRuntimeStatsArg struct {
}

type TraceArg

type TraceArg struct {
	SessionID            int         `codec:"sessionID" json:"sessionID"`
	TraceFile            string      `codec:"traceFile" json:"traceFile"`
	TraceDurationSeconds DurationSec `codec:"traceDurationSeconds" json:"traceDurationSeconds"`
}

type TrackArg

type TrackArg struct {
	SessionID        int          `codec:"sessionID" json:"sessionID"`
	UserAssertion    string       `codec:"userAssertion" json:"userAssertion"`
	Options          TrackOptions `codec:"options" json:"options"`
	ForceRemoteCheck bool         `codec:"forceRemoteCheck" json:"forceRemoteCheck"`
}

type TrackClient

type TrackClient struct {
	Cli rpc.GenericClient
}

func (TrackClient) CheckTracking

func (c TrackClient) CheckTracking(ctx context.Context, sessionID int) (err error)

func (TrackClient) DismissWithToken

func (c TrackClient) DismissWithToken(ctx context.Context, __arg DismissWithTokenArg) (err error)

Called by the UI when the user decides *not* to track, to e.g. dismiss gregor items.

func (TrackClient) FakeTrackingChanged

func (c TrackClient) FakeTrackingChanged(ctx context.Context, __arg FakeTrackingChangedArg) (err error)

func (TrackClient) Track

func (c TrackClient) Track(ctx context.Context, __arg TrackArg) (res ConfirmResult, err error)

This will perform identify and track. If forceRemoteCheck is true, we force all remote proofs to be checked (otherwise a cache is used).

func (TrackClient) TrackWithToken

func (c TrackClient) TrackWithToken(ctx context.Context, __arg TrackWithTokenArg) (err error)

Track with token returned from identify.

func (TrackClient) Untrack

func (c TrackClient) Untrack(ctx context.Context, __arg UntrackArg) (err error)

type TrackDiff

type TrackDiff struct {
	Type          TrackDiffType `codec:"type" json:"type"`
	DisplayMarkup string        `codec:"displayMarkup" json:"displayMarkup"`
}

func (TrackDiff) DeepCopy

func (o TrackDiff) DeepCopy() TrackDiff

type TrackDiffType

type TrackDiffType int
const (
	TrackDiffType_NONE               TrackDiffType = 0
	TrackDiffType_ERROR              TrackDiffType = 1
	TrackDiffType_CLASH              TrackDiffType = 2
	TrackDiffType_REVOKED            TrackDiffType = 3
	TrackDiffType_UPGRADED           TrackDiffType = 4
	TrackDiffType_NEW                TrackDiffType = 5
	TrackDiffType_REMOTE_FAIL        TrackDiffType = 6
	TrackDiffType_REMOTE_WORKING     TrackDiffType = 7
	TrackDiffType_REMOTE_CHANGED     TrackDiffType = 8
	TrackDiffType_NEW_ELDEST         TrackDiffType = 9
	TrackDiffType_NONE_VIA_TEMPORARY TrackDiffType = 10
)

func (TrackDiffType) DeepCopy

func (o TrackDiffType) DeepCopy() TrackDiffType

func (TrackDiffType) String

func (e TrackDiffType) String() string

type TrackInterface

type TrackInterface interface {
	// This will perform identify and track.
	// If forceRemoteCheck is true, we force all remote proofs to be checked
	// (otherwise a cache is used).
	Track(context.Context, TrackArg) (ConfirmResult, error)
	// Track with token returned from identify.
	TrackWithToken(context.Context, TrackWithTokenArg) error
	// Called by the UI when the user decides *not* to track, to e.g. dismiss gregor items.
	DismissWithToken(context.Context, DismissWithTokenArg) error
	Untrack(context.Context, UntrackArg) error
	CheckTracking(context.Context, int) error
	FakeTrackingChanged(context.Context, FakeTrackingChangedArg) error
}

type TrackOptions

type TrackOptions struct {
	LocalOnly     bool        `codec:"localOnly" json:"localOnly"`
	BypassConfirm bool        `codec:"bypassConfirm" json:"bypassConfirm"`
	ForceRetrack  bool        `codec:"forceRetrack" json:"forceRetrack"`
	ExpiringLocal bool        `codec:"expiringLocal" json:"expiringLocal"`
	ForPGPPull    bool        `codec:"forPGPPull" json:"forPGPPull"`
	SigVersion    *SigVersion `codec:"sigVersion,omitempty" json:"sigVersion,omitempty"`
}

func (TrackOptions) DeepCopy

func (o TrackOptions) DeepCopy() TrackOptions

type TrackProof

type TrackProof struct {
	ProofType string `codec:"proofType" json:"proofType"`
	ProofName string `codec:"proofName" json:"proofName"`
	IdString  string `codec:"idString" json:"idString"`
}

func (TrackProof) DeepCopy

func (o TrackProof) DeepCopy() TrackProof

type TrackStatus

type TrackStatus int

TrackStatus is a summary of this track before the track is approved by the user. NEW_*: New tracks UPDATE_*: Update to an existing track NEW_OK: Everything ok NEW_ZERO_PROOFS: User being tracked has no proofs NEW_FAIL_PROOFS: User being tracked has some failed proofs UPDATE_BROKEN: Previous tracking statement broken, this one will fix it. UPDATE_NEW_PROOFS: Previous tracking statement ok, but there are new proofs since previous tracking statement generated UPDATE_OK: No changes to previous tracking statement

const (
	TrackStatus_NEW_OK                      TrackStatus = 1
	TrackStatus_NEW_ZERO_PROOFS             TrackStatus = 2
	TrackStatus_NEW_FAIL_PROOFS             TrackStatus = 3
	TrackStatus_UPDATE_BROKEN_FAILED_PROOFS TrackStatus = 4
	TrackStatus_UPDATE_NEW_PROOFS           TrackStatus = 5
	TrackStatus_UPDATE_OK                   TrackStatus = 6
	TrackStatus_UPDATE_BROKEN_REVOKED       TrackStatus = 7
)

func (TrackStatus) DeepCopy

func (o TrackStatus) DeepCopy() TrackStatus

func (TrackStatus) String

func (e TrackStatus) String() string

type TrackSummary

type TrackSummary struct {
	Username string `codec:"username" json:"username"`
	Time     Time   `codec:"time" json:"time"`
	IsRemote bool   `codec:"isRemote" json:"isRemote"`
}

func (TrackSummary) DeepCopy

func (o TrackSummary) DeepCopy() TrackSummary

type TrackToken

type TrackToken string

func (TrackToken) DeepCopy

func (o TrackToken) DeepCopy() TrackToken

func (TrackToken) String

func (t TrackToken) String() string

type TrackWithTokenArg

type TrackWithTokenArg struct {
	SessionID  int          `codec:"sessionID" json:"sessionID"`
	TrackToken TrackToken   `codec:"trackToken" json:"trackToken"`
	Options    TrackOptions `codec:"options" json:"options"`
}

type TrackingChangedArg

type TrackingChangedArg struct {
	Uid        UID    `codec:"uid" json:"uid"`
	Username   string `codec:"username" json:"username"`
	IsTracking bool   `codec:"isTracking" json:"isTracking"`
}

type TrackingInfoArg

type TrackingInfoArg struct {
	Uid       UID      `codec:"uid" json:"uid"`
	Followers []string `codec:"followers" json:"followers"`
	Followees []string `codec:"followees" json:"followees"`
}

type TruncateLockArg

type TruncateLockArg struct {
	FolderID string `codec:"folderID" json:"folderID"`
}

type TruncateUnlockArg

type TruncateUnlockArg struct {
	FolderID string `codec:"folderID" json:"folderID"`
}

type TryDecryptWithTeamKeyArg

type TryDecryptWithTeamKeyArg struct {
	TeamID         TeamID               `codec:"teamID" json:"teamID"`
	EncryptedData  []byte               `codec:"encryptedData" json:"encryptedData"`
	Nonce          BoxNonce             `codec:"nonce" json:"nonce"`
	PeersPublicKey BoxPublicKey         `codec:"peersPublicKey" json:"peersPublicKey"`
	MinGeneration  PerTeamKeyGeneration `codec:"minGeneration" json:"minGeneration"`
}

type UID

type UID string

func MakeTestUID

func MakeTestUID(n uint32) UID

Used by unit tests.

func UIDFromSlice

func UIDFromSlice(b []byte) (UID, error)

func UIDFromString

func UIDFromString(s string) (UID, error)

func (UID) AsUserOrTeam

func (u UID) AsUserOrTeam() UserOrTeamID

func (UID) DeepCopy

func (o UID) DeepCopy() UID

func (UID) Equal

func (u UID) Equal(v UID) bool

func (UID) Exists

func (u UID) Exists() bool

func (UID) IsNil

func (u UID) IsNil() bool

func (UID) Less

func (u UID) Less(v UID) bool

func (*UID) MarshalJSON

func (u *UID) MarshalJSON() ([]byte, error)

func (UID) NotEqual

func (u UID) NotEqual(v UID) bool

func (UID) Size

func (u UID) Size() int

Size implements the cache.Measurable interface.

func (UID) String

func (u UID) String() string

func (UID) ToBytes

func (u UID) ToBytes() []byte

func (*UID) UnmarshalJSON

func (u *UID) UnmarshalJSON(b []byte) error

type UPAKVersion

type UPAKVersion int
const (
	UPAKVersion_V1 UPAKVersion = 1
	UPAKVersion_V2 UPAKVersion = 2
)

func (UPAKVersion) DeepCopy

func (o UPAKVersion) DeepCopy() UPAKVersion

func (UPAKVersion) String

func (e UPAKVersion) String() string

type UPAKVersioned

type UPAKVersioned struct {
	V__  UPAKVersion                    `codec:"v" json:"v"`
	V1__ *UserPlusAllKeys               `codec:"v1,omitempty" json:"v1,omitempty"`
	V2__ *UserPlusKeysV2AllIncarnations `codec:"v2,omitempty" json:"v2,omitempty"`
}

* What we're storing for each user. At first it was UPAKs, as defined * in common.avdl. But going forward, we're going to use UserPlusKeysV2AllIncarnations.

func NewUPAKVersionedWithV1

func NewUPAKVersionedWithV1(v UserPlusAllKeys) UPAKVersioned

func (UPAKVersioned) DeepCopy

func (o UPAKVersioned) DeepCopy() UPAKVersioned

func (*UPAKVersioned) V

func (o *UPAKVersioned) V() (ret UPAKVersion, err error)

func (UPAKVersioned) V1

func (o UPAKVersioned) V1() (res UserPlusAllKeys)

func (UPAKVersioned) V2

type UPK2MinorVersion

type UPK2MinorVersion int
const (
	UPK2MinorVersion_V0 UPK2MinorVersion = 0
	UPK2MinorVersion_V1 UPK2MinorVersion = 1
	UPK2MinorVersion_V2 UPK2MinorVersion = 2
	UPK2MinorVersion_V3 UPK2MinorVersion = 3
	UPK2MinorVersion_V4 UPK2MinorVersion = 4
	UPK2MinorVersion_V5 UPK2MinorVersion = 5
	UPK2MinorVersion_V6 UPK2MinorVersion = 6
)

func (UPK2MinorVersion) DeepCopy

func (o UPK2MinorVersion) DeepCopy() UPK2MinorVersion

func (UPK2MinorVersion) String

func (e UPK2MinorVersion) String() string

type UPKClient

type UPKClient struct {
	Cli rpc.GenericClient
}

type UPKInterface

type UPKInterface interface {
}

type UPKLiteMinorVersion

type UPKLiteMinorVersion int
const (
	UPKLiteMinorVersion_V0 UPKLiteMinorVersion = 0
)

func (UPKLiteMinorVersion) DeepCopy

func (UPKLiteMinorVersion) String

func (e UPKLiteMinorVersion) String() string

type UPKLiteV1

type UPKLiteV1 struct {
	Uid         UID                     `codec:"uid" json:"uid"`
	Username    string                  `codec:"username" json:"username"`
	EldestSeqno Seqno                   `codec:"eldestSeqno" json:"eldestSeqno"`
	Status      StatusCode              `codec:"status" json:"status"`
	DeviceKeys  map[KID]PublicKeyV2NaCl `codec:"deviceKeys" json:"deviceKeys"`
	Reset       *ResetSummary           `codec:"reset,omitempty" json:"reset,omitempty"`
}

func (UPKLiteV1) DeepCopy

func (o UPKLiteV1) DeepCopy() UPKLiteV1

type UPKLiteV1AllIncarnations

type UPKLiteV1AllIncarnations struct {
	Current          UPKLiteV1           `codec:"current" json:"current"`
	PastIncarnations []UPKLiteV1         `codec:"pastIncarnations" json:"pastIncarnations"`
	SeqnoLinkIDs     map[Seqno]LinkID    `codec:"seqnoLinkIDs" json:"seqnoLinkIDs"`
	MinorVersion     UPKLiteMinorVersion `codec:"minorVersion" json:"minorVersion"`
}

func (UPKLiteV1AllIncarnations) DeepCopy

type UiClient

type UiClient struct {
	Cli rpc.GenericClient
}

func (UiClient) PromptYesNo

func (c UiClient) PromptYesNo(ctx context.Context, __arg PromptYesNoArg) (res bool, err error)

type UiInterface

type UiInterface interface {
	PromptYesNo(context.Context, PromptYesNoArg) (bool, error)
}

type UnblockUserArg

type UnblockUserArg struct {
	Username string `codec:"username" json:"username"`
}

type UnboxAnyRes

type UnboxAnyRes struct {
	Kid       KID     `codec:"kid" json:"kid"`
	Plaintext Bytes32 `codec:"plaintext" json:"plaintext"`
	Index     int     `codec:"index" json:"index"`
}

func (UnboxAnyRes) DeepCopy

func (o UnboxAnyRes) DeepCopy() UnboxAnyRes

type UnboxBytes32AnyArg

type UnboxBytes32AnyArg struct {
	SessionID   int                `codec:"sessionID" json:"sessionID"`
	Bundles     []CiphertextBundle `codec:"bundles" json:"bundles"`
	Reason      string             `codec:"reason" json:"reason"`
	PromptPaper bool               `codec:"promptPaper" json:"promptPaper"`
}

type UnboxBytes32Arg

type UnboxBytes32Arg struct {
	SessionID        int              `codec:"sessionID" json:"sessionID"`
	EncryptedBytes32 EncryptedBytes32 `codec:"encryptedBytes32" json:"encryptedBytes32"`
	Nonce            BoxNonce         `codec:"nonce" json:"nonce"`
	PeersPublicKey   BoxPublicKey     `codec:"peersPublicKey" json:"peersPublicKey"`
	Reason           string           `codec:"reason" json:"reason"`
}

type UninstallKBFSArg

type UninstallKBFSArg struct {
}

type UninstallResult

type UninstallResult struct {
	ComponentResults []ComponentResult `codec:"componentResults" json:"componentResults"`
	Status           Status            `codec:"status" json:"status"`
}

func (UninstallResult) DeepCopy

func (o UninstallResult) DeepCopy() UninstallResult

type UnixTime

type UnixTime int64

func ToUnixTime

func ToUnixTime(t time.Time) UnixTime

func UnixTimeFromSeconds

func UnixTimeFromSeconds(seconds int64) UnixTime

func (UnixTime) After

func (u UnixTime) After(u2 UnixTime) bool

func (UnixTime) Before

func (u UnixTime) Before(u2 UnixTime) bool

func (UnixTime) DeepCopy

func (o UnixTime) DeepCopy() UnixTime

func (UnixTime) IsZero

func (u UnixTime) IsZero() bool

func (UnixTime) Time

func (u UnixTime) Time() time.Time

func (UnixTime) UnixSeconds

func (u UnixTime) UnixSeconds() int64

type UnlockArg

type UnlockArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type UnlockWithPassphraseArg

type UnlockWithPassphraseArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Passphrase string `codec:"passphrase" json:"passphrase"`
}

type UntrackArg

type UntrackArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Username  string `codec:"username" json:"username"`
}

type UntrustedTeamExistsArg

type UntrustedTeamExistsArg struct {
	TeamName TeamName `codec:"teamName" json:"teamName"`
}

type UntrustedTeamExistsResult

type UntrustedTeamExistsResult struct {
	Exists bool       `codec:"exists" json:"exists"`
	Status StatusCode `codec:"status" json:"status"`
}

func (UntrustedTeamExistsResult) DeepCopy

type UntrustedTeamInfo

type UntrustedTeamInfo struct {
	Name          TeamName         `codec:"name" json:"name"`
	InTeam        bool             `codec:"inTeam" json:"inTeam"`
	Open          bool             `codec:"open" json:"open"`
	Description   string           `codec:"description" json:"description"`
	PublicAdmins  []string         `codec:"publicAdmins" json:"publicAdmins"`
	NumMembers    int              `codec:"numMembers" json:"numMembers"`
	PublicMembers []TeamMemberRole `codec:"publicMembers" json:"publicMembers"`
}

func (UntrustedTeamInfo) DeepCopy

func (o UntrustedTeamInfo) DeepCopy() UntrustedTeamInfo

type UpPointer

type UpPointer struct {
	OurSeqno    Seqno  `codec:"ourSeqno" json:"ourSeqno"`
	ParentID    TeamID `codec:"parentID" json:"parentID"`
	ParentSeqno Seqno  `codec:"parentSeqno" json:"parentSeqno"`
	Deletion    bool   `codec:"deletion" json:"deletion"`
}

func (UpPointer) DeepCopy

func (o UpPointer) DeepCopy() UpPointer

type UpdateCategoryArg

type UpdateCategoryArg struct {
	Category string               `codec:"category" json:"category"`
	Body     string               `codec:"body" json:"body"`
	Dtime    gregor1.TimeOrOffset `codec:"dtime" json:"dtime"`
}

type UpdateDetails

type UpdateDetails struct {
	Message string `codec:"message" json:"message"`
}

func (UpdateDetails) DeepCopy

func (o UpdateDetails) DeepCopy() UpdateDetails

type UpdateInfo

type UpdateInfo struct {
	Status  UpdateInfoStatus `codec:"status" json:"status"`
	Message string           `codec:"message" json:"message"`
}

func (UpdateInfo) DeepCopy

func (o UpdateInfo) DeepCopy() UpdateInfo

type UpdateInfo2

type UpdateInfo2 struct {
	Status__    UpdateInfoStatus2 `codec:"status" json:"status"`
	Suggested__ *UpdateDetails    `codec:"suggested,omitempty" json:"suggested,omitempty"`
	Critical__  *UpdateDetails    `codec:"critical,omitempty" json:"critical,omitempty"`
}

func NewUpdateInfo2WithCritical

func NewUpdateInfo2WithCritical(v UpdateDetails) UpdateInfo2

func NewUpdateInfo2WithOk

func NewUpdateInfo2WithOk() UpdateInfo2

func NewUpdateInfo2WithSuggested

func NewUpdateInfo2WithSuggested(v UpdateDetails) UpdateInfo2

func (UpdateInfo2) Critical

func (o UpdateInfo2) Critical() (res UpdateDetails)

func (UpdateInfo2) DeepCopy

func (o UpdateInfo2) DeepCopy() UpdateInfo2

func (*UpdateInfo2) Status

func (o *UpdateInfo2) Status() (ret UpdateInfoStatus2, err error)

func (UpdateInfo2) Suggested

func (o UpdateInfo2) Suggested() (res UpdateDetails)

type UpdateInfoStatus

type UpdateInfoStatus int
const (
	UpdateInfoStatus_UP_TO_DATE             UpdateInfoStatus = 0
	UpdateInfoStatus_NEED_UPDATE            UpdateInfoStatus = 1
	UpdateInfoStatus_CRITICALLY_OUT_OF_DATE UpdateInfoStatus = 2
)

func (UpdateInfoStatus) DeepCopy

func (o UpdateInfoStatus) DeepCopy() UpdateInfoStatus

func (UpdateInfoStatus) String

func (e UpdateInfoStatus) String() string

type UpdateInfoStatus2

type UpdateInfoStatus2 int
const (
	UpdateInfoStatus2_OK        UpdateInfoStatus2 = 0
	UpdateInfoStatus2_SUGGESTED UpdateInfoStatus2 = 1
	UpdateInfoStatus2_CRITICAL  UpdateInfoStatus2 = 2
)

func (UpdateInfoStatus2) DeepCopy

func (o UpdateInfoStatus2) DeepCopy() UpdateInfoStatus2

func (UpdateInfoStatus2) String

func (e UpdateInfoStatus2) String() string

type UpdateInviteCountsArg

type UpdateInviteCountsArg struct {
	Counts InviteCounts `codec:"counts" json:"counts"`
}

type UpdateItemArg

type UpdateItemArg struct {
	MsgID gregor1.MsgID        `codec:"msgID" json:"msgID"`
	Cat   string               `codec:"cat" json:"cat"`
	Body  string               `codec:"body" json:"body"`
	Dtime gregor1.TimeOrOffset `codec:"dtime" json:"dtime"`
}

type UpdateLastLoggedInAndServerConfigArg

type UpdateLastLoggedInAndServerConfigArg struct {
	ServerConfigPath string `codec:"serverConfigPath" json:"serverConfigPath"`
}

type UpdateMobileNetStateArg

type UpdateMobileNetStateArg struct {
	State string `codec:"state" json:"state"`
}

type UpdaterStatus

type UpdaterStatus struct {
	Log string `codec:"log" json:"log"`
}

func (UpdaterStatus) DeepCopy

func (o UpdaterStatus) DeepCopy() UpdaterStatus

type UpgradeTLFArg

type UpgradeTLFArg struct {
	TlfName string `codec:"tlfName" json:"tlfName"`
	Public  bool   `codec:"public" json:"public"`
}

type UploadState

type UploadState struct {
	UploadID   string   `codec:"uploadID" json:"uploadID"`
	TargetPath KBFSPath `codec:"targetPath" json:"targetPath"`
	Error      *string  `codec:"error,omitempty" json:"error,omitempty"`
	Canceled   bool     `codec:"canceled" json:"canceled"`
}

func (UploadState) DeepCopy

func (o UploadState) DeepCopy() UploadState

type UploadTeamAvatarArg

type UploadTeamAvatarArg struct {
	Teamname             string         `codec:"teamname" json:"teamname"`
	Filename             string         `codec:"filename" json:"filename"`
	Crop                 *ImageCropRect `codec:"crop,omitempty" json:"crop,omitempty"`
	SendChatNotification bool           `codec:"sendChatNotification" json:"sendChatNotification"`
}

type UploadUserAvatarArg

type UploadUserAvatarArg struct {
	Filename string         `codec:"filename" json:"filename"`
	Crop     *ImageCropRect `codec:"crop,omitempty" json:"crop,omitempty"`
}

type UsageStat

type UsageStat struct {
	Bytes  UsageStatRecord `codec:"bytes" json:"bytes"`
	Blocks UsageStatRecord `codec:"blocks" json:"blocks"`
	Mtime  Time            `codec:"mtime" json:"mtime"`
}

func (UsageStat) DeepCopy

func (o UsageStat) DeepCopy() UsageStat

type UsageStatRecord

type UsageStatRecord struct {
	Write      int64 `codec:"write" json:"write"`
	Archive    int64 `codec:"archive" json:"archive"`
	Read       int64 `codec:"read" json:"read"`
	MdWrite    int64 `codec:"mdWrite" json:"mdWrite"`
	GitWrite   int64 `codec:"gitWrite" json:"gitWrite"`
	GitArchive int64 `codec:"gitArchive" json:"gitArchive"`
}

func (UsageStatRecord) DeepCopy

func (o UsageStatRecord) DeepCopy() UsageStatRecord

type User

type User struct {
	Uid      UID    `codec:"uid" json:"uid"`
	Username string `codec:"username" json:"username"`
}

func (User) DeepCopy

func (o User) DeepCopy() User

type UserBlock

type UserBlock struct {
	Username      string `codec:"username" json:"username"`
	ChatBlocked   bool   `codec:"chatBlocked" json:"chatBlocked"`
	FollowBlocked bool   `codec:"followBlocked" json:"followBlocked"`
	CreateTime    *Time  `codec:"createTime,omitempty" json:"createTime,omitempty"`
	ModifyTime    *Time  `codec:"modifyTime,omitempty" json:"modifyTime,omitempty"`
}

func (UserBlock) DeepCopy

func (o UserBlock) DeepCopy() UserBlock

type UserBlockArg

type UserBlockArg struct {
	Username       string `codec:"username" json:"username"`
	SetChatBlock   *bool  `codec:"setChatBlock,omitempty" json:"setChatBlock,omitempty"`
	SetFollowBlock *bool  `codec:"setFollowBlock,omitempty" json:"setFollowBlock,omitempty"`
}

func (UserBlockArg) DeepCopy

func (o UserBlockArg) DeepCopy() UserBlockArg

type UserBlockState

type UserBlockState struct {
	BlockType UserBlockType `codec:"blockType" json:"blockType"`
	Blocked   bool          `codec:"blocked" json:"blocked"`
}

func (UserBlockState) DeepCopy

func (o UserBlockState) DeepCopy() UserBlockState

type UserBlockType

type UserBlockType int
const (
	UserBlockType_CHAT   UserBlockType = 0
	UserBlockType_FOLLOW UserBlockType = 1
)

func (UserBlockType) DeepCopy

func (o UserBlockType) DeepCopy() UserBlockType

func (UserBlockType) String

func (e UserBlockType) String() string

type UserBlockedBody

type UserBlockedBody struct {
	Blocks   []UserBlockedRow `codec:"blocks" json:"blocks"`
	Uid      UID              `codec:"uid" json:"blocker_uid"`
	Username string           `codec:"username" json:"blocker_username"`
}

func (UserBlockedBody) DeepCopy

func (o UserBlockedBody) DeepCopy() UserBlockedBody

func (UserBlockedBody) Summarize

func (b UserBlockedBody) Summarize() UserBlockedSummary

type UserBlockedRow

type UserBlockedRow struct {
	Uid      UID    `codec:"uid" json:"block_uid"`
	Username string `codec:"username" json:"block_username"`
	Chat     *bool  `codec:"chat,omitempty" json:"chat,omitempty"`
	Follow   *bool  `codec:"follow,omitempty" json:"follow,omitempty"`
}

func (UserBlockedRow) DeepCopy

func (o UserBlockedRow) DeepCopy() UserBlockedRow

type UserBlockedSummary

type UserBlockedSummary struct {
	Blocker string                      `codec:"blocker" json:"blocker"`
	Blocks  map[string][]UserBlockState `codec:"blocks" json:"blocks"`
}

func (UserBlockedSummary) DeepCopy

type UserCard

type UserCard struct {
	UnverifiedNumFollowing int                `codec:"unverifiedNumFollowing" json:"unverifiedNumFollowing"`
	UnverifiedNumFollowers int                `codec:"unverifiedNumFollowers" json:"unverifiedNumFollowers"`
	Uid                    UID                `codec:"uid" json:"uid"`
	FullName               string             `codec:"fullName" json:"fullName"`
	Location               string             `codec:"location" json:"location"`
	Bio                    string             `codec:"bio" json:"bio"`
	BioDecorated           string             `codec:"bioDecorated" json:"bioDecorated"`
	Website                string             `codec:"website" json:"website"`
	Twitter                string             `codec:"twitter" json:"twitter"`
	TeamShowcase           []UserTeamShowcase `codec:"teamShowcase" json:"teamShowcase"`
	RegisteredForAirdrop   bool               `codec:"registeredForAirdrop" json:"registeredForAirdrop"`
	StellarHidden          bool               `codec:"stellarHidden" json:"stellarHidden"`
	Blocked                bool               `codec:"blocked" json:"blocked"`
	HidFromFollowers       bool               `codec:"hidFromFollowers" json:"hidFromFollowers"`
}

func (UserCard) DeepCopy

func (o UserCard) DeepCopy() UserCard

type UserCardArg

type UserCardArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Username   string `codec:"username" json:"username"`
	UseSession bool   `codec:"useSession" json:"useSession"`
}

type UserChangedArg

type UserChangedArg struct {
	Uid UID `codec:"uid" json:"uid"`
}

type UserClient

type UserClient struct {
	Cli rpc.GenericClient
}

func (UserClient) BlockUser

func (c UserClient) BlockUser(ctx context.Context, username string) (err error)

func (UserClient) CanLogout

func (c UserClient) CanLogout(ctx context.Context, sessionID int) (res CanLogoutRes, err error)

func (UserClient) DismissBlockButtons

func (c UserClient) DismissBlockButtons(ctx context.Context, tlfID TLFID) (err error)

func (UserClient) FindNextMerkleRootAfterReset

func (c UserClient) FindNextMerkleRootAfterReset(ctx context.Context, __arg FindNextMerkleRootAfterResetArg) (res NextMerkleRootRes, err error)

FindNextMerkleRootAfterReset finds the first Merkle root that contains the UID reset at resetSeqno. You should pass it prev, which was the last known Merkle root at the time of the reset. Usually, we'll just turn up the next Merkle root, but not always.

func (UserClient) FindNextMerkleRootAfterRevoke

func (c UserClient) FindNextMerkleRootAfterRevoke(ctx context.Context, __arg FindNextMerkleRootAfterRevokeArg) (res NextMerkleRootRes, err error)

FindNextMerkleRootAfterRevoke finds the first Merkle Root that contains the UID/KID revocation at the given SigChainLocataion. The MerkleRootV2 prev is a hint as to where we'll start our search. Usually it's the next one, but not always

func (UserClient) GetTeamBlocks

func (c UserClient) GetTeamBlocks(ctx context.Context, sessionID int) (res []TeamBlock, err error)

func (UserClient) GetUPAK

func (c UserClient) GetUPAK(ctx context.Context, __arg GetUPAKArg) (res UPAKVersioned, err error)

getUPAK returns a UPAK. Used mainly for debugging.

func (UserClient) GetUPAKLite

func (c UserClient) GetUPAKLite(ctx context.Context, uid UID) (res UPKLiteV1AllIncarnations, err error)

getUPAKLite returns a UPKLiteV1AllIncarnations. Used mainly for debugging.

func (UserClient) GetUserBlocks

func (c UserClient) GetUserBlocks(ctx context.Context, __arg GetUserBlocksArg) (res []UserBlock, err error)

func (UserClient) InterestingPeople

func (c UserClient) InterestingPeople(ctx context.Context, __arg InterestingPeopleArg) (res []InterestingPerson, err error)

func (UserClient) ListTrackersUnverified

func (c UserClient) ListTrackersUnverified(ctx context.Context, __arg ListTrackersUnverifiedArg) (res UserSummarySet, err error)

listTrackersUnverified returns the users following the given user, and is unverified and server-trust.

func (UserClient) ListTracking

func (c UserClient) ListTracking(ctx context.Context, __arg ListTrackingArg) (res UserSummarySet, err error)

listTracking gets verified data from the tracking statements in the user's sigchain. However, it does not check to make sure the tracked users have not reset since the track statement.

If assertion is empty, it will use the current logged in user.

func (UserClient) ListTrackingJSON

func (c UserClient) ListTrackingJSON(ctx context.Context, __arg ListTrackingJSONArg) (res string, err error)

func (UserClient) LoadAllPublicKeysUnverified

func (c UserClient) LoadAllPublicKeysUnverified(ctx context.Context, __arg LoadAllPublicKeysUnverifiedArg) (res []PublicKey, err error)

Load all the user's public keys (even those in reset key families) from the server with no verification

func (UserClient) LoadMyPublicKeys

func (c UserClient) LoadMyPublicKeys(ctx context.Context, sessionID int) (res []PublicKey, err error)

Load my public keys (for logged in user).

func (UserClient) LoadMySettings

func (c UserClient) LoadMySettings(ctx context.Context, sessionID int) (res UserSettings, err error)

Load user settings (for logged in user).

func (UserClient) LoadPassphraseState

func (c UserClient) LoadPassphraseState(ctx context.Context, sessionID int) (res PassphraseState, err error)

func (UserClient) LoadPublicKeys

func (c UserClient) LoadPublicKeys(ctx context.Context, __arg LoadPublicKeysArg) (res []PublicKey, err error)

Load public keys for a user.

func (UserClient) LoadUser

func (c UserClient) LoadUser(ctx context.Context, __arg LoadUserArg) (res User, err error)

Load a user from the server.

func (UserClient) LoadUserByName

func (c UserClient) LoadUserByName(ctx context.Context, __arg LoadUserByNameArg) (res User, err error)

func (UserClient) LoadUserPlusKeys

func (c UserClient) LoadUserPlusKeys(ctx context.Context, __arg LoadUserPlusKeysArg) (res UserPlusKeys, err error)

Load a user + device keys from the server.

func (UserClient) LoadUserPlusKeysV2

func (c UserClient) LoadUserPlusKeysV2(ctx context.Context, __arg LoadUserPlusKeysV2Arg) (res UserPlusKeysV2AllIncarnations, err error)

func (UserClient) MeUserVersion

func (c UserClient) MeUserVersion(ctx context.Context, __arg MeUserVersionArg) (res UserVersion, err error)

func (UserClient) ProfileEdit

func (c UserClient) ProfileEdit(ctx context.Context, __arg ProfileEditArg) (err error)

func (UserClient) ProofSuggestions

func (c UserClient) ProofSuggestions(ctx context.Context, sessionID int) (res ProofSuggestionsRes, err error)

func (UserClient) ReportUser

func (c UserClient) ReportUser(ctx context.Context, __arg ReportUserArg) (err error)

func (UserClient) SetUserBlocks

func (c UserClient) SetUserBlocks(ctx context.Context, __arg SetUserBlocksArg) (err error)

func (UserClient) UnblockUser

func (c UserClient) UnblockUser(ctx context.Context, username string) (err error)

func (UserClient) UploadUserAvatar

func (c UserClient) UploadUserAvatar(ctx context.Context, __arg UploadUserAvatarArg) (err error)

func (UserClient) UserCard

func (c UserClient) UserCard(ctx context.Context, __arg UserCardArg) (res *UserCard, err error)

type UserEk

type UserEk struct {
	Seed     Bytes32        `codec:"seed" json:"seed"`
	Metadata UserEkMetadata `codec:"metadata" json:"metadata"`
}

func (UserEk) DeepCopy

func (o UserEk) DeepCopy() UserEk

type UserEkBoxMetadata

type UserEkBoxMetadata struct {
	Box                 string       `codec:"box" json:"box"`
	RecipientGeneration EkGeneration `codec:"recipientGeneration" json:"recipient_generation"`
	RecipientDeviceID   DeviceID     `codec:"recipientDeviceID" json:"recipient_device_id"`
}

func (UserEkBoxMetadata) DeepCopy

func (o UserEkBoxMetadata) DeepCopy() UserEkBoxMetadata

type UserEkBoxed

type UserEkBoxed struct {
	Box                string         `codec:"box" json:"box"`
	DeviceEkGeneration EkGeneration   `codec:"deviceEkGeneration" json:"device_ek_generation"`
	Metadata           UserEkMetadata `codec:"metadata" json:"metadata"`
}

func (UserEkBoxed) DeepCopy

func (o UserEkBoxed) DeepCopy() UserEkBoxed

type UserEkMetadata

type UserEkMetadata struct {
	Kid        KID          `codec:"kid" json:"user_ephemeral_dh_public"`
	HashMeta   HashMeta     `codec:"hashMeta" json:"hash_meta"`
	Generation EkGeneration `codec:"generation" json:"generation"`
	Ctime      Time         `codec:"ctime" json:"ctime"`
}

func (UserEkMetadata) DeepCopy

func (o UserEkMetadata) DeepCopy() UserEkMetadata

type UserEkReboxArg

type UserEkReboxArg struct {
	UserEkBoxMetadata    UserEkBoxMetadata `codec:"userEkBoxMetadata" json:"userEkBoxMetadata"`
	DeviceID             DeviceID          `codec:"deviceID" json:"deviceID"`
	DeviceEkStatementSig string            `codec:"deviceEkStatementSig" json:"deviceEkStatementSig"`
}

func (UserEkReboxArg) DeepCopy

func (o UserEkReboxArg) DeepCopy() UserEkReboxArg

type UserEkStatement

type UserEkStatement struct {
	CurrentUserEkMetadata UserEkMetadata `codec:"currentUserEkMetadata" json:"current_user_ek_metadata"`
}

func (UserEkStatement) DeepCopy

func (o UserEkStatement) DeepCopy() UserEkStatement

type UserGetContactSettingsArg

type UserGetContactSettingsArg struct {
}

type UserInterface

type UserInterface interface {
	// listTracking gets verified data from the tracking statements in the user's
	// sigchain. However, it does not check to make sure the tracked users have
	// not reset since the track statement.
	//
	// If assertion is empty, it will use the current logged in user.
	ListTracking(context.Context, ListTrackingArg) (UserSummarySet, error)
	ListTrackingJSON(context.Context, ListTrackingJSONArg) (string, error)
	// listTrackersUnverified returns the users following the given user, and is unverified
	// and server-trust.
	ListTrackersUnverified(context.Context, ListTrackersUnverifiedArg) (UserSummarySet, error)
	// Load a user from the server.
	LoadUser(context.Context, LoadUserArg) (User, error)
	LoadUserByName(context.Context, LoadUserByNameArg) (User, error)
	// Load a user + device keys from the server.
	LoadUserPlusKeys(context.Context, LoadUserPlusKeysArg) (UserPlusKeys, error)
	LoadUserPlusKeysV2(context.Context, LoadUserPlusKeysV2Arg) (UserPlusKeysV2AllIncarnations, error)
	// Load public keys for a user.
	LoadPublicKeys(context.Context, LoadPublicKeysArg) ([]PublicKey, error)
	// Load my public keys (for logged in user).
	LoadMyPublicKeys(context.Context, int) ([]PublicKey, error)
	// Load user settings (for logged in user).
	LoadMySettings(context.Context, int) (UserSettings, error)
	// Load all the user's public keys (even those in reset key families)
	// from the server with no verification
	LoadAllPublicKeysUnverified(context.Context, LoadAllPublicKeysUnverifiedArg) ([]PublicKey, error)
	ProfileEdit(context.Context, ProfileEditArg) error
	InterestingPeople(context.Context, InterestingPeopleArg) ([]InterestingPerson, error)
	MeUserVersion(context.Context, MeUserVersionArg) (UserVersion, error)
	// getUPAK returns a UPAK. Used mainly for debugging.
	GetUPAK(context.Context, GetUPAKArg) (UPAKVersioned, error)
	// getUPAKLite returns a UPKLiteV1AllIncarnations. Used mainly for debugging.
	GetUPAKLite(context.Context, UID) (UPKLiteV1AllIncarnations, error)
	UploadUserAvatar(context.Context, UploadUserAvatarArg) error
	ProofSuggestions(context.Context, int) (ProofSuggestionsRes, error)
	// FindNextMerkleRootAfterRevoke finds the first Merkle Root that contains the UID/KID
	// revocation at the given SigChainLocataion. The MerkleRootV2 prev is a hint as to where
	// we'll start our search. Usually it's the next one, but not always
	FindNextMerkleRootAfterRevoke(context.Context, FindNextMerkleRootAfterRevokeArg) (NextMerkleRootRes, error)
	// FindNextMerkleRootAfterReset finds the first Merkle root that contains the UID reset
	// at resetSeqno. You should pass it prev, which was the last known Merkle root at the time of
	// the reset. Usually, we'll just turn up the next Merkle root, but not always.
	FindNextMerkleRootAfterReset(context.Context, FindNextMerkleRootAfterResetArg) (NextMerkleRootRes, error)
	CanLogout(context.Context, int) (CanLogoutRes, error)
	LoadPassphraseState(context.Context, int) (PassphraseState, error)
	UserCard(context.Context, UserCardArg) (*UserCard, error)
	SetUserBlocks(context.Context, SetUserBlocksArg) error
	GetUserBlocks(context.Context, GetUserBlocksArg) ([]UserBlock, error)
	ReportUser(context.Context, ReportUserArg) error
	DismissBlockButtons(context.Context, TLFID) error
	BlockUser(context.Context, string) error
	UnblockUser(context.Context, string) error
	GetTeamBlocks(context.Context, int) ([]TeamBlock, error)
}

type UserLogPoint

type UserLogPoint struct {
	Role    TeamRole          `codec:"role" json:"role"`
	SigMeta SignatureMetadata `codec:"sigMeta" json:"sigMeta"`
}

func (UserLogPoint) DeepCopy

func (o UserLogPoint) DeepCopy() UserLogPoint

type UserOrTeamID

type UserOrTeamID string

func UserOrTeamIDFromString

func UserOrTeamIDFromString(s string) (UserOrTeamID, error)

func (UserOrTeamID) AsTeam

func (ut UserOrTeamID) AsTeam() (TeamID, error)

func (UserOrTeamID) AsTeamOrBust

func (ut UserOrTeamID) AsTeamOrBust() TeamID

func (UserOrTeamID) AsUser

func (ut UserOrTeamID) AsUser() (UID, error)

func (UserOrTeamID) AsUserOrBust

func (ut UserOrTeamID) AsUserOrBust() UID

func (UserOrTeamID) Compare

func (ut UserOrTeamID) Compare(ut2 UserOrTeamID) int

func (UserOrTeamID) DeepCopy

func (o UserOrTeamID) DeepCopy() UserOrTeamID

func (UserOrTeamID) Equal

func (ut UserOrTeamID) Equal(v UserOrTeamID) bool

func (UserOrTeamID) Exists

func (ut UserOrTeamID) Exists() bool

func (UserOrTeamID) GetShard

func (ut UserOrTeamID) GetShard(shardCount int) (int, error)

Preconditions:

	-first four bits (in Little Endian) of UserOrTeamID are
	 	independent and uniformly distributed
	-UserOrTeamID must have an even number of bits, or this will always
  	return 0

Returns a number in [0, shardCount) which can be treated as roughly uniformly distributed. Used for things that need to shard by user.

func (UserOrTeamID) IsNil

func (ut UserOrTeamID) IsNil() bool

func (UserOrTeamID) IsPublic

func (ut UserOrTeamID) IsPublic() bool

func (UserOrTeamID) IsSubteam

func (ut UserOrTeamID) IsSubteam() bool

func (UserOrTeamID) IsTeam

func (ut UserOrTeamID) IsTeam() bool

func (UserOrTeamID) IsTeamOrSubteam

func (ut UserOrTeamID) IsTeamOrSubteam() bool

func (UserOrTeamID) IsUser

func (ut UserOrTeamID) IsUser() bool

func (UserOrTeamID) IsValidID

func (ut UserOrTeamID) IsValidID() bool

func (UserOrTeamID) Less

func (ut UserOrTeamID) Less(v UserOrTeamID) bool

func (*UserOrTeamID) MarshalJSON

func (u *UserOrTeamID) MarshalJSON() ([]byte, error)

func (UserOrTeamID) NotEqual

func (ut UserOrTeamID) NotEqual(v UserOrTeamID) bool

func (UserOrTeamID) Size

func (ut UserOrTeamID) Size() int

Size implements the cache.Measurable interface.

func (UserOrTeamID) String

func (ut UserOrTeamID) String() string

func (UserOrTeamID) ToBytes

func (ut UserOrTeamID) ToBytes() []byte

func (*UserOrTeamID) UnmarshalJSON

func (u *UserOrTeamID) UnmarshalJSON(b []byte) error

type UserOrTeamLite

type UserOrTeamLite struct {
	Id   UserOrTeamID `codec:"id" json:"id"`
	Name string       `codec:"name" json:"name"`
}

func (UserOrTeamLite) DeepCopy

func (o UserOrTeamLite) DeepCopy() UserOrTeamLite

type UserOrTeamResult

type UserOrTeamResult int
const (
	UserOrTeamResult_USER UserOrTeamResult = 1
	UserOrTeamResult_TEAM UserOrTeamResult = 2
)

func (UserOrTeamResult) DeepCopy

func (o UserOrTeamResult) DeepCopy() UserOrTeamResult

func (UserOrTeamResult) String

func (e UserOrTeamResult) String() string

type UserPassphraseStateMsg

type UserPassphraseStateMsg struct {
	PassphraseState PassphraseState `codec:"passphraseState" json:"state"`
}

func (UserPassphraseStateMsg) DeepCopy

type UserPhoneNumber

type UserPhoneNumber struct {
	PhoneNumber PhoneNumber        `codec:"phoneNumber" json:"phone_number"`
	Verified    bool               `codec:"verified" json:"verified"`
	Superseded  bool               `codec:"superseded" json:"superseded"`
	Visibility  IdentityVisibility `codec:"visibility" json:"visibility"`
	Ctime       UnixTime           `codec:"ctime" json:"ctime"`
}

Phone number support for TOFU chats.

func (UserPhoneNumber) DeepCopy

func (o UserPhoneNumber) DeepCopy() UserPhoneNumber

type UserPlusAllKeys

type UserPlusAllKeys struct {
	Base         UserPlusKeys  `codec:"base" json:"base"`
	PGPKeys      []PublicKey   `codec:"pgpKeys" json:"pgpKeys"`
	RemoteTracks []RemoteTrack `codec:"remoteTracks" json:"remoteTracks"`
}

func UPAKFromUPKV2AI

UPKV2 should supersede UPAK eventually, but lots of older code requires UPAK. This is a simple converter function.

func (UserPlusAllKeys) DeepCopy

func (o UserPlusAllKeys) DeepCopy() UserPlusAllKeys

func (UserPlusAllKeys) Export

func (u UserPlusAllKeys) Export() *User

func (UserPlusAllKeys) FindDevice

func (u UserPlusAllKeys) FindDevice(d DeviceID) *PublicKey

func (UserPlusAllKeys) GetDeviceID

func (u UserPlusAllKeys) GetDeviceID(kid KID) (ret DeviceID, err error)

func (UserPlusAllKeys) GetName

func (u UserPlusAllKeys) GetName() string

func (UserPlusAllKeys) GetStatus

func (u UserPlusAllKeys) GetStatus() StatusCode

func (UserPlusAllKeys) GetUID

func (u UserPlusAllKeys) GetUID() UID

func (UserPlusAllKeys) IsOlderThan

func (u UserPlusAllKeys) IsOlderThan(v UserPlusAllKeys) bool

IsOlderThan returns true if any of the versions of u are older than v

type UserPlusKeys

type UserPlusKeys struct {
	Uid               UID               `codec:"uid" json:"uid"`
	Username          string            `codec:"username" json:"username"`
	EldestSeqno       Seqno             `codec:"eldestSeqno" json:"eldestSeqno"`
	Status            StatusCode        `codec:"status" json:"status"`
	DeviceKeys        []PublicKey       `codec:"deviceKeys" json:"deviceKeys"`
	RevokedDeviceKeys []RevokedKey      `codec:"revokedDeviceKeys" json:"revokedDeviceKeys"`
	PGPKeyCount       int               `codec:"pgpKeyCount" json:"pgpKeyCount"`
	Uvv               UserVersionVector `codec:"uvv" json:"uvv"`
	DeletedDeviceKeys []PublicKey       `codec:"deletedDeviceKeys" json:"deletedDeviceKeys"`
	PerUserKeys       []PerUserKey      `codec:"perUserKeys" json:"perUserKeys"`
	Resets            []ResetSummary    `codec:"resets" json:"resets"`
}

func (UserPlusKeys) DeepCopy

func (o UserPlusKeys) DeepCopy() UserPlusKeys

func (UserPlusKeys) FindKID

func (u UserPlusKeys) FindKID(needle KID) *PublicKey

func (UserPlusKeys) GetName

func (u UserPlusKeys) GetName() string

func (UserPlusKeys) GetStatus

func (u UserPlusKeys) GetStatus() StatusCode

func (UserPlusKeys) GetUID

func (u UserPlusKeys) GetUID() UID

func (UserPlusKeys) ToUserVersion

func (u UserPlusKeys) ToUserVersion() UserVersion

type UserPlusKeysV2

type UserPlusKeysV2 struct {
	Uid              UID                           `codec:"uid" json:"uid"`
	Username         string                        `codec:"username" json:"username"`
	EldestSeqno      Seqno                         `codec:"eldestSeqno" json:"eldestSeqno"`
	Status           StatusCode                    `codec:"status" json:"status"`
	PerUserKeys      []PerUserKey                  `codec:"perUserKeys" json:"perUserKeys"`
	DeviceKeys       map[KID]PublicKeyV2NaCl       `codec:"deviceKeys" json:"deviceKeys"`
	PGPKeys          map[KID]PublicKeyV2PGPSummary `codec:"pgpKeys" json:"pgpKeys"`
	StellarAccountID *string                       `codec:"stellarAccountID,omitempty" json:"stellarAccountID,omitempty"`
	RemoteTracks     map[UID]RemoteTrack           `codec:"remoteTracks" json:"remoteTracks"`
	Reset            *ResetSummary                 `codec:"reset,omitempty" json:"reset,omitempty"`
	Unstubbed        bool                          `codec:"unstubbed" json:"unstubbed"`
}

func (UserPlusKeysV2) DeepCopy

func (o UserPlusKeysV2) DeepCopy() UserPlusKeysV2

func (UserPlusKeysV2) FindDeviceKey

func (u UserPlusKeysV2) FindDeviceKey(needle KID) *PublicKeyV2NaCl

func (UserPlusKeysV2) FindEncryptionDeviceKeyFromSigningKID

func (u UserPlusKeysV2) FindEncryptionDeviceKeyFromSigningKID(parent KID) *PublicKeyV2NaCl

func (UserPlusKeysV2) FindEncryptionKIDFromDeviceID

func (u UserPlusKeysV2) FindEncryptionKIDFromDeviceID(deviceID DeviceID) KID

func (UserPlusKeysV2) FindEncryptionKIDFromSigningKID

func (u UserPlusKeysV2) FindEncryptionKIDFromSigningKID(parent KID) KID

func (UserPlusKeysV2) FindSigningDeviceKID

func (u UserPlusKeysV2) FindSigningDeviceKID(d DeviceID) (KID, string)

func (UserPlusKeysV2) FindSigningDeviceKey

func (u UserPlusKeysV2) FindSigningDeviceKey(d DeviceID) *PublicKeyV2NaCl

func (UserPlusKeysV2) GetLatestPerUserKey

func (u UserPlusKeysV2) GetLatestPerUserKey() *PerUserKey

Can return nil.

func (UserPlusKeysV2) GetName

func (u UserPlusKeysV2) GetName() string

func (UserPlusKeysV2) GetPerUserKeyByGen

func (u UserPlusKeysV2) GetPerUserKeyByGen(gen PerUserKeyGeneration) *PerUserKey

Can return nil.

func (UserPlusKeysV2) GetStatus

func (u UserPlusKeysV2) GetStatus() StatusCode

func (UserPlusKeysV2) GetUID

func (u UserPlusKeysV2) GetUID() UID

func (UserPlusKeysV2) ToUserVersion

func (u UserPlusKeysV2) ToUserVersion() UserVersion

type UserPlusKeysV2AllIncarnations

type UserPlusKeysV2AllIncarnations struct {
	Current          UserPlusKeysV2    `codec:"current" json:"current"`
	PastIncarnations []UserPlusKeysV2  `codec:"pastIncarnations" json:"pastIncarnations"`
	Uvv              UserVersionVector `codec:"uvv" json:"uvv"`
	SeqnoLinkIDs     map[Seqno]LinkID  `codec:"seqnoLinkIDs" json:"seqnoLinkIDs"`
	MinorVersion     UPK2MinorVersion  `codec:"minorVersion" json:"minorVersion"`
	Stale            bool              `codec:"stale" json:"stale"`
}

func (UserPlusKeysV2AllIncarnations) AllDeviceNames

func (u UserPlusKeysV2AllIncarnations) AllDeviceNames() []string

func (UserPlusKeysV2AllIncarnations) AllIncarnations

func (u UserPlusKeysV2AllIncarnations) AllIncarnations() (ret []UserPlusKeysV2)

func (UserPlusKeysV2AllIncarnations) DeepCopy

func (UserPlusKeysV2AllIncarnations) ExportToSimpleUser

func (u UserPlusKeysV2AllIncarnations) ExportToSimpleUser() User

func (UserPlusKeysV2AllIncarnations) FindDevice

func (UserPlusKeysV2AllIncarnations) FindKID

FindKID finds the Key and user incarnation that most recently used this KID. It is possible for users to use the same KID across incarnations (though definitely not condoned or encouraged). In that case, we'll give the most recent use.

func (UserPlusKeysV2AllIncarnations) GetName

func (UserPlusKeysV2AllIncarnations) GetPerUserKeyAtSeqno

func (u UserPlusKeysV2AllIncarnations) GetPerUserKeyAtSeqno(uv UserVersion, seqno Seqno, merkleSeqno Seqno) (*PerUserKey, error)

func (UserPlusKeysV2AllIncarnations) GetRemoteTrack

func (u UserPlusKeysV2AllIncarnations) GetRemoteTrack(uid UID) *RemoteTrack

func (UserPlusKeysV2AllIncarnations) GetStatus

func (UserPlusKeysV2AllIncarnations) GetUID

func (UserPlusKeysV2AllIncarnations) HasKID

func (u UserPlusKeysV2AllIncarnations) HasKID(kid KID) bool

HasKID returns true if u has the given KID in any of its incarnations. Useful for deciding if we should repoll a stale UPAK in the UPAK loader.

func (UserPlusKeysV2AllIncarnations) IsOlderThan

IsOlderThan returns true if any of the versions of u are older than v

func (UserPlusKeysV2AllIncarnations) ToUserVersion

func (u UserPlusKeysV2AllIncarnations) ToUserVersion() UserVersion

type UserReacji

type UserReacji struct {
	Name             string  `codec:"name" json:"name"`
	CustomAddr       *string `codec:"customAddr,omitempty" json:"customAddr,omitempty"`
	CustomAddrNoAnim *string `codec:"customAddrNoAnim,omitempty" json:"customAddrNoAnim,omitempty"`
}

func (UserReacji) DeepCopy

func (o UserReacji) DeepCopy() UserReacji

type UserReacjis

type UserReacjis struct {
	TopReacjis []UserReacji   `codec:"topReacjis" json:"topReacjis"`
	SkinTone   ReacjiSkinTone `codec:"skinTone" json:"skinTone"`
}

func (UserReacjis) DeepCopy

func (o UserReacjis) DeepCopy() UserReacjis

type UserRolePair

type UserRolePair struct {
	Assertion   string           `codec:"assertion" json:"assertion"`
	Role        TeamRole         `codec:"role" json:"role"`
	BotSettings *TeamBotSettings `codec:"botSettings,omitempty" json:"botSettings,omitempty"`
}

func (UserRolePair) DeepCopy

func (o UserRolePair) DeepCopy() UserRolePair

type UserSearchArg

type UserSearchArg struct {
	Query                  string `codec:"query" json:"query"`
	Service                string `codec:"service" json:"service"`
	MaxResults             int    `codec:"maxResults" json:"maxResults"`
	IncludeServicesSummary bool   `codec:"includeServicesSummary" json:"includeServicesSummary"`
	IncludeContacts        bool   `codec:"includeContacts" json:"includeContacts"`
}

type UserSearchClient

type UserSearchClient struct {
	Cli rpc.GenericClient
}

func (UserSearchClient) BulkEmailOrPhoneSearch

func (c UserSearchClient) BulkEmailOrPhoneSearch(ctx context.Context, __arg BulkEmailOrPhoneSearchArg) (res []EmailOrPhoneNumberSearchResult, err error)

func (UserSearchClient) GetNonUserDetails

func (c UserSearchClient) GetNonUserDetails(ctx context.Context, __arg GetNonUserDetailsArg) (res NonUserDetails, err error)

func (UserSearchClient) UserSearch

func (c UserSearchClient) UserSearch(ctx context.Context, __arg UserSearchArg) (res []APIUserSearchResult, err error)

type UserSearchInterface

type UserSearchInterface interface {
	GetNonUserDetails(context.Context, GetNonUserDetailsArg) (NonUserDetails, error)
	UserSearch(context.Context, UserSearchArg) ([]APIUserSearchResult, error)
	BulkEmailOrPhoneSearch(context.Context, BulkEmailOrPhoneSearchArg) ([]EmailOrPhoneNumberSearchResult, error)
}

type UserSetContactSettingsArg

type UserSetContactSettingsArg struct {
	Settings ContactSettings `codec:"settings" json:"settings"`
}

type UserSettings

type UserSettings struct {
	Emails       []Email           `codec:"emails" json:"emails"`
	PhoneNumbers []UserPhoneNumber `codec:"phoneNumbers" json:"phoneNumbers"`
}

func (UserSettings) DeepCopy

func (o UserSettings) DeepCopy() UserSettings

type UserSummary

type UserSummary struct {
	Uid      UID     `codec:"uid" json:"uid"`
	Username string  `codec:"username" json:"username"`
	FullName string  `codec:"fullName" json:"fullName"`
	LinkID   *LinkID `codec:"linkID,omitempty" json:"linkID,omitempty"`
}

func (UserSummary) DeepCopy

func (o UserSummary) DeepCopy() UserSummary

type UserSummarySet

type UserSummarySet struct {
	Users   []UserSummary `codec:"users" json:"users"`
	Time    Time          `codec:"time" json:"time"`
	Version int           `codec:"version" json:"version"`
}

func (UserSummarySet) DeepCopy

func (o UserSummarySet) DeepCopy() UserSummarySet

func (UserSummarySet) Usernames

func (s UserSummarySet) Usernames() (ret []string)

type UserTeamShowcase

type UserTeamShowcase struct {
	FqName          string   `codec:"fqName" json:"fq_name"`
	Open            bool     `codec:"open" json:"open"`
	TeamIsShowcased bool     `codec:"teamIsShowcased" json:"team_is_showcased"`
	Description     string   `codec:"description" json:"description"`
	Role            TeamRole `codec:"role" json:"role"`
	PublicAdmins    []string `codec:"publicAdmins" json:"public_admins"`
	NumMembers      int      `codec:"numMembers" json:"num_members"`
}

func (UserTeamShowcase) DeepCopy

func (o UserTeamShowcase) DeepCopy() UserTeamShowcase

type UserTeamVersion

type UserTeamVersion int

func (UserTeamVersion) DeepCopy

func (o UserTeamVersion) DeepCopy() UserTeamVersion

type UserTeamVersionUpdate

type UserTeamVersionUpdate struct {
	Version UserTeamVersion `codec:"version" json:"version"`
}

func (UserTeamVersionUpdate) DeepCopy

type UserVersion

type UserVersion struct {
	Uid         UID   `codec:"uid" json:"uid"`
	EldestSeqno Seqno `codec:"eldestSeqno" json:"eldestSeqno"`
}

func NewUserVersion

func NewUserVersion(uid UID, eldestSeqno Seqno) UserVersion

func ParseUserVersion

func ParseUserVersion(s UserVersionPercentForm) (res UserVersion, err error)

func (UserVersion) DeepCopy

func (o UserVersion) DeepCopy() UserVersion

func (UserVersion) Eq

func (u UserVersion) Eq(v UserVersion) bool

func (UserVersion) IsNil

func (u UserVersion) IsNil() bool

func (UserVersion) PercentForm

func (u UserVersion) PercentForm() UserVersionPercentForm

func (UserVersion) String

func (u UserVersion) String() string

func (UserVersion) TeamInviteName

func (u UserVersion) TeamInviteName() TeamInviteName

type UserVersionPercentForm

type UserVersionPercentForm string

func (UserVersionPercentForm) DeepCopy

func (UserVersionPercentForm) String

func (u UserVersionPercentForm) String() string

type UserVersionVector

type UserVersionVector struct {
	Id       int64 `codec:"id" json:"id"`
	SigHints int   `codec:"sigHints" json:"sigHints"`
	SigChain int64 `codec:"sigChain" json:"sigChain"`
	CachedAt Time  `codec:"cachedAt" json:"cachedAt"`
}

func (UserVersionVector) DeepCopy

func (o UserVersionVector) DeepCopy() UserVersionVector

func (UserVersionVector) Equal

type UsernameVerificationType

type UsernameVerificationType string

func (UsernameVerificationType) DeepCopy

type VID

type VID string

func (VID) DeepCopy

func (o VID) DeepCopy() VID

type ValidateUsernameArg

type ValidateUsernameArg struct {
	SessionID  int    `codec:"sessionID" json:"sessionID"`
	Service    string `codec:"service" json:"service"`
	Remotename string `codec:"remotename" json:"remotename"`
}

type VerifyAllEmailTodoExt

type VerifyAllEmailTodoExt struct {
	LastVerifyEmailDate UnixTime `codec:"lastVerifyEmailDate" json:"lastVerifyEmailDate"`
}

func (VerifyAllEmailTodoExt) DeepCopy

type VerifyMerkleRootAndKBFSArg

type VerifyMerkleRootAndKBFSArg struct {
	Root             MerkleRootV2 `codec:"root" json:"root"`
	ExpectedKBFSRoot KBFSRoot     `codec:"expectedKBFSRoot" json:"expectedKBFSRoot"`
}

type VerifyPhoneNumberArg

type VerifyPhoneNumberArg struct {
	SessionID   int         `codec:"sessionID" json:"sessionID"`
	PhoneNumber PhoneNumber `codec:"phoneNumber" json:"phoneNumber"`
	Code        string      `codec:"code" json:"code"`
}

type VerifySessionArg

type VerifySessionArg struct {
	Session string `codec:"session" json:"session"`
}

type VerifySessionRes

type VerifySessionRes struct {
	Uid       UID    `codec:"uid" json:"uid"`
	Sid       string `codec:"sid" json:"sid"`
	Generated int    `codec:"generated" json:"generated"`
	Lifetime  int    `codec:"lifetime" json:"lifetime"`
}

func (VerifySessionRes) DeepCopy

func (o VerifySessionRes) DeepCopy() VerifySessionRes

type WaitForClientArg

type WaitForClientArg struct {
	ClientType ClientType  `codec:"clientType" json:"clientType"`
	Timeout    DurationSec `codec:"timeout" json:"timeout"`
}

type WaitForMountsArg

type WaitForMountsArg struct {
}

type WalletAccountInfo

type WalletAccountInfo struct {
	AccountID string `codec:"accountID" json:"accountID"`
	NumUnread int    `codec:"numUnread" json:"numUnread"`
}

func (WalletAccountInfo) DeepCopy

func (o WalletAccountInfo) DeepCopy() WalletAccountInfo

type WantToAddGPGKeyArg

type WantToAddGPGKeyArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type WebOfTrustChangedArg

type WebOfTrustChangedArg struct {
	Username string `codec:"username" json:"username"`
}

type WebProof

type WebProof struct {
	Hostname  string   `codec:"hostname" json:"hostname"`
	Protocols []string `codec:"protocols" json:"protocols"`
}

func (WebProof) DeepCopy

func (o WebProof) DeepCopy() WebProof

type WotClient

type WotClient struct {
	Cli rpc.GenericClient
}

func (WotClient) DismissWotNotifications

func (c WotClient) DismissWotNotifications(ctx context.Context, __arg DismissWotNotificationsArg) (err error)

func (WotClient) WotFetchVouches

func (c WotClient) WotFetchVouches(ctx context.Context, __arg WotFetchVouchesArg) (res []WotVouch, err error)

func (WotClient) WotReact

func (c WotClient) WotReact(ctx context.Context, __arg WotReactArg) (err error)

func (WotClient) WotVouch

func (c WotClient) WotVouch(ctx context.Context, __arg WotVouchArg) (err error)

func (WotClient) WotVouchCLI

func (c WotClient) WotVouchCLI(ctx context.Context, __arg WotVouchCLIArg) (err error)

type WotFetchVouchesArg

type WotFetchVouchesArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Vouchee   string `codec:"vouchee" json:"vouchee"`
	Voucher   string `codec:"voucher" json:"voucher"`
}

type WotInterface

type WotInterface interface {
	WotVouch(context.Context, WotVouchArg) error
	WotVouchCLI(context.Context, WotVouchCLIArg) error
	WotReact(context.Context, WotReactArg) error
	DismissWotNotifications(context.Context, DismissWotNotificationsArg) error
	WotFetchVouches(context.Context, WotFetchVouchesArg) ([]WotVouch, error)
}

type WotProof

type WotProof struct {
	ProofType ProofType `codec:"proofType" json:"proof_type"`
	Name      string    `codec:"name" json:"name,omitempty"`
	Username  string    `codec:"username" json:"username,omitempty"`
	Protocol  string    `codec:"protocol" json:"protocol,omitempty"`
	Hostname  string    `codec:"hostname" json:"hostname,omitempty"`
	Domain    string    `codec:"domain" json:"domain,omitempty"`
}

func (WotProof) DeepCopy

func (o WotProof) DeepCopy() WotProof

type WotProofUI

type WotProofUI struct {
	Type             string       `codec:"type" json:"type"`
	Value            string       `codec:"value" json:"value"`
	SiteIcon         []SizedImage `codec:"siteIcon" json:"siteIcon"`
	SiteIconDarkmode []SizedImage `codec:"siteIconDarkmode" json:"siteIconDarkmode"`
}

func (WotProofUI) DeepCopy

func (o WotProofUI) DeepCopy() WotProofUI

type WotReactArg

type WotReactArg struct {
	SessionID       int             `codec:"sessionID" json:"sessionID"`
	Voucher         string          `codec:"voucher" json:"voucher"`
	SigID           SigID           `codec:"sigID" json:"sigID"`
	Reaction        WotReactionType `codec:"reaction" json:"reaction"`
	AllowEmptySigID bool            `codec:"allowEmptySigID" json:"allowEmptySigID"`
}

type WotReactionType

type WotReactionType int
const (
	WotReactionType_REJECT WotReactionType = 0
	WotReactionType_ACCEPT WotReactionType = 1
)

func (WotReactionType) DeepCopy

func (o WotReactionType) DeepCopy() WotReactionType

func (WotReactionType) String

func (e WotReactionType) String() string

type WotStatusType

type WotStatusType int
const (
	WotStatusType_NONE     WotStatusType = 0
	WotStatusType_PROPOSED WotStatusType = 1
	WotStatusType_ACCEPTED WotStatusType = 2
	WotStatusType_REJECTED WotStatusType = 3
	WotStatusType_REVOKED  WotStatusType = 4
)

func (WotStatusType) DeepCopy

func (o WotStatusType) DeepCopy() WotStatusType

func (WotStatusType) String

func (e WotStatusType) String() string

type WotUpdate

type WotUpdate struct {
	Voucher string        `codec:"voucher" json:"voucher"`
	Vouchee string        `codec:"vouchee" json:"vouchee"`
	Status  WotStatusType `codec:"status" json:"status"`
}

func (WotUpdate) DeepCopy

func (o WotUpdate) DeepCopy() WotUpdate

type WotVouch

type WotVouch struct {
	Status          WotStatusType `codec:"status" json:"status"`
	VouchProof      SigID         `codec:"vouchProof" json:"vouchProof"`
	Vouchee         UserVersion   `codec:"vouchee" json:"vouchee"`
	VoucheeUsername string        `codec:"voucheeUsername" json:"voucheeUsername"`
	Voucher         UserVersion   `codec:"voucher" json:"voucher"`
	VoucherUsername string        `codec:"voucherUsername" json:"voucherUsername"`
	VouchText       string        `codec:"vouchText" json:"vouchText"`
	VouchedAt       Time          `codec:"vouchedAt" json:"vouchedAt"`
	Confidence      Confidence    `codec:"confidence" json:"confidence"`
	Proofs          []WotProofUI  `codec:"proofs" json:"proofs"`
}

func (WotVouch) DeepCopy

func (o WotVouch) DeepCopy() WotVouch

type WotVouchArg

type WotVouchArg struct {
	SessionID  int            `codec:"sessionID" json:"sessionID"`
	Username   string         `codec:"username" json:"username"`
	GuiID      Identify3GUIID `codec:"guiID" json:"guiID"`
	VouchText  string         `codec:"vouchText" json:"vouchText"`
	Confidence Confidence     `codec:"confidence" json:"confidence"`
}

type WotVouchCLIArg

type WotVouchCLIArg struct {
	SessionID  int        `codec:"sessionID" json:"sessionID"`
	Assertion  string     `codec:"assertion" json:"assertion"`
	VouchText  string     `codec:"vouchText" json:"vouchText"`
	Confidence Confidence `codec:"confidence" json:"confidence"`
}

type WriteArg

type WriteArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	S         Stream `codec:"s" json:"s"`
	Buf       []byte `codec:"buf" json:"buf"`
}

type WriteArgs

type WriteArgs struct {
	OpID   OpID  `codec:"opID" json:"opID"`
	Path   Path  `codec:"path" json:"path"`
	Offset int64 `codec:"offset" json:"offset"`
}

func (WriteArgs) DeepCopy

func (o WriteArgs) DeepCopy() WriteArgs

Source Files

Jump to

Keyboard shortcuts

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