mocks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStackConfiguration

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

MockStackConfiguration is a mock of StackConfiguration interface.

func NewMockStackConfiguration

func NewMockStackConfiguration(ctrl *gomock.Controller) *MockStackConfiguration

NewMockStackConfiguration creates a new mock instance.

func (*MockStackConfiguration) EXPECT

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

func (*MockStackConfiguration) Parameters

func (m *MockStackConfiguration) Parameters() ([]*cloudformation.Parameter, error)

Parameters mocks base method.

func (*MockStackConfiguration) StackName

func (m *MockStackConfiguration) StackName() string

StackName mocks base method.

func (*MockStackConfiguration) Tags

Tags mocks base method.

func (*MockStackConfiguration) Template

func (m *MockStackConfiguration) Template() (string, error)

Template mocks base method.

type MockStackConfigurationMockRecorder

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

MockStackConfigurationMockRecorder is the mock recorder for MockStackConfiguration.

func (*MockStackConfigurationMockRecorder) Parameters

Parameters indicates an expected call of Parameters.

func (*MockStackConfigurationMockRecorder) StackName

StackName indicates an expected call of StackName.

func (*MockStackConfigurationMockRecorder) Tags

Tags indicates an expected call of Tags.

func (*MockStackConfigurationMockRecorder) Template

Template indicates an expected call of Template.

type MockcfnClient

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

MockcfnClient is a mock of cfnClient interface.

func NewMockcfnClient

func NewMockcfnClient(ctrl *gomock.Controller) *MockcfnClient

NewMockcfnClient creates a new mock instance.

func (*MockcfnClient) Create

func (m *MockcfnClient) Create(arg0 *cloudformation0.Stack) (string, error)

Create mocks base method.

func (*MockcfnClient) CreateAndWait

func (m *MockcfnClient) CreateAndWait(arg0 *cloudformation0.Stack) error

CreateAndWait mocks base method.

func (*MockcfnClient) Delete

func (m *MockcfnClient) Delete(stackName string) error

Delete mocks base method.

func (*MockcfnClient) DeleteAndWait

func (m *MockcfnClient) DeleteAndWait(stackName string) error

DeleteAndWait mocks base method.

func (*MockcfnClient) DeleteAndWaitWithRoleARN added in v0.5.0

func (m *MockcfnClient) DeleteAndWaitWithRoleARN(stackName, roleARN string) error

DeleteAndWaitWithRoleARN mocks base method.

func (*MockcfnClient) Describe

func (m *MockcfnClient) Describe(stackName string) (*cloudformation0.StackDescription, error)

Describe mocks base method.

func (*MockcfnClient) DescribeChangeSet added in v1.1.0

func (m *MockcfnClient) DescribeChangeSet(changeSetID, stackName string) (*cloudformation0.ChangeSetDescription, error)

DescribeChangeSet mocks base method.

func (*MockcfnClient) DescribeStackEvents added in v1.1.0

DescribeStackEvents mocks base method.

func (*MockcfnClient) EXPECT

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

func (*MockcfnClient) ErrorEvents added in v0.6.0

func (m *MockcfnClient) ErrorEvents(stackName string) ([]cloudformation0.StackEvent, error)

ErrorEvents mocks base method.

func (*MockcfnClient) Events

func (m *MockcfnClient) Events(stackName string) ([]cloudformation0.StackEvent, error)

Events mocks base method.

func (*MockcfnClient) ListStacksWithTags added in v1.1.0

func (m *MockcfnClient) ListStacksWithTags(tags map[string]string) ([]cloudformation0.StackDescription, error)

ListStacksWithTags mocks base method.

func (*MockcfnClient) Outputs added in v1.3.0

func (m *MockcfnClient) Outputs(stack *cloudformation0.Stack) (map[string]string, error)

Outputs mocks base method.

func (*MockcfnClient) TemplateBody added in v0.5.0

func (m *MockcfnClient) TemplateBody(stackName string) (string, error)

TemplateBody mocks base method.

func (*MockcfnClient) TemplateBodyFromChangeSet added in v1.1.0

func (m *MockcfnClient) TemplateBodyFromChangeSet(changeSetID, stackName string) (string, error)

TemplateBodyFromChangeSet mocks base method.

func (*MockcfnClient) Update

func (m *MockcfnClient) Update(arg0 *cloudformation0.Stack) (string, error)

Update mocks base method.

func (*MockcfnClient) UpdateAndWait

func (m *MockcfnClient) UpdateAndWait(arg0 *cloudformation0.Stack) error

UpdateAndWait mocks base method.

func (*MockcfnClient) WaitForCreate

func (m *MockcfnClient) WaitForCreate(ctx context.Context, stackName string) error

WaitForCreate mocks base method.

func (*MockcfnClient) WaitForUpdate added in v0.5.0

func (m *MockcfnClient) WaitForUpdate(ctx context.Context, stackName string) error

WaitForUpdate mocks base method.

type MockcfnClientMockRecorder

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

MockcfnClientMockRecorder is the mock recorder for MockcfnClient.

func (*MockcfnClientMockRecorder) Create

func (mr *MockcfnClientMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockcfnClientMockRecorder) CreateAndWait

func (mr *MockcfnClientMockRecorder) CreateAndWait(arg0 interface{}) *gomock.Call

CreateAndWait indicates an expected call of CreateAndWait.

func (*MockcfnClientMockRecorder) Delete

func (mr *MockcfnClientMockRecorder) Delete(stackName interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockcfnClientMockRecorder) DeleteAndWait

func (mr *MockcfnClientMockRecorder) DeleteAndWait(stackName interface{}) *gomock.Call

DeleteAndWait indicates an expected call of DeleteAndWait.

func (*MockcfnClientMockRecorder) DeleteAndWaitWithRoleARN added in v0.5.0

func (mr *MockcfnClientMockRecorder) DeleteAndWaitWithRoleARN(stackName, roleARN interface{}) *gomock.Call

DeleteAndWaitWithRoleARN indicates an expected call of DeleteAndWaitWithRoleARN.

func (*MockcfnClientMockRecorder) Describe

func (mr *MockcfnClientMockRecorder) Describe(stackName interface{}) *gomock.Call

Describe indicates an expected call of Describe.

func (*MockcfnClientMockRecorder) DescribeChangeSet added in v1.1.0

func (mr *MockcfnClientMockRecorder) DescribeChangeSet(changeSetID, stackName interface{}) *gomock.Call

DescribeChangeSet indicates an expected call of DescribeChangeSet.

func (*MockcfnClientMockRecorder) DescribeStackEvents added in v1.1.0

func (mr *MockcfnClientMockRecorder) DescribeStackEvents(arg0 interface{}) *gomock.Call

DescribeStackEvents indicates an expected call of DescribeStackEvents.

func (*MockcfnClientMockRecorder) ErrorEvents added in v0.6.0

func (mr *MockcfnClientMockRecorder) ErrorEvents(stackName interface{}) *gomock.Call

ErrorEvents indicates an expected call of ErrorEvents.

func (*MockcfnClientMockRecorder) Events

func (mr *MockcfnClientMockRecorder) Events(stackName interface{}) *gomock.Call

Events indicates an expected call of Events.

func (*MockcfnClientMockRecorder) ListStacksWithTags added in v1.1.0

func (mr *MockcfnClientMockRecorder) ListStacksWithTags(tags interface{}) *gomock.Call

ListStacksWithTags indicates an expected call of ListStacksWithTags.

func (*MockcfnClientMockRecorder) Outputs added in v1.3.0

func (mr *MockcfnClientMockRecorder) Outputs(stack interface{}) *gomock.Call

Outputs indicates an expected call of Outputs.

func (*MockcfnClientMockRecorder) TemplateBody added in v0.5.0

func (mr *MockcfnClientMockRecorder) TemplateBody(stackName interface{}) *gomock.Call

TemplateBody indicates an expected call of TemplateBody.

func (*MockcfnClientMockRecorder) TemplateBodyFromChangeSet added in v1.1.0

func (mr *MockcfnClientMockRecorder) TemplateBodyFromChangeSet(changeSetID, stackName interface{}) *gomock.Call

TemplateBodyFromChangeSet indicates an expected call of TemplateBodyFromChangeSet.

func (*MockcfnClientMockRecorder) Update

func (mr *MockcfnClientMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockcfnClientMockRecorder) UpdateAndWait

func (mr *MockcfnClientMockRecorder) UpdateAndWait(arg0 interface{}) *gomock.Call

UpdateAndWait indicates an expected call of UpdateAndWait.

func (*MockcfnClientMockRecorder) WaitForCreate

func (mr *MockcfnClientMockRecorder) WaitForCreate(ctx, stackName interface{}) *gomock.Call

WaitForCreate indicates an expected call of WaitForCreate.

func (*MockcfnClientMockRecorder) WaitForUpdate added in v0.5.0

func (mr *MockcfnClientMockRecorder) WaitForUpdate(ctx, stackName interface{}) *gomock.Call

WaitForUpdate indicates an expected call of WaitForUpdate.

type MockcodePipelineClient added in v1.3.0

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

MockcodePipelineClient is a mock of codePipelineClient interface.

func NewMockcodePipelineClient added in v1.3.0

func NewMockcodePipelineClient(ctrl *gomock.Controller) *MockcodePipelineClient

NewMockcodePipelineClient creates a new mock instance.

func (*MockcodePipelineClient) EXPECT added in v1.3.0

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

func (*MockcodePipelineClient) RetryStageExecution added in v1.3.0

func (m *MockcodePipelineClient) RetryStageExecution(pipelineName, stageName string) error

RetryStageExecution mocks base method.

type MockcodePipelineClientMockRecorder added in v1.3.0

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

MockcodePipelineClientMockRecorder is the mock recorder for MockcodePipelineClient.

func (*MockcodePipelineClientMockRecorder) RetryStageExecution added in v1.3.0

func (mr *MockcodePipelineClientMockRecorder) RetryStageExecution(pipelineName, stageName interface{}) *gomock.Call

RetryStageExecution indicates an expected call of RetryStageExecution.

type MockcodeStarClient added in v1.3.0

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

MockcodeStarClient is a mock of codeStarClient interface.

func NewMockcodeStarClient added in v1.3.0

func NewMockcodeStarClient(ctrl *gomock.Controller) *MockcodeStarClient

NewMockcodeStarClient creates a new mock instance.

func (*MockcodeStarClient) EXPECT added in v1.3.0

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

func (*MockcodeStarClient) WaitUntilConnectionStatusAvailable added in v1.3.0

func (m *MockcodeStarClient) WaitUntilConnectionStatusAvailable(ctx context.Context, connectionARN string) error

WaitUntilConnectionStatusAvailable mocks base method.

type MockcodeStarClientMockRecorder added in v1.3.0

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

MockcodeStarClientMockRecorder is the mock recorder for MockcodeStarClient.

func (*MockcodeStarClientMockRecorder) WaitUntilConnectionStatusAvailable added in v1.3.0

func (mr *MockcodeStarClientMockRecorder) WaitUntilConnectionStatusAvailable(ctx, connectionARN interface{}) *gomock.Call

WaitUntilConnectionStatusAvailable indicates an expected call of WaitUntilConnectionStatusAvailable.

type MockecsClient added in v1.2.0

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

MockecsClient is a mock of ecsClient interface.

func NewMockecsClient added in v1.2.0

func NewMockecsClient(ctrl *gomock.Controller) *MockecsClient

NewMockecsClient creates a new mock instance.

func (*MockecsClient) EXPECT added in v1.2.0

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

func (*MockecsClient) Service added in v1.2.0

func (m *MockecsClient) Service(clusterName, serviceName string) (*ecs.Service, error)

Service mocks base method.

type MockecsClientMockRecorder added in v1.2.0

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

MockecsClientMockRecorder is the mock recorder for MockecsClient.

func (*MockecsClientMockRecorder) Service added in v1.2.0

func (mr *MockecsClientMockRecorder) Service(clusterName, serviceName interface{}) *gomock.Call

Service indicates an expected call of Service.

type MockstackSetClient

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

MockstackSetClient is a mock of stackSetClient interface.

func NewMockstackSetClient

func NewMockstackSetClient(ctrl *gomock.Controller) *MockstackSetClient

NewMockstackSetClient creates a new mock instance.

func (*MockstackSetClient) Create

func (m *MockstackSetClient) Create(name, template string, opts ...stackset.CreateOrUpdateOption) error

Create mocks base method.

func (*MockstackSetClient) CreateInstancesAndWait

func (m *MockstackSetClient) CreateInstancesAndWait(name string, accounts, regions []string) error

CreateInstancesAndWait mocks base method.

func (*MockstackSetClient) Delete

func (m *MockstackSetClient) Delete(name string) error

Delete mocks base method.

func (*MockstackSetClient) Describe

func (m *MockstackSetClient) Describe(name string) (stackset.Description, error)

Describe mocks base method.

func (*MockstackSetClient) EXPECT

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

func (*MockstackSetClient) InstanceSummaries

func (m *MockstackSetClient) InstanceSummaries(name string, opts ...stackset.InstanceSummariesOption) ([]stackset.InstanceSummary, error)

InstanceSummaries mocks base method.

func (*MockstackSetClient) UpdateAndWait

func (m *MockstackSetClient) UpdateAndWait(name, template string, opts ...stackset.CreateOrUpdateOption) error

UpdateAndWait mocks base method.

type MockstackSetClientMockRecorder

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

MockstackSetClientMockRecorder is the mock recorder for MockstackSetClient.

func (*MockstackSetClientMockRecorder) Create

func (mr *MockstackSetClientMockRecorder) Create(name, template interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockstackSetClientMockRecorder) CreateInstancesAndWait

func (mr *MockstackSetClientMockRecorder) CreateInstancesAndWait(name, accounts, regions interface{}) *gomock.Call

CreateInstancesAndWait indicates an expected call of CreateInstancesAndWait.

func (*MockstackSetClientMockRecorder) Delete

func (mr *MockstackSetClientMockRecorder) Delete(name interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockstackSetClientMockRecorder) Describe

func (mr *MockstackSetClientMockRecorder) Describe(name interface{}) *gomock.Call

Describe indicates an expected call of Describe.

func (*MockstackSetClientMockRecorder) InstanceSummaries

func (mr *MockstackSetClientMockRecorder) InstanceSummaries(name interface{}, opts ...interface{}) *gomock.Call

InstanceSummaries indicates an expected call of InstanceSummaries.

func (*MockstackSetClientMockRecorder) UpdateAndWait

func (mr *MockstackSetClientMockRecorder) UpdateAndWait(name, template interface{}, opts ...interface{}) *gomock.Call

UpdateAndWait indicates an expected call of UpdateAndWait.

Jump to

Keyboard shortcuts

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