Documentation ¶
Index ¶
- type Provider
- type Provider_CreateManager_Call
- func (_c *Provider_CreateManager_Call) Return(_a0 manager.Manager, _a1 error) *Provider_CreateManager_Call
- func (_c *Provider_CreateManager_Call) Run(run func(namespace string, config *rest.Config)) *Provider_CreateManager_Call
- func (_c *Provider_CreateManager_Call) RunAndReturn(run func(string, *rest.Config) (manager.Manager, error)) *Provider_CreateManager_Call
- type Provider_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func NewProvider ¶
NewProvider creates a new instance of Provider. 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 (*Provider) CreateManager ¶
CreateManager provides a mock function with given fields: namespace, config
func (*Provider) EXPECT ¶
func (_m *Provider) EXPECT() *Provider_Expecter
type Provider_CreateManager_Call ¶
Provider_CreateManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateManager'
func (*Provider_CreateManager_Call) Return ¶
func (_c *Provider_CreateManager_Call) Return(_a0 manager.Manager, _a1 error) *Provider_CreateManager_Call
func (*Provider_CreateManager_Call) Run ¶
func (_c *Provider_CreateManager_Call) Run(run func(namespace string, config *rest.Config)) *Provider_CreateManager_Call
func (*Provider_CreateManager_Call) RunAndReturn ¶
func (_c *Provider_CreateManager_Call) RunAndReturn(run func(string, *rest.Config) (manager.Manager, error)) *Provider_CreateManager_Call
type Provider_Expecter ¶
type Provider_Expecter struct {
// contains filtered or unexported fields
}
func (*Provider_Expecter) CreateManager ¶
func (_e *Provider_Expecter) CreateManager(namespace interface{}, config interface{}) *Provider_CreateManager_Call
CreateManager is a helper method to define mock.On call
- namespace string
- config *rest.Config
Click to show internal directories.
Click to hide internal directories.