Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) GetTenant(params *clienttenant.GetTenantParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clienttenant.GetTenantOK, error)
- func (_m *ClientService) ListTenants(params *clienttenant.ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clienttenant.ListTenantsOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
ClientOption is an autogenerated mock type for the ClientOption type
func NewClientOption ¶ added in v0.18.1
func NewClientOption(t testing.TB) *ClientOption
NewClientOption creates a new instance of ClientOption. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClientOption) Execute ¶
func (_m *ClientOption) Execute(_a0 *runtime.ClientOperation)
Execute provides a mock function with given fields: _a0
type ClientService ¶
ClientService is an autogenerated mock type for the ClientService type
func NewClientService ¶ added in v0.18.1
func NewClientService(t testing.TB) *ClientService
NewClientService creates a new instance of ClientService. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClientService) GetTenant ¶
func (_m *ClientService) GetTenant(params *clienttenant.GetTenantParams, authInfo runtime.ClientAuthInfoWriter, opts ...clienttenant.ClientOption) (*clienttenant.GetTenantOK, error)
GetTenant provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListTenants ¶
func (_m *ClientService) ListTenants(params *clienttenant.ListTenantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...clienttenant.ClientOption) (*clienttenant.ListTenantsOK, error)
ListTenants provides a mock function with given fields: params, authInfo, opts
func (*ClientService) SetTransport ¶
func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport