fake

package
v0.19.0-m1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

type MockInterface struct {
	mock.Mock
}

MockInterface is an autogenerated mock type for the Interface type

func NewMockInterface

func NewMockInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockInterface

NewMockInterface creates a new instance of MockInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockInterface) AuthorizeSecurityGroupIngress

func (_m *MockInterface) AuthorizeSecurityGroupIngress(ctx context.Context, params *ec2.AuthorizeSecurityGroupIngressInput, optFns ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupIngressOutput, error)

AuthorizeSecurityGroupIngress provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) CreateSecurityGroup

func (_m *MockInterface) CreateSecurityGroup(ctx context.Context, params *ec2.CreateSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.CreateSecurityGroupOutput, error)

CreateSecurityGroup provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) CreateTags

func (_m *MockInterface) CreateTags(ctx context.Context, params *ec2.CreateTagsInput, optFns ...func(*ec2.Options)) (*ec2.CreateTagsOutput, error)

CreateTags provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) DeleteSecurityGroup

func (_m *MockInterface) DeleteSecurityGroup(ctx context.Context, params *ec2.DeleteSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.DeleteSecurityGroupOutput, error)

DeleteSecurityGroup provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) DeleteTags

func (_m *MockInterface) DeleteTags(ctx context.Context, params *ec2.DeleteTagsInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTagsOutput, error)

DeleteTags provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) DescribeInstanceTypeOfferings

func (_m *MockInterface) DescribeInstanceTypeOfferings(ctx context.Context, params *ec2.DescribeInstanceTypeOfferingsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstanceTypeOfferingsOutput, error)

DescribeInstanceTypeOfferings provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) DescribeInstances

func (_m *MockInterface) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)

DescribeInstances provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) DescribeSecurityGroups

func (_m *MockInterface) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)

DescribeSecurityGroups provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) DescribeSubnets

func (_m *MockInterface) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)

DescribeSubnets provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) DescribeVpcs

func (_m *MockInterface) DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)

DescribeVpcs provides a mock function with given fields: ctx, params, optFns

func (*MockInterface) EXPECT

func (_m *MockInterface) EXPECT() *MockInterface_Expecter

func (*MockInterface) RevokeSecurityGroupIngress

func (_m *MockInterface) RevokeSecurityGroupIngress(ctx context.Context, params *ec2.RevokeSecurityGroupIngressInput, optFns ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupIngressOutput, error)

RevokeSecurityGroupIngress provides a mock function with given fields: ctx, params, optFns

type MockInterface_AuthorizeSecurityGroupIngress_Call added in v0.19.0

type MockInterface_AuthorizeSecurityGroupIngress_Call struct {
	*mock.Call
}

MockInterface_AuthorizeSecurityGroupIngress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthorizeSecurityGroupIngress'

func (*MockInterface_AuthorizeSecurityGroupIngress_Call) Return added in v0.19.0

func (*MockInterface_AuthorizeSecurityGroupIngress_Call) Run added in v0.19.0

type MockInterface_CreateSecurityGroup_Call added in v0.19.0

type MockInterface_CreateSecurityGroup_Call struct {
	*mock.Call
}

MockInterface_CreateSecurityGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSecurityGroup'

func (*MockInterface_CreateSecurityGroup_Call) Return added in v0.19.0

func (*MockInterface_CreateSecurityGroup_Call) Run added in v0.19.0

func (*MockInterface_CreateSecurityGroup_Call) RunAndReturn added in v0.19.0

type MockInterface_CreateTags_Call added in v0.19.0

type MockInterface_CreateTags_Call struct {
	*mock.Call
}

MockInterface_CreateTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTags'

func (*MockInterface_CreateTags_Call) Return added in v0.19.0

func (*MockInterface_CreateTags_Call) Run added in v0.19.0

func (_c *MockInterface_CreateTags_Call) Run(run func(ctx context.Context, params *ec2.CreateTagsInput, optFns ...func(*ec2.Options))) *MockInterface_CreateTags_Call

func (*MockInterface_CreateTags_Call) RunAndReturn added in v0.19.0

type MockInterface_DeleteSecurityGroup_Call added in v0.19.0

type MockInterface_DeleteSecurityGroup_Call struct {
	*mock.Call
}

MockInterface_DeleteSecurityGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSecurityGroup'

func (*MockInterface_DeleteSecurityGroup_Call) Return added in v0.19.0

func (*MockInterface_DeleteSecurityGroup_Call) Run added in v0.19.0

func (*MockInterface_DeleteSecurityGroup_Call) RunAndReturn added in v0.19.0

type MockInterface_DeleteTags_Call added in v0.19.0

type MockInterface_DeleteTags_Call struct {
	*mock.Call
}

MockInterface_DeleteTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTags'

func (*MockInterface_DeleteTags_Call) Return added in v0.19.0

func (*MockInterface_DeleteTags_Call) Run added in v0.19.0

func (_c *MockInterface_DeleteTags_Call) Run(run func(ctx context.Context, params *ec2.DeleteTagsInput, optFns ...func(*ec2.Options))) *MockInterface_DeleteTags_Call

func (*MockInterface_DeleteTags_Call) RunAndReturn added in v0.19.0

type MockInterface_DescribeInstanceTypeOfferings_Call added in v0.19.0

type MockInterface_DescribeInstanceTypeOfferings_Call struct {
	*mock.Call
}

MockInterface_DescribeInstanceTypeOfferings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeInstanceTypeOfferings'

func (*MockInterface_DescribeInstanceTypeOfferings_Call) Return added in v0.19.0

func (*MockInterface_DescribeInstanceTypeOfferings_Call) Run added in v0.19.0

type MockInterface_DescribeInstances_Call added in v0.19.0

type MockInterface_DescribeInstances_Call struct {
	*mock.Call
}

MockInterface_DescribeInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeInstances'

func (*MockInterface_DescribeInstances_Call) Return added in v0.19.0

func (*MockInterface_DescribeInstances_Call) Run added in v0.19.0

func (*MockInterface_DescribeInstances_Call) RunAndReturn added in v0.19.0

type MockInterface_DescribeSecurityGroups_Call added in v0.19.0

type MockInterface_DescribeSecurityGroups_Call struct {
	*mock.Call
}

MockInterface_DescribeSecurityGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSecurityGroups'

func (*MockInterface_DescribeSecurityGroups_Call) Return added in v0.19.0

func (*MockInterface_DescribeSecurityGroups_Call) Run added in v0.19.0

func (*MockInterface_DescribeSecurityGroups_Call) RunAndReturn added in v0.19.0

type MockInterface_DescribeSubnets_Call added in v0.19.0

type MockInterface_DescribeSubnets_Call struct {
	*mock.Call
}

MockInterface_DescribeSubnets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubnets'

func (*MockInterface_DescribeSubnets_Call) Return added in v0.19.0

func (*MockInterface_DescribeSubnets_Call) Run added in v0.19.0

func (*MockInterface_DescribeSubnets_Call) RunAndReturn added in v0.19.0

type MockInterface_DescribeVpcs_Call added in v0.19.0

type MockInterface_DescribeVpcs_Call struct {
	*mock.Call
}

MockInterface_DescribeVpcs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeVpcs'

func (*MockInterface_DescribeVpcs_Call) Return added in v0.19.0

func (*MockInterface_DescribeVpcs_Call) Run added in v0.19.0

func (*MockInterface_DescribeVpcs_Call) RunAndReturn added in v0.19.0

type MockInterface_Expecter added in v0.19.0

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

func (*MockInterface_Expecter) AuthorizeSecurityGroupIngress added in v0.19.0

func (_e *MockInterface_Expecter) AuthorizeSecurityGroupIngress(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_AuthorizeSecurityGroupIngress_Call

AuthorizeSecurityGroupIngress is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.AuthorizeSecurityGroupIngressInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) CreateSecurityGroup added in v0.19.0

func (_e *MockInterface_Expecter) CreateSecurityGroup(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_CreateSecurityGroup_Call

CreateSecurityGroup is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.CreateSecurityGroupInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) CreateTags added in v0.19.0

func (_e *MockInterface_Expecter) CreateTags(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_CreateTags_Call

CreateTags is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.CreateTagsInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) DeleteSecurityGroup added in v0.19.0

func (_e *MockInterface_Expecter) DeleteSecurityGroup(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DeleteSecurityGroup_Call

DeleteSecurityGroup is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.DeleteSecurityGroupInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) DeleteTags added in v0.19.0

func (_e *MockInterface_Expecter) DeleteTags(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DeleteTags_Call

DeleteTags is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.DeleteTagsInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) DescribeInstanceTypeOfferings added in v0.19.0

func (_e *MockInterface_Expecter) DescribeInstanceTypeOfferings(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeInstanceTypeOfferings_Call

DescribeInstanceTypeOfferings is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.DescribeInstanceTypeOfferingsInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) DescribeInstances added in v0.19.0

func (_e *MockInterface_Expecter) DescribeInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeInstances_Call

DescribeInstances is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.DescribeInstancesInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) DescribeSecurityGroups added in v0.19.0

func (_e *MockInterface_Expecter) DescribeSecurityGroups(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeSecurityGroups_Call

DescribeSecurityGroups is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.DescribeSecurityGroupsInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) DescribeSubnets added in v0.19.0

func (_e *MockInterface_Expecter) DescribeSubnets(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeSubnets_Call

DescribeSubnets is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.DescribeSubnetsInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) DescribeVpcs added in v0.19.0

func (_e *MockInterface_Expecter) DescribeVpcs(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeVpcs_Call

DescribeVpcs is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.DescribeVpcsInput
  • optFns ...func(*ec2.Options)

func (*MockInterface_Expecter) RevokeSecurityGroupIngress added in v0.19.0

func (_e *MockInterface_Expecter) RevokeSecurityGroupIngress(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_RevokeSecurityGroupIngress_Call

RevokeSecurityGroupIngress is a helper method to define mock.On call

  • ctx context.Context
  • params *ec2.RevokeSecurityGroupIngressInput
  • optFns ...func(*ec2.Options)

type MockInterface_RevokeSecurityGroupIngress_Call added in v0.19.0

type MockInterface_RevokeSecurityGroupIngress_Call struct {
	*mock.Call
}

MockInterface_RevokeSecurityGroupIngress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeSecurityGroupIngress'

func (*MockInterface_RevokeSecurityGroupIngress_Call) Return added in v0.19.0

func (*MockInterface_RevokeSecurityGroupIngress_Call) Run added in v0.19.0

func (*MockInterface_RevokeSecurityGroupIngress_Call) RunAndReturn added in v0.19.0

Jump to

Keyboard shortcuts

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