Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PanosClient

type PanosClient struct {
	mock.Mock
}

PanosClient is an autogenerated mock type for the panosClient type

func NewPanosClient added in v0.6.0

func NewPanosClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *PanosClient

NewPanosClient creates a new instance of PanosClient. 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 (*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 no 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL