mock

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 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 MockDynamoDBAPI

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

Mock of DynamoDBAPI interface

func NewMockDynamoDBAPI

func NewMockDynamoDBAPI(ctrl *gomock.Controller) *MockDynamoDBAPI

func (*MockDynamoDBAPI) BatchGetItem

func (*MockDynamoDBAPI) BatchGetItemPages

func (_m *MockDynamoDBAPI) BatchGetItemPages(_param0 *dynamodb.BatchGetItemInput, _param1 func(*dynamodb.BatchGetItemOutput, bool) bool) error

func (*MockDynamoDBAPI) BatchGetItemRequest

func (_m *MockDynamoDBAPI) BatchGetItemRequest(_param0 *dynamodb.BatchGetItemInput) (*request.Request, *dynamodb.BatchGetItemOutput)

func (*MockDynamoDBAPI) BatchWriteItem

func (*MockDynamoDBAPI) BatchWriteItemRequest

func (_m *MockDynamoDBAPI) BatchWriteItemRequest(_param0 *dynamodb.BatchWriteItemInput) (*request.Request, *dynamodb.BatchWriteItemOutput)

func (*MockDynamoDBAPI) CreateTable

func (*MockDynamoDBAPI) CreateTableRequest

func (_m *MockDynamoDBAPI) CreateTableRequest(_param0 *dynamodb.CreateTableInput) (*request.Request, *dynamodb.CreateTableOutput)

func (*MockDynamoDBAPI) DeleteItem

func (*MockDynamoDBAPI) DeleteItemRequest

func (_m *MockDynamoDBAPI) DeleteItemRequest(_param0 *dynamodb.DeleteItemInput) (*request.Request, *dynamodb.DeleteItemOutput)

func (*MockDynamoDBAPI) DeleteTable

func (*MockDynamoDBAPI) DeleteTableRequest

func (_m *MockDynamoDBAPI) DeleteTableRequest(_param0 *dynamodb.DeleteTableInput) (*request.Request, *dynamodb.DeleteTableOutput)

func (*MockDynamoDBAPI) DescribeLimits

func (*MockDynamoDBAPI) DescribeLimitsRequest

func (_m *MockDynamoDBAPI) DescribeLimitsRequest(_param0 *dynamodb.DescribeLimitsInput) (*request.Request, *dynamodb.DescribeLimitsOutput)

func (*MockDynamoDBAPI) DescribeTable

func (*MockDynamoDBAPI) DescribeTableRequest

func (_m *MockDynamoDBAPI) DescribeTableRequest(_param0 *dynamodb.DescribeTableInput) (*request.Request, *dynamodb.DescribeTableOutput)

func (*MockDynamoDBAPI) EXPECT

func (_m *MockDynamoDBAPI) EXPECT() *_MockDynamoDBAPIRecorder

func (*MockDynamoDBAPI) GetItem

func (*MockDynamoDBAPI) GetItemRequest

func (_m *MockDynamoDBAPI) GetItemRequest(_param0 *dynamodb.GetItemInput) (*request.Request, *dynamodb.GetItemOutput)

func (*MockDynamoDBAPI) ListTables

func (*MockDynamoDBAPI) ListTablesPages

func (_m *MockDynamoDBAPI) ListTablesPages(_param0 *dynamodb.ListTablesInput, _param1 func(*dynamodb.ListTablesOutput, bool) bool) error

func (*MockDynamoDBAPI) ListTablesRequest

func (_m *MockDynamoDBAPI) ListTablesRequest(_param0 *dynamodb.ListTablesInput) (*request.Request, *dynamodb.ListTablesOutput)

func (*MockDynamoDBAPI) PutItem

func (*MockDynamoDBAPI) PutItemRequest

func (_m *MockDynamoDBAPI) PutItemRequest(_param0 *dynamodb.PutItemInput) (*request.Request, *dynamodb.PutItemOutput)

func (*MockDynamoDBAPI) Query

func (_m *MockDynamoDBAPI) Query(_param0 *dynamodb.QueryInput) (*dynamodb.QueryOutput, error)

func (*MockDynamoDBAPI) QueryPages

func (_m *MockDynamoDBAPI) QueryPages(_param0 *dynamodb.QueryInput, _param1 func(*dynamodb.QueryOutput, bool) bool) error

func (*MockDynamoDBAPI) QueryRequest

func (_m *MockDynamoDBAPI) QueryRequest(_param0 *dynamodb.QueryInput) (*request.Request, *dynamodb.QueryOutput)

func (*MockDynamoDBAPI) Scan

func (_m *MockDynamoDBAPI) Scan(_param0 *dynamodb.ScanInput) (*dynamodb.ScanOutput, error)

func (*MockDynamoDBAPI) ScanPages

func (_m *MockDynamoDBAPI) ScanPages(_param0 *dynamodb.ScanInput, _param1 func(*dynamodb.ScanOutput, bool) bool) error

func (*MockDynamoDBAPI) ScanRequest

func (_m *MockDynamoDBAPI) ScanRequest(_param0 *dynamodb.ScanInput) (*request.Request, *dynamodb.ScanOutput)

func (*MockDynamoDBAPI) UpdateItem

func (*MockDynamoDBAPI) UpdateItemRequest

func (_m *MockDynamoDBAPI) UpdateItemRequest(_param0 *dynamodb.UpdateItemInput) (*request.Request, *dynamodb.UpdateItemOutput)

func (*MockDynamoDBAPI) UpdateTable

func (*MockDynamoDBAPI) UpdateTableRequest

func (_m *MockDynamoDBAPI) UpdateTableRequest(_param0 *dynamodb.UpdateTableInput) (*request.Request, *dynamodb.UpdateTableOutput)

func (*MockDynamoDBAPI) WaitUntilTableExists

func (_m *MockDynamoDBAPI) WaitUntilTableExists(_param0 *dynamodb.DescribeTableInput) error

func (*MockDynamoDBAPI) WaitUntilTableNotExists

func (_m *MockDynamoDBAPI) WaitUntilTableNotExists(_param0 *dynamodb.DescribeTableInput) error

type MockKMSAPI

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

Mock of KMSAPI interface

func NewMockKMSAPI

func NewMockKMSAPI(ctrl *gomock.Controller) *MockKMSAPI

func (*MockKMSAPI) CancelKeyDeletion

func (_m *MockKMSAPI) CancelKeyDeletion(_param0 *kms.CancelKeyDeletionInput) (*kms.CancelKeyDeletionOutput, error)

func (*MockKMSAPI) CancelKeyDeletionRequest

func (_m *MockKMSAPI) CancelKeyDeletionRequest(_param0 *kms.CancelKeyDeletionInput) (*request.Request, *kms.CancelKeyDeletionOutput)

func (*MockKMSAPI) CreateAlias

func (_m *MockKMSAPI) CreateAlias(_param0 *kms.CreateAliasInput) (*kms.CreateAliasOutput, error)

func (*MockKMSAPI) CreateAliasRequest

func (_m *MockKMSAPI) CreateAliasRequest(_param0 *kms.CreateAliasInput) (*request.Request, *kms.CreateAliasOutput)

func (*MockKMSAPI) CreateGrant

func (_m *MockKMSAPI) CreateGrant(_param0 *kms.CreateGrantInput) (*kms.CreateGrantOutput, error)

func (*MockKMSAPI) CreateGrantRequest

func (_m *MockKMSAPI) CreateGrantRequest(_param0 *kms.CreateGrantInput) (*request.Request, *kms.CreateGrantOutput)

func (*MockKMSAPI) CreateKey

func (_m *MockKMSAPI) CreateKey(_param0 *kms.CreateKeyInput) (*kms.CreateKeyOutput, error)

func (*MockKMSAPI) CreateKeyRequest

func (_m *MockKMSAPI) CreateKeyRequest(_param0 *kms.CreateKeyInput) (*request.Request, *kms.CreateKeyOutput)

func (*MockKMSAPI) Decrypt

func (_m *MockKMSAPI) Decrypt(_param0 *kms.DecryptInput) (*kms.DecryptOutput, error)

func (*MockKMSAPI) DecryptRequest

func (_m *MockKMSAPI) DecryptRequest(_param0 *kms.DecryptInput) (*request.Request, *kms.DecryptOutput)

func (*MockKMSAPI) DeleteAlias

func (_m *MockKMSAPI) DeleteAlias(_param0 *kms.DeleteAliasInput) (*kms.DeleteAliasOutput, error)

func (*MockKMSAPI) DeleteAliasRequest

func (_m *MockKMSAPI) DeleteAliasRequest(_param0 *kms.DeleteAliasInput) (*request.Request, *kms.DeleteAliasOutput)

func (*MockKMSAPI) DeleteImportedKeyMaterial

func (_m *MockKMSAPI) DeleteImportedKeyMaterial(_param0 *kms.DeleteImportedKeyMaterialInput) (*kms.DeleteImportedKeyMaterialOutput, error)

func (*MockKMSAPI) DeleteImportedKeyMaterialRequest

func (_m *MockKMSAPI) DeleteImportedKeyMaterialRequest(_param0 *kms.DeleteImportedKeyMaterialInput) (*request.Request, *kms.DeleteImportedKeyMaterialOutput)

func (*MockKMSAPI) DescribeKey

func (_m *MockKMSAPI) DescribeKey(_param0 *kms.DescribeKeyInput) (*kms.DescribeKeyOutput, error)

func (*MockKMSAPI) DescribeKeyRequest

func (_m *MockKMSAPI) DescribeKeyRequest(_param0 *kms.DescribeKeyInput) (*request.Request, *kms.DescribeKeyOutput)

func (*MockKMSAPI) DisableKey

func (_m *MockKMSAPI) DisableKey(_param0 *kms.DisableKeyInput) (*kms.DisableKeyOutput, error)

func (*MockKMSAPI) DisableKeyRequest

func (_m *MockKMSAPI) DisableKeyRequest(_param0 *kms.DisableKeyInput) (*request.Request, *kms.DisableKeyOutput)

func (*MockKMSAPI) DisableKeyRotation

func (_m *MockKMSAPI) DisableKeyRotation(_param0 *kms.DisableKeyRotationInput) (*kms.DisableKeyRotationOutput, error)

func (*MockKMSAPI) DisableKeyRotationRequest

func (_m *MockKMSAPI) DisableKeyRotationRequest(_param0 *kms.DisableKeyRotationInput) (*request.Request, *kms.DisableKeyRotationOutput)

func (*MockKMSAPI) EXPECT

func (_m *MockKMSAPI) EXPECT() *_MockKMSAPIRecorder

func (*MockKMSAPI) EnableKey

func (_m *MockKMSAPI) EnableKey(_param0 *kms.EnableKeyInput) (*kms.EnableKeyOutput, error)

func (*MockKMSAPI) EnableKeyRequest

func (_m *MockKMSAPI) EnableKeyRequest(_param0 *kms.EnableKeyInput) (*request.Request, *kms.EnableKeyOutput)

func (*MockKMSAPI) EnableKeyRotation

func (_m *MockKMSAPI) EnableKeyRotation(_param0 *kms.EnableKeyRotationInput) (*kms.EnableKeyRotationOutput, error)

func (*MockKMSAPI) EnableKeyRotationRequest

func (_m *MockKMSAPI) EnableKeyRotationRequest(_param0 *kms.EnableKeyRotationInput) (*request.Request, *kms.EnableKeyRotationOutput)

func (*MockKMSAPI) Encrypt

func (_m *MockKMSAPI) Encrypt(_param0 *kms.EncryptInput) (*kms.EncryptOutput, error)

func (*MockKMSAPI) EncryptRequest

func (_m *MockKMSAPI) EncryptRequest(_param0 *kms.EncryptInput) (*request.Request, *kms.EncryptOutput)

func (*MockKMSAPI) GenerateDataKey

func (_m *MockKMSAPI) GenerateDataKey(_param0 *kms.GenerateDataKeyInput) (*kms.GenerateDataKeyOutput, error)

func (*MockKMSAPI) GenerateDataKeyRequest

func (_m *MockKMSAPI) GenerateDataKeyRequest(_param0 *kms.GenerateDataKeyInput) (*request.Request, *kms.GenerateDataKeyOutput)

func (*MockKMSAPI) GenerateDataKeyWithoutPlaintext

func (_m *MockKMSAPI) GenerateDataKeyWithoutPlaintext(_param0 *kms.GenerateDataKeyWithoutPlaintextInput) (*kms.GenerateDataKeyWithoutPlaintextOutput, error)

func (*MockKMSAPI) GenerateRandom

func (_m *MockKMSAPI) GenerateRandom(_param0 *kms.GenerateRandomInput) (*kms.GenerateRandomOutput, error)

func (*MockKMSAPI) GenerateRandomRequest

func (_m *MockKMSAPI) GenerateRandomRequest(_param0 *kms.GenerateRandomInput) (*request.Request, *kms.GenerateRandomOutput)

func (*MockKMSAPI) GetKeyPolicy

func (_m *MockKMSAPI) GetKeyPolicy(_param0 *kms.GetKeyPolicyInput) (*kms.GetKeyPolicyOutput, error)

func (*MockKMSAPI) GetKeyPolicyRequest

func (_m *MockKMSAPI) GetKeyPolicyRequest(_param0 *kms.GetKeyPolicyInput) (*request.Request, *kms.GetKeyPolicyOutput)

func (*MockKMSAPI) GetKeyRotationStatus

func (_m *MockKMSAPI) GetKeyRotationStatus(_param0 *kms.GetKeyRotationStatusInput) (*kms.GetKeyRotationStatusOutput, error)

func (*MockKMSAPI) GetKeyRotationStatusRequest

func (_m *MockKMSAPI) GetKeyRotationStatusRequest(_param0 *kms.GetKeyRotationStatusInput) (*request.Request, *kms.GetKeyRotationStatusOutput)

func (*MockKMSAPI) GetParametersForImport

func (_m *MockKMSAPI) GetParametersForImport(_param0 *kms.GetParametersForImportInput) (*kms.GetParametersForImportOutput, error)

func (*MockKMSAPI) GetParametersForImportRequest

func (_m *MockKMSAPI) GetParametersForImportRequest(_param0 *kms.GetParametersForImportInput) (*request.Request, *kms.GetParametersForImportOutput)

func (*MockKMSAPI) ImportKeyMaterial

func (_m *MockKMSAPI) ImportKeyMaterial(_param0 *kms.ImportKeyMaterialInput) (*kms.ImportKeyMaterialOutput, error)

func (*MockKMSAPI) ImportKeyMaterialRequest

func (_m *MockKMSAPI) ImportKeyMaterialRequest(_param0 *kms.ImportKeyMaterialInput) (*request.Request, *kms.ImportKeyMaterialOutput)

func (*MockKMSAPI) ListAliases

func (_m *MockKMSAPI) ListAliases(_param0 *kms.ListAliasesInput) (*kms.ListAliasesOutput, error)

func (*MockKMSAPI) ListAliasesPages

func (_m *MockKMSAPI) ListAliasesPages(_param0 *kms.ListAliasesInput, _param1 func(*kms.ListAliasesOutput, bool) bool) error

func (*MockKMSAPI) ListAliasesRequest

func (_m *MockKMSAPI) ListAliasesRequest(_param0 *kms.ListAliasesInput) (*request.Request, *kms.ListAliasesOutput)

func (*MockKMSAPI) ListGrants

func (_m *MockKMSAPI) ListGrants(_param0 *kms.ListGrantsInput) (*kms.ListGrantsResponse, error)

func (*MockKMSAPI) ListGrantsPages

func (_m *MockKMSAPI) ListGrantsPages(_param0 *kms.ListGrantsInput, _param1 func(*kms.ListGrantsResponse, bool) bool) error

func (*MockKMSAPI) ListGrantsRequest

func (_m *MockKMSAPI) ListGrantsRequest(_param0 *kms.ListGrantsInput) (*request.Request, *kms.ListGrantsResponse)

func (*MockKMSAPI) ListKeyPolicies

func (_m *MockKMSAPI) ListKeyPolicies(_param0 *kms.ListKeyPoliciesInput) (*kms.ListKeyPoliciesOutput, error)

func (*MockKMSAPI) ListKeyPoliciesPages

func (_m *MockKMSAPI) ListKeyPoliciesPages(_param0 *kms.ListKeyPoliciesInput, _param1 func(*kms.ListKeyPoliciesOutput, bool) bool) error

func (*MockKMSAPI) ListKeyPoliciesRequest

func (_m *MockKMSAPI) ListKeyPoliciesRequest(_param0 *kms.ListKeyPoliciesInput) (*request.Request, *kms.ListKeyPoliciesOutput)

func (*MockKMSAPI) ListKeys

func (_m *MockKMSAPI) ListKeys(_param0 *kms.ListKeysInput) (*kms.ListKeysOutput, error)

func (*MockKMSAPI) ListKeysPages

func (_m *MockKMSAPI) ListKeysPages(_param0 *kms.ListKeysInput, _param1 func(*kms.ListKeysOutput, bool) bool) error

func (*MockKMSAPI) ListKeysRequest

func (_m *MockKMSAPI) ListKeysRequest(_param0 *kms.ListKeysInput) (*request.Request, *kms.ListKeysOutput)

func (*MockKMSAPI) ListRetirableGrants

func (_m *MockKMSAPI) ListRetirableGrants(_param0 *kms.ListRetirableGrantsInput) (*kms.ListGrantsResponse, error)

func (*MockKMSAPI) ListRetirableGrantsRequest

func (_m *MockKMSAPI) ListRetirableGrantsRequest(_param0 *kms.ListRetirableGrantsInput) (*request.Request, *kms.ListGrantsResponse)

func (*MockKMSAPI) PutKeyPolicy

func (_m *MockKMSAPI) PutKeyPolicy(_param0 *kms.PutKeyPolicyInput) (*kms.PutKeyPolicyOutput, error)

func (*MockKMSAPI) PutKeyPolicyRequest

func (_m *MockKMSAPI) PutKeyPolicyRequest(_param0 *kms.PutKeyPolicyInput) (*request.Request, *kms.PutKeyPolicyOutput)

func (*MockKMSAPI) ReEncrypt

func (_m *MockKMSAPI) ReEncrypt(_param0 *kms.ReEncryptInput) (*kms.ReEncryptOutput, error)

func (*MockKMSAPI) ReEncryptRequest

func (_m *MockKMSAPI) ReEncryptRequest(_param0 *kms.ReEncryptInput) (*request.Request, *kms.ReEncryptOutput)

func (*MockKMSAPI) RetireGrant

func (_m *MockKMSAPI) RetireGrant(_param0 *kms.RetireGrantInput) (*kms.RetireGrantOutput, error)

func (*MockKMSAPI) RetireGrantRequest

func (_m *MockKMSAPI) RetireGrantRequest(_param0 *kms.RetireGrantInput) (*request.Request, *kms.RetireGrantOutput)

func (*MockKMSAPI) RevokeGrant

func (_m *MockKMSAPI) RevokeGrant(_param0 *kms.RevokeGrantInput) (*kms.RevokeGrantOutput, error)

func (*MockKMSAPI) RevokeGrantRequest

func (_m *MockKMSAPI) RevokeGrantRequest(_param0 *kms.RevokeGrantInput) (*request.Request, *kms.RevokeGrantOutput)

func (*MockKMSAPI) ScheduleKeyDeletion

func (_m *MockKMSAPI) ScheduleKeyDeletion(_param0 *kms.ScheduleKeyDeletionInput) (*kms.ScheduleKeyDeletionOutput, error)

func (*MockKMSAPI) ScheduleKeyDeletionRequest

func (_m *MockKMSAPI) ScheduleKeyDeletionRequest(_param0 *kms.ScheduleKeyDeletionInput) (*request.Request, *kms.ScheduleKeyDeletionOutput)

func (*MockKMSAPI) UpdateAlias

func (_m *MockKMSAPI) UpdateAlias(_param0 *kms.UpdateAliasInput) (*kms.UpdateAliasOutput, error)

func (*MockKMSAPI) UpdateAliasRequest

func (_m *MockKMSAPI) UpdateAliasRequest(_param0 *kms.UpdateAliasInput) (*request.Request, *kms.UpdateAliasOutput)

func (*MockKMSAPI) UpdateKeyDescription

func (_m *MockKMSAPI) UpdateKeyDescription(_param0 *kms.UpdateKeyDescriptionInput) (*kms.UpdateKeyDescriptionOutput, error)

func (*MockKMSAPI) UpdateKeyDescriptionRequest

func (_m *MockKMSAPI) UpdateKeyDescriptionRequest(_param0 *kms.UpdateKeyDescriptionInput) (*request.Request, *kms.UpdateKeyDescriptionOutput)

Jump to

Keyboard shortcuts

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