fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/msp/test/mockmspapi Index | Files

package mockmspapi

import "github.com/hyperledger/fabric-sdk-go/pkg/msp/test/mockmspapi"

Package mockmspapi is a generated GoMock package.

Index

Package Files

mockmspapi.gen.go

type MockCAClient Uses

type MockCAClient struct {
    // contains filtered or unexported fields
}

MockCAClient is a mock of CAClient interface

func NewMockCAClient Uses

func NewMockCAClient(ctrl *gomock.Controller) *MockCAClient

NewMockCAClient creates a new mock instance

func (*MockCAClient) AddAffiliation Uses

func (m *MockCAClient) AddAffiliation(arg0 *api.AffiliationRequest) (*api.AffiliationResponse, error)

AddAffiliation mocks base method

func (*MockCAClient) CreateIdentity Uses

func (m *MockCAClient) CreateIdentity(arg0 *api.IdentityRequest) (*api.IdentityResponse, error)

CreateIdentity mocks base method

func (*MockCAClient) EXPECT Uses

func (m *MockCAClient) EXPECT() *MockCAClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCAClient) Enroll Uses

func (m *MockCAClient) Enroll(arg0 *api.EnrollmentRequest) error

Enroll mocks base method

func (*MockCAClient) GetAffiliation Uses

func (m *MockCAClient) GetAffiliation(arg0, arg1 string) (*api.AffiliationResponse, error)

GetAffiliation mocks base method

func (*MockCAClient) GetAllAffiliations Uses

func (m *MockCAClient) GetAllAffiliations(arg0 string) (*api.AffiliationResponse, error)

GetAllAffiliations mocks base method

func (*MockCAClient) GetAllIdentities Uses

func (m *MockCAClient) GetAllIdentities(arg0 string) ([]*api.IdentityResponse, error)

GetAllIdentities mocks base method

func (*MockCAClient) GetCAInfo Uses

func (m *MockCAClient) GetCAInfo() (*api.GetCAInfoResponse, error)

GetCAInfo mocks base method

func (*MockCAClient) GetIdentity Uses

func (m *MockCAClient) GetIdentity(arg0, arg1 string) (*api.IdentityResponse, error)

GetIdentity mocks base method

func (*MockCAClient) ModifyAffiliation Uses

func (m *MockCAClient) ModifyAffiliation(arg0 *api.ModifyAffiliationRequest) (*api.AffiliationResponse, error)

ModifyAffiliation mocks base method

func (*MockCAClient) ModifyIdentity Uses

func (m *MockCAClient) ModifyIdentity(arg0 *api.IdentityRequest) (*api.IdentityResponse, error)

ModifyIdentity mocks base method

func (*MockCAClient) Reenroll Uses

func (m *MockCAClient) Reenroll(arg0 *api.ReenrollmentRequest) error

Reenroll mocks base method

func (*MockCAClient) Register Uses

func (m *MockCAClient) Register(arg0 *api.RegistrationRequest) (string, error)

Register mocks base method

func (*MockCAClient) RemoveAffiliation Uses

func (m *MockCAClient) RemoveAffiliation(arg0 *api.AffiliationRequest) (*api.AffiliationResponse, error)

RemoveAffiliation mocks base method

func (*MockCAClient) RemoveIdentity Uses

func (m *MockCAClient) RemoveIdentity(arg0 *api.RemoveIdentityRequest) (*api.IdentityResponse, error)

RemoveIdentity mocks base method

func (*MockCAClient) Revoke Uses

func (m *MockCAClient) Revoke(arg0 *api.RevocationRequest) (*api.RevocationResponse, error)

Revoke mocks base method

type MockCAClientMockRecorder Uses

type MockCAClientMockRecorder struct {
    // contains filtered or unexported fields
}

MockCAClientMockRecorder is the mock recorder for MockCAClient

func (*MockCAClientMockRecorder) AddAffiliation Uses

func (mr *MockCAClientMockRecorder) AddAffiliation(arg0 interface{}) *gomock.Call

AddAffiliation indicates an expected call of AddAffiliation

func (*MockCAClientMockRecorder) CreateIdentity Uses

func (mr *MockCAClientMockRecorder) CreateIdentity(arg0 interface{}) *gomock.Call

CreateIdentity indicates an expected call of CreateIdentity

func (*MockCAClientMockRecorder) Enroll Uses

func (mr *MockCAClientMockRecorder) Enroll(arg0 interface{}) *gomock.Call

Enroll indicates an expected call of Enroll

func (*MockCAClientMockRecorder) GetAffiliation Uses

func (mr *MockCAClientMockRecorder) GetAffiliation(arg0, arg1 interface{}) *gomock.Call

GetAffiliation indicates an expected call of GetAffiliation

func (*MockCAClientMockRecorder) GetAllAffiliations Uses

func (mr *MockCAClientMockRecorder) GetAllAffiliations(arg0 interface{}) *gomock.Call

GetAllAffiliations indicates an expected call of GetAllAffiliations

func (*MockCAClientMockRecorder) GetAllIdentities Uses

func (mr *MockCAClientMockRecorder) GetAllIdentities(arg0 interface{}) *gomock.Call

GetAllIdentities indicates an expected call of GetAllIdentities

func (*MockCAClientMockRecorder) GetCAInfo Uses

func (mr *MockCAClientMockRecorder) GetCAInfo() *gomock.Call

GetCAInfo indicates an expected call of GetCAInfo

func (*MockCAClientMockRecorder) GetIdentity Uses

func (mr *MockCAClientMockRecorder) GetIdentity(arg0, arg1 interface{}) *gomock.Call

GetIdentity indicates an expected call of GetIdentity

func (*MockCAClientMockRecorder) ModifyAffiliation Uses

func (mr *MockCAClientMockRecorder) ModifyAffiliation(arg0 interface{}) *gomock.Call

ModifyAffiliation indicates an expected call of ModifyAffiliation

func (*MockCAClientMockRecorder) ModifyIdentity Uses

func (mr *MockCAClientMockRecorder) ModifyIdentity(arg0 interface{}) *gomock.Call

ModifyIdentity indicates an expected call of ModifyIdentity

func (*MockCAClientMockRecorder) Reenroll Uses

func (mr *MockCAClientMockRecorder) Reenroll(arg0 interface{}) *gomock.Call

Reenroll indicates an expected call of Reenroll

func (*MockCAClientMockRecorder) Register Uses

func (mr *MockCAClientMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockCAClientMockRecorder) RemoveAffiliation Uses

func (mr *MockCAClientMockRecorder) RemoveAffiliation(arg0 interface{}) *gomock.Call

RemoveAffiliation indicates an expected call of RemoveAffiliation

func (*MockCAClientMockRecorder) RemoveIdentity Uses

func (mr *MockCAClientMockRecorder) RemoveIdentity(arg0 interface{}) *gomock.Call

RemoveIdentity indicates an expected call of RemoveIdentity

func (*MockCAClientMockRecorder) Revoke Uses

func (mr *MockCAClientMockRecorder) Revoke(arg0 interface{}) *gomock.Call

Revoke indicates an expected call of Revoke

Package mockmspapi imports 3 packages (graph). Updated 2019-02-23. Refresh now. Tools for package owners.