Documentation ¶
Overview ¶
Package mockmspapi is a generated GoMock package.
Index ¶
- type MockCAClient
- func (m *MockCAClient) EXPECT() *MockCAClientMockRecorder
- func (m *MockCAClient) Enroll(arg0, arg1 string) error
- func (m *MockCAClient) Reenroll(arg0 string) error
- func (m *MockCAClient) Register(arg0 *api.RegistrationRequest) (string, error)
- func (m *MockCAClient) Revoke(arg0 *api.RevocationRequest) (*api.RevocationResponse, error)
- type MockCAClientMockRecorder
- func (mr *MockCAClientMockRecorder) Enroll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) Reenroll(arg0 interface{}) *gomock.Call
- func (mr *MockCAClientMockRecorder) Register(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) 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) 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) 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) Enroll ¶
func (mr *MockCAClientMockRecorder) Enroll(arg0, arg1 interface{}) *gomock.Call
Enroll indicates an expected call of Enroll
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) Revoke ¶
func (mr *MockCAClientMockRecorder) Revoke(arg0 interface{}) *gomock.Call
Revoke indicates an expected call of Revoke
Click to show internal directories.
Click to hide internal directories.