Documentation ¶
Overview ¶
Package mock_apifabca is a generated GoMock package.
Index ¶
- type MockFabricCAClient
- func (m *MockFabricCAClient) CAName() string
- func (m *MockFabricCAClient) EXPECT() *MockFabricCAClientMockRecorder
- func (m *MockFabricCAClient) Enroll(arg0, arg1 string) (apicryptosuite.Key, []byte, error)
- func (m *MockFabricCAClient) Reenroll(arg0 apifabca.User) (apicryptosuite.Key, []byte, error)
- func (m *MockFabricCAClient) Register(arg0 apifabca.User, arg1 *apifabca.RegistrationRequest) (string, error)
- func (m *MockFabricCAClient) Revoke(arg0 apifabca.User, arg1 *apifabca.RevocationRequest) (*api.RevocationResponse, error)
- type MockFabricCAClientMockRecorder
- func (mr *MockFabricCAClientMockRecorder) CAName() *gomock.Call
- func (mr *MockFabricCAClientMockRecorder) Enroll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFabricCAClientMockRecorder) Reenroll(arg0 interface{}) *gomock.Call
- func (mr *MockFabricCAClientMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFabricCAClientMockRecorder) Revoke(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFabricCAClient ¶
type MockFabricCAClient struct {
// contains filtered or unexported fields
}
MockFabricCAClient is a mock of FabricCAClient interface
func NewMockFabricCAClient ¶
func NewMockFabricCAClient(ctrl *gomock.Controller) *MockFabricCAClient
NewMockFabricCAClient creates a new mock instance
func (*MockFabricCAClient) CAName ¶
func (m *MockFabricCAClient) CAName() string
CAName mocks base method
func (*MockFabricCAClient) EXPECT ¶
func (m *MockFabricCAClient) EXPECT() *MockFabricCAClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFabricCAClient) Enroll ¶
func (m *MockFabricCAClient) Enroll(arg0, arg1 string) (apicryptosuite.Key, []byte, error)
Enroll mocks base method
func (*MockFabricCAClient) Reenroll ¶
func (m *MockFabricCAClient) Reenroll(arg0 apifabca.User) (apicryptosuite.Key, []byte, error)
Reenroll mocks base method
func (*MockFabricCAClient) Register ¶
func (m *MockFabricCAClient) Register(arg0 apifabca.User, arg1 *apifabca.RegistrationRequest) (string, error)
Register mocks base method
func (*MockFabricCAClient) Revoke ¶
func (m *MockFabricCAClient) Revoke(arg0 apifabca.User, arg1 *apifabca.RevocationRequest) (*api.RevocationResponse, error)
Revoke mocks base method
type MockFabricCAClientMockRecorder ¶
type MockFabricCAClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFabricCAClientMockRecorder is the mock recorder for MockFabricCAClient
func (*MockFabricCAClientMockRecorder) CAName ¶
func (mr *MockFabricCAClientMockRecorder) CAName() *gomock.Call
CAName indicates an expected call of CAName
func (*MockFabricCAClientMockRecorder) Enroll ¶
func (mr *MockFabricCAClientMockRecorder) Enroll(arg0, arg1 interface{}) *gomock.Call
Enroll indicates an expected call of Enroll
func (*MockFabricCAClientMockRecorder) Reenroll ¶
func (mr *MockFabricCAClientMockRecorder) Reenroll(arg0 interface{}) *gomock.Call
Reenroll indicates an expected call of Reenroll
func (*MockFabricCAClientMockRecorder) Register ¶
func (mr *MockFabricCAClientMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call
Register indicates an expected call of Register
func (*MockFabricCAClientMockRecorder) Revoke ¶
func (mr *MockFabricCAClientMockRecorder) Revoke(arg0, arg1 interface{}) *gomock.Call
Revoke indicates an expected call of Revoke