Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockStackConfiguration
- func (m *MockStackConfiguration) EXPECT() *MockStackConfigurationMockRecorder
- func (m *MockStackConfiguration) Parameters() ([]*cloudformation.Parameter, error)
- func (m *MockStackConfiguration) StackName() string
- func (m *MockStackConfiguration) Tags() []*cloudformation.Tag
- func (m *MockStackConfiguration) Template() (string, error)
- type MockStackConfigurationMockRecorder
- type MockcfnClient
- func (m *MockcfnClient) Create(arg0 *cloudformation0.Stack) (string, error)
- func (m *MockcfnClient) CreateAndWait(arg0 *cloudformation0.Stack) error
- func (m *MockcfnClient) Delete(stackName string) error
- func (m *MockcfnClient) DeleteAndWait(stackName string) error
- func (m *MockcfnClient) DeleteAndWaitWithRoleARN(stackName, roleARN string) error
- func (m *MockcfnClient) Describe(stackName string) (*cloudformation0.StackDescription, error)
- func (m *MockcfnClient) DescribeChangeSet(changeSetID, stackName string) (*cloudformation0.ChangeSetDescription, error)
- func (m *MockcfnClient) DescribeStackEvents(arg0 *cloudformation.DescribeStackEventsInput) (*cloudformation.DescribeStackEventsOutput, error)
- func (m *MockcfnClient) EXPECT() *MockcfnClientMockRecorder
- func (m *MockcfnClient) ErrorEvents(stackName string) ([]cloudformation0.StackEvent, error)
- func (m *MockcfnClient) Events(stackName string) ([]cloudformation0.StackEvent, error)
- func (m *MockcfnClient) ListStacksWithTags(tags map[string]string) ([]cloudformation0.StackDescription, error)
- func (m *MockcfnClient) TemplateBody(stackName string) (string, error)
- func (m *MockcfnClient) TemplateBodyFromChangeSet(changeSetID, stackName string) (string, error)
- func (m *MockcfnClient) Update(arg0 *cloudformation0.Stack) error
- func (m *MockcfnClient) UpdateAndWait(arg0 *cloudformation0.Stack) error
- func (m *MockcfnClient) WaitForCreate(ctx context.Context, stackName string) error
- func (m *MockcfnClient) WaitForUpdate(ctx context.Context, stackName string) error
- type MockcfnClientMockRecorder
- func (mr *MockcfnClientMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) CreateAndWait(arg0 interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) Delete(stackName interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) DeleteAndWait(stackName interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) DeleteAndWaitWithRoleARN(stackName, roleARN interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) Describe(stackName interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) DescribeChangeSet(changeSetID, stackName interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) DescribeStackEvents(arg0 interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) ErrorEvents(stackName interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) Events(stackName interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) ListStacksWithTags(tags interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) TemplateBody(stackName interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) TemplateBodyFromChangeSet(changeSetID, stackName interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) UpdateAndWait(arg0 interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) WaitForCreate(ctx, stackName interface{}) *gomock.Call
- func (mr *MockcfnClientMockRecorder) WaitForUpdate(ctx, stackName interface{}) *gomock.Call
- type MockstackSetClient
- func (m *MockstackSetClient) Create(name, template string, opts ...stackset.CreateOrUpdateOption) error
- func (m *MockstackSetClient) CreateInstancesAndWait(name string, accounts, regions []string) error
- func (m *MockstackSetClient) Delete(name string) error
- func (m *MockstackSetClient) Describe(name string) (stackset.Description, error)
- func (m *MockstackSetClient) EXPECT() *MockstackSetClientMockRecorder
- func (m *MockstackSetClient) InstanceSummaries(name string, opts ...stackset.InstanceSummariesOption) ([]stackset.InstanceSummary, error)
- func (m *MockstackSetClient) UpdateAndWait(name, template string, opts ...stackset.CreateOrUpdateOption) error
- type MockstackSetClientMockRecorder
- func (mr *MockstackSetClientMockRecorder) Create(name, template interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockstackSetClientMockRecorder) CreateInstancesAndWait(name, accounts, regions interface{}) *gomock.Call
- func (mr *MockstackSetClientMockRecorder) Delete(name interface{}) *gomock.Call
- func (mr *MockstackSetClientMockRecorder) Describe(name interface{}) *gomock.Call
- func (mr *MockstackSetClientMockRecorder) InstanceSummaries(name interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockstackSetClientMockRecorder) UpdateAndWait(name, template interface{}, opts ...interface{}) *gomock.Call
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 ¶
func (m *MockStackConfiguration) EXPECT() *MockStackConfigurationMockRecorder
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 ¶
func (m *MockStackConfiguration) Tags() []*cloudformation.Tag
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 ¶
func (mr *MockStackConfigurationMockRecorder) Parameters() *gomock.Call
Parameters indicates an expected call of Parameters
func (*MockStackConfigurationMockRecorder) StackName ¶
func (mr *MockStackConfigurationMockRecorder) StackName() *gomock.Call
StackName indicates an expected call of StackName
func (*MockStackConfigurationMockRecorder) Tags ¶
func (mr *MockStackConfigurationMockRecorder) Tags() *gomock.Call
Tags indicates an expected call of Tags
func (*MockStackConfigurationMockRecorder) Template ¶
func (mr *MockStackConfigurationMockRecorder) Template() *gomock.Call
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
func (m *MockcfnClient) DescribeStackEvents(arg0 *cloudformation.DescribeStackEventsInput) (*cloudformation.DescribeStackEventsOutput, error)
DescribeStackEvents mocks base method
func (*MockcfnClient) EXPECT ¶
func (m *MockcfnClient) EXPECT() *MockcfnClientMockRecorder
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) 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) 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) 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 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 ¶
func (m *MockstackSetClient) EXPECT() *MockstackSetClientMockRecorder
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