mock_cbr

package
v0.0.0-...-f003305 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_cbr is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) CreateIssuer

func (m *MockClient) CreateIssuer(ctx context.Context, issuer string, maxTokens int) error

CreateIssuer mocks base method.

func (*MockClient) CreateIssuerV3

func (m *MockClient) CreateIssuerV3(ctx context.Context, createIssuerV3 cbr.IssuerRequest) error

CreateIssuerV3 mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetIssuer

func (m *MockClient) GetIssuer(ctx context.Context, issuer string) (*cbr.IssuerResponse, error)

GetIssuer mocks base method.

func (*MockClient) GetIssuerV3

func (m *MockClient) GetIssuerV3(ctx context.Context, issuer string) (*cbr.IssuerResponse, error)

GetIssuerV3 mocks base method.

func (*MockClient) RedeemCredential

func (m *MockClient) RedeemCredential(ctx context.Context, issuer, preimage, signature, payload string) error

RedeemCredential mocks base method.

func (*MockClient) RedeemCredentialV3

func (m *MockClient) RedeemCredentialV3(ctx context.Context, issuer, preimage, signature, payload string) error

RedeemCredentialV3 mocks base method.

func (*MockClient) RedeemCredentials

func (m *MockClient) RedeemCredentials(ctx context.Context, credentials []cbr.CredentialRedemption, payload string) error

RedeemCredentials mocks base method.

func (*MockClient) SignCredentials

func (m *MockClient) SignCredentials(ctx context.Context, issuer string, creds []string) (*cbr.CredentialsIssueResponse, error)

SignCredentials mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateIssuer

func (mr *MockClientMockRecorder) CreateIssuer(ctx, issuer, maxTokens interface{}) *gomock.Call

CreateIssuer indicates an expected call of CreateIssuer.

func (*MockClientMockRecorder) CreateIssuerV3

func (mr *MockClientMockRecorder) CreateIssuerV3(ctx, createIssuerV3 interface{}) *gomock.Call

CreateIssuerV3 indicates an expected call of CreateIssuerV3.

func (*MockClientMockRecorder) GetIssuer

func (mr *MockClientMockRecorder) GetIssuer(ctx, issuer interface{}) *gomock.Call

GetIssuer indicates an expected call of GetIssuer.

func (*MockClientMockRecorder) GetIssuerV3

func (mr *MockClientMockRecorder) GetIssuerV3(ctx, issuer interface{}) *gomock.Call

GetIssuerV3 indicates an expected call of GetIssuerV3.

func (*MockClientMockRecorder) RedeemCredential

func (mr *MockClientMockRecorder) RedeemCredential(ctx, issuer, preimage, signature, payload interface{}) *gomock.Call

RedeemCredential indicates an expected call of RedeemCredential.

func (*MockClientMockRecorder) RedeemCredentialV3

func (mr *MockClientMockRecorder) RedeemCredentialV3(ctx, issuer, preimage, signature, payload interface{}) *gomock.Call

RedeemCredentialV3 indicates an expected call of RedeemCredentialV3.

func (*MockClientMockRecorder) RedeemCredentials

func (mr *MockClientMockRecorder) RedeemCredentials(ctx, credentials, payload interface{}) *gomock.Call

RedeemCredentials indicates an expected call of RedeemCredentials.

func (*MockClientMockRecorder) SignCredentials

func (mr *MockClientMockRecorder) SignCredentials(ctx, issuer, creds interface{}) *gomock.Call

SignCredentials indicates an expected call of SignCredentials.

Jump to

Keyboard shortcuts

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