mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamoDBAPI

type DynamoDBAPI struct {
	mock.Mock
}

DynamoDBAPI provides a mock type for DynamoDBAPI

func (*DynamoDBAPI) BatchGetItem

BatchGetItem provides a mock function with given fields: _a0

func (*DynamoDBAPI) BatchGetItemPages

func (_m *DynamoDBAPI) BatchGetItemPages(_a0 *dynamodb.BatchGetItemInput, _a1 func(*dynamodb.BatchGetItemOutput, bool) bool) error

BatchGetItemPages provides a mock function with given fields: _a0, _a1

func (*DynamoDBAPI) BatchGetItemRequest

BatchGetItemRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) BatchWriteItem

BatchWriteItem provides a mock function with given fields: _a0

func (*DynamoDBAPI) BatchWriteItemRequest

BatchWriteItemRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) CreateTable

CreateTable provides a mock function with given fields: _a0

func (*DynamoDBAPI) CreateTableRequest

CreateTableRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) DeleteItem

DeleteItem provides a mock function with given fields: _a0

func (*DynamoDBAPI) DeleteItemRequest

func (_m *DynamoDBAPI) DeleteItemRequest(_a0 *dynamodb.DeleteItemInput) (*request.Request, *dynamodb.DeleteItemOutput)

DeleteItemRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) DeleteTable

DeleteTable provides a mock function with given fields: _a0

func (*DynamoDBAPI) DeleteTableRequest

DeleteTableRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) DescribeLimits

DescribeLimits provides a mock function with given fields: _a0

func (*DynamoDBAPI) DescribeLimitsRequest

DescribeLimitsRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) DescribeTable

DescribeTable provides a mock function with given fields: _a0

func (*DynamoDBAPI) DescribeTableRequest

DescribeTableRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) GetItem

GetItem provides a mock function with given fields: _a0

func (*DynamoDBAPI) GetItemRequest

func (_m *DynamoDBAPI) GetItemRequest(_a0 *dynamodb.GetItemInput) (*request.Request, *dynamodb.GetItemOutput)

GetItemRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) ListTables

ListTables provides a mock function with given fields: _a0

func (*DynamoDBAPI) ListTablesPages

func (_m *DynamoDBAPI) ListTablesPages(_a0 *dynamodb.ListTablesInput, _a1 func(*dynamodb.ListTablesOutput, bool) bool) error

ListTablesPages provides a mock function with given fields: _a0, _a1

func (*DynamoDBAPI) ListTablesRequest

func (_m *DynamoDBAPI) ListTablesRequest(_a0 *dynamodb.ListTablesInput) (*request.Request, *dynamodb.ListTablesOutput)

ListTablesRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) PutItem

PutItem provides a mock function with given fields: _a0

func (*DynamoDBAPI) PutItemRequest

func (_m *DynamoDBAPI) PutItemRequest(_a0 *dynamodb.PutItemInput) (*request.Request, *dynamodb.PutItemOutput)

PutItemRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) Query

Query provides a mock function with given fields: _a0

func (*DynamoDBAPI) QueryPages

func (_m *DynamoDBAPI) QueryPages(_a0 *dynamodb.QueryInput, _a1 func(*dynamodb.QueryOutput, bool) bool) error

QueryPages provides a mock function with given fields: _a0, _a1

func (*DynamoDBAPI) QueryRequest

func (_m *DynamoDBAPI) QueryRequest(_a0 *dynamodb.QueryInput) (*request.Request, *dynamodb.QueryOutput)

QueryRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) Scan

Scan provides a mock function with given fields: _a0

func (*DynamoDBAPI) ScanPages

func (_m *DynamoDBAPI) ScanPages(_a0 *dynamodb.ScanInput, _a1 func(*dynamodb.ScanOutput, bool) bool) error

ScanPages provides a mock function with given fields: _a0, _a1

func (*DynamoDBAPI) ScanRequest

func (_m *DynamoDBAPI) ScanRequest(_a0 *dynamodb.ScanInput) (*request.Request, *dynamodb.ScanOutput)

ScanRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) UpdateItem

UpdateItem provides a mock function with given fields: _a0

func (*DynamoDBAPI) UpdateItemRequest

func (_m *DynamoDBAPI) UpdateItemRequest(_a0 *dynamodb.UpdateItemInput) (*request.Request, *dynamodb.UpdateItemOutput)

UpdateItemRequest provides a mock function with given fields: _a0

func (*DynamoDBAPI) UpdateTable

UpdateTable provides a mock function with given fields: _a0

func (*DynamoDBAPI) UpdateTableRequest

UpdateTableRequest provides a mock function with given fields: _a0

type KMSAPI

type KMSAPI struct {
	mock.Mock
}

KMSAPI provides a mock type for KMSAPI

func (*KMSAPI) CancelKeyDeletion

func (_m *KMSAPI) CancelKeyDeletion(_a0 *kms.CancelKeyDeletionInput) (*kms.CancelKeyDeletionOutput, error)

CancelKeyDeletion provides a mock function with given fields: _a0

func (*KMSAPI) CancelKeyDeletionRequest

func (_m *KMSAPI) CancelKeyDeletionRequest(_a0 *kms.CancelKeyDeletionInput) (*request.Request, *kms.CancelKeyDeletionOutput)

CancelKeyDeletionRequest provides a mock function with given fields: _a0

func (*KMSAPI) CreateAlias

func (_m *KMSAPI) CreateAlias(_a0 *kms.CreateAliasInput) (*kms.CreateAliasOutput, error)

CreateAlias provides a mock function with given fields: _a0

func (*KMSAPI) CreateAliasRequest

func (_m *KMSAPI) CreateAliasRequest(_a0 *kms.CreateAliasInput) (*request.Request, *kms.CreateAliasOutput)

CreateAliasRequest provides a mock function with given fields: _a0

func (*KMSAPI) CreateGrant

func (_m *KMSAPI) CreateGrant(_a0 *kms.CreateGrantInput) (*kms.CreateGrantOutput, error)

CreateGrant provides a mock function with given fields: _a0

func (*KMSAPI) CreateGrantRequest

func (_m *KMSAPI) CreateGrantRequest(_a0 *kms.CreateGrantInput) (*request.Request, *kms.CreateGrantOutput)

CreateGrantRequest provides a mock function with given fields: _a0

func (*KMSAPI) CreateKey

func (_m *KMSAPI) CreateKey(_a0 *kms.CreateKeyInput) (*kms.CreateKeyOutput, error)

CreateKey provides a mock function with given fields: _a0

func (*KMSAPI) CreateKeyRequest

func (_m *KMSAPI) CreateKeyRequest(_a0 *kms.CreateKeyInput) (*request.Request, *kms.CreateKeyOutput)

CreateKeyRequest provides a mock function with given fields: _a0

func (*KMSAPI) Decrypt

func (_m *KMSAPI) Decrypt(_a0 *kms.DecryptInput) (*kms.DecryptOutput, error)

Decrypt provides a mock function with given fields: _a0

func (*KMSAPI) DecryptRequest

func (_m *KMSAPI) DecryptRequest(_a0 *kms.DecryptInput) (*request.Request, *kms.DecryptOutput)

DecryptRequest provides a mock function with given fields: _a0

func (*KMSAPI) DeleteAlias

func (_m *KMSAPI) DeleteAlias(_a0 *kms.DeleteAliasInput) (*kms.DeleteAliasOutput, error)

DeleteAlias provides a mock function with given fields: _a0

func (*KMSAPI) DeleteAliasRequest

func (_m *KMSAPI) DeleteAliasRequest(_a0 *kms.DeleteAliasInput) (*request.Request, *kms.DeleteAliasOutput)

DeleteAliasRequest provides a mock function with given fields: _a0

func (*KMSAPI) DescribeKey

func (_m *KMSAPI) DescribeKey(_a0 *kms.DescribeKeyInput) (*kms.DescribeKeyOutput, error)

DescribeKey provides a mock function with given fields: _a0

func (*KMSAPI) DescribeKeyRequest

func (_m *KMSAPI) DescribeKeyRequest(_a0 *kms.DescribeKeyInput) (*request.Request, *kms.DescribeKeyOutput)

DescribeKeyRequest provides a mock function with given fields: _a0

func (*KMSAPI) DisableKey

func (_m *KMSAPI) DisableKey(_a0 *kms.DisableKeyInput) (*kms.DisableKeyOutput, error)

DisableKey provides a mock function with given fields: _a0

func (*KMSAPI) DisableKeyRequest

func (_m *KMSAPI) DisableKeyRequest(_a0 *kms.DisableKeyInput) (*request.Request, *kms.DisableKeyOutput)

DisableKeyRequest provides a mock function with given fields: _a0

func (*KMSAPI) DisableKeyRotation

func (_m *KMSAPI) DisableKeyRotation(_a0 *kms.DisableKeyRotationInput) (*kms.DisableKeyRotationOutput, error)

DisableKeyRotation provides a mock function with given fields: _a0

func (*KMSAPI) DisableKeyRotationRequest

func (_m *KMSAPI) DisableKeyRotationRequest(_a0 *kms.DisableKeyRotationInput) (*request.Request, *kms.DisableKeyRotationOutput)

DisableKeyRotationRequest provides a mock function with given fields: _a0

func (*KMSAPI) EnableKey

func (_m *KMSAPI) EnableKey(_a0 *kms.EnableKeyInput) (*kms.EnableKeyOutput, error)

EnableKey provides a mock function with given fields: _a0

func (*KMSAPI) EnableKeyRequest

func (_m *KMSAPI) EnableKeyRequest(_a0 *kms.EnableKeyInput) (*request.Request, *kms.EnableKeyOutput)

EnableKeyRequest provides a mock function with given fields: _a0

func (*KMSAPI) EnableKeyRotation

func (_m *KMSAPI) EnableKeyRotation(_a0 *kms.EnableKeyRotationInput) (*kms.EnableKeyRotationOutput, error)

EnableKeyRotation provides a mock function with given fields: _a0

func (*KMSAPI) EnableKeyRotationRequest

func (_m *KMSAPI) EnableKeyRotationRequest(_a0 *kms.EnableKeyRotationInput) (*request.Request, *kms.EnableKeyRotationOutput)

EnableKeyRotationRequest provides a mock function with given fields: _a0

func (*KMSAPI) Encrypt

func (_m *KMSAPI) Encrypt(_a0 *kms.EncryptInput) (*kms.EncryptOutput, error)

Encrypt provides a mock function with given fields: _a0

func (*KMSAPI) EncryptRequest

func (_m *KMSAPI) EncryptRequest(_a0 *kms.EncryptInput) (*request.Request, *kms.EncryptOutput)

EncryptRequest provides a mock function with given fields: _a0

func (*KMSAPI) GenerateDataKey

func (_m *KMSAPI) GenerateDataKey(_a0 *kms.GenerateDataKeyInput) (*kms.GenerateDataKeyOutput, error)

GenerateDataKey provides a mock function with given fields: _a0

func (*KMSAPI) GenerateDataKeyRequest

func (_m *KMSAPI) GenerateDataKeyRequest(_a0 *kms.GenerateDataKeyInput) (*request.Request, *kms.GenerateDataKeyOutput)

GenerateDataKeyRequest provides a mock function with given fields: _a0

func (*KMSAPI) GenerateDataKeyWithoutPlaintext

func (_m *KMSAPI) GenerateDataKeyWithoutPlaintext(_a0 *kms.GenerateDataKeyWithoutPlaintextInput) (*kms.GenerateDataKeyWithoutPlaintextOutput, error)

GenerateDataKeyWithoutPlaintext provides a mock function with given fields: _a0

func (*KMSAPI) GenerateDataKeyWithoutPlaintextRequest

func (_m *KMSAPI) GenerateDataKeyWithoutPlaintextRequest(_a0 *kms.GenerateDataKeyWithoutPlaintextInput) (*request.Request, *kms.GenerateDataKeyWithoutPlaintextOutput)

GenerateDataKeyWithoutPlaintextRequest provides a mock function with given fields: _a0

func (*KMSAPI) GenerateRandom

func (_m *KMSAPI) GenerateRandom(_a0 *kms.GenerateRandomInput) (*kms.GenerateRandomOutput, error)

GenerateRandom provides a mock function with given fields: _a0

func (*KMSAPI) GenerateRandomRequest

func (_m *KMSAPI) GenerateRandomRequest(_a0 *kms.GenerateRandomInput) (*request.Request, *kms.GenerateRandomOutput)

GenerateRandomRequest provides a mock function with given fields: _a0

func (*KMSAPI) GetKeyPolicy

func (_m *KMSAPI) GetKeyPolicy(_a0 *kms.GetKeyPolicyInput) (*kms.GetKeyPolicyOutput, error)

GetKeyPolicy provides a mock function with given fields: _a0

func (*KMSAPI) GetKeyPolicyRequest

func (_m *KMSAPI) GetKeyPolicyRequest(_a0 *kms.GetKeyPolicyInput) (*request.Request, *kms.GetKeyPolicyOutput)

GetKeyPolicyRequest provides a mock function with given fields: _a0

func (*KMSAPI) GetKeyRotationStatus

func (_m *KMSAPI) GetKeyRotationStatus(_a0 *kms.GetKeyRotationStatusInput) (*kms.GetKeyRotationStatusOutput, error)

GetKeyRotationStatus provides a mock function with given fields: _a0

func (*KMSAPI) GetKeyRotationStatusRequest

func (_m *KMSAPI) GetKeyRotationStatusRequest(_a0 *kms.GetKeyRotationStatusInput) (*request.Request, *kms.GetKeyRotationStatusOutput)

GetKeyRotationStatusRequest provides a mock function with given fields: _a0

func (*KMSAPI) ListAliases

func (_m *KMSAPI) ListAliases(_a0 *kms.ListAliasesInput) (*kms.ListAliasesOutput, error)

ListAliases provides a mock function with given fields: _a0

func (*KMSAPI) ListAliasesPages

func (_m *KMSAPI) ListAliasesPages(_a0 *kms.ListAliasesInput, _a1 func(*kms.ListAliasesOutput, bool) bool) error

ListAliasesPages provides a mock function with given fields: _a0, _a1

func (*KMSAPI) ListAliasesRequest

func (_m *KMSAPI) ListAliasesRequest(_a0 *kms.ListAliasesInput) (*request.Request, *kms.ListAliasesOutput)

ListAliasesRequest provides a mock function with given fields: _a0

func (*KMSAPI) ListGrants

func (_m *KMSAPI) ListGrants(_a0 *kms.ListGrantsInput) (*kms.ListGrantsResponse, error)

ListGrants provides a mock function with given fields: _a0

func (*KMSAPI) ListGrantsPages

func (_m *KMSAPI) ListGrantsPages(_a0 *kms.ListGrantsInput, _a1 func(*kms.ListGrantsResponse, bool) bool) error

ListGrantsPages provides a mock function with given fields: _a0, _a1

func (*KMSAPI) ListGrantsRequest

func (_m *KMSAPI) ListGrantsRequest(_a0 *kms.ListGrantsInput) (*request.Request, *kms.ListGrantsResponse)

ListGrantsRequest provides a mock function with given fields: _a0

func (*KMSAPI) ListKeyPolicies

func (_m *KMSAPI) ListKeyPolicies(_a0 *kms.ListKeyPoliciesInput) (*kms.ListKeyPoliciesOutput, error)

ListKeyPolicies provides a mock function with given fields: _a0

func (*KMSAPI) ListKeyPoliciesPages

func (_m *KMSAPI) ListKeyPoliciesPages(_a0 *kms.ListKeyPoliciesInput, _a1 func(*kms.ListKeyPoliciesOutput, bool) bool) error

ListKeyPoliciesPages provides a mock function with given fields: _a0, _a1

func (*KMSAPI) ListKeyPoliciesRequest

func (_m *KMSAPI) ListKeyPoliciesRequest(_a0 *kms.ListKeyPoliciesInput) (*request.Request, *kms.ListKeyPoliciesOutput)

ListKeyPoliciesRequest provides a mock function with given fields: _a0

func (*KMSAPI) ListKeys

func (_m *KMSAPI) ListKeys(_a0 *kms.ListKeysInput) (*kms.ListKeysOutput, error)

ListKeys provides a mock function with given fields: _a0

func (*KMSAPI) ListKeysPages

func (_m *KMSAPI) ListKeysPages(_a0 *kms.ListKeysInput, _a1 func(*kms.ListKeysOutput, bool) bool) error

ListKeysPages provides a mock function with given fields: _a0, _a1

func (*KMSAPI) ListKeysRequest

func (_m *KMSAPI) ListKeysRequest(_a0 *kms.ListKeysInput) (*request.Request, *kms.ListKeysOutput)

ListKeysRequest provides a mock function with given fields: _a0

func (*KMSAPI) ListRetirableGrants

func (_m *KMSAPI) ListRetirableGrants(_a0 *kms.ListRetirableGrantsInput) (*kms.ListGrantsResponse, error)

ListRetirableGrants provides a mock function with given fields: _a0

func (*KMSAPI) ListRetirableGrantsRequest

func (_m *KMSAPI) ListRetirableGrantsRequest(_a0 *kms.ListRetirableGrantsInput) (*request.Request, *kms.ListGrantsResponse)

ListRetirableGrantsRequest provides a mock function with given fields: _a0

func (*KMSAPI) PutKeyPolicy

func (_m *KMSAPI) PutKeyPolicy(_a0 *kms.PutKeyPolicyInput) (*kms.PutKeyPolicyOutput, error)

PutKeyPolicy provides a mock function with given fields: _a0

func (*KMSAPI) PutKeyPolicyRequest

func (_m *KMSAPI) PutKeyPolicyRequest(_a0 *kms.PutKeyPolicyInput) (*request.Request, *kms.PutKeyPolicyOutput)

PutKeyPolicyRequest provides a mock function with given fields: _a0

func (*KMSAPI) ReEncrypt

func (_m *KMSAPI) ReEncrypt(_a0 *kms.ReEncryptInput) (*kms.ReEncryptOutput, error)

ReEncrypt provides a mock function with given fields: _a0

func (*KMSAPI) ReEncryptRequest

func (_m *KMSAPI) ReEncryptRequest(_a0 *kms.ReEncryptInput) (*request.Request, *kms.ReEncryptOutput)

ReEncryptRequest provides a mock function with given fields: _a0

func (*KMSAPI) RetireGrant

func (_m *KMSAPI) RetireGrant(_a0 *kms.RetireGrantInput) (*kms.RetireGrantOutput, error)

RetireGrant provides a mock function with given fields: _a0

func (*KMSAPI) RetireGrantRequest

func (_m *KMSAPI) RetireGrantRequest(_a0 *kms.RetireGrantInput) (*request.Request, *kms.RetireGrantOutput)

RetireGrantRequest provides a mock function with given fields: _a0

func (*KMSAPI) RevokeGrant

func (_m *KMSAPI) RevokeGrant(_a0 *kms.RevokeGrantInput) (*kms.RevokeGrantOutput, error)

RevokeGrant provides a mock function with given fields: _a0

func (*KMSAPI) RevokeGrantRequest

func (_m *KMSAPI) RevokeGrantRequest(_a0 *kms.RevokeGrantInput) (*request.Request, *kms.RevokeGrantOutput)

RevokeGrantRequest provides a mock function with given fields: _a0

func (*KMSAPI) ScheduleKeyDeletion

func (_m *KMSAPI) ScheduleKeyDeletion(_a0 *kms.ScheduleKeyDeletionInput) (*kms.ScheduleKeyDeletionOutput, error)

ScheduleKeyDeletion provides a mock function with given fields: _a0

func (*KMSAPI) ScheduleKeyDeletionRequest

func (_m *KMSAPI) ScheduleKeyDeletionRequest(_a0 *kms.ScheduleKeyDeletionInput) (*request.Request, *kms.ScheduleKeyDeletionOutput)

ScheduleKeyDeletionRequest provides a mock function with given fields: _a0

func (*KMSAPI) UpdateAlias

func (_m *KMSAPI) UpdateAlias(_a0 *kms.UpdateAliasInput) (*kms.UpdateAliasOutput, error)

UpdateAlias provides a mock function with given fields: _a0

func (*KMSAPI) UpdateAliasRequest

func (_m *KMSAPI) UpdateAliasRequest(_a0 *kms.UpdateAliasInput) (*request.Request, *kms.UpdateAliasOutput)

UpdateAliasRequest provides a mock function with given fields: _a0

func (*KMSAPI) UpdateKeyDescription

func (_m *KMSAPI) UpdateKeyDescription(_a0 *kms.UpdateKeyDescriptionInput) (*kms.UpdateKeyDescriptionOutput, error)

UpdateKeyDescription provides a mock function with given fields: _a0

func (*KMSAPI) UpdateKeyDescriptionRequest

func (_m *KMSAPI) UpdateKeyDescriptionRequest(_a0 *kms.UpdateKeyDescriptionInput) (*request.Request, *kms.UpdateKeyDescriptionOutput)

UpdateKeyDescriptionRequest provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL