Documentation
¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockIPlanetmintClient
- func (m *MockIPlanetmintClient) AttestTAPublicKey(publicKey *secp256k1.PublicKey) error
- func (m *MockIPlanetmintClient) AttestTAPublicKeyHex(pubHexString string) error
- func (m *MockIPlanetmintClient) EXPECT() *MockIPlanetmintClientMockRecorder
- func (m *MockIPlanetmintClient) FundAccount(plmntAddress string) error
- func (m *MockIPlanetmintClient) GetAccount(plmntAddress string) (*types.QueryAccountResponse, error)
- func (m *MockIPlanetmintClient) GetTrustAnchorStatus(machineID string) (*types0.QueryGetTrustAnchorStatusResponse, error)
- type MockIPlanetmintClientMockRecorder
- func (mr *MockIPlanetmintClientMockRecorder) AttestTAPublicKey(publicKey interface{}) *gomock.Call
- func (mr *MockIPlanetmintClientMockRecorder) AttestTAPublicKeyHex(pubHexString interface{}) *gomock.Call
- func (mr *MockIPlanetmintClientMockRecorder) FundAccount(plmntAddress interface{}) *gomock.Call
- func (mr *MockIPlanetmintClientMockRecorder) GetAccount(plmntAddress interface{}) *gomock.Call
- func (mr *MockIPlanetmintClientMockRecorder) GetTrustAnchorStatus(machineID interface{}) *gomock.Call
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 ¶
func (m *MockIPlanetmintClient) EXPECT() *MockIPlanetmintClientMockRecorder
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.