Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) AllocateFirewall(params *clientfirewall.AllocateFirewallParams, ...) (*clientfirewall.AllocateFirewallOK, error)
- func (_m *ClientService) FindFirewall(params *clientfirewall.FindFirewallParams, ...) (*clientfirewall.FindFirewallOK, error)
- func (_m *ClientService) FindFirewalls(params *clientfirewall.FindFirewallsParams, ...) (*clientfirewall.FindFirewallsOK, error)
- func (_m *ClientService) ListFirewalls(params *clientfirewall.ListFirewallsParams, ...) (*clientfirewall.ListFirewallsOK, 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 interface { mock.TestingT Cleanup(func()) }) *ClientOption
NewClientOption creates a new instance of ClientOption. 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 (*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 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) AllocateFirewall ¶
func (_m *ClientService) AllocateFirewall(params *clientfirewall.AllocateFirewallParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientfirewall.ClientOption) (*clientfirewall.AllocateFirewallOK, error)
AllocateFirewall provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindFirewall ¶
func (_m *ClientService) FindFirewall(params *clientfirewall.FindFirewallParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientfirewall.ClientOption) (*clientfirewall.FindFirewallOK, error)
FindFirewall provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindFirewalls ¶
func (_m *ClientService) FindFirewalls(params *clientfirewall.FindFirewallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientfirewall.ClientOption) (*clientfirewall.FindFirewallsOK, error)
FindFirewalls provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListFirewalls ¶
func (_m *ClientService) ListFirewalls(params *clientfirewall.ListFirewallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientfirewall.ClientOption) (*clientfirewall.ListFirewallsOK, error)
ListFirewalls 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