Documentation
¶
Index ¶
- type ChangeMasterPasswordCommand
- type DownloadObject
- type EnterpriseAllocateIdsCommand
- type EnterpriseAllocateIdsResponse
- type EnterpriseNode
- type EnterpriseNodeAddCommand
- type EnterpriseNodeDeleteCommand
- type EnterpriseNodeUpdateCommand
- type EnterpriseRole
- type EnterpriseRoleAddCommand
- type EnterpriseRoleDeleteCommand
- type EnterpriseRoleUpdateCommand
- type EnterpriseRoleUser
- type EnterpriseRoleUserAddCommand
- type EnterpriseRoleUserRemoveCommand
- type EnterpriseTeam
- type EnterpriseTeamAddCommand
- type EnterpriseTeamDeleteCommand
- type EnterpriseTeamUpdateCommand
- type EnterpriseTeamUser
- type EnterpriseTeamUserAddCommand
- type EnterpriseTeamUserRemoveCommand
- type EnterpriseTeamUserUpdateCommand
- type ExecuteCommand
- type ExecuteResponse
- type ManagedNode
- type ManagedNodePrivilege
- type ManagedNodePrivilegeAddCommand
- type ManagedNodePrivilegeRemoveCommand
- type PreDeleteCommand
- type PreDeleteObject
- type RecordAddCommand
- type RecordObject
- type RecordUpdateCommand
- type RecordUpdateResponse
- type RequestDownloadCommand
- type RequestDownloadResponse
- type RequestUploadCommand
- type RequestUploadResponse
- type RoleEnforcement
- type RoleEnforcementAddCommand
- type RoleEnforcementRemoveCommand
- type RoleEnforcementUpdateCommand
- type RoleManagedNodeAddCommand
- type RoleManagedNodeRemoveCommand
- type RoleManagedNodeUpdateCommand
- type RoleUserKey
- type ShareAccountCommand
- type StatusObject
- type TeamGetKeysCommand
- type TeamGetKeysResponse
- type TeamKeyResponse
- type UploadObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeMasterPasswordCommand ¶
type ChangeMasterPasswordCommand struct {
api.AuthorizedCommand
AuthVerifier string `json:"auth_verifier"`
EncryptionParams string `json:"encryption_params"`
}
func (*ChangeMasterPasswordCommand) CommandName ¶
func (c *ChangeMasterPasswordCommand) CommandName() string
type DownloadObject ¶
type DownloadObject struct {
Url string `json:"url"`
}
type EnterpriseAllocateIdsCommand ¶
type EnterpriseAllocateIdsCommand struct {
api.AuthorizedCommand
NumberRequested int `json:"number_requested"`
}
func (*EnterpriseAllocateIdsCommand) CommandName ¶
func (c *EnterpriseAllocateIdsCommand) CommandName() string
type EnterpriseAllocateIdsResponse ¶
type EnterpriseAllocateIdsResponse struct {
api.KeeperApiResponse
NumberAllocated int `json:"number_allocated"`
BaseId int64 `json:"base_id"`
}
type EnterpriseNode ¶
type EnterpriseNodeAddCommand ¶
type EnterpriseNodeAddCommand struct {
api.AuthorizedCommand
EnterpriseNode
}
func (*EnterpriseNodeAddCommand) CommandName ¶
func (c *EnterpriseNodeAddCommand) CommandName() string
type EnterpriseNodeDeleteCommand ¶
type EnterpriseNodeDeleteCommand struct {
api.AuthorizedCommand
NodeId int64 `json:"node_id"`
}
func (*EnterpriseNodeDeleteCommand) CommandName ¶
func (c *EnterpriseNodeDeleteCommand) CommandName() string
type EnterpriseNodeUpdateCommand ¶
type EnterpriseNodeUpdateCommand struct {
api.AuthorizedCommand
EnterpriseNode
}
func (*EnterpriseNodeUpdateCommand) CommandName ¶
func (c *EnterpriseNodeUpdateCommand) CommandName() string
type EnterpriseRole ¶
type EnterpriseRoleAddCommand ¶
type EnterpriseRoleAddCommand struct {
api.AuthorizedCommand
EnterpriseRole
}
func (*EnterpriseRoleAddCommand) CommandName ¶
func (c *EnterpriseRoleAddCommand) CommandName() string
type EnterpriseRoleDeleteCommand ¶
type EnterpriseRoleDeleteCommand struct {
api.AuthorizedCommand
RoleId int64 `json:"role_id"`
}
func (*EnterpriseRoleDeleteCommand) CommandName ¶
func (c *EnterpriseRoleDeleteCommand) CommandName() string
type EnterpriseRoleUpdateCommand ¶
type EnterpriseRoleUpdateCommand struct {
api.AuthorizedCommand
EnterpriseRole
}
func (*EnterpriseRoleUpdateCommand) CommandName ¶
func (c *EnterpriseRoleUpdateCommand) CommandName() string
type EnterpriseRoleUser ¶
type EnterpriseRoleUserAddCommand ¶
type EnterpriseRoleUserAddCommand struct {
api.AuthorizedCommand
EnterpriseRoleUser
TreeKey string `json:"tree_key"`
RoleAdminKey string `json:"role_admin_key"`
}
func (*EnterpriseRoleUserAddCommand) CommandName ¶
func (c *EnterpriseRoleUserAddCommand) CommandName() string
type EnterpriseRoleUserRemoveCommand ¶
type EnterpriseRoleUserRemoveCommand struct {
api.AuthorizedCommand
EnterpriseRoleUser
}
func (*EnterpriseRoleUserRemoveCommand) CommandName ¶
func (c *EnterpriseRoleUserRemoveCommand) CommandName() string
type EnterpriseTeam ¶
type EnterpriseTeamAddCommand ¶
type EnterpriseTeamAddCommand struct {
api.AuthorizedCommand
EnterpriseTeam
PublicKey string `json:"public_key"`
PrivateKey string `json:"private_key"`
TeamKey string `json:"team_key"`
ManageOnly bool `json:"manage_only"`
EncryptedTeamKey string `json:"encrypted_team_key"`
}
func (*EnterpriseTeamAddCommand) CommandName ¶
func (c *EnterpriseTeamAddCommand) CommandName() string
type EnterpriseTeamDeleteCommand ¶
type EnterpriseTeamDeleteCommand struct {
api.AuthorizedCommand
TeamUid string `json:"team_uid"`
}
func (*EnterpriseTeamDeleteCommand) CommandName ¶
func (c *EnterpriseTeamDeleteCommand) CommandName() string
type EnterpriseTeamUpdateCommand ¶
type EnterpriseTeamUpdateCommand struct {
api.AuthorizedCommand
EnterpriseTeam
}
func (*EnterpriseTeamUpdateCommand) CommandName ¶
func (c *EnterpriseTeamUpdateCommand) CommandName() string
type EnterpriseTeamUser ¶
type EnterpriseTeamUserAddCommand ¶
type EnterpriseTeamUserAddCommand struct {
api.AuthorizedCommand
EnterpriseTeamUser
TeamKey string `json:"team_key"`
UserType int32 `json:"user_type"`
}
func (*EnterpriseTeamUserAddCommand) CommandName ¶
func (c *EnterpriseTeamUserAddCommand) CommandName() string
type EnterpriseTeamUserRemoveCommand ¶
type EnterpriseTeamUserRemoveCommand struct {
api.AuthorizedCommand
EnterpriseTeamUser
}
func (*EnterpriseTeamUserRemoveCommand) CommandName ¶
func (c *EnterpriseTeamUserRemoveCommand) CommandName() string
type EnterpriseTeamUserUpdateCommand ¶
type EnterpriseTeamUserUpdateCommand struct {
api.AuthorizedCommand
EnterpriseTeamUser
UserType int32 `json:"user_type"`
}
func (*EnterpriseTeamUserUpdateCommand) CommandName ¶
func (c *EnterpriseTeamUserUpdateCommand) CommandName() string
type ExecuteCommand ¶
type ExecuteCommand struct {
api.AuthorizedCommand
Requests []api.IKeeperCommand `json:"requests"`
}
func (*ExecuteCommand) CommandName ¶
func (c *ExecuteCommand) CommandName() string
type ExecuteResponse ¶
type ExecuteResponse struct {
api.KeeperApiResponse
Responses []*api.KeeperApiResponse `json:"results"`
}
type ManagedNode ¶
type ManagedNodePrivilege ¶
type ManagedNodePrivilege struct {
ManagedNode
Privilege string `json:"privilege"`
}
type ManagedNodePrivilegeAddCommand ¶
type ManagedNodePrivilegeAddCommand struct {
api.AuthorizedCommand
ManagedNodePrivilege
RolePublicKey *string `json:"role_public_key,omitempty"`
RolePrivateKey *string `json:"role_private_key,omitempty"`
RoleKeyEncWithTreeKey *string `json:"role_key_enc_with_tree_key,omitempty"`
RoleKeys []*RoleUserKey `json:"role_keys,omitempty"`
}
func (*ManagedNodePrivilegeAddCommand) CommandName ¶
func (c *ManagedNodePrivilegeAddCommand) CommandName() string
type ManagedNodePrivilegeRemoveCommand ¶
type ManagedNodePrivilegeRemoveCommand struct {
api.AuthorizedCommand
ManagedNodePrivilege
}
func (*ManagedNodePrivilegeRemoveCommand) CommandName ¶
func (c *ManagedNodePrivilegeRemoveCommand) CommandName() string
type PreDeleteCommand ¶
type PreDeleteCommand struct {
api.KeeperApiResponse
Objects []*PreDeleteObject `json:"objects,omitempty"`
}
type PreDeleteObject ¶
type RecordAddCommand ¶
type RecordAddCommand struct {
api.AuthorizedCommand
RecordUid string `json:"record_uid"`
RecordType string `json:"record_type"`
RecordKey string `json:"record_key"`
HowLongAgo float64 `json:"how_long_ago"`
FolderType string `json:"folder_type"`
FolderUid string `json:"folder_uid"`
FolderKey string `json:"folder_key"`
Data string `json:"data"`
Extra string `json:"extra"`
Udata map[string]interface{} `json:"udata"`
}
func (*RecordAddCommand) CommandName ¶
func (c *RecordAddCommand) CommandName() string
type RecordObject ¶
type RecordObject struct {
RecordUid string `json:"record_uid"`
TeamUid string `json:"team_uid"`
Version int32 `json:"version"`
Revision int64 `json:"revision"`
RecordKey string `json:"record_key"`
ClientModifiedTime float64 `json:"client_modified_time"`
Data string `json:"data"`
Extra string `json:"extra"`
Udata map[string]interface{} `json:"udata,omitempty"`
}
type RecordUpdateCommand ¶
type RecordUpdateCommand struct {
api.AuthorizedCommand
DeviceId string `json:"device_id,omitempty"`
Pt string `json:"pt,omitempty"`
ClientTime float64 `json:"client_time,omitempty"`
AddRecords []*RecordObject `json:"add_records,omitempty"`
UpdateRecords []*RecordObject `json:"update_records,omitempty"`
RemoveRecords []string `json:"remove_records,omitempty"`
DeleteRecords []string `json:"delete_records,omitempty"`
}
func (*RecordUpdateCommand) CommandName ¶
func (c *RecordUpdateCommand) CommandName() string
type RecordUpdateResponse ¶
type RecordUpdateResponse struct {
api.KeeperApiResponse
AddRecords []*StatusObject `json:"add_records,omitempty"`
UpdateRecords []*StatusObject `json:"update_records,omitempty"`
RemoveRecords []*StatusObject `json:"remove_records,omitempty"`
DeleteRecords []*StatusObject `json:"delete_records,omitempty"`
}
type RequestDownloadCommand ¶
type RequestDownloadCommand struct {
api.AuthorizedCommand
RecordUid string `json:"record_uid,omitempty"`
TeamUid string `json:"team_uid,omitempty"`
FileIds []string `json:"file_ids,omitempty"`
}
func (*RequestDownloadCommand) CommandName ¶
func (c *RequestDownloadCommand) CommandName() string
type RequestDownloadResponse ¶
type RequestDownloadResponse struct {
api.KeeperApiResponse
Downloads []*DownloadObject `json:"downloads"`
}
type RequestUploadCommand ¶
type RequestUploadCommand struct {
api.AuthorizedCommand
FileCount int `json:"file_count,omitempty"`
ThumbnailCount int `json:"thumbnail_count,omitempty"`
}
func (*RequestUploadCommand) CommandName ¶
func (c *RequestUploadCommand) CommandName() string
type RequestUploadResponse ¶
type RequestUploadResponse struct {
api.KeeperApiResponse
FileUploads []*UploadObject `json:"file_uploads"`
ThumbnailUploads []*UploadObject `json:"thumbnail_uploads"`
}
type RoleEnforcement ¶
type RoleEnforcementAddCommand ¶
type RoleEnforcementAddCommand struct {
api.AuthorizedCommand
RoleEnforcement
Value interface{} `json:"value,omitempty"`
}
func (*RoleEnforcementAddCommand) CommandName ¶
func (c *RoleEnforcementAddCommand) CommandName() string
type RoleEnforcementRemoveCommand ¶
type RoleEnforcementRemoveCommand struct {
api.AuthorizedCommand
RoleEnforcement
}
func (*RoleEnforcementRemoveCommand) CommandName ¶
func (c *RoleEnforcementRemoveCommand) CommandName() string
type RoleEnforcementUpdateCommand ¶
type RoleEnforcementUpdateCommand struct {
api.AuthorizedCommand
RoleEnforcement
Value interface{} `json:"value,omitempty"`
}
func (*RoleEnforcementUpdateCommand) CommandName ¶
func (c *RoleEnforcementUpdateCommand) CommandName() string
type RoleManagedNodeAddCommand ¶
type RoleManagedNodeAddCommand struct {
api.AuthorizedCommand
ManagedNode
CascadeNodeManagement bool `json:"cascade_node_management"`
TreeKeys []*RoleUserKey `json:"role_keys"`
}
func (*RoleManagedNodeAddCommand) CommandName ¶
func (c *RoleManagedNodeAddCommand) CommandName() string
type RoleManagedNodeRemoveCommand ¶
type RoleManagedNodeRemoveCommand struct {
api.AuthorizedCommand
ManagedNode
}
func (*RoleManagedNodeRemoveCommand) CommandName ¶
func (c *RoleManagedNodeRemoveCommand) CommandName() string
type RoleManagedNodeUpdateCommand ¶
type RoleManagedNodeUpdateCommand struct {
api.AuthorizedCommand
ManagedNode
CascadeNodeManagement bool `json:"cascade_node_management"`
}
func (*RoleManagedNodeUpdateCommand) CommandName ¶
func (c *RoleManagedNodeUpdateCommand) CommandName() string
type RoleUserKey ¶
type ShareAccountCommand ¶
type ShareAccountCommand struct {
}
func (*ShareAccountCommand) CommandName ¶
func (c *ShareAccountCommand) CommandName() string
type StatusObject ¶
type TeamGetKeysCommand ¶
type TeamGetKeysCommand struct {
api.AuthorizedCommand
Teams []string `json:"teams"`
}
func (*TeamGetKeysCommand) CommandName ¶
func (c *TeamGetKeysCommand) CommandName() string
type TeamGetKeysResponse ¶
type TeamGetKeysResponse struct {
api.KeeperApiResponse
Keys []TeamKeyResponse `json:"keys"`
}
type TeamKeyResponse ¶
Click to show internal directories.
Click to hide internal directories.