mocks

package
v0.0.0-...-f062a39 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFactoryMock

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

func NewClientFactoryMock

func NewClientFactoryMock(t *testing.T) ClientFactoryMock

func (*ClientFactoryMock) Destroy

func (client *ClientFactoryMock) Destroy()

func (*ClientFactoryMock) GetEc2Client

func (client *ClientFactoryMock) GetEc2Client(config csasession.SessionConfig) (clientfactory.EC2Client, error)

func (*ClientFactoryMock) GetIAMClient

func (client *ClientFactoryMock) GetIAMClient(config csasession.SessionConfig) (clientfactory.IAMClient, error)

func (*ClientFactoryMock) GetKmsClient

func (client *ClientFactoryMock) GetKmsClient(config csasession.SessionConfig) (clientfactory.KmsClient, error)

func (*ClientFactoryMock) GetS3Client

func (client *ClientFactoryMock) GetS3Client(config csasession.SessionConfig) (clientfactory.S3Client, error)

type MockEC2Client

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

MockEC2Client is a mock of EC2Client interface

func NewMockEC2Client

func NewMockEC2Client(ctrl *gomock.Controller) *MockEC2Client

NewMockEC2Client creates a new mock instance

func (*MockEC2Client) DescribeImages

func (m *MockEC2Client) DescribeImages(input *ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)

DescribeImages mocks base method

func (*MockEC2Client) DescribeInstances

func (m *MockEC2Client) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)

DescribeInstances mocks base method

func (*MockEC2Client) DescribeSecurityGroups

DescribeSecurityGroups mocks base method

func (*MockEC2Client) DescribeSnapshots

func (m *MockEC2Client) DescribeSnapshots(input *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error)

DescribeSnapshots mocks base method

func (*MockEC2Client) DescribeVolumes

func (m *MockEC2Client) DescribeVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)

DescribeVolumes mocks base method

func (*MockEC2Client) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockEC2ClientMockRecorder

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

MockEC2ClientMockRecorder is the mock recorder for MockEC2Client

func (*MockEC2ClientMockRecorder) DescribeImages

func (mr *MockEC2ClientMockRecorder) DescribeImages(input interface{}) *gomock.Call

DescribeImages indicates an expected call of DescribeImages

func (*MockEC2ClientMockRecorder) DescribeInstances

func (mr *MockEC2ClientMockRecorder) DescribeInstances(input interface{}) *gomock.Call

DescribeInstances indicates an expected call of DescribeInstances

func (*MockEC2ClientMockRecorder) DescribeSecurityGroups

func (mr *MockEC2ClientMockRecorder) DescribeSecurityGroups(input interface{}) *gomock.Call

DescribeSecurityGroups indicates an expected call of DescribeSecurityGroups

func (*MockEC2ClientMockRecorder) DescribeSnapshots

func (mr *MockEC2ClientMockRecorder) DescribeSnapshots(input interface{}) *gomock.Call

DescribeSnapshots indicates an expected call of DescribeSnapshots

func (*MockEC2ClientMockRecorder) DescribeVolumes

func (mr *MockEC2ClientMockRecorder) DescribeVolumes(input interface{}) *gomock.Call

DescribeVolumes indicates an expected call of DescribeVolumes

type MockIAMClient

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

MockIAMClient is a mock of IAMClient interface

func NewMockIAMClient

func NewMockIAMClient(ctrl *gomock.Controller) *MockIAMClient

NewMockIAMClient creates a new mock instance

func (*MockIAMClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockIAMClient) ListAccessKeys

func (m *MockIAMClient) ListAccessKeys(input *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)

ListAccessKeys mocks base method

func (*MockIAMClient) ListUsers

ListUsers mocks base method

type MockIAMClientMockRecorder

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

MockIAMClientMockRecorder is the mock recorder for MockIAMClient

func (*MockIAMClientMockRecorder) ListAccessKeys

func (mr *MockIAMClientMockRecorder) ListAccessKeys(input interface{}) *gomock.Call

ListAccessKeys indicates an expected call of ListAccessKeys

func (*MockIAMClientMockRecorder) ListUsers

func (mr *MockIAMClientMockRecorder) ListUsers(input interface{}) *gomock.Call

ListUsers indicates an expected call of ListUsers

type MockKmsClient

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

MockKmsClient is a mock of KmsClient interface

func NewMockKmsClient

func NewMockKmsClient(ctrl *gomock.Controller) *MockKmsClient

NewMockKmsClient creates a new mock instance

func (*MockKmsClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockKmsClient) ListAliases

func (m *MockKmsClient) ListAliases(input *kms.ListAliasesInput) (*kms.ListAliasesOutput, error)

ListAliases mocks base method

func (*MockKmsClient) ListKeys

func (m *MockKmsClient) ListKeys(input *kms.ListKeysInput) (*kms.ListKeysOutput, error)

ListKeys mocks base method

type MockKmsClientMockRecorder

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

MockKmsClientMockRecorder is the mock recorder for MockKmsClient

func (*MockKmsClientMockRecorder) ListAliases

func (mr *MockKmsClientMockRecorder) ListAliases(input interface{}) *gomock.Call

ListAliases indicates an expected call of ListAliases

func (*MockKmsClientMockRecorder) ListKeys

func (mr *MockKmsClientMockRecorder) ListKeys(input interface{}) *gomock.Call

ListKeys indicates an expected call of ListKeys

type MockS3Client

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

MockS3Client is a mock of S3Client interface

func NewMockS3Client

func NewMockS3Client(ctrl *gomock.Controller) *MockS3Client

NewMockS3Client creates a new mock instance

func (*MockS3Client) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockS3Client) GetBucketAcl

func (m *MockS3Client) GetBucketAcl(input *s3.GetBucketAclInput) (*s3.GetBucketAclOutput, error)

GetBucketAcl mocks base method

func (*MockS3Client) GetBucketEncryption

func (m *MockS3Client) GetBucketEncryption(input *s3.GetBucketEncryptionInput) (*s3.GetBucketEncryptionOutput, error)

GetBucketEncryption mocks base method

func (*MockS3Client) GetBucketLocation

func (m *MockS3Client) GetBucketLocation(input *s3.GetBucketLocationInput) (*s3.GetBucketLocationOutput, error)

GetBucketLocation mocks base method

func (*MockS3Client) GetBucketLogging

func (m *MockS3Client) GetBucketLogging(input *s3.GetBucketLoggingInput) (*s3.GetBucketLoggingOutput, error)

GetBucketLogging mocks base method

func (*MockS3Client) GetBucketPolicy

func (m *MockS3Client) GetBucketPolicy(input *s3.GetBucketPolicyInput) (*s3.GetBucketPolicyOutput, error)

GetBucketPolicy mocks base method

func (*MockS3Client) ListBuckets

func (m *MockS3Client) ListBuckets(input *s3.ListBucketsInput) (*s3.ListBucketsOutput, error)

ListBuckets mocks base method

type MockS3ClientMockRecorder

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

MockS3ClientMockRecorder is the mock recorder for MockS3Client

func (*MockS3ClientMockRecorder) GetBucketAcl

func (mr *MockS3ClientMockRecorder) GetBucketAcl(input interface{}) *gomock.Call

GetBucketAcl indicates an expected call of GetBucketAcl

func (*MockS3ClientMockRecorder) GetBucketEncryption

func (mr *MockS3ClientMockRecorder) GetBucketEncryption(input interface{}) *gomock.Call

GetBucketEncryption indicates an expected call of GetBucketEncryption

func (*MockS3ClientMockRecorder) GetBucketLocation

func (mr *MockS3ClientMockRecorder) GetBucketLocation(input interface{}) *gomock.Call

GetBucketLocation indicates an expected call of GetBucketLocation

func (*MockS3ClientMockRecorder) GetBucketLogging

func (mr *MockS3ClientMockRecorder) GetBucketLogging(input interface{}) *gomock.Call

GetBucketLogging indicates an expected call of GetBucketLogging

func (*MockS3ClientMockRecorder) GetBucketPolicy

func (mr *MockS3ClientMockRecorder) GetBucketPolicy(input interface{}) *gomock.Call

GetBucketPolicy indicates an expected call of GetBucketPolicy

func (*MockS3ClientMockRecorder) ListBuckets

func (mr *MockS3ClientMockRecorder) ListBuckets(input interface{}) *gomock.Call

ListBuckets indicates an expected call of ListBuckets

Jump to

Keyboard shortcuts

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