Documentation
¶
Overview ¶
Package mockwgctrlwrapper is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) ConfigureDevice ¶
func (m *MockClient) ConfigureDevice(name string, cfg wgtypes.Config) error
ConfigureDevice mocks base method.
func (*MockClient) Device ¶
func (m *MockClient) Device(name string) (*wgtypes.Device, error)
Device mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) ConfigureDevice ¶
func (mr *MockClientMockRecorder) ConfigureDevice(name, cfg interface{}) *gomock.Call
ConfigureDevice indicates an expected call of ConfigureDevice.
func (*MockClientMockRecorder) Device ¶
func (mr *MockClientMockRecorder) Device(name interface{}) *gomock.Call
Device indicates an expected call of Device.
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) New ¶
func (m *MockInterface) New() (wgctrlwrapper.Client, error)
New mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) New ¶
func (mr *MockInterfaceMockRecorder) New() *gomock.Call
New indicates an expected call of New.