Documentation ¶
Overview ¶
Package mockmspapi is a generated GoMock package.
Index ¶
- type MockCAClient
- func (m *MockCAClient) CreateIdentity(arg0 *api.IdentityRequest) (*api.IdentityResponse, error)
- func (m *MockCAClient) EXPECT() *MockCAClientMockRecorder
- func (m *MockCAClient) Enroll(arg0, arg1 string) error
- func (m *MockCAClient) GetAllIdentities(arg0 string) ([]*api.IdentityResponse, error)
- func (m *MockCAClient) GetIdentity(arg0, arg1 string) (*api.IdentityResponse, error)
- func (m *MockCAClient) ModifyIdentity(arg0 *api.IdentityRequest) (*api.IdentityResponse, error)
- func (m *MockCAClient) Reenroll(arg0 string) error
- func (m *MockCAClient) Register(arg0 *api.RegistrationRequest) (string, error)
- func (m *MockCAClient) RemoveIdentity(arg0 *api.RemoveIdentityRequest) (*api.IdentityResponse, error)
- func (m *MockCAClient) Revoke(arg0 *api.RevocationRequest) (*api.RevocationResponse, error)
- type MockCAClientMockRecorder
- func (mr *MockCAClientMockRecorder) CreateIdentity(arg0 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) Enroll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) GetAllIdentities(arg0 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) GetIdentity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) ModifyIdentity(arg0 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) Reenroll(arg0 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) Register(arg0 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) RemoveIdentity(arg0 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) Revoke(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCAClient ¶
type MockCAClient struct {
// contains filtered or unexported fields
}
MockCAClient is a mock of CAClient interface
func NewMockCAClient ¶
func NewMockCAClient(ctrl *gomock.Controller) *MockCAClient
NewMockCAClient creates a new mock instance
func (*MockCAClient) CreateIdentity ¶
func (m *MockCAClient) CreateIdentity(arg0 *api.IdentityRequest) (*api.IdentityResponse, error)
CreateIdentity mocks base method
func (*MockCAClient) EXPECT ¶
func (m *MockCAClient) EXPECT() *MockCAClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCAClient) Enroll ¶
func (m *MockCAClient) Enroll(arg0, arg1 string) error
Enroll mocks base method
func (*MockCAClient) GetAllIdentities ¶
func (m *MockCAClient) GetAllIdentities(arg0 string) ([]*api.IdentityResponse, error)
GetAllIdentities mocks base method
func (*MockCAClient) GetIdentity ¶
func (m *MockCAClient) GetIdentity(arg0, arg1 string) (*api.IdentityResponse, error)
GetIdentity mocks base method
func (*MockCAClient) ModifyIdentity ¶
func (m *MockCAClient) ModifyIdentity(arg0 *api.IdentityRequest) (*api.IdentityResponse, error)
ModifyIdentity mocks base method
func (*MockCAClient) Reenroll ¶
func (m *MockCAClient) Reenroll(arg0 string) error
Reenroll mocks base method
func (*MockCAClient) Register ¶
func (m *MockCAClient) Register(arg0 *api.RegistrationRequest) (string, error)
Register mocks base method
func (*MockCAClient) RemoveIdentity ¶
func (m *MockCAClient) RemoveIdentity(arg0 *api.RemoveIdentityRequest) (*api.IdentityResponse, error)
RemoveIdentity mocks base method
func (*MockCAClient) Revoke ¶
func (m *MockCAClient) Revoke(arg0 *api.RevocationRequest) (*api.RevocationResponse, error)
Revoke mocks base method
type MockCAClientMockRecorder ¶
type MockCAClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCAClientMockRecorder is the mock recorder for MockCAClient
func (*MockCAClientMockRecorder) CreateIdentity ¶
func (mr *MockCAClientMockRecorder) CreateIdentity(arg0 interface{}) *gomock.Call
CreateIdentity indicates an expected call of CreateIdentity
func (*MockCAClientMockRecorder) Enroll ¶
func (mr *MockCAClientMockRecorder) Enroll(arg0, arg1 interface{}) *gomock.Call
Enroll indicates an expected call of Enroll
func (*MockCAClientMockRecorder) GetAllIdentities ¶
func (mr *MockCAClientMockRecorder) GetAllIdentities(arg0 interface{}) *gomock.Call
GetAllIdentities indicates an expected call of GetAllIdentities
func (*MockCAClientMockRecorder) GetIdentity ¶
func (mr *MockCAClientMockRecorder) GetIdentity(arg0, arg1 interface{}) *gomock.Call
GetIdentity indicates an expected call of GetIdentity
func (*MockCAClientMockRecorder) ModifyIdentity ¶
func (mr *MockCAClientMockRecorder) ModifyIdentity(arg0 interface{}) *gomock.Call
ModifyIdentity indicates an expected call of ModifyIdentity
func (*MockCAClientMockRecorder) Reenroll ¶
func (mr *MockCAClientMockRecorder) Reenroll(arg0 interface{}) *gomock.Call
Reenroll indicates an expected call of Reenroll
func (*MockCAClientMockRecorder) Register ¶
func (mr *MockCAClientMockRecorder) Register(arg0 interface{}) *gomock.Call
Register indicates an expected call of Register
func (*MockCAClientMockRecorder) RemoveIdentity ¶
func (mr *MockCAClientMockRecorder) RemoveIdentity(arg0 interface{}) *gomock.Call
RemoveIdentity indicates an expected call of RemoveIdentity
func (*MockCAClientMockRecorder) Revoke ¶
func (mr *MockCAClientMockRecorder) Revoke(arg0 interface{}) *gomock.Call
Revoke indicates an expected call of Revoke