mocks

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAWSInfraProviderer added in v0.0.20

type MockAWSInfraProviderer struct {
	mock.Mock
}

MockAWSInfraProviderer is an autogenerated mock type for the AWSInfraProviderer type

func NewMockAWSInfraProviderer added in v0.0.20

func NewMockAWSInfraProviderer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAWSInfraProviderer

NewMockAWSInfraProviderer creates a new instance of MockAWSInfraProviderer. 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 (*MockAWSInfraProviderer) CreateVPC added in v0.0.20

func (_m *MockAWSInfraProviderer) CreateVPC(stack awscdk.Stack) awsec2.IVpc

CreateVPC provides a mock function with given fields: stack

func (*MockAWSInfraProviderer) EXPECT added in v0.0.20

func (*MockAWSInfraProviderer) GetCloudFormationClient added in v0.0.20

func (_m *MockAWSInfraProviderer) GetCloudFormationClient() aws.CloudFormationAPIer

GetCloudFormationClient provides a mock function with given fields:

func (*MockAWSInfraProviderer) NewStack added in v0.0.20

func (_m *MockAWSInfraProviderer) NewStack(scope awscdk.App, id string, props *awscdk.StackProps) awscdk.Stack

NewStack provides a mock function with given fields: scope, id, props

func (*MockAWSInfraProviderer) SynthTemplate added in v0.0.20

func (_m *MockAWSInfraProviderer) SynthTemplate(app awscdk.App) (string, error)

SynthTemplate provides a mock function with given fields: app

type MockAWSInfraProviderer_CreateVPC_Call added in v0.0.20

type MockAWSInfraProviderer_CreateVPC_Call struct {
	*mock.Call
}

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

func (*MockAWSInfraProviderer_CreateVPC_Call) Return added in v0.0.20

func (*MockAWSInfraProviderer_CreateVPC_Call) Run added in v0.0.20

func (*MockAWSInfraProviderer_CreateVPC_Call) RunAndReturn added in v0.0.20

type MockAWSInfraProviderer_Expecter added in v0.0.20

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

func (*MockAWSInfraProviderer_Expecter) CreateVPC added in v0.0.20

CreateVPC is a helper method to define mock.On call

  • stack awscdk.Stack

func (*MockAWSInfraProviderer_Expecter) GetCloudFormationClient added in v0.0.20

GetCloudFormationClient is a helper method to define mock.On call

func (*MockAWSInfraProviderer_Expecter) NewStack added in v0.0.20

func (_e *MockAWSInfraProviderer_Expecter) NewStack(scope interface{}, id interface{}, props interface{}) *MockAWSInfraProviderer_NewStack_Call

NewStack is a helper method to define mock.On call

  • scope awscdk.App
  • id string
  • props *awscdk.StackProps

func (*MockAWSInfraProviderer_Expecter) SynthTemplate added in v0.0.20

SynthTemplate is a helper method to define mock.On call

  • app awscdk.App

type MockAWSInfraProviderer_GetCloudFormationClient_Call added in v0.0.20

type MockAWSInfraProviderer_GetCloudFormationClient_Call struct {
	*mock.Call
}

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

func (*MockAWSInfraProviderer_GetCloudFormationClient_Call) Return added in v0.0.20

func (*MockAWSInfraProviderer_GetCloudFormationClient_Call) Run added in v0.0.20

func (*MockAWSInfraProviderer_GetCloudFormationClient_Call) RunAndReturn added in v0.0.20

type MockAWSInfraProviderer_NewStack_Call added in v0.0.20

type MockAWSInfraProviderer_NewStack_Call struct {
	*mock.Call
}

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

func (*MockAWSInfraProviderer_NewStack_Call) Return added in v0.0.20

func (*MockAWSInfraProviderer_NewStack_Call) Run added in v0.0.20

func (*MockAWSInfraProviderer_NewStack_Call) RunAndReturn added in v0.0.20

type MockAWSInfraProviderer_SynthTemplate_Call added in v0.0.20

type MockAWSInfraProviderer_SynthTemplate_Call struct {
	*mock.Call
}

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

func (*MockAWSInfraProviderer_SynthTemplate_Call) Return added in v0.0.20

func (*MockAWSInfraProviderer_SynthTemplate_Call) Run added in v0.0.20

func (*MockAWSInfraProviderer_SynthTemplate_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer added in v0.0.20

type MockAWSProviderer struct {
	mock.Mock
}

MockAWSProviderer is an autogenerated mock type for the AWSProviderer type

func NewMockAWSProviderer added in v0.0.20

func NewMockAWSProviderer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAWSProviderer

NewMockAWSProviderer creates a new instance of MockAWSProviderer. 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 (*MockAWSProviderer) CreateDeployment added in v0.0.20

func (_m *MockAWSProviderer) CreateDeployment(ctx context.Context) error

CreateDeployment provides a mock function with given fields: ctx

func (*MockAWSProviderer) CreateVPCAndSubnet added in v0.0.20

func (_m *MockAWSProviderer) CreateVPCAndSubnet(ctx context.Context) error

CreateVPCAndSubnet provides a mock function with given fields: ctx

func (*MockAWSProviderer) Destroy added in v0.0.20

func (_m *MockAWSProviderer) Destroy(ctx context.Context) error

Destroy provides a mock function with given fields: ctx

func (*MockAWSProviderer) EXPECT added in v0.0.20

func (*MockAWSProviderer) GetEC2Client added in v0.0.20

func (_m *MockAWSProviderer) GetEC2Client() (aws.EC2Clienter, error)

GetEC2Client provides a mock function with given fields:

func (*MockAWSProviderer) GetLatestUbuntuImage added in v0.0.20

func (_m *MockAWSProviderer) GetLatestUbuntuImage(ctx context.Context, region string) (*types.Image, error)

GetLatestUbuntuImage provides a mock function with given fields: ctx, region

func (*MockAWSProviderer) GetVMExternalIP added in v0.0.20

func (_m *MockAWSProviderer) GetVMExternalIP(ctx context.Context, instanceID string) (string, error)

GetVMExternalIP provides a mock function with given fields: ctx, instanceID

func (*MockAWSProviderer) ListDeployments added in v0.0.20

func (_m *MockAWSProviderer) ListDeployments(ctx context.Context) ([]string, error)

ListDeployments provides a mock function with given fields: ctx

func (*MockAWSProviderer) SetEC2Client added in v0.0.20

func (_m *MockAWSProviderer) SetEC2Client(client aws.EC2Clienter)

SetEC2Client provides a mock function with given fields: client

func (*MockAWSProviderer) StartResourcePolling added in v0.0.20

func (_m *MockAWSProviderer) StartResourcePolling(ctx context.Context) error

StartResourcePolling provides a mock function with given fields: ctx

func (*MockAWSProviderer) TerminateDeployment added in v0.0.20

func (_m *MockAWSProviderer) TerminateDeployment(ctx context.Context) error

TerminateDeployment provides a mock function with given fields: ctx

func (*MockAWSProviderer) ValidateMachineType added in v0.0.20

func (_m *MockAWSProviderer) ValidateMachineType(ctx context.Context, location string, instanceType string) (bool, error)

ValidateMachineType provides a mock function with given fields: ctx, location, instanceType

type MockAWSProviderer_CreateDeployment_Call added in v0.0.20

type MockAWSProviderer_CreateDeployment_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_CreateDeployment_Call) Return added in v0.0.20

func (*MockAWSProviderer_CreateDeployment_Call) Run added in v0.0.20

func (*MockAWSProviderer_CreateDeployment_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_CreateVPCAndSubnet_Call added in v0.0.20

type MockAWSProviderer_CreateVPCAndSubnet_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_CreateVPCAndSubnet_Call) Return added in v0.0.20

func (*MockAWSProviderer_CreateVPCAndSubnet_Call) Run added in v0.0.20

func (*MockAWSProviderer_CreateVPCAndSubnet_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_Destroy_Call added in v0.0.20

type MockAWSProviderer_Destroy_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_Destroy_Call) Return added in v0.0.20

func (*MockAWSProviderer_Destroy_Call) Run added in v0.0.20

func (*MockAWSProviderer_Destroy_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_Expecter added in v0.0.20

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

func (*MockAWSProviderer_Expecter) CreateDeployment added in v0.0.20

func (_e *MockAWSProviderer_Expecter) CreateDeployment(ctx interface{}) *MockAWSProviderer_CreateDeployment_Call

CreateDeployment is a helper method to define mock.On call

  • ctx context.Context

func (*MockAWSProviderer_Expecter) CreateVPCAndSubnet added in v0.0.20

func (_e *MockAWSProviderer_Expecter) CreateVPCAndSubnet(ctx interface{}) *MockAWSProviderer_CreateVPCAndSubnet_Call

CreateVPCAndSubnet is a helper method to define mock.On call

  • ctx context.Context

func (*MockAWSProviderer_Expecter) Destroy added in v0.0.20

func (_e *MockAWSProviderer_Expecter) Destroy(ctx interface{}) *MockAWSProviderer_Destroy_Call

Destroy is a helper method to define mock.On call

  • ctx context.Context

func (*MockAWSProviderer_Expecter) GetEC2Client added in v0.0.20

GetEC2Client is a helper method to define mock.On call

func (*MockAWSProviderer_Expecter) GetLatestUbuntuImage added in v0.0.20

func (_e *MockAWSProviderer_Expecter) GetLatestUbuntuImage(ctx interface{}, region interface{}) *MockAWSProviderer_GetLatestUbuntuImage_Call

GetLatestUbuntuImage is a helper method to define mock.On call

  • ctx context.Context
  • region string

func (*MockAWSProviderer_Expecter) GetVMExternalIP added in v0.0.20

func (_e *MockAWSProviderer_Expecter) GetVMExternalIP(ctx interface{}, instanceID interface{}) *MockAWSProviderer_GetVMExternalIP_Call

GetVMExternalIP is a helper method to define mock.On call

  • ctx context.Context
  • instanceID string

func (*MockAWSProviderer_Expecter) ListDeployments added in v0.0.20

func (_e *MockAWSProviderer_Expecter) ListDeployments(ctx interface{}) *MockAWSProviderer_ListDeployments_Call

ListDeployments is a helper method to define mock.On call

  • ctx context.Context

func (*MockAWSProviderer_Expecter) SetEC2Client added in v0.0.20

func (_e *MockAWSProviderer_Expecter) SetEC2Client(client interface{}) *MockAWSProviderer_SetEC2Client_Call

SetEC2Client is a helper method to define mock.On call

  • client aws.EC2Clienter

func (*MockAWSProviderer_Expecter) StartResourcePolling added in v0.0.20

func (_e *MockAWSProviderer_Expecter) StartResourcePolling(ctx interface{}) *MockAWSProviderer_StartResourcePolling_Call

StartResourcePolling is a helper method to define mock.On call

  • ctx context.Context

func (*MockAWSProviderer_Expecter) TerminateDeployment added in v0.0.20

func (_e *MockAWSProviderer_Expecter) TerminateDeployment(ctx interface{}) *MockAWSProviderer_TerminateDeployment_Call

TerminateDeployment is a helper method to define mock.On call

  • ctx context.Context

func (*MockAWSProviderer_Expecter) ValidateMachineType added in v0.0.20

func (_e *MockAWSProviderer_Expecter) ValidateMachineType(ctx interface{}, location interface{}, instanceType interface{}) *MockAWSProviderer_ValidateMachineType_Call

ValidateMachineType is a helper method to define mock.On call

  • ctx context.Context
  • location string
  • instanceType string

type MockAWSProviderer_GetEC2Client_Call added in v0.0.20

type MockAWSProviderer_GetEC2Client_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_GetEC2Client_Call) Return added in v0.0.20

func (*MockAWSProviderer_GetEC2Client_Call) Run added in v0.0.20

func (*MockAWSProviderer_GetEC2Client_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_GetLatestUbuntuImage_Call added in v0.0.20

type MockAWSProviderer_GetLatestUbuntuImage_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_GetLatestUbuntuImage_Call) Return added in v0.0.20

func (*MockAWSProviderer_GetLatestUbuntuImage_Call) Run added in v0.0.20

func (*MockAWSProviderer_GetLatestUbuntuImage_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_GetVMExternalIP_Call added in v0.0.20

type MockAWSProviderer_GetVMExternalIP_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_GetVMExternalIP_Call) Return added in v0.0.20

func (*MockAWSProviderer_GetVMExternalIP_Call) Run added in v0.0.20

func (*MockAWSProviderer_GetVMExternalIP_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_ListDeployments_Call added in v0.0.20

type MockAWSProviderer_ListDeployments_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_ListDeployments_Call) Return added in v0.0.20

func (*MockAWSProviderer_ListDeployments_Call) Run added in v0.0.20

func (*MockAWSProviderer_ListDeployments_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_SetEC2Client_Call added in v0.0.20

type MockAWSProviderer_SetEC2Client_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_SetEC2Client_Call) Return added in v0.0.20

func (*MockAWSProviderer_SetEC2Client_Call) Run added in v0.0.20

func (*MockAWSProviderer_SetEC2Client_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_StartResourcePolling_Call added in v0.0.20

type MockAWSProviderer_StartResourcePolling_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_StartResourcePolling_Call) Return added in v0.0.20

func (*MockAWSProviderer_StartResourcePolling_Call) Run added in v0.0.20

func (*MockAWSProviderer_StartResourcePolling_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_TerminateDeployment_Call added in v0.0.20

type MockAWSProviderer_TerminateDeployment_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_TerminateDeployment_Call) Return added in v0.0.20

func (*MockAWSProviderer_TerminateDeployment_Call) Run added in v0.0.20

func (*MockAWSProviderer_TerminateDeployment_Call) RunAndReturn added in v0.0.20

type MockAWSProviderer_ValidateMachineType_Call added in v0.0.20

type MockAWSProviderer_ValidateMachineType_Call struct {
	*mock.Call
}

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

func (*MockAWSProviderer_ValidateMachineType_Call) Return added in v0.0.20

func (*MockAWSProviderer_ValidateMachineType_Call) Run added in v0.0.20

func (*MockAWSProviderer_ValidateMachineType_Call) RunAndReturn added in v0.0.20

type MockCDKStackProviderer added in v0.0.20

type MockCDKStackProviderer struct {
	mock.Mock
}

MockCDKStackProviderer is an autogenerated mock type for the CDKStackProviderer type

func NewMockCDKStackProviderer added in v0.0.20

func NewMockCDKStackProviderer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCDKStackProviderer

NewMockCDKStackProviderer creates a new instance of MockCDKStackProviderer. 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 (*MockCDKStackProviderer) EXPECT added in v0.0.20

func (*MockCDKStackProviderer) GetTemplate added in v0.0.20

func (_m *MockCDKStackProviderer) GetTemplate(stack awscdk.Stack) (string, error)

GetTemplate provides a mock function with given fields: stack

func (*MockCDKStackProviderer) NewStack added in v0.0.20

func (_m *MockCDKStackProviderer) NewStack(scope awscdk.App, id string, props *awscdk.StackProps) awscdk.Stack

NewStack provides a mock function with given fields: scope, id, props

type MockCDKStackProviderer_Expecter added in v0.0.20

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

func (*MockCDKStackProviderer_Expecter) GetTemplate added in v0.0.20

GetTemplate is a helper method to define mock.On call

  • stack awscdk.Stack

func (*MockCDKStackProviderer_Expecter) NewStack added in v0.0.20

func (_e *MockCDKStackProviderer_Expecter) NewStack(scope interface{}, id interface{}, props interface{}) *MockCDKStackProviderer_NewStack_Call

NewStack is a helper method to define mock.On call

  • scope awscdk.App
  • id string
  • props *awscdk.StackProps

type MockCDKStackProviderer_GetTemplate_Call added in v0.0.20

type MockCDKStackProviderer_GetTemplate_Call struct {
	*mock.Call
}

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

func (*MockCDKStackProviderer_GetTemplate_Call) Return added in v0.0.20

func (*MockCDKStackProviderer_GetTemplate_Call) Run added in v0.0.20

func (*MockCDKStackProviderer_GetTemplate_Call) RunAndReturn added in v0.0.20

type MockCDKStackProviderer_NewStack_Call added in v0.0.20

type MockCDKStackProviderer_NewStack_Call struct {
	*mock.Call
}

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

func (*MockCDKStackProviderer_NewStack_Call) Return added in v0.0.20

func (*MockCDKStackProviderer_NewStack_Call) Run added in v0.0.20

func (*MockCDKStackProviderer_NewStack_Call) RunAndReturn added in v0.0.20

type MockCloudFormationAPIer added in v0.0.20

type MockCloudFormationAPIer struct {
	mock.Mock
}

MockCloudFormationAPIer is an autogenerated mock type for the CloudFormationAPIer type

func NewMockCloudFormationAPIer added in v0.0.20

func NewMockCloudFormationAPIer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCloudFormationAPIer

NewMockCloudFormationAPIer creates a new instance of MockCloudFormationAPIer. 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 (*MockCloudFormationAPIer) CreateStack added in v0.0.20

CreateStack provides a mock function with given fields: ctx, params, opts

func (*MockCloudFormationAPIer) DeleteStack added in v0.0.20

DeleteStack provides a mock function with given fields: ctx, params, opts

func (*MockCloudFormationAPIer) DescribeStackEvents added in v0.0.20

DescribeStackEvents provides a mock function with given fields: ctx, params, opts

func (*MockCloudFormationAPIer) DescribeStacks added in v0.0.20

DescribeStacks provides a mock function with given fields: ctx, params, opts

func (*MockCloudFormationAPIer) EXPECT added in v0.0.20

func (*MockCloudFormationAPIer) GetTemplate added in v0.0.20

GetTemplate provides a mock function with given fields: ctx, params, opts

func (*MockCloudFormationAPIer) ListStacks added in v0.0.20

ListStacks provides a mock function with given fields: ctx, params, opts

func (*MockCloudFormationAPIer) UpdateStack added in v0.0.20

UpdateStack provides a mock function with given fields: ctx, params, opts

type MockCloudFormationAPIer_CreateStack_Call added in v0.0.20

type MockCloudFormationAPIer_CreateStack_Call struct {
	*mock.Call
}

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

func (*MockCloudFormationAPIer_CreateStack_Call) Return added in v0.0.20

func (*MockCloudFormationAPIer_CreateStack_Call) Run added in v0.0.20

func (*MockCloudFormationAPIer_CreateStack_Call) RunAndReturn added in v0.0.20

type MockCloudFormationAPIer_DeleteStack_Call added in v0.0.20

type MockCloudFormationAPIer_DeleteStack_Call struct {
	*mock.Call
}

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

func (*MockCloudFormationAPIer_DeleteStack_Call) Return added in v0.0.20

func (*MockCloudFormationAPIer_DeleteStack_Call) Run added in v0.0.20

func (*MockCloudFormationAPIer_DeleteStack_Call) RunAndReturn added in v0.0.20

type MockCloudFormationAPIer_DescribeStackEvents_Call added in v0.0.20

type MockCloudFormationAPIer_DescribeStackEvents_Call struct {
	*mock.Call
}

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

func (*MockCloudFormationAPIer_DescribeStackEvents_Call) Return added in v0.0.20

func (*MockCloudFormationAPIer_DescribeStackEvents_Call) Run added in v0.0.20

type MockCloudFormationAPIer_DescribeStacks_Call added in v0.0.20

type MockCloudFormationAPIer_DescribeStacks_Call struct {
	*mock.Call
}

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

func (*MockCloudFormationAPIer_DescribeStacks_Call) Return added in v0.0.20

func (*MockCloudFormationAPIer_DescribeStacks_Call) Run added in v0.0.20

type MockCloudFormationAPIer_Expecter added in v0.0.20

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

func (*MockCloudFormationAPIer_Expecter) CreateStack added in v0.0.20

func (_e *MockCloudFormationAPIer_Expecter) CreateStack(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_CreateStack_Call

CreateStack is a helper method to define mock.On call

  • ctx context.Context
  • params *cloudformation.CreateStackInput
  • opts ...func(*cloudformation.Options)

func (*MockCloudFormationAPIer_Expecter) DeleteStack added in v0.0.20

func (_e *MockCloudFormationAPIer_Expecter) DeleteStack(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_DeleteStack_Call

DeleteStack is a helper method to define mock.On call

  • ctx context.Context
  • params *cloudformation.DeleteStackInput
  • opts ...func(*cloudformation.Options)

func (*MockCloudFormationAPIer_Expecter) DescribeStackEvents added in v0.0.20

func (_e *MockCloudFormationAPIer_Expecter) DescribeStackEvents(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_DescribeStackEvents_Call

DescribeStackEvents is a helper method to define mock.On call

  • ctx context.Context
  • params *cloudformation.DescribeStackEventsInput
  • opts ...func(*cloudformation.Options)

func (*MockCloudFormationAPIer_Expecter) DescribeStacks added in v0.0.20

func (_e *MockCloudFormationAPIer_Expecter) DescribeStacks(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_DescribeStacks_Call

DescribeStacks is a helper method to define mock.On call

  • ctx context.Context
  • params *cloudformation.DescribeStacksInput
  • opts ...func(*cloudformation.Options)

func (*MockCloudFormationAPIer_Expecter) GetTemplate added in v0.0.20

func (_e *MockCloudFormationAPIer_Expecter) GetTemplate(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_GetTemplate_Call

GetTemplate is a helper method to define mock.On call

  • ctx context.Context
  • params *cloudformation.GetTemplateInput
  • opts ...func(*cloudformation.Options)

func (*MockCloudFormationAPIer_Expecter) ListStacks added in v0.0.20

func (_e *MockCloudFormationAPIer_Expecter) ListStacks(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_ListStacks_Call

ListStacks is a helper method to define mock.On call

  • ctx context.Context
  • params *cloudformation.ListStacksInput
  • opts ...func(*cloudformation.Options)

func (*MockCloudFormationAPIer_Expecter) UpdateStack added in v0.0.20

func (_e *MockCloudFormationAPIer_Expecter) UpdateStack(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_UpdateStack_Call

UpdateStack is a helper method to define mock.On call

  • ctx context.Context
  • params *cloudformation.UpdateStackInput
  • opts ...func(*cloudformation.Options)

type MockCloudFormationAPIer_GetTemplate_Call added in v0.0.20

type MockCloudFormationAPIer_GetTemplate_Call struct {
	*mock.Call
}

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

func (*MockCloudFormationAPIer_GetTemplate_Call) Return added in v0.0.20

func (*MockCloudFormationAPIer_GetTemplate_Call) Run added in v0.0.20

func (*MockCloudFormationAPIer_GetTemplate_Call) RunAndReturn added in v0.0.20

type MockCloudFormationAPIer_ListStacks_Call added in v0.0.20

type MockCloudFormationAPIer_ListStacks_Call struct {
	*mock.Call
}

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

func (*MockCloudFormationAPIer_ListStacks_Call) Return added in v0.0.20

func (*MockCloudFormationAPIer_ListStacks_Call) Run added in v0.0.20

func (*MockCloudFormationAPIer_ListStacks_Call) RunAndReturn added in v0.0.20

type MockCloudFormationAPIer_UpdateStack_Call added in v0.0.20

type MockCloudFormationAPIer_UpdateStack_Call struct {
	*mock.Call
}

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

func (*MockCloudFormationAPIer_UpdateStack_Call) Return added in v0.0.20

func (*MockCloudFormationAPIer_UpdateStack_Call) Run added in v0.0.20

func (*MockCloudFormationAPIer_UpdateStack_Call) RunAndReturn added in v0.0.20

type MockConfigInterfacer

type MockConfigInterfacer struct {
	mock.Mock
}

MockConfigInterfacer is an autogenerated mock type for the ConfigInterfacer type

func NewMockConfigInterfacer

func NewMockConfigInterfacer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockConfigInterfacer

NewMockConfigInterfacer creates a new instance of MockConfigInterfacer. 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 (*MockConfigInterfacer) EXPECT

func (*MockConfigInterfacer) GetString

func (_m *MockConfigInterfacer) GetString(key string) string

GetString provides a mock function with given fields: key

type MockConfigInterfacer_Expecter

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

func (*MockConfigInterfacer_Expecter) GetString

GetString is a helper method to define mock.On call

  • key string

type MockConfigInterfacer_GetString_Call

type MockConfigInterfacer_GetString_Call struct {
	*mock.Call
}

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

func (*MockConfigInterfacer_GetString_Call) Return

func (*MockConfigInterfacer_GetString_Call) Run

func (*MockConfigInterfacer_GetString_Call) RunAndReturn

type MockEC2Clienter

type MockEC2Clienter struct {
	mock.Mock
}

MockEC2Clienter is an autogenerated mock type for the EC2Clienter type

func NewMockEC2Clienter

func NewMockEC2Clienter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockEC2Clienter

NewMockEC2Clienter creates a new instance of MockEC2Clienter. 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 (*MockEC2Clienter) AssociateRouteTable added in v0.0.20

func (_m *MockEC2Clienter) AssociateRouteTable(ctx context.Context, params *ec2.AssociateRouteTableInput, optFns ...func(*ec2.Options)) (*ec2.AssociateRouteTableOutput, error)

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

func (*MockEC2Clienter) AttachInternetGateway added in v0.0.20

func (_m *MockEC2Clienter) AttachInternetGateway(ctx context.Context, params *ec2.AttachInternetGatewayInput, optFns ...func(*ec2.Options)) (*ec2.AttachInternetGatewayOutput, error)

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

func (*MockEC2Clienter) CreateInternetGateway added in v0.0.20

func (_m *MockEC2Clienter) CreateInternetGateway(ctx context.Context, params *ec2.CreateInternetGatewayInput, optFns ...func(*ec2.Options)) (*ec2.CreateInternetGatewayOutput, error)

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

func (*MockEC2Clienter) CreateRoute added in v0.0.20

func (_m *MockEC2Clienter) CreateRoute(ctx context.Context, params *ec2.CreateRouteInput, optFns ...func(*ec2.Options)) (*ec2.CreateRouteOutput, error)

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

func (*MockEC2Clienter) CreateRouteTable added in v0.0.20

func (_m *MockEC2Clienter) CreateRouteTable(ctx context.Context, params *ec2.CreateRouteTableInput, optFns ...func(*ec2.Options)) (*ec2.CreateRouteTableOutput, error)

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

func (*MockEC2Clienter) CreateSubnet

func (_m *MockEC2Clienter) CreateSubnet(ctx context.Context, params *ec2.CreateSubnetInput, optFns ...func(*ec2.Options)) (*ec2.CreateSubnetOutput, error)

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

func (*MockEC2Clienter) CreateVPC added in v0.0.20

func (_m *MockEC2Clienter) CreateVPC(ctx context.Context, params *ec2.CreateVpcInput, optFns ...func(*ec2.Options)) (*ec2.CreateVpcOutput, error)

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

func (*MockEC2Clienter) DescribeImages

func (_m *MockEC2Clienter) DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)

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

func (*MockEC2Clienter) DescribeInstances

func (_m *MockEC2Clienter) 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 (*MockEC2Clienter) DescribeVPCs added in v0.0.20

func (_m *MockEC2Clienter) 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 (*MockEC2Clienter) EXPECT

func (*MockEC2Clienter) RunInstances

func (_m *MockEC2Clienter) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, optFns ...func(*ec2.Options)) (*ec2.RunInstancesOutput, error)

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

func (*MockEC2Clienter) TerminateInstances

func (_m *MockEC2Clienter) TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)

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

type MockEC2Clienter_AssociateRouteTable_Call added in v0.0.20

type MockEC2Clienter_AssociateRouteTable_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_AssociateRouteTable_Call) Return added in v0.0.20

func (*MockEC2Clienter_AssociateRouteTable_Call) Run added in v0.0.20

func (*MockEC2Clienter_AssociateRouteTable_Call) RunAndReturn added in v0.0.20

type MockEC2Clienter_AttachInternetGateway_Call added in v0.0.20

type MockEC2Clienter_AttachInternetGateway_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_AttachInternetGateway_Call) Return added in v0.0.20

func (*MockEC2Clienter_AttachInternetGateway_Call) Run added in v0.0.20

func (*MockEC2Clienter_AttachInternetGateway_Call) RunAndReturn added in v0.0.20

type MockEC2Clienter_CreateInternetGateway_Call added in v0.0.20

type MockEC2Clienter_CreateInternetGateway_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_CreateInternetGateway_Call) Return added in v0.0.20

func (*MockEC2Clienter_CreateInternetGateway_Call) Run added in v0.0.20

func (*MockEC2Clienter_CreateInternetGateway_Call) RunAndReturn added in v0.0.20

type MockEC2Clienter_CreateRouteTable_Call added in v0.0.20

type MockEC2Clienter_CreateRouteTable_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_CreateRouteTable_Call) Return added in v0.0.20

func (*MockEC2Clienter_CreateRouteTable_Call) Run added in v0.0.20

func (*MockEC2Clienter_CreateRouteTable_Call) RunAndReturn added in v0.0.20

type MockEC2Clienter_CreateRoute_Call added in v0.0.20

type MockEC2Clienter_CreateRoute_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_CreateRoute_Call) Return added in v0.0.20

func (*MockEC2Clienter_CreateRoute_Call) Run added in v0.0.20

func (*MockEC2Clienter_CreateRoute_Call) RunAndReturn added in v0.0.20

type MockEC2Clienter_CreateSubnet_Call

type MockEC2Clienter_CreateSubnet_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_CreateSubnet_Call) Return

func (*MockEC2Clienter_CreateSubnet_Call) Run

func (*MockEC2Clienter_CreateSubnet_Call) RunAndReturn

type MockEC2Clienter_CreateVPC_Call added in v0.0.20

type MockEC2Clienter_CreateVPC_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_CreateVPC_Call) Return added in v0.0.20

func (*MockEC2Clienter_CreateVPC_Call) Run added in v0.0.20

func (*MockEC2Clienter_CreateVPC_Call) RunAndReturn added in v0.0.20

type MockEC2Clienter_DescribeImages_Call

type MockEC2Clienter_DescribeImages_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_DescribeImages_Call) Return

func (*MockEC2Clienter_DescribeImages_Call) Run

func (*MockEC2Clienter_DescribeImages_Call) RunAndReturn

type MockEC2Clienter_DescribeInstances_Call

type MockEC2Clienter_DescribeInstances_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_DescribeInstances_Call) Return

func (*MockEC2Clienter_DescribeInstances_Call) Run

func (*MockEC2Clienter_DescribeInstances_Call) RunAndReturn

type MockEC2Clienter_DescribeVPCs_Call added in v0.0.20

type MockEC2Clienter_DescribeVPCs_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_DescribeVPCs_Call) Return added in v0.0.20

func (*MockEC2Clienter_DescribeVPCs_Call) Run added in v0.0.20

func (*MockEC2Clienter_DescribeVPCs_Call) RunAndReturn added in v0.0.20

type MockEC2Clienter_Expecter

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

func (*MockEC2Clienter_Expecter) AssociateRouteTable added in v0.0.20

func (_e *MockEC2Clienter_Expecter) AssociateRouteTable(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_AssociateRouteTable_Call

AssociateRouteTable is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) AttachInternetGateway added in v0.0.20

func (_e *MockEC2Clienter_Expecter) AttachInternetGateway(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_AttachInternetGateway_Call

AttachInternetGateway is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) CreateInternetGateway added in v0.0.20

func (_e *MockEC2Clienter_Expecter) CreateInternetGateway(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateInternetGateway_Call

CreateInternetGateway is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) CreateRoute added in v0.0.20

func (_e *MockEC2Clienter_Expecter) CreateRoute(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateRoute_Call

CreateRoute is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) CreateRouteTable added in v0.0.20

func (_e *MockEC2Clienter_Expecter) CreateRouteTable(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateRouteTable_Call

CreateRouteTable is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) CreateSubnet

func (_e *MockEC2Clienter_Expecter) CreateSubnet(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateSubnet_Call

CreateSubnet is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) CreateVPC added in v0.0.20

func (_e *MockEC2Clienter_Expecter) CreateVPC(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateVPC_Call

CreateVPC is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) DescribeImages

func (_e *MockEC2Clienter_Expecter) DescribeImages(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeImages_Call

DescribeImages is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) DescribeInstances

func (_e *MockEC2Clienter_Expecter) DescribeInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeInstances_Call

DescribeInstances is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) DescribeVPCs added in v0.0.20

func (_e *MockEC2Clienter_Expecter) DescribeVPCs(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeVPCs_Call

DescribeVPCs is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) RunInstances

func (_e *MockEC2Clienter_Expecter) RunInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_RunInstances_Call

RunInstances is a helper method to define mock.On call

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

func (*MockEC2Clienter_Expecter) TerminateInstances

func (_e *MockEC2Clienter_Expecter) TerminateInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_TerminateInstances_Call

TerminateInstances is a helper method to define mock.On call

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

type MockEC2Clienter_RunInstances_Call

type MockEC2Clienter_RunInstances_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_RunInstances_Call) Return

func (*MockEC2Clienter_RunInstances_Call) Run

func (*MockEC2Clienter_RunInstances_Call) RunAndReturn

type MockEC2Clienter_TerminateInstances_Call

type MockEC2Clienter_TerminateInstances_Call struct {
	*mock.Call
}

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

func (*MockEC2Clienter_TerminateInstances_Call) Return

func (*MockEC2Clienter_TerminateInstances_Call) Run

Jump to

Keyboard shortcuts

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