Documentation ¶
Index ¶
- type AllocationChange
- type EncryptionScheme
- func (_m *EncryptionScheme) Decrypt(_a0 *encryption.EncryptedMessage) ([]byte, error)
- func (_m *EncryptionScheme) Encrypt(data []byte) (*encryption.EncryptedMessage, error)
- func (_m *EncryptionScheme) GetEncryptedKey() string
- func (_m *EncryptionScheme) GetPublicKey() (string, error)
- func (_m *EncryptionScheme) GetReGenKey(encPublicKey string, tag string) (string, error)
- func (_m *EncryptionScheme) InitForDecryption(tag string, encryptedKey string) error
- func (_m *EncryptionScheme) InitForEncryption(tag string)
- func (_m *EncryptionScheme) Initialize(mnemonic string) error
- type HttpClient
- type RefEntity
- func (_m *RefEntity) CalculateHash() string
- func (_m *RefEntity) GetCreatedAt() string
- func (_m *RefEntity) GetHash() string
- func (_m *RefEntity) GetLookupHash() string
- func (_m *RefEntity) GetName() string
- func (_m *RefEntity) GetNumBlocks() int64
- func (_m *RefEntity) GetPath() string
- func (_m *RefEntity) GetPathHash() string
- func (_m *RefEntity) GetSize() int64
- func (_m *RefEntity) GetType() string
- func (_m *RefEntity) GetUpdatedAt() string
- type SCRestAPIHandler
- type StatusCallback
- func (_m *StatusCallback) CommitMetaCompleted(request string, response string, txn *transaction.Transaction, err error)
- func (_m *StatusCallback) Completed(allocationId string, filePath string, filename string, mimetype string, ...)
- func (_m *StatusCallback) Error(allocationID string, filePath string, op int, err error)
- func (_m *StatusCallback) InProgress(allocationId string, filePath string, op int, completedBytes int, data []byte)
- func (_m *StatusCallback) RepairCompleted(filesRepaired int)
- func (_m *StatusCallback) Started(allocationId string, filePath string, op int, totalBytes int)
- type Suite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocationChange ¶
AllocationChange is an autogenerated mock type for the AllocationChange type
func (*AllocationChange) GetAffectedPath ¶
func (_m *AllocationChange) GetAffectedPath() string
GetAffectedPath provides a mock function with given fields:
func (*AllocationChange) GetSize ¶
func (_m *AllocationChange) GetSize() int64
GetSize provides a mock function with given fields:
func (*AllocationChange) ProcessChange ¶
func (_m *AllocationChange) ProcessChange(rootRef *fileref.Ref) error
ProcessChange provides a mock function with given fields: rootRef
type EncryptionScheme ¶
EncryptionScheme is an autogenerated mock type for the EncryptionScheme type
func (*EncryptionScheme) Decrypt ¶
func (_m *EncryptionScheme) Decrypt(_a0 *encryption.EncryptedMessage) ([]byte, error)
Decrypt provides a mock function with given fields: _a0
func (*EncryptionScheme) Encrypt ¶
func (_m *EncryptionScheme) Encrypt(data []byte) (*encryption.EncryptedMessage, error)
Encrypt provides a mock function with given fields: data
func (*EncryptionScheme) GetEncryptedKey ¶
func (_m *EncryptionScheme) GetEncryptedKey() string
GetEncryptedKey provides a mock function with given fields:
func (*EncryptionScheme) GetPublicKey ¶
func (_m *EncryptionScheme) GetPublicKey() (string, error)
GetPublicKey provides a mock function with given fields:
func (*EncryptionScheme) GetReGenKey ¶
func (_m *EncryptionScheme) GetReGenKey(encPublicKey string, tag string) (string, error)
GetReGenKey provides a mock function with given fields: encPublicKey, tag
func (*EncryptionScheme) InitForDecryption ¶
func (_m *EncryptionScheme) InitForDecryption(tag string, encryptedKey string) error
InitForDecryption provides a mock function with given fields: tag, encryptedKey
func (*EncryptionScheme) InitForEncryption ¶
func (_m *EncryptionScheme) InitForEncryption(tag string)
InitForEncryption provides a mock function with given fields: tag
func (*EncryptionScheme) Initialize ¶
func (_m *EncryptionScheme) Initialize(mnemonic string) error
Initialize provides a mock function with given fields: mnemonic
type HttpClient ¶
HttpClient is an autogenerated mock type for the HttpClient type
type RefEntity ¶
RefEntity is an autogenerated mock type for the RefEntity type
func (*RefEntity) CalculateHash ¶
CalculateHash provides a mock function with given fields:
func (*RefEntity) GetCreatedAt ¶
GetCreatedAt provides a mock function with given fields:
func (*RefEntity) GetLookupHash ¶
GetLookupHash provides a mock function with given fields:
func (*RefEntity) GetNumBlocks ¶
GetNumBlocks provides a mock function with given fields:
func (*RefEntity) GetPathHash ¶
GetPathHash provides a mock function with given fields:
func (*RefEntity) GetUpdatedAt ¶
GetUpdatedAt provides a mock function with given fields:
type SCRestAPIHandler ¶
SCRestAPIHandler is an autogenerated mock type for the SCRestAPIHandler type
type StatusCallback ¶
StatusCallback is an autogenerated mock type for the StatusCallback type
func (*StatusCallback) CommitMetaCompleted ¶
func (_m *StatusCallback) CommitMetaCompleted(request string, response string, txn *transaction.Transaction, err error)
CommitMetaCompleted provides a mock function with given fields: request, response, err
func (*StatusCallback) Completed ¶
func (_m *StatusCallback) Completed(allocationId string, filePath string, filename string, mimetype string, size int, op int)
Completed provides a mock function with given fields: allocationId, filePath, filename, mimetype, size, op
func (*StatusCallback) Error ¶
func (_m *StatusCallback) Error(allocationID string, filePath string, op int, err error)
Error provides a mock function with given fields: allocationID, filePath, op, err
func (*StatusCallback) InProgress ¶
func (_m *StatusCallback) InProgress(allocationId string, filePath string, op int, completedBytes int, data []byte)
InProgress provides a mock function with given fields: allocationId, filePath, op, completedBytes, data
func (*StatusCallback) RepairCompleted ¶
func (_m *StatusCallback) RepairCompleted(filesRepaired int)
RepairCompleted provides a mock function with given fields: filesRepaired
type Suite ¶
Suite is an autogenerated mock type for the Suite type
func (*Suite) RandomStream ¶
RandomStream provides a mock function with given fields: