Documentation
¶
Index ¶
- type ClientService
- func (_m *ClientService) EXPECT() *ClientService_Expecter
- func (_mock *ClientService) FindTenants(params *tenant.FindTenantsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*tenant.FindTenantsOK, error)
- func (_mock *ClientService) GetTenant(params *tenant.GetTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*tenant.GetTenantOK, error)
- func (_mock *ClientService) ListTenants(params *tenant.ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*tenant.ListTenantsOK, error)
- func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_mock *ClientService) UpdateTenant(params *tenant.UpdateTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*tenant.UpdateTenantOK, error)
- type ClientService_Expecter
- func (_e *ClientService_Expecter) FindTenants(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindTenants_Call
- func (_e *ClientService_Expecter) GetTenant(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetTenant_Call
- func (_e *ClientService_Expecter) ListTenants(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListTenants_Call
- func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
- func (_e *ClientService_Expecter) UpdateTenant(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateTenant_Call
- type ClientService_FindTenants_Call
- func (_c *ClientService_FindTenants_Call) Return(findTenantsOK *tenant.FindTenantsOK, err error) *ClientService_FindTenants_Call
- func (_c *ClientService_FindTenants_Call) Run(...) *ClientService_FindTenants_Call
- func (_c *ClientService_FindTenants_Call) RunAndReturn(...) *ClientService_FindTenants_Call
- type ClientService_GetTenant_Call
- type ClientService_ListTenants_Call
- func (_c *ClientService_ListTenants_Call) Return(listTenantsOK *tenant.ListTenantsOK, err error) *ClientService_ListTenants_Call
- func (_c *ClientService_ListTenants_Call) Run(...) *ClientService_ListTenants_Call
- func (_c *ClientService_ListTenants_Call) RunAndReturn(...) *ClientService_ListTenants_Call
- type ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) Return() *ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) RunAndReturn(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
- type ClientService_UpdateTenant_Call
- func (_c *ClientService_UpdateTenant_Call) Return(updateTenantOK *tenant.UpdateTenantOK, err error) *ClientService_UpdateTenant_Call
- func (_c *ClientService_UpdateTenant_Call) Run(...) *ClientService_UpdateTenant_Call
- func (_c *ClientService_UpdateTenant_Call) RunAndReturn(...) *ClientService_UpdateTenant_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientService ¶
ClientService is an autogenerated mock type for the ClientService type
func NewClientService ¶ added in v0.18.21
func NewClientService(t interface {
mock.TestingT
Cleanup(func())
}) *ClientService
NewClientService creates a new instance of ClientService. 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 (*ClientService) EXPECT ¶ added in v0.30.9
func (_m *ClientService) EXPECT() *ClientService_Expecter
func (*ClientService) FindTenants ¶ added in v0.18.16
func (_mock *ClientService) FindTenants(params *tenant.FindTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption) (*tenant.FindTenantsOK, error)
FindTenants provides a mock function for the type ClientService
func (*ClientService) GetTenant ¶
func (_mock *ClientService) GetTenant(params *tenant.GetTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption) (*tenant.GetTenantOK, error)
GetTenant provides a mock function for the type ClientService
func (*ClientService) ListTenants ¶
func (_mock *ClientService) ListTenants(params *tenant.ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption) (*tenant.ListTenantsOK, error)
ListTenants provides a mock function for the type ClientService
func (*ClientService) SetTransport ¶
func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function for the type ClientService
func (*ClientService) UpdateTenant ¶
func (_mock *ClientService) UpdateTenant(params *tenant.UpdateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption) (*tenant.UpdateTenantOK, error)
UpdateTenant provides a mock function for the type ClientService
type ClientService_Expecter ¶ added in v0.30.9
type ClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientService_Expecter) FindTenants ¶ added in v0.30.9
func (_e *ClientService_Expecter) FindTenants(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindTenants_Call
FindTenants is a helper method to define mock.On call
- params *tenant.FindTenantsParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...tenant.ClientOption
func (*ClientService_Expecter) GetTenant ¶ added in v0.30.9
func (_e *ClientService_Expecter) GetTenant(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetTenant_Call
GetTenant is a helper method to define mock.On call
- params *tenant.GetTenantParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...tenant.ClientOption
func (*ClientService_Expecter) ListTenants ¶ added in v0.30.9
func (_e *ClientService_Expecter) ListTenants(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListTenants_Call
ListTenants is a helper method to define mock.On call
- params *tenant.ListTenantsParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...tenant.ClientOption
func (*ClientService_Expecter) SetTransport ¶ added in v0.30.9
func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
SetTransport is a helper method to define mock.On call
- transport runtime.ClientTransport
func (*ClientService_Expecter) UpdateTenant ¶ added in v0.30.9
func (_e *ClientService_Expecter) UpdateTenant(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateTenant_Call
UpdateTenant is a helper method to define mock.On call
- params *tenant.UpdateTenantParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...tenant.ClientOption
type ClientService_FindTenants_Call ¶ added in v0.30.9
ClientService_FindTenants_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindTenants'
func (*ClientService_FindTenants_Call) Return ¶ added in v0.30.9
func (_c *ClientService_FindTenants_Call) Return(findTenantsOK *tenant.FindTenantsOK, err error) *ClientService_FindTenants_Call
func (*ClientService_FindTenants_Call) Run ¶ added in v0.30.9
func (_c *ClientService_FindTenants_Call) Run(run func(params *tenant.FindTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption)) *ClientService_FindTenants_Call
func (*ClientService_FindTenants_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_FindTenants_Call) RunAndReturn(run func(params *tenant.FindTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption) (*tenant.FindTenantsOK, error)) *ClientService_FindTenants_Call
type ClientService_GetTenant_Call ¶ added in v0.30.9
ClientService_GetTenant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTenant'
func (*ClientService_GetTenant_Call) Return ¶ added in v0.30.9
func (_c *ClientService_GetTenant_Call) Return(getTenantOK *tenant.GetTenantOK, err error) *ClientService_GetTenant_Call
func (*ClientService_GetTenant_Call) Run ¶ added in v0.30.9
func (_c *ClientService_GetTenant_Call) Run(run func(params *tenant.GetTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption)) *ClientService_GetTenant_Call
func (*ClientService_GetTenant_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_GetTenant_Call) RunAndReturn(run func(params *tenant.GetTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption) (*tenant.GetTenantOK, error)) *ClientService_GetTenant_Call
type ClientService_ListTenants_Call ¶ added in v0.30.9
ClientService_ListTenants_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTenants'
func (*ClientService_ListTenants_Call) Return ¶ added in v0.30.9
func (_c *ClientService_ListTenants_Call) Return(listTenantsOK *tenant.ListTenantsOK, err error) *ClientService_ListTenants_Call
func (*ClientService_ListTenants_Call) Run ¶ added in v0.30.9
func (_c *ClientService_ListTenants_Call) Run(run func(params *tenant.ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption)) *ClientService_ListTenants_Call
func (*ClientService_ListTenants_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_ListTenants_Call) RunAndReturn(run func(params *tenant.ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption) (*tenant.ListTenantsOK, error)) *ClientService_ListTenants_Call
type ClientService_SetTransport_Call ¶ added in v0.30.9
ClientService_SetTransport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTransport'
func (*ClientService_SetTransport_Call) Return ¶ added in v0.30.9
func (_c *ClientService_SetTransport_Call) Return() *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) Run ¶ added in v0.30.9
func (_c *ClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_SetTransport_Call) RunAndReturn(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
type ClientService_UpdateTenant_Call ¶ added in v0.30.9
ClientService_UpdateTenant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTenant'
func (*ClientService_UpdateTenant_Call) Return ¶ added in v0.30.9
func (_c *ClientService_UpdateTenant_Call) Return(updateTenantOK *tenant.UpdateTenantOK, err error) *ClientService_UpdateTenant_Call
func (*ClientService_UpdateTenant_Call) Run ¶ added in v0.30.9
func (_c *ClientService_UpdateTenant_Call) Run(run func(params *tenant.UpdateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption)) *ClientService_UpdateTenant_Call
func (*ClientService_UpdateTenant_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_UpdateTenant_Call) RunAndReturn(run func(params *tenant.UpdateTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...tenant.ClientOption) (*tenant.UpdateTenantOK, error)) *ClientService_UpdateTenant_Call