Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) DeleteInstance(_a0 context.Context, _a1 *chart.ReleaseInstance) error
- func (_m *Manager) DeployInstance(_a0 context.Context, _a1 *chart.ReleaseInstance) error
- func (_m *Manager) EXPECT() *Manager_Expecter
- func (_m *Manager) GenerateNATSResources(_a0 *chart.ReleaseInstance, _a1 ...manager.Option) (*chart.ManifestResources, error)
- func (_m *Manager) GenerateOverrides(_a0 *v1alpha1.NATSSpec, _a1 bool, _a2 bool) map[string]interface{}
- func (_m *Manager) IsNATSStatefulSetReady(_a0 context.Context, _a1 *chart.ReleaseInstance) (bool, error)
- type Manager_DeleteInstance_Call
- func (_c *Manager_DeleteInstance_Call) Return(_a0 error) *Manager_DeleteInstance_Call
- func (_c *Manager_DeleteInstance_Call) Run(run func(_a0 context.Context, _a1 *chart.ReleaseInstance)) *Manager_DeleteInstance_Call
- func (_c *Manager_DeleteInstance_Call) RunAndReturn(run func(context.Context, *chart.ReleaseInstance) error) *Manager_DeleteInstance_Call
- type Manager_DeployInstance_Call
- func (_c *Manager_DeployInstance_Call) Return(_a0 error) *Manager_DeployInstance_Call
- func (_c *Manager_DeployInstance_Call) Run(run func(_a0 context.Context, _a1 *chart.ReleaseInstance)) *Manager_DeployInstance_Call
- func (_c *Manager_DeployInstance_Call) RunAndReturn(run func(context.Context, *chart.ReleaseInstance) error) *Manager_DeployInstance_Call
- type Manager_Expecter
- func (_e *Manager_Expecter) DeleteInstance(_a0 interface{}, _a1 interface{}) *Manager_DeleteInstance_Call
- func (_e *Manager_Expecter) DeployInstance(_a0 interface{}, _a1 interface{}) *Manager_DeployInstance_Call
- func (_e *Manager_Expecter) GenerateNATSResources(_a0 interface{}, _a1 ...interface{}) *Manager_GenerateNATSResources_Call
- func (_e *Manager_Expecter) GenerateOverrides(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Manager_GenerateOverrides_Call
- func (_e *Manager_Expecter) IsNATSStatefulSetReady(_a0 interface{}, _a1 interface{}) *Manager_IsNATSStatefulSetReady_Call
- type Manager_GenerateNATSResources_Call
- func (_c *Manager_GenerateNATSResources_Call) Return(_a0 *chart.ManifestResources, _a1 error) *Manager_GenerateNATSResources_Call
- func (_c *Manager_GenerateNATSResources_Call) Run(run func(_a0 *chart.ReleaseInstance, _a1 ...manager.Option)) *Manager_GenerateNATSResources_Call
- func (_c *Manager_GenerateNATSResources_Call) RunAndReturn(...) *Manager_GenerateNATSResources_Call
- type Manager_GenerateOverrides_Call
- func (_c *Manager_GenerateOverrides_Call) Return(_a0 map[string]interface{}) *Manager_GenerateOverrides_Call
- func (_c *Manager_GenerateOverrides_Call) Run(run func(_a0 *v1alpha1.NATSSpec, _a1 bool, _a2 bool)) *Manager_GenerateOverrides_Call
- func (_c *Manager_GenerateOverrides_Call) RunAndReturn(run func(*v1alpha1.NATSSpec, bool, bool) map[string]interface{}) *Manager_GenerateOverrides_Call
- type Manager_IsNATSStatefulSetReady_Call
- func (_c *Manager_IsNATSStatefulSetReady_Call) Return(_a0 bool, _a1 error) *Manager_IsNATSStatefulSetReady_Call
- func (_c *Manager_IsNATSStatefulSetReady_Call) Run(run func(_a0 context.Context, _a1 *chart.ReleaseInstance)) *Manager_IsNATSStatefulSetReady_Call
- func (_c *Manager_IsNATSStatefulSetReady_Call) RunAndReturn(run func(context.Context, *chart.ReleaseInstance) (bool, error)) *Manager_IsNATSStatefulSetReady_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
NewManager creates a new instance of Manager. 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 (*Manager) DeleteInstance ¶
DeleteInstance provides a mock function with given fields: _a0, _a1
func (*Manager) DeployInstance ¶
DeployInstance provides a mock function with given fields: _a0, _a1
func (*Manager) EXPECT ¶
func (_m *Manager) EXPECT() *Manager_Expecter
func (*Manager) GenerateNATSResources ¶
func (_m *Manager) GenerateNATSResources(_a0 *chart.ReleaseInstance, _a1 ...manager.Option) (*chart.ManifestResources, error)
GenerateNATSResources provides a mock function with given fields: _a0, _a1
func (*Manager) GenerateOverrides ¶
func (_m *Manager) GenerateOverrides(_a0 *v1alpha1.NATSSpec, _a1 bool, _a2 bool) map[string]interface{}
GenerateOverrides provides a mock function with given fields: _a0, _a1, _a2
func (*Manager) IsNATSStatefulSetReady ¶
func (_m *Manager) IsNATSStatefulSetReady(_a0 context.Context, _a1 *chart.ReleaseInstance) (bool, error)
IsNATSStatefulSetReady provides a mock function with given fields: _a0, _a1
type Manager_DeleteInstance_Call ¶
Manager_DeleteInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteInstance'
func (*Manager_DeleteInstance_Call) Return ¶
func (_c *Manager_DeleteInstance_Call) Return(_a0 error) *Manager_DeleteInstance_Call
func (*Manager_DeleteInstance_Call) Run ¶
func (_c *Manager_DeleteInstance_Call) Run(run func(_a0 context.Context, _a1 *chart.ReleaseInstance)) *Manager_DeleteInstance_Call
func (*Manager_DeleteInstance_Call) RunAndReturn ¶
func (_c *Manager_DeleteInstance_Call) RunAndReturn(run func(context.Context, *chart.ReleaseInstance) error) *Manager_DeleteInstance_Call
type Manager_DeployInstance_Call ¶
Manager_DeployInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeployInstance'
func (*Manager_DeployInstance_Call) Return ¶
func (_c *Manager_DeployInstance_Call) Return(_a0 error) *Manager_DeployInstance_Call
func (*Manager_DeployInstance_Call) Run ¶
func (_c *Manager_DeployInstance_Call) Run(run func(_a0 context.Context, _a1 *chart.ReleaseInstance)) *Manager_DeployInstance_Call
func (*Manager_DeployInstance_Call) RunAndReturn ¶
func (_c *Manager_DeployInstance_Call) RunAndReturn(run func(context.Context, *chart.ReleaseInstance) error) *Manager_DeployInstance_Call
type Manager_Expecter ¶
type Manager_Expecter struct {
// contains filtered or unexported fields
}
func (*Manager_Expecter) DeleteInstance ¶
func (_e *Manager_Expecter) DeleteInstance(_a0 interface{}, _a1 interface{}) *Manager_DeleteInstance_Call
DeleteInstance is a helper method to define mock.On call
- _a0 context.Context
- _a1 *chart.ReleaseInstance
func (*Manager_Expecter) DeployInstance ¶
func (_e *Manager_Expecter) DeployInstance(_a0 interface{}, _a1 interface{}) *Manager_DeployInstance_Call
DeployInstance is a helper method to define mock.On call
- _a0 context.Context
- _a1 *chart.ReleaseInstance
func (*Manager_Expecter) GenerateNATSResources ¶
func (_e *Manager_Expecter) GenerateNATSResources(_a0 interface{}, _a1 ...interface{}) *Manager_GenerateNATSResources_Call
GenerateNATSResources is a helper method to define mock.On call
- _a0 *chart.ReleaseInstance
- _a1 ...manager.Option
func (*Manager_Expecter) GenerateOverrides ¶
func (_e *Manager_Expecter) GenerateOverrides(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Manager_GenerateOverrides_Call
GenerateOverrides is a helper method to define mock.On call
- _a0 *v1alpha1.NATSSpec
- _a1 bool
- _a2 bool
func (*Manager_Expecter) IsNATSStatefulSetReady ¶
func (_e *Manager_Expecter) IsNATSStatefulSetReady(_a0 interface{}, _a1 interface{}) *Manager_IsNATSStatefulSetReady_Call
IsNATSStatefulSetReady is a helper method to define mock.On call
- _a0 context.Context
- _a1 *chart.ReleaseInstance
type Manager_GenerateNATSResources_Call ¶
Manager_GenerateNATSResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateNATSResources'
func (*Manager_GenerateNATSResources_Call) Return ¶
func (_c *Manager_GenerateNATSResources_Call) Return(_a0 *chart.ManifestResources, _a1 error) *Manager_GenerateNATSResources_Call
func (*Manager_GenerateNATSResources_Call) Run ¶
func (_c *Manager_GenerateNATSResources_Call) Run(run func(_a0 *chart.ReleaseInstance, _a1 ...manager.Option)) *Manager_GenerateNATSResources_Call
func (*Manager_GenerateNATSResources_Call) RunAndReturn ¶
func (_c *Manager_GenerateNATSResources_Call) RunAndReturn(run func(*chart.ReleaseInstance, ...manager.Option) (*chart.ManifestResources, error)) *Manager_GenerateNATSResources_Call
type Manager_GenerateOverrides_Call ¶
Manager_GenerateOverrides_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateOverrides'
func (*Manager_GenerateOverrides_Call) Return ¶
func (_c *Manager_GenerateOverrides_Call) Return(_a0 map[string]interface{}) *Manager_GenerateOverrides_Call
func (*Manager_GenerateOverrides_Call) Run ¶
func (_c *Manager_GenerateOverrides_Call) Run(run func(_a0 *v1alpha1.NATSSpec, _a1 bool, _a2 bool)) *Manager_GenerateOverrides_Call
func (*Manager_GenerateOverrides_Call) RunAndReturn ¶
func (_c *Manager_GenerateOverrides_Call) RunAndReturn(run func(*v1alpha1.NATSSpec, bool, bool) map[string]interface{}) *Manager_GenerateOverrides_Call
type Manager_IsNATSStatefulSetReady_Call ¶
Manager_IsNATSStatefulSetReady_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsNATSStatefulSetReady'
func (*Manager_IsNATSStatefulSetReady_Call) Return ¶
func (_c *Manager_IsNATSStatefulSetReady_Call) Return(_a0 bool, _a1 error) *Manager_IsNATSStatefulSetReady_Call
func (*Manager_IsNATSStatefulSetReady_Call) Run ¶
func (_c *Manager_IsNATSStatefulSetReady_Call) Run(run func(_a0 context.Context, _a1 *chart.ReleaseInstance)) *Manager_IsNATSStatefulSetReady_Call
func (*Manager_IsNATSStatefulSetReady_Call) RunAndReturn ¶
func (_c *Manager_IsNATSStatefulSetReady_Call) RunAndReturn(run func(context.Context, *chart.ReleaseInstance) (bool, error)) *Manager_IsNATSStatefulSetReady_Call