fakes

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var NoUpdateRequiredException awserr.Error = &MockAWSError{
	C: "No updates",
	M: "No updates",
}
View Source
var ResourceNotFoundException awserr.Error = &MockAWSError{
	C: "ResourceNotFoundException",
	M: "fake version of error returned when no stack",
}

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	CreateStackWithContextStub func(context.Context, *cloudformation.CreateStackInput, ...request.Option) (*cloudformation.CreateStackOutput, error)

	DeleteStackWithContextStub func(context.Context, *cloudformation.DeleteStackInput, ...request.Option) (*cloudformation.DeleteStackOutput, error)

	DescribeStacksWithContextStub func(context.Context, *cloudformation.DescribeStacksInput, ...request.Option) (*cloudformation.DescribeStacksOutput, error)

	GetSecretValueWithContextStub func(context.Context, *secretsmanager.GetSecretValueInput, ...request.Option) (*secretsmanager.GetSecretValueOutput, error)

	UpdateStackWithContextStub func(context.Context, *cloudformation.UpdateStackInput, ...request.Option) (*cloudformation.UpdateStackOutput, error)
	// contains filtered or unexported fields
}

func (*FakeClient) CreateStackWithContext added in v0.18.0

func (fake *FakeClient) CreateStackWithContext(arg1 context.Context, arg2 *cloudformation.CreateStackInput, arg3 ...request.Option) (*cloudformation.CreateStackOutput, error)

func (*FakeClient) CreateStackWithContextArgsForCall added in v0.18.0

func (fake *FakeClient) CreateStackWithContextArgsForCall(i int) (context.Context, *cloudformation.CreateStackInput, []request.Option)

func (*FakeClient) CreateStackWithContextCallCount added in v0.18.0

func (fake *FakeClient) CreateStackWithContextCallCount() int

func (*FakeClient) CreateStackWithContextCalls added in v0.18.0

func (fake *FakeClient) CreateStackWithContextCalls(stub func(context.Context, *cloudformation.CreateStackInput, ...request.Option) (*cloudformation.CreateStackOutput, error))

func (*FakeClient) CreateStackWithContextReturns added in v0.18.0

func (fake *FakeClient) CreateStackWithContextReturns(result1 *cloudformation.CreateStackOutput, result2 error)

func (*FakeClient) CreateStackWithContextReturnsOnCall added in v0.18.0

func (fake *FakeClient) CreateStackWithContextReturnsOnCall(i int, result1 *cloudformation.CreateStackOutput, result2 error)

func (*FakeClient) DeleteStackWithContext added in v0.18.0

func (fake *FakeClient) DeleteStackWithContext(arg1 context.Context, arg2 *cloudformation.DeleteStackInput, arg3 ...request.Option) (*cloudformation.DeleteStackOutput, error)

func (*FakeClient) DeleteStackWithContextArgsForCall added in v0.18.0

func (fake *FakeClient) DeleteStackWithContextArgsForCall(i int) (context.Context, *cloudformation.DeleteStackInput, []request.Option)

func (*FakeClient) DeleteStackWithContextCallCount added in v0.18.0

func (fake *FakeClient) DeleteStackWithContextCallCount() int

func (*FakeClient) DeleteStackWithContextCalls added in v0.18.0

func (fake *FakeClient) DeleteStackWithContextCalls(stub func(context.Context, *cloudformation.DeleteStackInput, ...request.Option) (*cloudformation.DeleteStackOutput, error))

func (*FakeClient) DeleteStackWithContextReturns added in v0.18.0

func (fake *FakeClient) DeleteStackWithContextReturns(result1 *cloudformation.DeleteStackOutput, result2 error)

func (*FakeClient) DeleteStackWithContextReturnsOnCall added in v0.18.0

func (fake *FakeClient) DeleteStackWithContextReturnsOnCall(i int, result1 *cloudformation.DeleteStackOutput, result2 error)

func (*FakeClient) DescribeStacksWithContext added in v0.18.0

func (fake *FakeClient) DescribeStacksWithContext(arg1 context.Context, arg2 *cloudformation.DescribeStacksInput, arg3 ...request.Option) (*cloudformation.DescribeStacksOutput, error)

func (*FakeClient) DescribeStacksWithContextArgsForCall added in v0.18.0

func (fake *FakeClient) DescribeStacksWithContextArgsForCall(i int) (context.Context, *cloudformation.DescribeStacksInput, []request.Option)

func (*FakeClient) DescribeStacksWithContextCallCount added in v0.18.0

func (fake *FakeClient) DescribeStacksWithContextCallCount() int

func (*FakeClient) DescribeStacksWithContextCalls added in v0.18.0

func (fake *FakeClient) DescribeStacksWithContextCalls(stub func(context.Context, *cloudformation.DescribeStacksInput, ...request.Option) (*cloudformation.DescribeStacksOutput, error))

func (*FakeClient) DescribeStacksWithContextReturns added in v0.18.0

func (fake *FakeClient) DescribeStacksWithContextReturns(result1 *cloudformation.DescribeStacksOutput, result2 error)

func (*FakeClient) DescribeStacksWithContextReturnsOnCall added in v0.18.0

func (fake *FakeClient) DescribeStacksWithContextReturnsOnCall(i int, result1 *cloudformation.DescribeStacksOutput, result2 error)

func (*FakeClient) GetSecretValueWithContext added in v0.19.0

func (fake *FakeClient) GetSecretValueWithContext(arg1 context.Context, arg2 *secretsmanager.GetSecretValueInput, arg3 ...request.Option) (*secretsmanager.GetSecretValueOutput, error)

func (*FakeClient) GetSecretValueWithContextArgsForCall added in v0.19.0

func (fake *FakeClient) GetSecretValueWithContextArgsForCall(i int) (context.Context, *secretsmanager.GetSecretValueInput, []request.Option)

func (*FakeClient) GetSecretValueWithContextCallCount added in v0.19.0

func (fake *FakeClient) GetSecretValueWithContextCallCount() int

func (*FakeClient) GetSecretValueWithContextCalls added in v0.19.0

func (fake *FakeClient) GetSecretValueWithContextCalls(stub func(context.Context, *secretsmanager.GetSecretValueInput, ...request.Option) (*secretsmanager.GetSecretValueOutput, error))

func (*FakeClient) GetSecretValueWithContextReturns added in v0.19.0

func (fake *FakeClient) GetSecretValueWithContextReturns(result1 *secretsmanager.GetSecretValueOutput, result2 error)

func (*FakeClient) GetSecretValueWithContextReturnsOnCall added in v0.19.0

func (fake *FakeClient) GetSecretValueWithContextReturnsOnCall(i int, result1 *secretsmanager.GetSecretValueOutput, result2 error)

func (*FakeClient) Invocations

func (fake *FakeClient) Invocations() map[string][][]interface{}

func (*FakeClient) UpdateStackWithContext added in v0.18.0

func (fake *FakeClient) UpdateStackWithContext(arg1 context.Context, arg2 *cloudformation.UpdateStackInput, arg3 ...request.Option) (*cloudformation.UpdateStackOutput, error)

func (*FakeClient) UpdateStackWithContextArgsForCall added in v0.18.0

func (fake *FakeClient) UpdateStackWithContextArgsForCall(i int) (context.Context, *cloudformation.UpdateStackInput, []request.Option)

func (*FakeClient) UpdateStackWithContextCallCount added in v0.18.0

func (fake *FakeClient) UpdateStackWithContextCallCount() int

func (*FakeClient) UpdateStackWithContextCalls added in v0.18.0

func (fake *FakeClient) UpdateStackWithContextCalls(stub func(context.Context, *cloudformation.UpdateStackInput, ...request.Option) (*cloudformation.UpdateStackOutput, error))

func (*FakeClient) UpdateStackWithContextReturns added in v0.18.0

func (fake *FakeClient) UpdateStackWithContextReturns(result1 *cloudformation.UpdateStackOutput, result2 error)

func (*FakeClient) UpdateStackWithContextReturnsOnCall added in v0.18.0

func (fake *FakeClient) UpdateStackWithContextReturnsOnCall(i int, result1 *cloudformation.UpdateStackOutput, result2 error)

type MockAWSError added in v0.18.0

type MockAWSError struct {
	C string
	M string
	O error
}

func (*MockAWSError) Code added in v0.18.0

func (err *MockAWSError) Code() string

func (*MockAWSError) Error added in v0.18.0

func (err *MockAWSError) Error() string

func (*MockAWSError) Message added in v0.18.0

func (err *MockAWSError) Message() string

func (*MockAWSError) OrigErr added in v0.18.0

func (err *MockAWSError) OrigErr() error

Jump to

Keyboard shortcuts

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