Versions in this module Expand all Collapse all v1 v1.2.0 Aug 30, 2023 Changes in this version + type MockCAClient struct + func NewMockCAClient(ctrl *gomock.Controller) *MockCAClient + func (m *MockCAClient) AddAffiliation(arg0 *api.AffiliationRequest) (*api.AffiliationResponse, error) + func (m *MockCAClient) CreateIdentity(arg0 *api.IdentityRequest) (*api.IdentityResponse, error) + func (m *MockCAClient) EXPECT() *MockCAClientMockRecorder + func (m *MockCAClient) Enroll(arg0 *api.EnrollmentRequest) error + func (m *MockCAClient) GetAffiliation(arg0, arg1 string) (*api.AffiliationResponse, error) + func (m *MockCAClient) GetAllAffiliations(arg0 string) (*api.AffiliationResponse, error) + func (m *MockCAClient) GetAllIdentities(arg0 string) ([]*api.IdentityResponse, error) + func (m *MockCAClient) GetCAInfo() (*api.GetCAInfoResponse, error) + func (m *MockCAClient) GetIdentity(arg0, arg1 string) (*api.IdentityResponse, error) + func (m *MockCAClient) ModifyAffiliation(arg0 *api.ModifyAffiliationRequest) (*api.AffiliationResponse, error) + func (m *MockCAClient) ModifyIdentity(arg0 *api.IdentityRequest) (*api.IdentityResponse, error) + func (m *MockCAClient) Reenroll(arg0 *api.ReenrollmentRequest) error + func (m *MockCAClient) Register(arg0 *api.RegistrationRequest) (string, error) + func (m *MockCAClient) RemoveAffiliation(arg0 *api.AffiliationRequest) (*api.AffiliationResponse, error) + func (m *MockCAClient) RemoveIdentity(arg0 *api.RemoveIdentityRequest) (*api.IdentityResponse, error) + func (m *MockCAClient) Revoke(arg0 *api.RevocationRequest) (*api.RevocationResponse, error) + type MockCAClientMockRecorder struct + func (mr *MockCAClientMockRecorder) AddAffiliation(arg0 interface{}) *gomock.Call + func (mr *MockCAClientMockRecorder) CreateIdentity(arg0 interface{}) *gomock.Call + func (mr *MockCAClientMockRecorder) Enroll(arg0 interface{}) *gomock.Call + func (mr *MockCAClientMockRecorder) GetAffiliation(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCAClientMockRecorder) GetAllAffiliations(arg0 interface{}) *gomock.Call + func (mr *MockCAClientMockRecorder) GetAllIdentities(arg0 interface{}) *gomock.Call + func (mr *MockCAClientMockRecorder) GetCAInfo() *gomock.Call + func (mr *MockCAClientMockRecorder) GetIdentity(arg0, arg1 interface{}) *gomock.Call + func (mr *MockCAClientMockRecorder) ModifyAffiliation(arg0 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) RemoveAffiliation(arg0 interface{}) *gomock.Call + func (mr *MockCAClientMockRecorder) RemoveIdentity(arg0 interface{}) *gomock.Call + func (mr *MockCAClientMockRecorder) Revoke(arg0 interface{}) *gomock.Call