testutil

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIPlanetmintClient

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

MockIPlanetmintClient is a mock of IPlanetmintClient interface.

func NewMockIPlanetmintClient

func NewMockIPlanetmintClient(ctrl *gomock.Controller) *MockIPlanetmintClient

NewMockIPlanetmintClient creates a new mock instance.

func (*MockIPlanetmintClient) AttestTAPublicKey

func (m *MockIPlanetmintClient) AttestTAPublicKey(publicKey *secp256k1.PublicKey) error

AttestTAPublicKey mocks base method.

func (*MockIPlanetmintClient) AttestTAPublicKeyHex

func (m *MockIPlanetmintClient) AttestTAPublicKeyHex(pubHexString string) error

AttestTAPublicKeyHex mocks base method.

func (*MockIPlanetmintClient) EXPECT

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

func (*MockIPlanetmintClient) FundAccount

func (m *MockIPlanetmintClient) FundAccount(plmntAddress string) error

FundAccount mocks base method.

func (*MockIPlanetmintClient) GetAccount

func (m *MockIPlanetmintClient) GetAccount(plmntAddress string) (*types.QueryAccountResponse, error)

GetAccount mocks base method.

func (*MockIPlanetmintClient) GetTrustAnchorStatus

func (m *MockIPlanetmintClient) GetTrustAnchorStatus(machineID string) (*types0.QueryGetTrustAnchorStatusResponse, error)

GetTrustAnchorStatus mocks base method.

type MockIPlanetmintClientMockRecorder

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

MockIPlanetmintClientMockRecorder is the mock recorder for MockIPlanetmintClient.

func (*MockIPlanetmintClientMockRecorder) AttestTAPublicKey

func (mr *MockIPlanetmintClientMockRecorder) AttestTAPublicKey(publicKey interface{}) *gomock.Call

AttestTAPublicKey indicates an expected call of AttestTAPublicKey.

func (*MockIPlanetmintClientMockRecorder) AttestTAPublicKeyHex

func (mr *MockIPlanetmintClientMockRecorder) AttestTAPublicKeyHex(pubHexString interface{}) *gomock.Call

AttestTAPublicKeyHex indicates an expected call of AttestTAPublicKeyHex.

func (*MockIPlanetmintClientMockRecorder) FundAccount

func (mr *MockIPlanetmintClientMockRecorder) FundAccount(plmntAddress interface{}) *gomock.Call

FundAccount indicates an expected call of FundAccount.

func (*MockIPlanetmintClientMockRecorder) GetAccount

func (mr *MockIPlanetmintClientMockRecorder) GetAccount(plmntAddress interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockIPlanetmintClientMockRecorder) GetTrustAnchorStatus

func (mr *MockIPlanetmintClientMockRecorder) GetTrustAnchorStatus(machineID interface{}) *gomock.Call

GetTrustAnchorStatus indicates an expected call of GetTrustAnchorStatus.

Jump to

Keyboard shortcuts

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