mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndyVDRClient

type IndyVDRClient struct {
	mock.Mock
}

IndyVDRClient is an autogenerated mock type for the IndyVDRClient type

func (*IndyVDRClient) Close

func (_m *IndyVDRClient) Close() error

Close provides a mock function with given fields:

func (*IndyVDRClient) CreateAttrib

func (_m *IndyVDRClient) CreateAttrib(did string, from string, data map[string]interface{}, signer vdr.Signer) error

CreateAttrib provides a mock function with given fields: did, from, data, signer

func (*IndyVDRClient) CreateClaimDef

func (_m *IndyVDRClient) CreateClaimDef(from string, ref uint32, pubKey map[string]interface{}, revocation map[string]interface{}, signer vdr.Signer) (string, error)

CreateClaimDef provides a mock function with given fields: from, ref, pubKey, revocation, signer

func (*IndyVDRClient) CreateNym

func (_m *IndyVDRClient) CreateNym(did string, verkey string, role string, from string, signer vdr.Signer) error

CreateNym provides a mock function with given fields: did, verkey, role, from, signer

func (*IndyVDRClient) CreateSchema

func (_m *IndyVDRClient) CreateSchema(issuerDID string, name string, version string, attrs []string, signer vdr.Signer) (string, error)

CreateSchema provides a mock function with given fields: issuerDID, name, version, attrs, signer

func (*IndyVDRClient) Genesis

func (_m *IndyVDRClient) Genesis() []byte

Genesis provides a mock function with given fields:

func (*IndyVDRClient) GetAcceptanceMethodList

func (_m *IndyVDRClient) GetAcceptanceMethodList() (*vdr.ReadReply, error)

GetAcceptanceMethodList provides a mock function with given fields:

func (*IndyVDRClient) GetAttrib

func (_m *IndyVDRClient) GetAttrib(did string, raw string) (*vdr.ReadReply, error)

GetAttrib provides a mock function with given fields: did, raw

func (*IndyVDRClient) GetAuthRules

func (_m *IndyVDRClient) GetAuthRules() (*vdr.ReadReply, error)

GetAuthRules provides a mock function with given fields:

func (*IndyVDRClient) GetCredDef

func (_m *IndyVDRClient) GetCredDef(credDefID string) (*vdr.ReadReply, error)

GetCredDef provides a mock function with given fields: credDefID

func (*IndyVDRClient) GetEndpoint

func (_m *IndyVDRClient) GetEndpoint(did string) (*vdr.ReadReply, error)

GetEndpoint provides a mock function with given fields: did

func (*IndyVDRClient) GetNym

func (_m *IndyVDRClient) GetNym(did string) (*vdr.ReadReply, error)

GetNym provides a mock function with given fields: did

func (*IndyVDRClient) GetPoolStatus

func (_m *IndyVDRClient) GetPoolStatus() (*vdr.PoolStatus, error)

GetPoolStatus provides a mock function with given fields:

func (*IndyVDRClient) GetSchema

func (_m *IndyVDRClient) GetSchema(schemaID string) (*vdr.ReadReply, error)

GetSchema provides a mock function with given fields: schemaID

func (*IndyVDRClient) GetTxnAuthorAgreement

func (_m *IndyVDRClient) GetTxnAuthorAgreement() (*vdr.ReadReply, error)

GetTxnAuthorAgreement provides a mock function with given fields:

func (*IndyVDRClient) GetTxnTypeAuthRule

func (_m *IndyVDRClient) GetTxnTypeAuthRule(typ string, action string, field string) (*vdr.ReadReply, error)

GetTxnTypeAuthRule provides a mock function with given fields: typ, action, field

func (*IndyVDRClient) RefreshPool

func (_m *IndyVDRClient) RefreshPool() error

RefreshPool provides a mock function with given fields:

func (*IndyVDRClient) SetEndpoint

func (_m *IndyVDRClient) SetEndpoint(did string, from string, ep string, signer vdr.Signer) error

SetEndpoint provides a mock function with given fields: did, from, ep, signer

func (*IndyVDRClient) Submit

func (_m *IndyVDRClient) Submit(request []byte) (*vdr.ReadReply, error)

Submit provides a mock function with given fields: request

func (*IndyVDRClient) SubmitWrite

func (_m *IndyVDRClient) SubmitWrite(req *vdr.Request, signer vdr.Signer) (*vdr.WriteReply, error)

SubmitWrite provides a mock function with given fields: req, signer

Jump to

Keyboard shortcuts

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