Documentation
¶
Index ¶
- type PanosClient
- func (_m *PanosClient) Commit(cmd interface{}, action string, extras interface{}) (uint, []byte, error)
- func (_m *PanosClient) InitializeUsing(filename string, chkenv bool) error
- func (_m *PanosClient) String() string
- func (_m *PanosClient) WaitForJob(id uint, sleep time.Duration, resp interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PanosClient ¶
PanosClient is an autogenerated mock type for the panosClient type
func NewPanosClient ¶ added in v0.6.0
func NewPanosClient(t testing.TB) *PanosClient
NewPanosClient creates a new instance of PanosClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*PanosClient) Commit ¶
func (_m *PanosClient) Commit(cmd interface{}, action string, extras interface{}) (uint, []byte, error)
Commit provides a mock function with given fields: cmd, action, extras
func (*PanosClient) InitializeUsing ¶
func (_m *PanosClient) InitializeUsing(filename string, chkenv bool) error
InitializeUsing provides a mock function with given fields: filename, chkenv
func (*PanosClient) String ¶
func (_m *PanosClient) String() string
String provides a mock function with given fields:
func (*PanosClient) WaitForJob ¶
func (_m *PanosClient) WaitForJob(id uint, sleep time.Duration, resp interface{}) error
WaitForJob provides a mock function with given fields: id, sleep, resp
Click to show internal directories.
Click to hide internal directories.