Documentation ¶
Index ¶
- type MockAWSInfraProviderer
- func (_m *MockAWSInfraProviderer) CreateVPC(stack awscdk.Stack) awsec2.IVpc
- func (_m *MockAWSInfraProviderer) EXPECT() *MockAWSInfraProviderer_Expecter
- func (_m *MockAWSInfraProviderer) GetCloudFormationClient() aws.CloudFormationAPIer
- func (_m *MockAWSInfraProviderer) NewStack(scope awscdk.App, id string, props *awscdk.StackProps) awscdk.Stack
- func (_m *MockAWSInfraProviderer) SynthTemplate(app awscdk.App) (string, error)
- type MockAWSInfraProviderer_CreateVPC_Call
- func (_c *MockAWSInfraProviderer_CreateVPC_Call) Return(_a0 awsec2.IVpc) *MockAWSInfraProviderer_CreateVPC_Call
- func (_c *MockAWSInfraProviderer_CreateVPC_Call) Run(run func(stack awscdk.Stack)) *MockAWSInfraProviderer_CreateVPC_Call
- func (_c *MockAWSInfraProviderer_CreateVPC_Call) RunAndReturn(run func(awscdk.Stack) awsec2.IVpc) *MockAWSInfraProviderer_CreateVPC_Call
- type MockAWSInfraProviderer_Expecter
- func (_e *MockAWSInfraProviderer_Expecter) CreateVPC(stack interface{}) *MockAWSInfraProviderer_CreateVPC_Call
- func (_e *MockAWSInfraProviderer_Expecter) GetCloudFormationClient() *MockAWSInfraProviderer_GetCloudFormationClient_Call
- func (_e *MockAWSInfraProviderer_Expecter) NewStack(scope interface{}, id interface{}, props interface{}) *MockAWSInfraProviderer_NewStack_Call
- func (_e *MockAWSInfraProviderer_Expecter) SynthTemplate(app interface{}) *MockAWSInfraProviderer_SynthTemplate_Call
- type MockAWSInfraProviderer_GetCloudFormationClient_Call
- func (_c *MockAWSInfraProviderer_GetCloudFormationClient_Call) Return(_a0 aws.CloudFormationAPIer) *MockAWSInfraProviderer_GetCloudFormationClient_Call
- func (_c *MockAWSInfraProviderer_GetCloudFormationClient_Call) Run(run func()) *MockAWSInfraProviderer_GetCloudFormationClient_Call
- func (_c *MockAWSInfraProviderer_GetCloudFormationClient_Call) RunAndReturn(run func() aws.CloudFormationAPIer) *MockAWSInfraProviderer_GetCloudFormationClient_Call
- type MockAWSInfraProviderer_NewStack_Call
- func (_c *MockAWSInfraProviderer_NewStack_Call) Return(_a0 awscdk.Stack) *MockAWSInfraProviderer_NewStack_Call
- func (_c *MockAWSInfraProviderer_NewStack_Call) Run(run func(scope awscdk.App, id string, props *awscdk.StackProps)) *MockAWSInfraProviderer_NewStack_Call
- func (_c *MockAWSInfraProviderer_NewStack_Call) RunAndReturn(run func(awscdk.App, string, *awscdk.StackProps) awscdk.Stack) *MockAWSInfraProviderer_NewStack_Call
- type MockAWSInfraProviderer_SynthTemplate_Call
- func (_c *MockAWSInfraProviderer_SynthTemplate_Call) Return(_a0 string, _a1 error) *MockAWSInfraProviderer_SynthTemplate_Call
- func (_c *MockAWSInfraProviderer_SynthTemplate_Call) Run(run func(app awscdk.App)) *MockAWSInfraProviderer_SynthTemplate_Call
- func (_c *MockAWSInfraProviderer_SynthTemplate_Call) RunAndReturn(run func(awscdk.App) (string, error)) *MockAWSInfraProviderer_SynthTemplate_Call
- type MockAWSProviderer
- func (_m *MockAWSProviderer) CreateDeployment(ctx context.Context) error
- func (_m *MockAWSProviderer) CreateVPCAndSubnet(ctx context.Context) error
- func (_m *MockAWSProviderer) Destroy(ctx context.Context) error
- func (_m *MockAWSProviderer) EXPECT() *MockAWSProviderer_Expecter
- func (_m *MockAWSProviderer) GetEC2Client() (aws.EC2Clienter, error)
- func (_m *MockAWSProviderer) GetLatestUbuntuImage(ctx context.Context, region string) (*types.Image, error)
- func (_m *MockAWSProviderer) GetVMExternalIP(ctx context.Context, instanceID string) (string, error)
- func (_m *MockAWSProviderer) ListDeployments(ctx context.Context) ([]string, error)
- func (_m *MockAWSProviderer) SetEC2Client(client aws.EC2Clienter)
- func (_m *MockAWSProviderer) StartResourcePolling(ctx context.Context) error
- func (_m *MockAWSProviderer) TerminateDeployment(ctx context.Context) error
- func (_m *MockAWSProviderer) ValidateMachineType(ctx context.Context, location string, instanceType string) (bool, error)
- type MockAWSProviderer_CreateDeployment_Call
- func (_c *MockAWSProviderer_CreateDeployment_Call) Return(_a0 error) *MockAWSProviderer_CreateDeployment_Call
- func (_c *MockAWSProviderer_CreateDeployment_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_CreateDeployment_Call
- func (_c *MockAWSProviderer_CreateDeployment_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_CreateDeployment_Call
- type MockAWSProviderer_CreateVPCAndSubnet_Call
- func (_c *MockAWSProviderer_CreateVPCAndSubnet_Call) Return(_a0 error) *MockAWSProviderer_CreateVPCAndSubnet_Call
- func (_c *MockAWSProviderer_CreateVPCAndSubnet_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_CreateVPCAndSubnet_Call
- func (_c *MockAWSProviderer_CreateVPCAndSubnet_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_CreateVPCAndSubnet_Call
- type MockAWSProviderer_Destroy_Call
- func (_c *MockAWSProviderer_Destroy_Call) Return(_a0 error) *MockAWSProviderer_Destroy_Call
- func (_c *MockAWSProviderer_Destroy_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_Destroy_Call
- func (_c *MockAWSProviderer_Destroy_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_Destroy_Call
- type MockAWSProviderer_Expecter
- func (_e *MockAWSProviderer_Expecter) CreateDeployment(ctx interface{}) *MockAWSProviderer_CreateDeployment_Call
- func (_e *MockAWSProviderer_Expecter) CreateVPCAndSubnet(ctx interface{}) *MockAWSProviderer_CreateVPCAndSubnet_Call
- func (_e *MockAWSProviderer_Expecter) Destroy(ctx interface{}) *MockAWSProviderer_Destroy_Call
- func (_e *MockAWSProviderer_Expecter) GetEC2Client() *MockAWSProviderer_GetEC2Client_Call
- func (_e *MockAWSProviderer_Expecter) GetLatestUbuntuImage(ctx interface{}, region interface{}) *MockAWSProviderer_GetLatestUbuntuImage_Call
- func (_e *MockAWSProviderer_Expecter) GetVMExternalIP(ctx interface{}, instanceID interface{}) *MockAWSProviderer_GetVMExternalIP_Call
- func (_e *MockAWSProviderer_Expecter) ListDeployments(ctx interface{}) *MockAWSProviderer_ListDeployments_Call
- func (_e *MockAWSProviderer_Expecter) SetEC2Client(client interface{}) *MockAWSProviderer_SetEC2Client_Call
- func (_e *MockAWSProviderer_Expecter) StartResourcePolling(ctx interface{}) *MockAWSProviderer_StartResourcePolling_Call
- func (_e *MockAWSProviderer_Expecter) TerminateDeployment(ctx interface{}) *MockAWSProviderer_TerminateDeployment_Call
- func (_e *MockAWSProviderer_Expecter) ValidateMachineType(ctx interface{}, location interface{}, instanceType interface{}) *MockAWSProviderer_ValidateMachineType_Call
- type MockAWSProviderer_GetEC2Client_Call
- func (_c *MockAWSProviderer_GetEC2Client_Call) Return(_a0 aws.EC2Clienter, _a1 error) *MockAWSProviderer_GetEC2Client_Call
- func (_c *MockAWSProviderer_GetEC2Client_Call) Run(run func()) *MockAWSProviderer_GetEC2Client_Call
- func (_c *MockAWSProviderer_GetEC2Client_Call) RunAndReturn(run func() (aws.EC2Clienter, error)) *MockAWSProviderer_GetEC2Client_Call
- type MockAWSProviderer_GetLatestUbuntuImage_Call
- func (_c *MockAWSProviderer_GetLatestUbuntuImage_Call) Return(_a0 *types.Image, _a1 error) *MockAWSProviderer_GetLatestUbuntuImage_Call
- func (_c *MockAWSProviderer_GetLatestUbuntuImage_Call) Run(run func(ctx context.Context, region string)) *MockAWSProviderer_GetLatestUbuntuImage_Call
- func (_c *MockAWSProviderer_GetLatestUbuntuImage_Call) RunAndReturn(run func(context.Context, string) (*types.Image, error)) *MockAWSProviderer_GetLatestUbuntuImage_Call
- type MockAWSProviderer_GetVMExternalIP_Call
- func (_c *MockAWSProviderer_GetVMExternalIP_Call) Return(_a0 string, _a1 error) *MockAWSProviderer_GetVMExternalIP_Call
- func (_c *MockAWSProviderer_GetVMExternalIP_Call) Run(run func(ctx context.Context, instanceID string)) *MockAWSProviderer_GetVMExternalIP_Call
- func (_c *MockAWSProviderer_GetVMExternalIP_Call) RunAndReturn(run func(context.Context, string) (string, error)) *MockAWSProviderer_GetVMExternalIP_Call
- type MockAWSProviderer_ListDeployments_Call
- func (_c *MockAWSProviderer_ListDeployments_Call) Return(_a0 []string, _a1 error) *MockAWSProviderer_ListDeployments_Call
- func (_c *MockAWSProviderer_ListDeployments_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_ListDeployments_Call
- func (_c *MockAWSProviderer_ListDeployments_Call) RunAndReturn(run func(context.Context) ([]string, error)) *MockAWSProviderer_ListDeployments_Call
- type MockAWSProviderer_SetEC2Client_Call
- func (_c *MockAWSProviderer_SetEC2Client_Call) Return() *MockAWSProviderer_SetEC2Client_Call
- func (_c *MockAWSProviderer_SetEC2Client_Call) Run(run func(client aws.EC2Clienter)) *MockAWSProviderer_SetEC2Client_Call
- func (_c *MockAWSProviderer_SetEC2Client_Call) RunAndReturn(run func(aws.EC2Clienter)) *MockAWSProviderer_SetEC2Client_Call
- type MockAWSProviderer_StartResourcePolling_Call
- func (_c *MockAWSProviderer_StartResourcePolling_Call) Return(_a0 error) *MockAWSProviderer_StartResourcePolling_Call
- func (_c *MockAWSProviderer_StartResourcePolling_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_StartResourcePolling_Call
- func (_c *MockAWSProviderer_StartResourcePolling_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_StartResourcePolling_Call
- type MockAWSProviderer_TerminateDeployment_Call
- func (_c *MockAWSProviderer_TerminateDeployment_Call) Return(_a0 error) *MockAWSProviderer_TerminateDeployment_Call
- func (_c *MockAWSProviderer_TerminateDeployment_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_TerminateDeployment_Call
- func (_c *MockAWSProviderer_TerminateDeployment_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_TerminateDeployment_Call
- type MockAWSProviderer_ValidateMachineType_Call
- func (_c *MockAWSProviderer_ValidateMachineType_Call) Return(_a0 bool, _a1 error) *MockAWSProviderer_ValidateMachineType_Call
- func (_c *MockAWSProviderer_ValidateMachineType_Call) Run(run func(ctx context.Context, location string, instanceType string)) *MockAWSProviderer_ValidateMachineType_Call
- func (_c *MockAWSProviderer_ValidateMachineType_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *MockAWSProviderer_ValidateMachineType_Call
- type MockCDKStackProviderer
- type MockCDKStackProviderer_Expecter
- type MockCDKStackProviderer_GetTemplate_Call
- func (_c *MockCDKStackProviderer_GetTemplate_Call) Return(_a0 string, _a1 error) *MockCDKStackProviderer_GetTemplate_Call
- func (_c *MockCDKStackProviderer_GetTemplate_Call) Run(run func(stack awscdk.Stack)) *MockCDKStackProviderer_GetTemplate_Call
- func (_c *MockCDKStackProviderer_GetTemplate_Call) RunAndReturn(run func(awscdk.Stack) (string, error)) *MockCDKStackProviderer_GetTemplate_Call
- type MockCDKStackProviderer_NewStack_Call
- func (_c *MockCDKStackProviderer_NewStack_Call) Return(_a0 awscdk.Stack) *MockCDKStackProviderer_NewStack_Call
- func (_c *MockCDKStackProviderer_NewStack_Call) Run(run func(scope awscdk.App, id string, props *awscdk.StackProps)) *MockCDKStackProviderer_NewStack_Call
- func (_c *MockCDKStackProviderer_NewStack_Call) RunAndReturn(run func(awscdk.App, string, *awscdk.StackProps) awscdk.Stack) *MockCDKStackProviderer_NewStack_Call
- type MockCloudFormationAPIer
- func (_m *MockCloudFormationAPIer) CreateStack(ctx context.Context, params *cloudformation.CreateStackInput, ...) (*cloudformation.CreateStackOutput, error)
- func (_m *MockCloudFormationAPIer) DeleteStack(ctx context.Context, params *cloudformation.DeleteStackInput, ...) (*cloudformation.DeleteStackOutput, error)
- func (_m *MockCloudFormationAPIer) DescribeStackEvents(ctx context.Context, params *cloudformation.DescribeStackEventsInput, ...) (*cloudformation.DescribeStackEventsOutput, error)
- func (_m *MockCloudFormationAPIer) DescribeStacks(ctx context.Context, params *cloudformation.DescribeStacksInput, ...) (*cloudformation.DescribeStacksOutput, error)
- func (_m *MockCloudFormationAPIer) EXPECT() *MockCloudFormationAPIer_Expecter
- func (_m *MockCloudFormationAPIer) GetTemplate(ctx context.Context, params *cloudformation.GetTemplateInput, ...) (*cloudformation.GetTemplateOutput, error)
- func (_m *MockCloudFormationAPIer) ListStacks(ctx context.Context, params *cloudformation.ListStacksInput, ...) (*cloudformation.ListStacksOutput, error)
- func (_m *MockCloudFormationAPIer) UpdateStack(ctx context.Context, params *cloudformation.UpdateStackInput, ...) (*cloudformation.UpdateStackOutput, error)
- type MockCloudFormationAPIer_CreateStack_Call
- func (_c *MockCloudFormationAPIer_CreateStack_Call) Return(_a0 *cloudformation.CreateStackOutput, _a1 error) *MockCloudFormationAPIer_CreateStack_Call
- func (_c *MockCloudFormationAPIer_CreateStack_Call) Run(run func(ctx context.Context, params *cloudformation.CreateStackInput, ...)) *MockCloudFormationAPIer_CreateStack_Call
- func (_c *MockCloudFormationAPIer_CreateStack_Call) RunAndReturn(...) *MockCloudFormationAPIer_CreateStack_Call
- type MockCloudFormationAPIer_DeleteStack_Call
- func (_c *MockCloudFormationAPIer_DeleteStack_Call) Return(_a0 *cloudformation.DeleteStackOutput, _a1 error) *MockCloudFormationAPIer_DeleteStack_Call
- func (_c *MockCloudFormationAPIer_DeleteStack_Call) Run(run func(ctx context.Context, params *cloudformation.DeleteStackInput, ...)) *MockCloudFormationAPIer_DeleteStack_Call
- func (_c *MockCloudFormationAPIer_DeleteStack_Call) RunAndReturn(...) *MockCloudFormationAPIer_DeleteStack_Call
- type MockCloudFormationAPIer_DescribeStackEvents_Call
- func (_c *MockCloudFormationAPIer_DescribeStackEvents_Call) Return(_a0 *cloudformation.DescribeStackEventsOutput, _a1 error) *MockCloudFormationAPIer_DescribeStackEvents_Call
- func (_c *MockCloudFormationAPIer_DescribeStackEvents_Call) Run(...) *MockCloudFormationAPIer_DescribeStackEvents_Call
- func (_c *MockCloudFormationAPIer_DescribeStackEvents_Call) RunAndReturn(...) *MockCloudFormationAPIer_DescribeStackEvents_Call
- type MockCloudFormationAPIer_DescribeStacks_Call
- func (_c *MockCloudFormationAPIer_DescribeStacks_Call) Return(_a0 *cloudformation.DescribeStacksOutput, _a1 error) *MockCloudFormationAPIer_DescribeStacks_Call
- func (_c *MockCloudFormationAPIer_DescribeStacks_Call) Run(run func(ctx context.Context, params *cloudformation.DescribeStacksInput, ...)) *MockCloudFormationAPIer_DescribeStacks_Call
- func (_c *MockCloudFormationAPIer_DescribeStacks_Call) RunAndReturn(...) *MockCloudFormationAPIer_DescribeStacks_Call
- type MockCloudFormationAPIer_Expecter
- func (_e *MockCloudFormationAPIer_Expecter) CreateStack(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_CreateStack_Call
- func (_e *MockCloudFormationAPIer_Expecter) DeleteStack(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_DeleteStack_Call
- func (_e *MockCloudFormationAPIer_Expecter) DescribeStackEvents(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_DescribeStackEvents_Call
- func (_e *MockCloudFormationAPIer_Expecter) DescribeStacks(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_DescribeStacks_Call
- func (_e *MockCloudFormationAPIer_Expecter) GetTemplate(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_GetTemplate_Call
- func (_e *MockCloudFormationAPIer_Expecter) ListStacks(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_ListStacks_Call
- func (_e *MockCloudFormationAPIer_Expecter) UpdateStack(ctx interface{}, params interface{}, opts ...interface{}) *MockCloudFormationAPIer_UpdateStack_Call
- type MockCloudFormationAPIer_GetTemplate_Call
- func (_c *MockCloudFormationAPIer_GetTemplate_Call) Return(_a0 *cloudformation.GetTemplateOutput, _a1 error) *MockCloudFormationAPIer_GetTemplate_Call
- func (_c *MockCloudFormationAPIer_GetTemplate_Call) Run(run func(ctx context.Context, params *cloudformation.GetTemplateInput, ...)) *MockCloudFormationAPIer_GetTemplate_Call
- func (_c *MockCloudFormationAPIer_GetTemplate_Call) RunAndReturn(...) *MockCloudFormationAPIer_GetTemplate_Call
- type MockCloudFormationAPIer_ListStacks_Call
- func (_c *MockCloudFormationAPIer_ListStacks_Call) Return(_a0 *cloudformation.ListStacksOutput, _a1 error) *MockCloudFormationAPIer_ListStacks_Call
- func (_c *MockCloudFormationAPIer_ListStacks_Call) Run(run func(ctx context.Context, params *cloudformation.ListStacksInput, ...)) *MockCloudFormationAPIer_ListStacks_Call
- func (_c *MockCloudFormationAPIer_ListStacks_Call) RunAndReturn(...) *MockCloudFormationAPIer_ListStacks_Call
- type MockCloudFormationAPIer_UpdateStack_Call
- func (_c *MockCloudFormationAPIer_UpdateStack_Call) Return(_a0 *cloudformation.UpdateStackOutput, _a1 error) *MockCloudFormationAPIer_UpdateStack_Call
- func (_c *MockCloudFormationAPIer_UpdateStack_Call) Run(run func(ctx context.Context, params *cloudformation.UpdateStackInput, ...)) *MockCloudFormationAPIer_UpdateStack_Call
- func (_c *MockCloudFormationAPIer_UpdateStack_Call) RunAndReturn(...) *MockCloudFormationAPIer_UpdateStack_Call
- type MockConfigInterfacer
- type MockConfigInterfacer_Expecter
- type MockConfigInterfacer_GetString_Call
- func (_c *MockConfigInterfacer_GetString_Call) Return(_a0 string) *MockConfigInterfacer_GetString_Call
- func (_c *MockConfigInterfacer_GetString_Call) Run(run func(key string)) *MockConfigInterfacer_GetString_Call
- func (_c *MockConfigInterfacer_GetString_Call) RunAndReturn(run func(string) string) *MockConfigInterfacer_GetString_Call
- type MockEC2Clienter
- func (_m *MockEC2Clienter) AssociateRouteTable(ctx context.Context, params *ec2.AssociateRouteTableInput, ...) (*ec2.AssociateRouteTableOutput, error)
- func (_m *MockEC2Clienter) AttachInternetGateway(ctx context.Context, params *ec2.AttachInternetGatewayInput, ...) (*ec2.AttachInternetGatewayOutput, error)
- func (_m *MockEC2Clienter) CreateInternetGateway(ctx context.Context, params *ec2.CreateInternetGatewayInput, ...) (*ec2.CreateInternetGatewayOutput, error)
- func (_m *MockEC2Clienter) CreateRoute(ctx context.Context, params *ec2.CreateRouteInput, ...) (*ec2.CreateRouteOutput, error)
- func (_m *MockEC2Clienter) CreateRouteTable(ctx context.Context, params *ec2.CreateRouteTableInput, ...) (*ec2.CreateRouteTableOutput, error)
- func (_m *MockEC2Clienter) CreateSubnet(ctx context.Context, params *ec2.CreateSubnetInput, ...) (*ec2.CreateSubnetOutput, error)
- func (_m *MockEC2Clienter) CreateVPC(ctx context.Context, params *ec2.CreateVpcInput, optFns ...func(*ec2.Options)) (*ec2.CreateVpcOutput, error)
- func (_m *MockEC2Clienter) DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, ...) (*ec2.DescribeImagesOutput, error)
- func (_m *MockEC2Clienter) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, ...) (*ec2.DescribeInstancesOutput, error)
- func (_m *MockEC2Clienter) DescribeVPCs(ctx context.Context, params *ec2.DescribeVpcsInput, ...) (*ec2.DescribeVpcsOutput, error)
- func (_m *MockEC2Clienter) EXPECT() *MockEC2Clienter_Expecter
- func (_m *MockEC2Clienter) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, ...) (*ec2.RunInstancesOutput, error)
- func (_m *MockEC2Clienter) TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, ...) (*ec2.TerminateInstancesOutput, error)
- type MockEC2Clienter_AssociateRouteTable_Call
- func (_c *MockEC2Clienter_AssociateRouteTable_Call) Return(_a0 *ec2.AssociateRouteTableOutput, _a1 error) *MockEC2Clienter_AssociateRouteTable_Call
- func (_c *MockEC2Clienter_AssociateRouteTable_Call) Run(run func(ctx context.Context, params *ec2.AssociateRouteTableInput, ...)) *MockEC2Clienter_AssociateRouteTable_Call
- func (_c *MockEC2Clienter_AssociateRouteTable_Call) RunAndReturn(...) *MockEC2Clienter_AssociateRouteTable_Call
- type MockEC2Clienter_AttachInternetGateway_Call
- func (_c *MockEC2Clienter_AttachInternetGateway_Call) Return(_a0 *ec2.AttachInternetGatewayOutput, _a1 error) *MockEC2Clienter_AttachInternetGateway_Call
- func (_c *MockEC2Clienter_AttachInternetGateway_Call) Run(run func(ctx context.Context, params *ec2.AttachInternetGatewayInput, ...)) *MockEC2Clienter_AttachInternetGateway_Call
- func (_c *MockEC2Clienter_AttachInternetGateway_Call) RunAndReturn(...) *MockEC2Clienter_AttachInternetGateway_Call
- type MockEC2Clienter_CreateInternetGateway_Call
- func (_c *MockEC2Clienter_CreateInternetGateway_Call) Return(_a0 *ec2.CreateInternetGatewayOutput, _a1 error) *MockEC2Clienter_CreateInternetGateway_Call
- func (_c *MockEC2Clienter_CreateInternetGateway_Call) Run(run func(ctx context.Context, params *ec2.CreateInternetGatewayInput, ...)) *MockEC2Clienter_CreateInternetGateway_Call
- func (_c *MockEC2Clienter_CreateInternetGateway_Call) RunAndReturn(...) *MockEC2Clienter_CreateInternetGateway_Call
- type MockEC2Clienter_CreateRouteTable_Call
- func (_c *MockEC2Clienter_CreateRouteTable_Call) Return(_a0 *ec2.CreateRouteTableOutput, _a1 error) *MockEC2Clienter_CreateRouteTable_Call
- func (_c *MockEC2Clienter_CreateRouteTable_Call) Run(run func(ctx context.Context, params *ec2.CreateRouteTableInput, ...)) *MockEC2Clienter_CreateRouteTable_Call
- func (_c *MockEC2Clienter_CreateRouteTable_Call) RunAndReturn(...) *MockEC2Clienter_CreateRouteTable_Call
- type MockEC2Clienter_CreateRoute_Call
- func (_c *MockEC2Clienter_CreateRoute_Call) Return(_a0 *ec2.CreateRouteOutput, _a1 error) *MockEC2Clienter_CreateRoute_Call
- func (_c *MockEC2Clienter_CreateRoute_Call) Run(run func(ctx context.Context, params *ec2.CreateRouteInput, ...)) *MockEC2Clienter_CreateRoute_Call
- func (_c *MockEC2Clienter_CreateRoute_Call) RunAndReturn(...) *MockEC2Clienter_CreateRoute_Call
- type MockEC2Clienter_CreateSubnet_Call
- func (_c *MockEC2Clienter_CreateSubnet_Call) Return(_a0 *ec2.CreateSubnetOutput, _a1 error) *MockEC2Clienter_CreateSubnet_Call
- func (_c *MockEC2Clienter_CreateSubnet_Call) Run(run func(ctx context.Context, params *ec2.CreateSubnetInput, ...)) *MockEC2Clienter_CreateSubnet_Call
- func (_c *MockEC2Clienter_CreateSubnet_Call) RunAndReturn(...) *MockEC2Clienter_CreateSubnet_Call
- type MockEC2Clienter_CreateVPC_Call
- type MockEC2Clienter_DescribeImages_Call
- func (_c *MockEC2Clienter_DescribeImages_Call) Return(_a0 *ec2.DescribeImagesOutput, _a1 error) *MockEC2Clienter_DescribeImages_Call
- func (_c *MockEC2Clienter_DescribeImages_Call) Run(run func(ctx context.Context, params *ec2.DescribeImagesInput, ...)) *MockEC2Clienter_DescribeImages_Call
- func (_c *MockEC2Clienter_DescribeImages_Call) RunAndReturn(...) *MockEC2Clienter_DescribeImages_Call
- type MockEC2Clienter_DescribeInstances_Call
- func (_c *MockEC2Clienter_DescribeInstances_Call) Return(_a0 *ec2.DescribeInstancesOutput, _a1 error) *MockEC2Clienter_DescribeInstances_Call
- func (_c *MockEC2Clienter_DescribeInstances_Call) Run(run func(ctx context.Context, params *ec2.DescribeInstancesInput, ...)) *MockEC2Clienter_DescribeInstances_Call
- func (_c *MockEC2Clienter_DescribeInstances_Call) RunAndReturn(...) *MockEC2Clienter_DescribeInstances_Call
- type MockEC2Clienter_DescribeVPCs_Call
- func (_c *MockEC2Clienter_DescribeVPCs_Call) Return(_a0 *ec2.DescribeVpcsOutput, _a1 error) *MockEC2Clienter_DescribeVPCs_Call
- func (_c *MockEC2Clienter_DescribeVPCs_Call) Run(run func(ctx context.Context, params *ec2.DescribeVpcsInput, ...)) *MockEC2Clienter_DescribeVPCs_Call
- func (_c *MockEC2Clienter_DescribeVPCs_Call) RunAndReturn(...) *MockEC2Clienter_DescribeVPCs_Call
- type MockEC2Clienter_Expecter
- func (_e *MockEC2Clienter_Expecter) AssociateRouteTable(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_AssociateRouteTable_Call
- func (_e *MockEC2Clienter_Expecter) AttachInternetGateway(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_AttachInternetGateway_Call
- func (_e *MockEC2Clienter_Expecter) CreateInternetGateway(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateInternetGateway_Call
- func (_e *MockEC2Clienter_Expecter) CreateRoute(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateRoute_Call
- func (_e *MockEC2Clienter_Expecter) CreateRouteTable(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateRouteTable_Call
- func (_e *MockEC2Clienter_Expecter) CreateSubnet(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateSubnet_Call
- func (_e *MockEC2Clienter_Expecter) CreateVPC(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateVPC_Call
- func (_e *MockEC2Clienter_Expecter) DescribeImages(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeImages_Call
- func (_e *MockEC2Clienter_Expecter) DescribeInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeInstances_Call
- func (_e *MockEC2Clienter_Expecter) DescribeVPCs(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeVPCs_Call
- func (_e *MockEC2Clienter_Expecter) RunInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_RunInstances_Call
- func (_e *MockEC2Clienter_Expecter) TerminateInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_TerminateInstances_Call
- type MockEC2Clienter_RunInstances_Call
- func (_c *MockEC2Clienter_RunInstances_Call) Return(_a0 *ec2.RunInstancesOutput, _a1 error) *MockEC2Clienter_RunInstances_Call
- func (_c *MockEC2Clienter_RunInstances_Call) Run(run func(ctx context.Context, params *ec2.RunInstancesInput, ...)) *MockEC2Clienter_RunInstances_Call
- func (_c *MockEC2Clienter_RunInstances_Call) RunAndReturn(...) *MockEC2Clienter_RunInstances_Call
- type MockEC2Clienter_TerminateInstances_Call
- func (_c *MockEC2Clienter_TerminateInstances_Call) Return(_a0 *ec2.TerminateInstancesOutput, _a1 error) *MockEC2Clienter_TerminateInstances_Call
- func (_c *MockEC2Clienter_TerminateInstances_Call) Run(run func(ctx context.Context, params *ec2.TerminateInstancesInput, ...)) *MockEC2Clienter_TerminateInstances_Call
- func (_c *MockEC2Clienter_TerminateInstances_Call) RunAndReturn(...) *MockEC2Clienter_TerminateInstances_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAWSInfraProviderer ¶ added in v0.0.20
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 (_m *MockAWSInfraProviderer) EXPECT() *MockAWSInfraProviderer_Expecter
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
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 (_c *MockAWSInfraProviderer_CreateVPC_Call) Return(_a0 awsec2.IVpc) *MockAWSInfraProviderer_CreateVPC_Call
func (*MockAWSInfraProviderer_CreateVPC_Call) Run ¶ added in v0.0.20
func (_c *MockAWSInfraProviderer_CreateVPC_Call) Run(run func(stack awscdk.Stack)) *MockAWSInfraProviderer_CreateVPC_Call
func (*MockAWSInfraProviderer_CreateVPC_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSInfraProviderer_CreateVPC_Call) RunAndReturn(run func(awscdk.Stack) awsec2.IVpc) *MockAWSInfraProviderer_CreateVPC_Call
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
func (_e *MockAWSInfraProviderer_Expecter) CreateVPC(stack interface{}) *MockAWSInfraProviderer_CreateVPC_Call
CreateVPC is a helper method to define mock.On call
- stack awscdk.Stack
func (*MockAWSInfraProviderer_Expecter) GetCloudFormationClient ¶ added in v0.0.20
func (_e *MockAWSInfraProviderer_Expecter) GetCloudFormationClient() *MockAWSInfraProviderer_GetCloudFormationClient_Call
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
func (_e *MockAWSInfraProviderer_Expecter) SynthTemplate(app interface{}) *MockAWSInfraProviderer_SynthTemplate_Call
SynthTemplate is a helper method to define mock.On call
- app awscdk.App
type MockAWSInfraProviderer_GetCloudFormationClient_Call ¶ added in v0.0.20
MockAWSInfraProviderer_GetCloudFormationClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCloudFormationClient'
func (*MockAWSInfraProviderer_GetCloudFormationClient_Call) Run ¶ added in v0.0.20
func (_c *MockAWSInfraProviderer_GetCloudFormationClient_Call) Run(run func()) *MockAWSInfraProviderer_GetCloudFormationClient_Call
func (*MockAWSInfraProviderer_GetCloudFormationClient_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSInfraProviderer_GetCloudFormationClient_Call) RunAndReturn(run func() aws.CloudFormationAPIer) *MockAWSInfraProviderer_GetCloudFormationClient_Call
type MockAWSInfraProviderer_NewStack_Call ¶ added in v0.0.20
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 (_c *MockAWSInfraProviderer_NewStack_Call) Return(_a0 awscdk.Stack) *MockAWSInfraProviderer_NewStack_Call
func (*MockAWSInfraProviderer_NewStack_Call) Run ¶ added in v0.0.20
func (_c *MockAWSInfraProviderer_NewStack_Call) Run(run func(scope awscdk.App, id string, props *awscdk.StackProps)) *MockAWSInfraProviderer_NewStack_Call
func (*MockAWSInfraProviderer_NewStack_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSInfraProviderer_NewStack_Call) RunAndReturn(run func(awscdk.App, string, *awscdk.StackProps) awscdk.Stack) *MockAWSInfraProviderer_NewStack_Call
type MockAWSInfraProviderer_SynthTemplate_Call ¶ added in v0.0.20
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 (_c *MockAWSInfraProviderer_SynthTemplate_Call) Return(_a0 string, _a1 error) *MockAWSInfraProviderer_SynthTemplate_Call
func (*MockAWSInfraProviderer_SynthTemplate_Call) Run ¶ added in v0.0.20
func (_c *MockAWSInfraProviderer_SynthTemplate_Call) Run(run func(app awscdk.App)) *MockAWSInfraProviderer_SynthTemplate_Call
func (*MockAWSInfraProviderer_SynthTemplate_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSInfraProviderer_SynthTemplate_Call) RunAndReturn(run func(awscdk.App) (string, error)) *MockAWSInfraProviderer_SynthTemplate_Call
type MockAWSProviderer ¶ added in v0.0.20
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 (_m *MockAWSProviderer) EXPECT() *MockAWSProviderer_Expecter
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
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 (_c *MockAWSProviderer_CreateDeployment_Call) Return(_a0 error) *MockAWSProviderer_CreateDeployment_Call
func (*MockAWSProviderer_CreateDeployment_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_CreateDeployment_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_CreateDeployment_Call
func (*MockAWSProviderer_CreateDeployment_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_CreateDeployment_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_CreateDeployment_Call
type MockAWSProviderer_CreateVPCAndSubnet_Call ¶ added in v0.0.20
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 (_c *MockAWSProviderer_CreateVPCAndSubnet_Call) Return(_a0 error) *MockAWSProviderer_CreateVPCAndSubnet_Call
func (*MockAWSProviderer_CreateVPCAndSubnet_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_CreateVPCAndSubnet_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_CreateVPCAndSubnet_Call
func (*MockAWSProviderer_CreateVPCAndSubnet_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_CreateVPCAndSubnet_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_CreateVPCAndSubnet_Call
type MockAWSProviderer_Destroy_Call ¶ added in v0.0.20
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 (_c *MockAWSProviderer_Destroy_Call) Return(_a0 error) *MockAWSProviderer_Destroy_Call
func (*MockAWSProviderer_Destroy_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_Destroy_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_Destroy_Call
func (*MockAWSProviderer_Destroy_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_Destroy_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_Destroy_Call
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
func (_e *MockAWSProviderer_Expecter) GetEC2Client() *MockAWSProviderer_GetEC2Client_Call
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
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 (_c *MockAWSProviderer_GetEC2Client_Call) Return(_a0 aws.EC2Clienter, _a1 error) *MockAWSProviderer_GetEC2Client_Call
func (*MockAWSProviderer_GetEC2Client_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_GetEC2Client_Call) Run(run func()) *MockAWSProviderer_GetEC2Client_Call
func (*MockAWSProviderer_GetEC2Client_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_GetEC2Client_Call) RunAndReturn(run func() (aws.EC2Clienter, error)) *MockAWSProviderer_GetEC2Client_Call
type MockAWSProviderer_GetLatestUbuntuImage_Call ¶ added in v0.0.20
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 (_c *MockAWSProviderer_GetLatestUbuntuImage_Call) Return(_a0 *types.Image, _a1 error) *MockAWSProviderer_GetLatestUbuntuImage_Call
func (*MockAWSProviderer_GetLatestUbuntuImage_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_GetLatestUbuntuImage_Call) Run(run func(ctx context.Context, region string)) *MockAWSProviderer_GetLatestUbuntuImage_Call
func (*MockAWSProviderer_GetLatestUbuntuImage_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_GetLatestUbuntuImage_Call) RunAndReturn(run func(context.Context, string) (*types.Image, error)) *MockAWSProviderer_GetLatestUbuntuImage_Call
type MockAWSProviderer_GetVMExternalIP_Call ¶ added in v0.0.20
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 (_c *MockAWSProviderer_GetVMExternalIP_Call) Return(_a0 string, _a1 error) *MockAWSProviderer_GetVMExternalIP_Call
func (*MockAWSProviderer_GetVMExternalIP_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_GetVMExternalIP_Call) Run(run func(ctx context.Context, instanceID string)) *MockAWSProviderer_GetVMExternalIP_Call
func (*MockAWSProviderer_GetVMExternalIP_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_GetVMExternalIP_Call) RunAndReturn(run func(context.Context, string) (string, error)) *MockAWSProviderer_GetVMExternalIP_Call
type MockAWSProviderer_ListDeployments_Call ¶ added in v0.0.20
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 (_c *MockAWSProviderer_ListDeployments_Call) Return(_a0 []string, _a1 error) *MockAWSProviderer_ListDeployments_Call
func (*MockAWSProviderer_ListDeployments_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_ListDeployments_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_ListDeployments_Call
func (*MockAWSProviderer_ListDeployments_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_ListDeployments_Call) RunAndReturn(run func(context.Context) ([]string, error)) *MockAWSProviderer_ListDeployments_Call
type MockAWSProviderer_SetEC2Client_Call ¶ added in v0.0.20
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 (_c *MockAWSProviderer_SetEC2Client_Call) Return() *MockAWSProviderer_SetEC2Client_Call
func (*MockAWSProviderer_SetEC2Client_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_SetEC2Client_Call) Run(run func(client aws.EC2Clienter)) *MockAWSProviderer_SetEC2Client_Call
func (*MockAWSProviderer_SetEC2Client_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_SetEC2Client_Call) RunAndReturn(run func(aws.EC2Clienter)) *MockAWSProviderer_SetEC2Client_Call
type MockAWSProviderer_StartResourcePolling_Call ¶ added in v0.0.20
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 (_c *MockAWSProviderer_StartResourcePolling_Call) Return(_a0 error) *MockAWSProviderer_StartResourcePolling_Call
func (*MockAWSProviderer_StartResourcePolling_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_StartResourcePolling_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_StartResourcePolling_Call
func (*MockAWSProviderer_StartResourcePolling_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_StartResourcePolling_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_StartResourcePolling_Call
type MockAWSProviderer_TerminateDeployment_Call ¶ added in v0.0.20
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 (_c *MockAWSProviderer_TerminateDeployment_Call) Return(_a0 error) *MockAWSProviderer_TerminateDeployment_Call
func (*MockAWSProviderer_TerminateDeployment_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_TerminateDeployment_Call) Run(run func(ctx context.Context)) *MockAWSProviderer_TerminateDeployment_Call
func (*MockAWSProviderer_TerminateDeployment_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_TerminateDeployment_Call) RunAndReturn(run func(context.Context) error) *MockAWSProviderer_TerminateDeployment_Call
type MockAWSProviderer_ValidateMachineType_Call ¶ added in v0.0.20
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 (_c *MockAWSProviderer_ValidateMachineType_Call) Return(_a0 bool, _a1 error) *MockAWSProviderer_ValidateMachineType_Call
func (*MockAWSProviderer_ValidateMachineType_Call) Run ¶ added in v0.0.20
func (_c *MockAWSProviderer_ValidateMachineType_Call) Run(run func(ctx context.Context, location string, instanceType string)) *MockAWSProviderer_ValidateMachineType_Call
func (*MockAWSProviderer_ValidateMachineType_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockAWSProviderer_ValidateMachineType_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *MockAWSProviderer_ValidateMachineType_Call
type MockCDKStackProviderer ¶ added in v0.0.20
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 (_m *MockCDKStackProviderer) EXPECT() *MockCDKStackProviderer_Expecter
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
func (_e *MockCDKStackProviderer_Expecter) GetTemplate(stack interface{}) *MockCDKStackProviderer_GetTemplate_Call
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
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 (_c *MockCDKStackProviderer_GetTemplate_Call) Return(_a0 string, _a1 error) *MockCDKStackProviderer_GetTemplate_Call
func (*MockCDKStackProviderer_GetTemplate_Call) Run ¶ added in v0.0.20
func (_c *MockCDKStackProviderer_GetTemplate_Call) Run(run func(stack awscdk.Stack)) *MockCDKStackProviderer_GetTemplate_Call
func (*MockCDKStackProviderer_GetTemplate_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockCDKStackProviderer_GetTemplate_Call) RunAndReturn(run func(awscdk.Stack) (string, error)) *MockCDKStackProviderer_GetTemplate_Call
type MockCDKStackProviderer_NewStack_Call ¶ added in v0.0.20
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 (_c *MockCDKStackProviderer_NewStack_Call) Return(_a0 awscdk.Stack) *MockCDKStackProviderer_NewStack_Call
func (*MockCDKStackProviderer_NewStack_Call) Run ¶ added in v0.0.20
func (_c *MockCDKStackProviderer_NewStack_Call) Run(run func(scope awscdk.App, id string, props *awscdk.StackProps)) *MockCDKStackProviderer_NewStack_Call
func (*MockCDKStackProviderer_NewStack_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockCDKStackProviderer_NewStack_Call) RunAndReturn(run func(awscdk.App, string, *awscdk.StackProps) awscdk.Stack) *MockCDKStackProviderer_NewStack_Call
type MockCloudFormationAPIer ¶ added in v0.0.20
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
func (_m *MockCloudFormationAPIer) CreateStack(ctx context.Context, params *cloudformation.CreateStackInput, opts ...func(*cloudformation.Options)) (*cloudformation.CreateStackOutput, error)
CreateStack provides a mock function with given fields: ctx, params, opts
func (*MockCloudFormationAPIer) DeleteStack ¶ added in v0.0.20
func (_m *MockCloudFormationAPIer) DeleteStack(ctx context.Context, params *cloudformation.DeleteStackInput, opts ...func(*cloudformation.Options)) (*cloudformation.DeleteStackOutput, error)
DeleteStack provides a mock function with given fields: ctx, params, opts
func (*MockCloudFormationAPIer) DescribeStackEvents ¶ added in v0.0.20
func (_m *MockCloudFormationAPIer) DescribeStackEvents(ctx context.Context, params *cloudformation.DescribeStackEventsInput, opts ...func(*cloudformation.Options)) (*cloudformation.DescribeStackEventsOutput, error)
DescribeStackEvents provides a mock function with given fields: ctx, params, opts
func (*MockCloudFormationAPIer) DescribeStacks ¶ added in v0.0.20
func (_m *MockCloudFormationAPIer) DescribeStacks(ctx context.Context, params *cloudformation.DescribeStacksInput, opts ...func(*cloudformation.Options)) (*cloudformation.DescribeStacksOutput, error)
DescribeStacks provides a mock function with given fields: ctx, params, opts
func (*MockCloudFormationAPIer) EXPECT ¶ added in v0.0.20
func (_m *MockCloudFormationAPIer) EXPECT() *MockCloudFormationAPIer_Expecter
func (*MockCloudFormationAPIer) GetTemplate ¶ added in v0.0.20
func (_m *MockCloudFormationAPIer) GetTemplate(ctx context.Context, params *cloudformation.GetTemplateInput, opts ...func(*cloudformation.Options)) (*cloudformation.GetTemplateOutput, error)
GetTemplate provides a mock function with given fields: ctx, params, opts
func (*MockCloudFormationAPIer) ListStacks ¶ added in v0.0.20
func (_m *MockCloudFormationAPIer) ListStacks(ctx context.Context, params *cloudformation.ListStacksInput, opts ...func(*cloudformation.Options)) (*cloudformation.ListStacksOutput, error)
ListStacks provides a mock function with given fields: ctx, params, opts
func (*MockCloudFormationAPIer) UpdateStack ¶ added in v0.0.20
func (_m *MockCloudFormationAPIer) UpdateStack(ctx context.Context, params *cloudformation.UpdateStackInput, opts ...func(*cloudformation.Options)) (*cloudformation.UpdateStackOutput, error)
UpdateStack provides a mock function with given fields: ctx, params, opts
type MockCloudFormationAPIer_CreateStack_Call ¶ added in v0.0.20
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 (_c *MockCloudFormationAPIer_CreateStack_Call) Return(_a0 *cloudformation.CreateStackOutput, _a1 error) *MockCloudFormationAPIer_CreateStack_Call
func (*MockCloudFormationAPIer_CreateStack_Call) Run ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_CreateStack_Call) Run(run func(ctx context.Context, params *cloudformation.CreateStackInput, opts ...func(*cloudformation.Options))) *MockCloudFormationAPIer_CreateStack_Call
func (*MockCloudFormationAPIer_CreateStack_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_CreateStack_Call) RunAndReturn(run func(context.Context, *cloudformation.CreateStackInput, ...func(*cloudformation.Options)) (*cloudformation.CreateStackOutput, error)) *MockCloudFormationAPIer_CreateStack_Call
type MockCloudFormationAPIer_DeleteStack_Call ¶ added in v0.0.20
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 (_c *MockCloudFormationAPIer_DeleteStack_Call) Return(_a0 *cloudformation.DeleteStackOutput, _a1 error) *MockCloudFormationAPIer_DeleteStack_Call
func (*MockCloudFormationAPIer_DeleteStack_Call) Run ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_DeleteStack_Call) Run(run func(ctx context.Context, params *cloudformation.DeleteStackInput, opts ...func(*cloudformation.Options))) *MockCloudFormationAPIer_DeleteStack_Call
func (*MockCloudFormationAPIer_DeleteStack_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_DeleteStack_Call) RunAndReturn(run func(context.Context, *cloudformation.DeleteStackInput, ...func(*cloudformation.Options)) (*cloudformation.DeleteStackOutput, error)) *MockCloudFormationAPIer_DeleteStack_Call
type MockCloudFormationAPIer_DescribeStackEvents_Call ¶ added in v0.0.20
MockCloudFormationAPIer_DescribeStackEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeStackEvents'
func (*MockCloudFormationAPIer_DescribeStackEvents_Call) Run ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_DescribeStackEvents_Call) Run(run func(ctx context.Context, params *cloudformation.DescribeStackEventsInput, opts ...func(*cloudformation.Options))) *MockCloudFormationAPIer_DescribeStackEvents_Call
func (*MockCloudFormationAPIer_DescribeStackEvents_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_DescribeStackEvents_Call) RunAndReturn(run func(context.Context, *cloudformation.DescribeStackEventsInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStackEventsOutput, error)) *MockCloudFormationAPIer_DescribeStackEvents_Call
type MockCloudFormationAPIer_DescribeStacks_Call ¶ added in v0.0.20
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 (_c *MockCloudFormationAPIer_DescribeStacks_Call) Return(_a0 *cloudformation.DescribeStacksOutput, _a1 error) *MockCloudFormationAPIer_DescribeStacks_Call
func (*MockCloudFormationAPIer_DescribeStacks_Call) Run ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_DescribeStacks_Call) Run(run func(ctx context.Context, params *cloudformation.DescribeStacksInput, opts ...func(*cloudformation.Options))) *MockCloudFormationAPIer_DescribeStacks_Call
func (*MockCloudFormationAPIer_DescribeStacks_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_DescribeStacks_Call) RunAndReturn(run func(context.Context, *cloudformation.DescribeStacksInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStacksOutput, error)) *MockCloudFormationAPIer_DescribeStacks_Call
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
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 (_c *MockCloudFormationAPIer_GetTemplate_Call) Return(_a0 *cloudformation.GetTemplateOutput, _a1 error) *MockCloudFormationAPIer_GetTemplate_Call
func (*MockCloudFormationAPIer_GetTemplate_Call) Run ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_GetTemplate_Call) Run(run func(ctx context.Context, params *cloudformation.GetTemplateInput, opts ...func(*cloudformation.Options))) *MockCloudFormationAPIer_GetTemplate_Call
func (*MockCloudFormationAPIer_GetTemplate_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_GetTemplate_Call) RunAndReturn(run func(context.Context, *cloudformation.GetTemplateInput, ...func(*cloudformation.Options)) (*cloudformation.GetTemplateOutput, error)) *MockCloudFormationAPIer_GetTemplate_Call
type MockCloudFormationAPIer_ListStacks_Call ¶ added in v0.0.20
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 (_c *MockCloudFormationAPIer_ListStacks_Call) Return(_a0 *cloudformation.ListStacksOutput, _a1 error) *MockCloudFormationAPIer_ListStacks_Call
func (*MockCloudFormationAPIer_ListStacks_Call) Run ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_ListStacks_Call) Run(run func(ctx context.Context, params *cloudformation.ListStacksInput, opts ...func(*cloudformation.Options))) *MockCloudFormationAPIer_ListStacks_Call
func (*MockCloudFormationAPIer_ListStacks_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_ListStacks_Call) RunAndReturn(run func(context.Context, *cloudformation.ListStacksInput, ...func(*cloudformation.Options)) (*cloudformation.ListStacksOutput, error)) *MockCloudFormationAPIer_ListStacks_Call
type MockCloudFormationAPIer_UpdateStack_Call ¶ added in v0.0.20
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 (_c *MockCloudFormationAPIer_UpdateStack_Call) Return(_a0 *cloudformation.UpdateStackOutput, _a1 error) *MockCloudFormationAPIer_UpdateStack_Call
func (*MockCloudFormationAPIer_UpdateStack_Call) Run ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_UpdateStack_Call) Run(run func(ctx context.Context, params *cloudformation.UpdateStackInput, opts ...func(*cloudformation.Options))) *MockCloudFormationAPIer_UpdateStack_Call
func (*MockCloudFormationAPIer_UpdateStack_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockCloudFormationAPIer_UpdateStack_Call) RunAndReturn(run func(context.Context, *cloudformation.UpdateStackInput, ...func(*cloudformation.Options)) (*cloudformation.UpdateStackOutput, error)) *MockCloudFormationAPIer_UpdateStack_Call
type MockConfigInterfacer ¶
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 (_m *MockConfigInterfacer) EXPECT() *MockConfigInterfacer_Expecter
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 ¶
func (_e *MockConfigInterfacer_Expecter) GetString(key interface{}) *MockConfigInterfacer_GetString_Call
GetString is a helper method to define mock.On call
- key string
type MockConfigInterfacer_GetString_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 (_c *MockConfigInterfacer_GetString_Call) Return(_a0 string) *MockConfigInterfacer_GetString_Call
func (*MockConfigInterfacer_GetString_Call) Run ¶
func (_c *MockConfigInterfacer_GetString_Call) Run(run func(key string)) *MockConfigInterfacer_GetString_Call
func (*MockConfigInterfacer_GetString_Call) RunAndReturn ¶
func (_c *MockConfigInterfacer_GetString_Call) RunAndReturn(run func(string) string) *MockConfigInterfacer_GetString_Call
type MockEC2Clienter ¶
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 (_m *MockEC2Clienter) EXPECT() *MockEC2Clienter_Expecter
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
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 (_c *MockEC2Clienter_AssociateRouteTable_Call) Return(_a0 *ec2.AssociateRouteTableOutput, _a1 error) *MockEC2Clienter_AssociateRouteTable_Call
func (*MockEC2Clienter_AssociateRouteTable_Call) Run ¶ added in v0.0.20
func (_c *MockEC2Clienter_AssociateRouteTable_Call) Run(run func(ctx context.Context, params *ec2.AssociateRouteTableInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_AssociateRouteTable_Call
func (*MockEC2Clienter_AssociateRouteTable_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockEC2Clienter_AssociateRouteTable_Call) RunAndReturn(run func(context.Context, *ec2.AssociateRouteTableInput, ...func(*ec2.Options)) (*ec2.AssociateRouteTableOutput, error)) *MockEC2Clienter_AssociateRouteTable_Call
type MockEC2Clienter_AttachInternetGateway_Call ¶ added in v0.0.20
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 (_c *MockEC2Clienter_AttachInternetGateway_Call) Return(_a0 *ec2.AttachInternetGatewayOutput, _a1 error) *MockEC2Clienter_AttachInternetGateway_Call
func (*MockEC2Clienter_AttachInternetGateway_Call) Run ¶ added in v0.0.20
func (_c *MockEC2Clienter_AttachInternetGateway_Call) Run(run func(ctx context.Context, params *ec2.AttachInternetGatewayInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_AttachInternetGateway_Call
func (*MockEC2Clienter_AttachInternetGateway_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockEC2Clienter_AttachInternetGateway_Call) RunAndReturn(run func(context.Context, *ec2.AttachInternetGatewayInput, ...func(*ec2.Options)) (*ec2.AttachInternetGatewayOutput, error)) *MockEC2Clienter_AttachInternetGateway_Call
type MockEC2Clienter_CreateInternetGateway_Call ¶ added in v0.0.20
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 (_c *MockEC2Clienter_CreateInternetGateway_Call) Return(_a0 *ec2.CreateInternetGatewayOutput, _a1 error) *MockEC2Clienter_CreateInternetGateway_Call
func (*MockEC2Clienter_CreateInternetGateway_Call) Run ¶ added in v0.0.20
func (_c *MockEC2Clienter_CreateInternetGateway_Call) Run(run func(ctx context.Context, params *ec2.CreateInternetGatewayInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_CreateInternetGateway_Call
func (*MockEC2Clienter_CreateInternetGateway_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockEC2Clienter_CreateInternetGateway_Call) RunAndReturn(run func(context.Context, *ec2.CreateInternetGatewayInput, ...func(*ec2.Options)) (*ec2.CreateInternetGatewayOutput, error)) *MockEC2Clienter_CreateInternetGateway_Call
type MockEC2Clienter_CreateRouteTable_Call ¶ added in v0.0.20
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 (_c *MockEC2Clienter_CreateRouteTable_Call) Return(_a0 *ec2.CreateRouteTableOutput, _a1 error) *MockEC2Clienter_CreateRouteTable_Call
func (*MockEC2Clienter_CreateRouteTable_Call) Run ¶ added in v0.0.20
func (_c *MockEC2Clienter_CreateRouteTable_Call) Run(run func(ctx context.Context, params *ec2.CreateRouteTableInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_CreateRouteTable_Call
func (*MockEC2Clienter_CreateRouteTable_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockEC2Clienter_CreateRouteTable_Call) RunAndReturn(run func(context.Context, *ec2.CreateRouteTableInput, ...func(*ec2.Options)) (*ec2.CreateRouteTableOutput, error)) *MockEC2Clienter_CreateRouteTable_Call
type MockEC2Clienter_CreateRoute_Call ¶ added in v0.0.20
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 (_c *MockEC2Clienter_CreateRoute_Call) Return(_a0 *ec2.CreateRouteOutput, _a1 error) *MockEC2Clienter_CreateRoute_Call
func (*MockEC2Clienter_CreateRoute_Call) Run ¶ added in v0.0.20
func (_c *MockEC2Clienter_CreateRoute_Call) Run(run func(ctx context.Context, params *ec2.CreateRouteInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_CreateRoute_Call
func (*MockEC2Clienter_CreateRoute_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockEC2Clienter_CreateRoute_Call) RunAndReturn(run func(context.Context, *ec2.CreateRouteInput, ...func(*ec2.Options)) (*ec2.CreateRouteOutput, error)) *MockEC2Clienter_CreateRoute_Call
type MockEC2Clienter_CreateSubnet_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 (_c *MockEC2Clienter_CreateSubnet_Call) Return(_a0 *ec2.CreateSubnetOutput, _a1 error) *MockEC2Clienter_CreateSubnet_Call
func (*MockEC2Clienter_CreateSubnet_Call) Run ¶
func (_c *MockEC2Clienter_CreateSubnet_Call) Run(run func(ctx context.Context, params *ec2.CreateSubnetInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_CreateSubnet_Call
func (*MockEC2Clienter_CreateSubnet_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_CreateSubnet_Call) RunAndReturn(run func(context.Context, *ec2.CreateSubnetInput, ...func(*ec2.Options)) (*ec2.CreateSubnetOutput, error)) *MockEC2Clienter_CreateSubnet_Call
type MockEC2Clienter_CreateVPC_Call ¶ added in v0.0.20
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 (_c *MockEC2Clienter_CreateVPC_Call) Return(_a0 *ec2.CreateVpcOutput, _a1 error) *MockEC2Clienter_CreateVPC_Call
func (*MockEC2Clienter_CreateVPC_Call) Run ¶ added in v0.0.20
func (_c *MockEC2Clienter_CreateVPC_Call) Run(run func(ctx context.Context, params *ec2.CreateVpcInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_CreateVPC_Call
func (*MockEC2Clienter_CreateVPC_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockEC2Clienter_CreateVPC_Call) RunAndReturn(run func(context.Context, *ec2.CreateVpcInput, ...func(*ec2.Options)) (*ec2.CreateVpcOutput, error)) *MockEC2Clienter_CreateVPC_Call
type MockEC2Clienter_DescribeImages_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 (_c *MockEC2Clienter_DescribeImages_Call) Return(_a0 *ec2.DescribeImagesOutput, _a1 error) *MockEC2Clienter_DescribeImages_Call
func (*MockEC2Clienter_DescribeImages_Call) Run ¶
func (_c *MockEC2Clienter_DescribeImages_Call) Run(run func(ctx context.Context, params *ec2.DescribeImagesInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DescribeImages_Call
func (*MockEC2Clienter_DescribeImages_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DescribeImages_Call) RunAndReturn(run func(context.Context, *ec2.DescribeImagesInput, ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)) *MockEC2Clienter_DescribeImages_Call
type MockEC2Clienter_DescribeInstances_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 (_c *MockEC2Clienter_DescribeInstances_Call) Return(_a0 *ec2.DescribeInstancesOutput, _a1 error) *MockEC2Clienter_DescribeInstances_Call
func (*MockEC2Clienter_DescribeInstances_Call) Run ¶
func (_c *MockEC2Clienter_DescribeInstances_Call) Run(run func(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DescribeInstances_Call
func (*MockEC2Clienter_DescribeInstances_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DescribeInstances_Call) RunAndReturn(run func(context.Context, *ec2.DescribeInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)) *MockEC2Clienter_DescribeInstances_Call
type MockEC2Clienter_DescribeVPCs_Call ¶ added in v0.0.20
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 (_c *MockEC2Clienter_DescribeVPCs_Call) Return(_a0 *ec2.DescribeVpcsOutput, _a1 error) *MockEC2Clienter_DescribeVPCs_Call
func (*MockEC2Clienter_DescribeVPCs_Call) Run ¶ added in v0.0.20
func (_c *MockEC2Clienter_DescribeVPCs_Call) Run(run func(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DescribeVPCs_Call
func (*MockEC2Clienter_DescribeVPCs_Call) RunAndReturn ¶ added in v0.0.20
func (_c *MockEC2Clienter_DescribeVPCs_Call) RunAndReturn(run func(context.Context, *ec2.DescribeVpcsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)) *MockEC2Clienter_DescribeVPCs_Call
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 ¶
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 (_c *MockEC2Clienter_RunInstances_Call) Return(_a0 *ec2.RunInstancesOutput, _a1 error) *MockEC2Clienter_RunInstances_Call
func (*MockEC2Clienter_RunInstances_Call) Run ¶
func (_c *MockEC2Clienter_RunInstances_Call) Run(run func(ctx context.Context, params *ec2.RunInstancesInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_RunInstances_Call
func (*MockEC2Clienter_RunInstances_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_RunInstances_Call) RunAndReturn(run func(context.Context, *ec2.RunInstancesInput, ...func(*ec2.Options)) (*ec2.RunInstancesOutput, error)) *MockEC2Clienter_RunInstances_Call
type MockEC2Clienter_TerminateInstances_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 (_c *MockEC2Clienter_TerminateInstances_Call) Return(_a0 *ec2.TerminateInstancesOutput, _a1 error) *MockEC2Clienter_TerminateInstances_Call
func (*MockEC2Clienter_TerminateInstances_Call) Run ¶
func (_c *MockEC2Clienter_TerminateInstances_Call) Run(run func(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_TerminateInstances_Call
func (*MockEC2Clienter_TerminateInstances_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_TerminateInstances_Call) RunAndReturn(run func(context.Context, *ec2.TerminateInstancesInput, ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)) *MockEC2Clienter_TerminateInstances_Call