Documentation ¶
Index ¶
- type ContextRepository
- func (_m *ContextRepository) Create(_a0 context.Context, _a1 *v1beta1.Context) (*models.Context, error)
- func (_m *ContextRepository) EXPECT() *ContextRepository_Expecter
- func (_m *ContextRepository) Get(_a0 context.Context, _a1 *v1beta1.Context) (*models.Context, error)
- func (_m *ContextRepository) Update(_a0 context.Context, _a1 *v1beta1.Context) (*models.Context, error)
- type ContextRepository_Create_Call
- func (_c *ContextRepository_Create_Call) Return(_a0 *models.Context, _a1 error) *ContextRepository_Create_Call
- func (_c *ContextRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Context)) *ContextRepository_Create_Call
- func (_c *ContextRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Context) (*models.Context, error)) *ContextRepository_Create_Call
- type ContextRepository_Expecter
- func (_e *ContextRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *ContextRepository_Create_Call
- func (_e *ContextRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *ContextRepository_Get_Call
- func (_e *ContextRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *ContextRepository_Update_Call
- type ContextRepository_Get_Call
- func (_c *ContextRepository_Get_Call) Return(_a0 *models.Context, _a1 error) *ContextRepository_Get_Call
- func (_c *ContextRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Context)) *ContextRepository_Get_Call
- func (_c *ContextRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Context) (*models.Context, error)) *ContextRepository_Get_Call
- type ContextRepository_Update_Call
- func (_c *ContextRepository_Update_Call) Return(_a0 *models.Context, _a1 error) *ContextRepository_Update_Call
- func (_c *ContextRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Context)) *ContextRepository_Update_Call
- func (_c *ContextRepository_Update_Call) RunAndReturn(run func(context.Context, *v1beta1.Context) (*models.Context, error)) *ContextRepository_Update_Call
- type PolicyRepository
- func (_m *PolicyRepository) Create(_a0 context.Context, _a1 *v1beta1.Policy) (*models.Policy, error)
- func (_m *PolicyRepository) EXPECT() *PolicyRepository_Expecter
- func (_m *PolicyRepository) Get(_a0 context.Context, _a1 *v1beta1.Policy) (*models.Policy, error)
- func (_m *PolicyRepository) Update(_a0 context.Context, _a1 *v1beta1.Policy) (*models.Policy, error)
- type PolicyRepository_Create_Call
- func (_c *PolicyRepository_Create_Call) Return(_a0 *models.Policy, _a1 error) *PolicyRepository_Create_Call
- func (_c *PolicyRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Policy)) *PolicyRepository_Create_Call
- func (_c *PolicyRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Policy) (*models.Policy, error)) *PolicyRepository_Create_Call
- type PolicyRepository_Expecter
- func (_e *PolicyRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *PolicyRepository_Create_Call
- func (_e *PolicyRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *PolicyRepository_Get_Call
- func (_e *PolicyRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *PolicyRepository_Update_Call
- type PolicyRepository_Get_Call
- func (_c *PolicyRepository_Get_Call) Return(_a0 *models.Policy, _a1 error) *PolicyRepository_Get_Call
- func (_c *PolicyRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Policy)) *PolicyRepository_Get_Call
- func (_c *PolicyRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Policy) (*models.Policy, error)) *PolicyRepository_Get_Call
- type PolicyRepository_Update_Call
- func (_c *PolicyRepository_Update_Call) Return(_a0 *models.Policy, _a1 error) *PolicyRepository_Update_Call
- func (_c *PolicyRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Policy)) *PolicyRepository_Update_Call
- func (_c *PolicyRepository_Update_Call) RunAndReturn(run func(context.Context, *v1beta1.Policy) (*models.Policy, error)) *PolicyRepository_Update_Call
- type RunRepository
- type RunRepository_Create_Call
- func (_c *RunRepository_Create_Call) Return(_a0 *models.Run, _a1 error) *RunRepository_Create_Call
- func (_c *RunRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Stack)) *RunRepository_Create_Call
- func (_c *RunRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Stack) (*models.Run, error)) *RunRepository_Create_Call
- type RunRepository_Expecter
- type RunRepository_Get_Call
- func (_c *RunRepository_Get_Call) Return(_a0 *models.Run, _a1 error) *RunRepository_Get_Call
- func (_c *RunRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Run)) *RunRepository_Get_Call
- func (_c *RunRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Run) (*models.Run, error)) *RunRepository_Get_Call
- type SpaceRepository
- func (_m *SpaceRepository) Create(_a0 context.Context, _a1 *v1beta1.Space) (*models.Space, error)
- func (_m *SpaceRepository) EXPECT() *SpaceRepository_Expecter
- func (_m *SpaceRepository) Get(_a0 context.Context, _a1 *v1beta1.Space) (*models.Space, error)
- func (_m *SpaceRepository) Update(_a0 context.Context, _a1 *v1beta1.Space) (*models.Space, error)
- type SpaceRepository_Create_Call
- func (_c *SpaceRepository_Create_Call) Return(_a0 *models.Space, _a1 error) *SpaceRepository_Create_Call
- func (_c *SpaceRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Space)) *SpaceRepository_Create_Call
- func (_c *SpaceRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Space) (*models.Space, error)) *SpaceRepository_Create_Call
- type SpaceRepository_Expecter
- func (_e *SpaceRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *SpaceRepository_Create_Call
- func (_e *SpaceRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *SpaceRepository_Get_Call
- func (_e *SpaceRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *SpaceRepository_Update_Call
- type SpaceRepository_Get_Call
- func (_c *SpaceRepository_Get_Call) Return(_a0 *models.Space, _a1 error) *SpaceRepository_Get_Call
- func (_c *SpaceRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Space)) *SpaceRepository_Get_Call
- func (_c *SpaceRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Space) (*models.Space, error)) *SpaceRepository_Get_Call
- type SpaceRepository_Update_Call
- func (_c *SpaceRepository_Update_Call) Return(_a0 *models.Space, _a1 error) *SpaceRepository_Update_Call
- func (_c *SpaceRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Space)) *SpaceRepository_Update_Call
- func (_c *SpaceRepository_Update_Call) RunAndReturn(run func(context.Context, *v1beta1.Space) (*models.Space, error)) *SpaceRepository_Update_Call
- type StackRepository
- func (_m *StackRepository) Create(_a0 context.Context, _a1 *v1beta1.Stack) (*models.Stack, error)
- func (_m *StackRepository) EXPECT() *StackRepository_Expecter
- func (_m *StackRepository) Get(_a0 context.Context, _a1 *v1beta1.Stack) (*models.Stack, error)
- func (_m *StackRepository) Update(_a0 context.Context, _a1 *v1beta1.Stack) (*models.Stack, error)
- type StackRepository_Create_Call
- func (_c *StackRepository_Create_Call) Return(_a0 *models.Stack, _a1 error) *StackRepository_Create_Call
- func (_c *StackRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Stack)) *StackRepository_Create_Call
- func (_c *StackRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Stack) (*models.Stack, error)) *StackRepository_Create_Call
- type StackRepository_Expecter
- func (_e *StackRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *StackRepository_Create_Call
- func (_e *StackRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *StackRepository_Get_Call
- func (_e *StackRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *StackRepository_Update_Call
- type StackRepository_Get_Call
- func (_c *StackRepository_Get_Call) Return(_a0 *models.Stack, _a1 error) *StackRepository_Get_Call
- func (_c *StackRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Stack)) *StackRepository_Get_Call
- func (_c *StackRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Stack) (*models.Stack, error)) *StackRepository_Get_Call
- type StackRepository_Update_Call
- func (_c *StackRepository_Update_Call) Return(_a0 *models.Stack, _a1 error) *StackRepository_Update_Call
- func (_c *StackRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Stack)) *StackRepository_Update_Call
- func (_c *StackRepository_Update_Call) RunAndReturn(run func(context.Context, *v1beta1.Stack) (*models.Stack, error)) *StackRepository_Update_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextRepository ¶
ContextRepository is an autogenerated mock type for the ContextRepository type
func NewContextRepository ¶
func NewContextRepository(t interface { mock.TestingT Cleanup(func()) }) *ContextRepository
NewContextRepository creates a new instance of ContextRepository. 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 (*ContextRepository) Create ¶
func (_m *ContextRepository) Create(_a0 context.Context, _a1 *v1beta1.Context) (*models.Context, error)
Create provides a mock function with given fields: _a0, _a1
func (*ContextRepository) EXPECT ¶
func (_m *ContextRepository) EXPECT() *ContextRepository_Expecter
type ContextRepository_Create_Call ¶
ContextRepository_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*ContextRepository_Create_Call) Return ¶
func (_c *ContextRepository_Create_Call) Return(_a0 *models.Context, _a1 error) *ContextRepository_Create_Call
func (*ContextRepository_Create_Call) Run ¶
func (_c *ContextRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Context)) *ContextRepository_Create_Call
func (*ContextRepository_Create_Call) RunAndReturn ¶
func (_c *ContextRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Context) (*models.Context, error)) *ContextRepository_Create_Call
type ContextRepository_Expecter ¶
type ContextRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*ContextRepository_Expecter) Create ¶
func (_e *ContextRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *ContextRepository_Create_Call
Create is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Context
func (*ContextRepository_Expecter) Get ¶
func (_e *ContextRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *ContextRepository_Get_Call
Get is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Context
func (*ContextRepository_Expecter) Update ¶
func (_e *ContextRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *ContextRepository_Update_Call
Update is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Context
type ContextRepository_Get_Call ¶
ContextRepository_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*ContextRepository_Get_Call) Return ¶
func (_c *ContextRepository_Get_Call) Return(_a0 *models.Context, _a1 error) *ContextRepository_Get_Call
func (*ContextRepository_Get_Call) Run ¶
func (_c *ContextRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Context)) *ContextRepository_Get_Call
func (*ContextRepository_Get_Call) RunAndReturn ¶
func (_c *ContextRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Context) (*models.Context, error)) *ContextRepository_Get_Call
type ContextRepository_Update_Call ¶
ContextRepository_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*ContextRepository_Update_Call) Return ¶
func (_c *ContextRepository_Update_Call) Return(_a0 *models.Context, _a1 error) *ContextRepository_Update_Call
func (*ContextRepository_Update_Call) Run ¶
func (_c *ContextRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Context)) *ContextRepository_Update_Call
func (*ContextRepository_Update_Call) RunAndReturn ¶
func (_c *ContextRepository_Update_Call) RunAndReturn(run func(context.Context, *v1beta1.Context) (*models.Context, error)) *ContextRepository_Update_Call
type PolicyRepository ¶
PolicyRepository is an autogenerated mock type for the PolicyRepository type
func NewPolicyRepository ¶
func NewPolicyRepository(t interface { mock.TestingT Cleanup(func()) }) *PolicyRepository
NewPolicyRepository creates a new instance of PolicyRepository. 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 (*PolicyRepository) Create ¶
func (_m *PolicyRepository) Create(_a0 context.Context, _a1 *v1beta1.Policy) (*models.Policy, error)
Create provides a mock function with given fields: _a0, _a1
func (*PolicyRepository) EXPECT ¶
func (_m *PolicyRepository) EXPECT() *PolicyRepository_Expecter
type PolicyRepository_Create_Call ¶
PolicyRepository_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*PolicyRepository_Create_Call) Return ¶
func (_c *PolicyRepository_Create_Call) Return(_a0 *models.Policy, _a1 error) *PolicyRepository_Create_Call
func (*PolicyRepository_Create_Call) Run ¶
func (_c *PolicyRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Policy)) *PolicyRepository_Create_Call
func (*PolicyRepository_Create_Call) RunAndReturn ¶
func (_c *PolicyRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Policy) (*models.Policy, error)) *PolicyRepository_Create_Call
type PolicyRepository_Expecter ¶
type PolicyRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*PolicyRepository_Expecter) Create ¶
func (_e *PolicyRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *PolicyRepository_Create_Call
Create is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Policy
func (*PolicyRepository_Expecter) Get ¶
func (_e *PolicyRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *PolicyRepository_Get_Call
Get is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Policy
func (*PolicyRepository_Expecter) Update ¶
func (_e *PolicyRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *PolicyRepository_Update_Call
Update is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Policy
type PolicyRepository_Get_Call ¶
PolicyRepository_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*PolicyRepository_Get_Call) Return ¶
func (_c *PolicyRepository_Get_Call) Return(_a0 *models.Policy, _a1 error) *PolicyRepository_Get_Call
func (*PolicyRepository_Get_Call) Run ¶
func (_c *PolicyRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Policy)) *PolicyRepository_Get_Call
func (*PolicyRepository_Get_Call) RunAndReturn ¶
func (_c *PolicyRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Policy) (*models.Policy, error)) *PolicyRepository_Get_Call
type PolicyRepository_Update_Call ¶
PolicyRepository_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*PolicyRepository_Update_Call) Return ¶
func (_c *PolicyRepository_Update_Call) Return(_a0 *models.Policy, _a1 error) *PolicyRepository_Update_Call
func (*PolicyRepository_Update_Call) Run ¶
func (_c *PolicyRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Policy)) *PolicyRepository_Update_Call
func (*PolicyRepository_Update_Call) RunAndReturn ¶
func (_c *PolicyRepository_Update_Call) RunAndReturn(run func(context.Context, *v1beta1.Policy) (*models.Policy, error)) *PolicyRepository_Update_Call
type RunRepository ¶
RunRepository is an autogenerated mock type for the RunRepository type
func NewRunRepository ¶
func NewRunRepository(t interface { mock.TestingT Cleanup(func()) }) *RunRepository
NewRunRepository creates a new instance of RunRepository. 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 (*RunRepository) EXPECT ¶
func (_m *RunRepository) EXPECT() *RunRepository_Expecter
type RunRepository_Create_Call ¶
RunRepository_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*RunRepository_Create_Call) Return ¶
func (_c *RunRepository_Create_Call) Return(_a0 *models.Run, _a1 error) *RunRepository_Create_Call
func (*RunRepository_Create_Call) Run ¶
func (_c *RunRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Stack)) *RunRepository_Create_Call
func (*RunRepository_Create_Call) RunAndReturn ¶
func (_c *RunRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Stack) (*models.Run, error)) *RunRepository_Create_Call
type RunRepository_Expecter ¶
type RunRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*RunRepository_Expecter) Create ¶
func (_e *RunRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *RunRepository_Create_Call
Create is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Stack
func (*RunRepository_Expecter) Get ¶
func (_e *RunRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *RunRepository_Get_Call
Get is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Run
type RunRepository_Get_Call ¶
RunRepository_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*RunRepository_Get_Call) Return ¶
func (_c *RunRepository_Get_Call) Return(_a0 *models.Run, _a1 error) *RunRepository_Get_Call
func (*RunRepository_Get_Call) Run ¶
func (_c *RunRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Run)) *RunRepository_Get_Call
func (*RunRepository_Get_Call) RunAndReturn ¶
func (_c *RunRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Run) (*models.Run, error)) *RunRepository_Get_Call
type SpaceRepository ¶
SpaceRepository is an autogenerated mock type for the SpaceRepository type
func NewSpaceRepository ¶
func NewSpaceRepository(t interface { mock.TestingT Cleanup(func()) }) *SpaceRepository
NewSpaceRepository creates a new instance of SpaceRepository. 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 (*SpaceRepository) EXPECT ¶
func (_m *SpaceRepository) EXPECT() *SpaceRepository_Expecter
type SpaceRepository_Create_Call ¶
SpaceRepository_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*SpaceRepository_Create_Call) Return ¶
func (_c *SpaceRepository_Create_Call) Return(_a0 *models.Space, _a1 error) *SpaceRepository_Create_Call
func (*SpaceRepository_Create_Call) Run ¶
func (_c *SpaceRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Space)) *SpaceRepository_Create_Call
func (*SpaceRepository_Create_Call) RunAndReturn ¶
func (_c *SpaceRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Space) (*models.Space, error)) *SpaceRepository_Create_Call
type SpaceRepository_Expecter ¶
type SpaceRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*SpaceRepository_Expecter) Create ¶
func (_e *SpaceRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *SpaceRepository_Create_Call
Create is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Space
func (*SpaceRepository_Expecter) Get ¶
func (_e *SpaceRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *SpaceRepository_Get_Call
Get is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Space
func (*SpaceRepository_Expecter) Update ¶
func (_e *SpaceRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *SpaceRepository_Update_Call
Update is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Space
type SpaceRepository_Get_Call ¶
SpaceRepository_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*SpaceRepository_Get_Call) Return ¶
func (_c *SpaceRepository_Get_Call) Return(_a0 *models.Space, _a1 error) *SpaceRepository_Get_Call
func (*SpaceRepository_Get_Call) Run ¶
func (_c *SpaceRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Space)) *SpaceRepository_Get_Call
func (*SpaceRepository_Get_Call) RunAndReturn ¶
func (_c *SpaceRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Space) (*models.Space, error)) *SpaceRepository_Get_Call
type SpaceRepository_Update_Call ¶
SpaceRepository_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*SpaceRepository_Update_Call) Return ¶
func (_c *SpaceRepository_Update_Call) Return(_a0 *models.Space, _a1 error) *SpaceRepository_Update_Call
func (*SpaceRepository_Update_Call) Run ¶
func (_c *SpaceRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Space)) *SpaceRepository_Update_Call
func (*SpaceRepository_Update_Call) RunAndReturn ¶
func (_c *SpaceRepository_Update_Call) RunAndReturn(run func(context.Context, *v1beta1.Space) (*models.Space, error)) *SpaceRepository_Update_Call
type StackRepository ¶
StackRepository is an autogenerated mock type for the StackRepository type
func NewStackRepository ¶
func NewStackRepository(t interface { mock.TestingT Cleanup(func()) }) *StackRepository
NewStackRepository creates a new instance of StackRepository. 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 (*StackRepository) EXPECT ¶
func (_m *StackRepository) EXPECT() *StackRepository_Expecter
type StackRepository_Create_Call ¶
StackRepository_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*StackRepository_Create_Call) Return ¶
func (_c *StackRepository_Create_Call) Return(_a0 *models.Stack, _a1 error) *StackRepository_Create_Call
func (*StackRepository_Create_Call) Run ¶
func (_c *StackRepository_Create_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Stack)) *StackRepository_Create_Call
func (*StackRepository_Create_Call) RunAndReturn ¶
func (_c *StackRepository_Create_Call) RunAndReturn(run func(context.Context, *v1beta1.Stack) (*models.Stack, error)) *StackRepository_Create_Call
type StackRepository_Expecter ¶
type StackRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*StackRepository_Expecter) Create ¶
func (_e *StackRepository_Expecter) Create(_a0 interface{}, _a1 interface{}) *StackRepository_Create_Call
Create is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Stack
func (*StackRepository_Expecter) Get ¶
func (_e *StackRepository_Expecter) Get(_a0 interface{}, _a1 interface{}) *StackRepository_Get_Call
Get is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Stack
func (*StackRepository_Expecter) Update ¶
func (_e *StackRepository_Expecter) Update(_a0 interface{}, _a1 interface{}) *StackRepository_Update_Call
Update is a helper method to define mock.On call
- _a0 context.Context
- _a1 *v1beta1.Stack
type StackRepository_Get_Call ¶
StackRepository_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*StackRepository_Get_Call) Return ¶
func (_c *StackRepository_Get_Call) Return(_a0 *models.Stack, _a1 error) *StackRepository_Get_Call
func (*StackRepository_Get_Call) Run ¶
func (_c *StackRepository_Get_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Stack)) *StackRepository_Get_Call
func (*StackRepository_Get_Call) RunAndReturn ¶
func (_c *StackRepository_Get_Call) RunAndReturn(run func(context.Context, *v1beta1.Stack) (*models.Stack, error)) *StackRepository_Get_Call
type StackRepository_Update_Call ¶
StackRepository_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*StackRepository_Update_Call) Return ¶
func (_c *StackRepository_Update_Call) Return(_a0 *models.Stack, _a1 error) *StackRepository_Update_Call
func (*StackRepository_Update_Call) Run ¶
func (_c *StackRepository_Update_Call) Run(run func(_a0 context.Context, _a1 *v1beta1.Stack)) *StackRepository_Update_Call
func (*StackRepository_Update_Call) RunAndReturn ¶
func (_c *StackRepository_Update_Call) RunAndReturn(run func(context.Context, *v1beta1.Stack) (*models.Stack, error)) *StackRepository_Update_Call