mockmspapi

package
v0.0.0-...-f15522e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mockmspapi is a generated GoMock package.

Index

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) AddAffiliation

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

AddAffiliation mocks base method

func (*MockCAClient) CreateIdentity

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

CreateIdentity mocks base method

func (*MockCAClient) EXPECT

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

func (*MockCAClient) Enroll

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

Enroll mocks base method

func (*MockCAClient) GetAffiliation

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

GetAffiliation mocks base method

func (*MockCAClient) GetAllAffiliations

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

GetAllAffiliations mocks base method

func (*MockCAClient) GetAllIdentities

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

GetAllIdentities mocks base method

func (*MockCAClient) GetCAInfo

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

GetCAInfo mocks base method

func (*MockCAClient) GetIdentity

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

GetIdentity mocks base method

func (*MockCAClient) ModifyAffiliation

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

ModifyAffiliation 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 *api.ReenrollmentRequest) error

Reenroll mocks base method

func (*MockCAClient) Register

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

Register mocks base method

func (*MockCAClient) RemoveAffiliation

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

RemoveAffiliation mocks base method

func (*MockCAClient) RemoveIdentity

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

RemoveIdentity mocks base method

func (*MockCAClient) Revoke

Revoke mocks base method

type MockCAClientMockRecorder

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

MockCAClientMockRecorder is the mock recorder for MockCAClient

func (*MockCAClientMockRecorder) AddAffiliation

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

AddAffiliation indicates an expected call of AddAffiliation

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 interface{}) *gomock.Call

Enroll indicates an expected call of Enroll

func (*MockCAClientMockRecorder) GetAffiliation

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

GetAffiliation indicates an expected call of GetAffiliation

func (*MockCAClientMockRecorder) GetAllAffiliations

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

GetAllAffiliations indicates an expected call of GetAllAffiliations

func (*MockCAClientMockRecorder) GetAllIdentities

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

GetAllIdentities indicates an expected call of GetAllIdentities

func (*MockCAClientMockRecorder) GetCAInfo

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

GetCAInfo indicates an expected call of GetCAInfo

func (*MockCAClientMockRecorder) GetIdentity

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

GetIdentity indicates an expected call of GetIdentity

func (*MockCAClientMockRecorder) ModifyAffiliation

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

ModifyAffiliation indicates an expected call of ModifyAffiliation

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) RemoveAffiliation

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

RemoveAffiliation indicates an expected call of RemoveAffiliation

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL