Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- Variables
- type FakeClient
- func (fake *FakeClient) CreateStackWithContext(arg1 context.Context, arg2 *cloudformation.CreateStackInput, ...) (*cloudformation.CreateStackOutput, error)
- func (fake *FakeClient) CreateStackWithContextArgsForCall(i int) (context.Context, *cloudformation.CreateStackInput, []request.Option)
- func (fake *FakeClient) CreateStackWithContextCallCount() int
- func (fake *FakeClient) CreateStackWithContextCalls(...)
- func (fake *FakeClient) CreateStackWithContextReturns(result1 *cloudformation.CreateStackOutput, result2 error)
- func (fake *FakeClient) CreateStackWithContextReturnsOnCall(i int, result1 *cloudformation.CreateStackOutput, result2 error)
- func (fake *FakeClient) DeleteStackWithContext(arg1 context.Context, arg2 *cloudformation.DeleteStackInput, ...) (*cloudformation.DeleteStackOutput, error)
- func (fake *FakeClient) DeleteStackWithContextArgsForCall(i int) (context.Context, *cloudformation.DeleteStackInput, []request.Option)
- func (fake *FakeClient) DeleteStackWithContextCallCount() int
- func (fake *FakeClient) DeleteStackWithContextCalls(...)
- func (fake *FakeClient) DeleteStackWithContextReturns(result1 *cloudformation.DeleteStackOutput, result2 error)
- func (fake *FakeClient) DeleteStackWithContextReturnsOnCall(i int, result1 *cloudformation.DeleteStackOutput, result2 error)
- func (fake *FakeClient) DescribeStacksWithContext(arg1 context.Context, arg2 *cloudformation.DescribeStacksInput, ...) (*cloudformation.DescribeStacksOutput, error)
- func (fake *FakeClient) DescribeStacksWithContextArgsForCall(i int) (context.Context, *cloudformation.DescribeStacksInput, []request.Option)
- func (fake *FakeClient) DescribeStacksWithContextCallCount() int
- func (fake *FakeClient) DescribeStacksWithContextCalls(...)
- func (fake *FakeClient) DescribeStacksWithContextReturns(result1 *cloudformation.DescribeStacksOutput, result2 error)
- func (fake *FakeClient) DescribeStacksWithContextReturnsOnCall(i int, result1 *cloudformation.DescribeStacksOutput, result2 error)
- func (fake *FakeClient) GetSecretValueWithContext(arg1 context.Context, arg2 *secretsmanager.GetSecretValueInput, ...) (*secretsmanager.GetSecretValueOutput, error)
- func (fake *FakeClient) GetSecretValueWithContextArgsForCall(i int) (context.Context, *secretsmanager.GetSecretValueInput, []request.Option)
- func (fake *FakeClient) GetSecretValueWithContextCallCount() int
- func (fake *FakeClient) GetSecretValueWithContextCalls(...)
- func (fake *FakeClient) GetSecretValueWithContextReturns(result1 *secretsmanager.GetSecretValueOutput, result2 error)
- func (fake *FakeClient) GetSecretValueWithContextReturnsOnCall(i int, result1 *secretsmanager.GetSecretValueOutput, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) UpdateStackWithContext(arg1 context.Context, arg2 *cloudformation.UpdateStackInput, ...) (*cloudformation.UpdateStackOutput, error)
- func (fake *FakeClient) UpdateStackWithContextArgsForCall(i int) (context.Context, *cloudformation.UpdateStackInput, []request.Option)
- func (fake *FakeClient) UpdateStackWithContextCallCount() int
- func (fake *FakeClient) UpdateStackWithContextCalls(...)
- func (fake *FakeClient) UpdateStackWithContextReturns(result1 *cloudformation.UpdateStackOutput, result2 error)
- func (fake *FakeClient) UpdateStackWithContextReturnsOnCall(i int, result1 *cloudformation.UpdateStackOutput, result2 error)
- type MockAWSError
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
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
Click to show internal directories.
Click to hide internal directories.