mirror of
https://github.com/luxfi/lpm.git
synced 2026-10-30 16:20:57 +00:00
- Add JoinChain method for SDK compatibility - Update to use filesystem/perms - Update to codec v1.1.3, sdk v1.16.46
66 lines
1.8 KiB
Go
66 lines
1.8 KiB
Go
// Copyright (C) 2019-2025, Lux Partners Limited. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: admin/client.go
|
|
|
|
// Package admin is a generated GoMock package.
|
|
package admin
|
|
|
|
import (
|
|
reflect "reflect"
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
)
|
|
|
|
// MockClient is a mock of Client interface.
|
|
type MockClient struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockClientMockRecorder
|
|
}
|
|
|
|
// MockClientMockRecorder is the mock recorder for MockClient.
|
|
type MockClientMockRecorder struct {
|
|
mock *MockClient
|
|
}
|
|
|
|
// NewMockClient creates a new mock instance.
|
|
func NewMockClient(ctrl *gomock.Controller) *MockClient {
|
|
mock := &MockClient{ctrl: ctrl}
|
|
mock.recorder = &MockClientMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockClient) EXPECT() *MockClientMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// LoadVMs mocks base method.
|
|
func (m *MockClient) LoadVMs() error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "LoadVMs")
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// LoadVMs indicates an expected call of LoadVMs.
|
|
func (mr *MockClientMockRecorder) LoadVMs() *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadVMs", reflect.TypeOf((*MockClient)(nil).LoadVMs))
|
|
}
|
|
|
|
// WhitelistChain mocks base method.
|
|
func (m *MockClient) WhitelistChain(chainID string) error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "WhitelistChain", chainID)
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// WhitelistChain indicates an expected call of WhitelistChain.
|
|
func (mr *MockClientMockRecorder) WhitelistChain(chainID interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WhitelistChain", reflect.TypeOf((*MockClient)(nil).WhitelistChain), chainID)
|
|
}
|