Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockVClient
- func (m *MockVClient) CollateralHealthCheck(input *vclient.CollateralHealthCheckInput) ([]vclient.CollateralHealthCheckOutput, error)
- func (m *MockVClient) EXPECT() *MockVClientMockRecorder
- func (m *MockVClient) GetExchangeRate(input *vclient.GetExchangeRateInput) (*vclient.GetExchangeRateOutput, error)
- func (m *MockVClient) MintFromCollateralAmount(ctx context.Context, input *vclient.MintFromCollateralAmountInput) (*vclient.MintFromCollateralAmountCreditOutput, error)
- func (m *MockVClient) MintFromStableCreditAmount(ctx context.Context, input *vclient.MintFromStableCreditAmountInput) (*vclient.MintFromStableCreditAmountCreditOutput, error)
- func (m *MockVClient) Rebalance(ctx context.Context, input *vclient.RebalanceInput) (*vclient.RebalanceOutput, error)
- func (m *MockVClient) RedeemStableCredit(ctx context.Context, input *vclient.RedeemStableCreditInput) (*vclient.RedeemStableCreditOutput, error)
- func (m *MockVClient) SetupCredit(ctx context.Context, input *vclient.SetupCreditInput) (*vclient.SetupCreditOutput, error)
- type MockVClientMockRecorder
- func (mr *MockVClientMockRecorder) CollateralHealthCheck(input interface{}) *gomock.Call
- func (mr *MockVClientMockRecorder) GetExchangeRate(input interface{}) *gomock.Call
- func (mr *MockVClientMockRecorder) MintFromCollateralAmount(ctx, input interface{}) *gomock.Call
- func (mr *MockVClientMockRecorder) MintFromStableCreditAmount(ctx, input interface{}) *gomock.Call
- func (mr *MockVClientMockRecorder) Rebalance(ctx, input interface{}) *gomock.Call
- func (mr *MockVClientMockRecorder) RedeemStableCredit(ctx, input interface{}) *gomock.Call
- func (mr *MockVClientMockRecorder) SetupCredit(ctx, input interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVClient ¶
type MockVClient struct {
// contains filtered or unexported fields
}
MockVClient is a mock of VClient interface
func NewMockVClient ¶
func NewMockVClient(ctrl *gomock.Controller) *MockVClient
NewMockVClient creates a new mock instance
func (*MockVClient) CollateralHealthCheck ¶
func (m *MockVClient) CollateralHealthCheck(input *vclient.CollateralHealthCheckInput) ([]vclient.CollateralHealthCheckOutput, error)
CollateralHealthCheck mocks base method
func (*MockVClient) EXPECT ¶
func (m *MockVClient) EXPECT() *MockVClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVClient) GetExchangeRate ¶
func (m *MockVClient) GetExchangeRate(input *vclient.GetExchangeRateInput) (*vclient.GetExchangeRateOutput, error)
GetExchangeRate mocks base method
func (*MockVClient) MintFromCollateralAmount ¶
func (m *MockVClient) MintFromCollateralAmount(ctx context.Context, input *vclient.MintFromCollateralAmountInput) (*vclient.MintFromCollateralAmountCreditOutput, error)
MintFromCollateralAmount mocks base method
func (*MockVClient) MintFromStableCreditAmount ¶
func (m *MockVClient) MintFromStableCreditAmount(ctx context.Context, input *vclient.MintFromStableCreditAmountInput) (*vclient.MintFromStableCreditAmountCreditOutput, error)
MintFromStableCreditAmount mocks base method
func (*MockVClient) Rebalance ¶
func (m *MockVClient) Rebalance(ctx context.Context, input *vclient.RebalanceInput) (*vclient.RebalanceOutput, error)
Rebalance mocks base method
func (*MockVClient) RedeemStableCredit ¶
func (m *MockVClient) RedeemStableCredit(ctx context.Context, input *vclient.RedeemStableCreditInput) (*vclient.RedeemStableCreditOutput, error)
RedeemStableCredit mocks base method
func (*MockVClient) SetupCredit ¶
func (m *MockVClient) SetupCredit(ctx context.Context, input *vclient.SetupCreditInput) (*vclient.SetupCreditOutput, error)
SetupCredit mocks base method
type MockVClientMockRecorder ¶
type MockVClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVClientMockRecorder is the mock recorder for MockVClient
func (*MockVClientMockRecorder) CollateralHealthCheck ¶
func (mr *MockVClientMockRecorder) CollateralHealthCheck(input interface{}) *gomock.Call
CollateralHealthCheck indicates an expected call of CollateralHealthCheck
func (*MockVClientMockRecorder) GetExchangeRate ¶
func (mr *MockVClientMockRecorder) GetExchangeRate(input interface{}) *gomock.Call
GetExchangeRate indicates an expected call of GetExchangeRate
func (*MockVClientMockRecorder) MintFromCollateralAmount ¶
func (mr *MockVClientMockRecorder) MintFromCollateralAmount(ctx, input interface{}) *gomock.Call
MintFromCollateralAmount indicates an expected call of MintFromCollateralAmount
func (*MockVClientMockRecorder) MintFromStableCreditAmount ¶
func (mr *MockVClientMockRecorder) MintFromStableCreditAmount(ctx, input interface{}) *gomock.Call
MintFromStableCreditAmount indicates an expected call of MintFromStableCreditAmount
func (*MockVClientMockRecorder) Rebalance ¶
func (mr *MockVClientMockRecorder) Rebalance(ctx, input interface{}) *gomock.Call
Rebalance indicates an expected call of Rebalance
func (*MockVClientMockRecorder) RedeemStableCredit ¶
func (mr *MockVClientMockRecorder) RedeemStableCredit(ctx, input interface{}) *gomock.Call
RedeemStableCredit indicates an expected call of RedeemStableCredit
func (*MockVClientMockRecorder) SetupCredit ¶
func (mr *MockVClientMockRecorder) SetupCredit(ctx, input interface{}) *gomock.Call
SetupCredit indicates an expected call of SetupCredit