Documentation ¶
Index ¶
- type RawClient
- type RawClient_CreateOrReplace_Call
- func (_c *RawClient_CreateOrReplace_Call) Return(_a0 error) *RawClient_CreateOrReplace_Call
- func (_c *RawClient_CreateOrReplace_Call) Run(run func(manifest []byte, plan bool)) *RawClient_CreateOrReplace_Call
- func (_c *RawClient_CreateOrReplace_Call) RunAndReturn(run func([]byte, bool) error) *RawClient_CreateOrReplace_Call
- type RawClient_Delete_Call
- type RawClient_Expecter
- type StackCreator
- type StackCreator_CreateStack_Call
- type StackCreator_Expecter
- type StackCreator_GetClusterStackIfExists_Call
- func (_c *StackCreator_GetClusterStackIfExists_Call) Return(_a0 *types.Stack, _a1 error) *StackCreator_GetClusterStackIfExists_Call
- func (_c *StackCreator_GetClusterStackIfExists_Call) Run(run func(ctx context.Context)) *StackCreator_GetClusterStackIfExists_Call
- func (_c *StackCreator_GetClusterStackIfExists_Call) RunAndReturn(run func(context.Context) (*types.Stack, error)) *StackCreator_GetClusterStackIfExists_Call
- type StackDeleter
- type StackDeleter_DeleteStackSync_Call
- func (_c *StackDeleter_DeleteStackSync_Call) Return(_a0 error) *StackDeleter_DeleteStackSync_Call
- func (_c *StackDeleter_DeleteStackSync_Call) Run(run func(_a0 context.Context, _a1 *types.Stack)) *StackDeleter_DeleteStackSync_Call
- func (_c *StackDeleter_DeleteStackSync_Call) RunAndReturn(run func(context.Context, *types.Stack) error) *StackDeleter_DeleteStackSync_Call
- type StackDeleter_DescribeStack_Call
- func (_c *StackDeleter_DescribeStack_Call) Return(_a0 *types.Stack, _a1 error) *StackDeleter_DescribeStack_Call
- func (_c *StackDeleter_DescribeStack_Call) Run(run func(ctx context.Context, stack *types.Stack)) *StackDeleter_DescribeStack_Call
- func (_c *StackDeleter_DescribeStack_Call) RunAndReturn(run func(context.Context, *types.Stack) (*types.Stack, error)) *StackDeleter_DescribeStack_Call
- type StackDeleter_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawClient ¶
RawClient is an autogenerated mock type for the RawClient type
func NewRawClient ¶
NewRawClient creates a new instance of RawClient. 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 (*RawClient) CreateOrReplace ¶
CreateOrReplace provides a mock function with given fields: manifest, plan
func (*RawClient) EXPECT ¶
func (_m *RawClient) EXPECT() *RawClient_Expecter
type RawClient_CreateOrReplace_Call ¶
RawClient_CreateOrReplace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrReplace'
func (*RawClient_CreateOrReplace_Call) Return ¶
func (_c *RawClient_CreateOrReplace_Call) Return(_a0 error) *RawClient_CreateOrReplace_Call
func (*RawClient_CreateOrReplace_Call) Run ¶
func (_c *RawClient_CreateOrReplace_Call) Run(run func(manifest []byte, plan bool)) *RawClient_CreateOrReplace_Call
func (*RawClient_CreateOrReplace_Call) RunAndReturn ¶
func (_c *RawClient_CreateOrReplace_Call) RunAndReturn(run func([]byte, bool) error) *RawClient_CreateOrReplace_Call
type RawClient_Delete_Call ¶
RawClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*RawClient_Delete_Call) Return ¶
func (_c *RawClient_Delete_Call) Return(_a0 error) *RawClient_Delete_Call
func (*RawClient_Delete_Call) Run ¶
func (_c *RawClient_Delete_Call) Run(run func(manifest []byte)) *RawClient_Delete_Call
func (*RawClient_Delete_Call) RunAndReturn ¶
func (_c *RawClient_Delete_Call) RunAndReturn(run func([]byte) error) *RawClient_Delete_Call
type RawClient_Expecter ¶
type RawClient_Expecter struct {
// contains filtered or unexported fields
}
func (*RawClient_Expecter) CreateOrReplace ¶
func (_e *RawClient_Expecter) CreateOrReplace(manifest interface{}, plan interface{}) *RawClient_CreateOrReplace_Call
CreateOrReplace is a helper method to define mock.On call
- manifest []byte
- plan bool
func (*RawClient_Expecter) Delete ¶
func (_e *RawClient_Expecter) Delete(manifest interface{}) *RawClient_Delete_Call
Delete is a helper method to define mock.On call
- manifest []byte
type StackCreator ¶
StackCreator is an autogenerated mock type for the StackCreator type
func NewStackCreator ¶
func NewStackCreator(t interface { mock.TestingT Cleanup(func()) }) *StackCreator
NewStackCreator creates a new instance of StackCreator. 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 (*StackCreator) CreateStack ¶
func (_m *StackCreator) CreateStack(ctx context.Context, stackName string, resourceSet builder.ResourceSetReader, tags map[string]string, parameters map[string]string, errs chan error) error
CreateStack provides a mock function with given fields: ctx, stackName, resourceSet, tags, parameters, errs
func (*StackCreator) EXPECT ¶
func (_m *StackCreator) EXPECT() *StackCreator_Expecter
func (*StackCreator) GetClusterStackIfExists ¶
GetClusterStackIfExists provides a mock function with given fields: ctx
type StackCreator_CreateStack_Call ¶
StackCreator_CreateStack_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateStack'
func (*StackCreator_CreateStack_Call) Return ¶
func (_c *StackCreator_CreateStack_Call) Return(_a0 error) *StackCreator_CreateStack_Call
func (*StackCreator_CreateStack_Call) Run ¶
func (_c *StackCreator_CreateStack_Call) Run(run func(ctx context.Context, stackName string, resourceSet builder.ResourceSetReader, tags map[string]string, parameters map[string]string, errs chan error)) *StackCreator_CreateStack_Call
func (*StackCreator_CreateStack_Call) RunAndReturn ¶
func (_c *StackCreator_CreateStack_Call) RunAndReturn(run func(context.Context, string, builder.ResourceSetReader, map[string]string, map[string]string, chan error) error) *StackCreator_CreateStack_Call
type StackCreator_Expecter ¶
type StackCreator_Expecter struct {
// contains filtered or unexported fields
}
func (*StackCreator_Expecter) CreateStack ¶
func (_e *StackCreator_Expecter) CreateStack(ctx interface{}, stackName interface{}, resourceSet interface{}, tags interface{}, parameters interface{}, errs interface{}) *StackCreator_CreateStack_Call
CreateStack is a helper method to define mock.On call
- ctx context.Context
- stackName string
- resourceSet builder.ResourceSetReader
- tags map[string]string
- parameters map[string]string
- errs chan error
func (*StackCreator_Expecter) GetClusterStackIfExists ¶
func (_e *StackCreator_Expecter) GetClusterStackIfExists(ctx interface{}) *StackCreator_GetClusterStackIfExists_Call
GetClusterStackIfExists is a helper method to define mock.On call
- ctx context.Context
type StackCreator_GetClusterStackIfExists_Call ¶
StackCreator_GetClusterStackIfExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterStackIfExists'
func (*StackCreator_GetClusterStackIfExists_Call) Return ¶
func (_c *StackCreator_GetClusterStackIfExists_Call) Return(_a0 *types.Stack, _a1 error) *StackCreator_GetClusterStackIfExists_Call
func (*StackCreator_GetClusterStackIfExists_Call) Run ¶
func (_c *StackCreator_GetClusterStackIfExists_Call) Run(run func(ctx context.Context)) *StackCreator_GetClusterStackIfExists_Call
func (*StackCreator_GetClusterStackIfExists_Call) RunAndReturn ¶
func (_c *StackCreator_GetClusterStackIfExists_Call) RunAndReturn(run func(context.Context) (*types.Stack, error)) *StackCreator_GetClusterStackIfExists_Call
type StackDeleter ¶
StackDeleter is an autogenerated mock type for the StackDeleter type
func NewStackDeleter ¶
func NewStackDeleter(t interface { mock.TestingT Cleanup(func()) }) *StackDeleter
NewStackDeleter creates a new instance of StackDeleter. 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 (*StackDeleter) DeleteStackSync ¶
DeleteStackSync provides a mock function with given fields: _a0, _a1
func (*StackDeleter) DescribeStack ¶
func (_m *StackDeleter) DescribeStack(ctx context.Context, stack *types.Stack) (*types.Stack, error)
DescribeStack provides a mock function with given fields: ctx, stack
func (*StackDeleter) EXPECT ¶
func (_m *StackDeleter) EXPECT() *StackDeleter_Expecter
type StackDeleter_DeleteStackSync_Call ¶
StackDeleter_DeleteStackSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteStackSync'
func (*StackDeleter_DeleteStackSync_Call) Return ¶
func (_c *StackDeleter_DeleteStackSync_Call) Return(_a0 error) *StackDeleter_DeleteStackSync_Call
func (*StackDeleter_DeleteStackSync_Call) Run ¶
func (_c *StackDeleter_DeleteStackSync_Call) Run(run func(_a0 context.Context, _a1 *types.Stack)) *StackDeleter_DeleteStackSync_Call
func (*StackDeleter_DeleteStackSync_Call) RunAndReturn ¶
func (_c *StackDeleter_DeleteStackSync_Call) RunAndReturn(run func(context.Context, *types.Stack) error) *StackDeleter_DeleteStackSync_Call
type StackDeleter_DescribeStack_Call ¶
StackDeleter_DescribeStack_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeStack'
func (*StackDeleter_DescribeStack_Call) Return ¶
func (_c *StackDeleter_DescribeStack_Call) Return(_a0 *types.Stack, _a1 error) *StackDeleter_DescribeStack_Call
func (*StackDeleter_DescribeStack_Call) Run ¶
func (_c *StackDeleter_DescribeStack_Call) Run(run func(ctx context.Context, stack *types.Stack)) *StackDeleter_DescribeStack_Call
func (*StackDeleter_DescribeStack_Call) RunAndReturn ¶
func (_c *StackDeleter_DescribeStack_Call) RunAndReturn(run func(context.Context, *types.Stack) (*types.Stack, error)) *StackDeleter_DescribeStack_Call
type StackDeleter_Expecter ¶
type StackDeleter_Expecter struct {
// contains filtered or unexported fields
}
func (*StackDeleter_Expecter) DeleteStackSync ¶
func (_e *StackDeleter_Expecter) DeleteStackSync(_a0 interface{}, _a1 interface{}) *StackDeleter_DeleteStackSync_Call
DeleteStackSync is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.Stack
func (*StackDeleter_Expecter) DescribeStack ¶
func (_e *StackDeleter_Expecter) DescribeStack(ctx interface{}, stack interface{}) *StackDeleter_DescribeStack_Call
DescribeStack is a helper method to define mock.On call
- ctx context.Context
- stack *types.Stack