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

mocknetconf

package
v0.0.73 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocknetconf is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDriver

type MockDriver struct {
	// contains filtered or unexported fields
}

MockDriver is a mock of Driver interface.

func NewMockDriver

func NewMockDriver(ctrl *gomock.Controller) *MockDriver

NewMockDriver creates a new mock instance.

func (*MockDriver) Close

func (m *MockDriver) Close() error

Close mocks base method.

func (*MockDriver) Commit

func (m *MockDriver) Commit() error

Commit mocks base method.

func (*MockDriver) Discard

func (m *MockDriver) Discard() error

Discard mocks base method.

func (*MockDriver) EXPECT

func (m *MockDriver) EXPECT() *MockDriverMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDriver) EditConfig

func (m *MockDriver) EditConfig(target, config string) (*types.NetconfResponse, error)

EditConfig mocks base method.

func (*MockDriver) Get

func (m *MockDriver) Get(filter string) (*types.NetconfResponse, error)

Get mocks base method.

func (*MockDriver) GetConfig

func (m *MockDriver) GetConfig(source, filter string) (*types.NetconfResponse, error)

GetConfig mocks base method.

func (*MockDriver) IsAlive

func (m *MockDriver) IsAlive() bool

IsAlive mocks base method.

func (*MockDriver) Lock

func (m *MockDriver) Lock(target string) (*types.NetconfResponse, error)

Lock mocks base method.

func (*MockDriver) Unlock

func (m *MockDriver) Unlock(target string) (*types.NetconfResponse, error)

Unlock mocks base method.

func (*MockDriver) Validate

func (m *MockDriver) Validate(source string) (*types.NetconfResponse, error)

Validate mocks base method.

type MockDriverMockRecorder

type MockDriverMockRecorder struct {
	// contains filtered or unexported fields
}

MockDriverMockRecorder is the mock recorder for MockDriver.

func (*MockDriverMockRecorder) Close

func (mr *MockDriverMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockDriverMockRecorder) Commit

func (mr *MockDriverMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockDriverMockRecorder) Discard

func (mr *MockDriverMockRecorder) Discard() *gomock.Call

Discard indicates an expected call of Discard.

func (*MockDriverMockRecorder) EditConfig

func (mr *MockDriverMockRecorder) EditConfig(target, config any) *gomock.Call

EditConfig indicates an expected call of EditConfig.

func (*MockDriverMockRecorder) Get

func (mr *MockDriverMockRecorder) Get(filter any) *gomock.Call

Get indicates an expected call of Get.

func (*MockDriverMockRecorder) GetConfig

func (mr *MockDriverMockRecorder) GetConfig(source, filter any) *gomock.Call

GetConfig indicates an expected call of GetConfig.

func (*MockDriverMockRecorder) IsAlive

func (mr *MockDriverMockRecorder) IsAlive() *gomock.Call

IsAlive indicates an expected call of IsAlive.

func (*MockDriverMockRecorder) Lock

func (mr *MockDriverMockRecorder) Lock(target any) *gomock.Call

Lock indicates an expected call of Lock.

func (*MockDriverMockRecorder) Unlock

func (mr *MockDriverMockRecorder) Unlock(target any) *gomock.Call

Unlock indicates an expected call of Unlock.

func (*MockDriverMockRecorder) Validate

func (mr *MockDriverMockRecorder) Validate(source any) *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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