Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAvailability ¶
type MockAvailability struct {
// contains filtered or unexported fields
}
MockAvailability is a mock of Availability interface.
func NewMockAvailability ¶
func NewMockAvailability(ctrl *gomock.Controller) *MockAvailability
NewMockAvailability creates a new mock instance.
func (*MockAvailability) EXPECT ¶
func (m *MockAvailability) EXPECT() *MockAvailabilityMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAvailability) ProbabilityOfAvailability ¶
func (m *MockAvailability) ProbabilityOfAvailability(arg0 context.Context) float64
ProbabilityOfAvailability mocks base method.
func (*MockAvailability) SharesAvailable ¶
func (m *MockAvailability) SharesAvailable(arg0 context.Context, arg1 *da.DataAvailabilityHeader, arg2 ...peer.ID) error
SharesAvailable mocks base method.
type MockAvailabilityMockRecorder ¶
type MockAvailabilityMockRecorder struct {
// contains filtered or unexported fields
}
MockAvailabilityMockRecorder is the mock recorder for MockAvailability.
func (*MockAvailabilityMockRecorder) ProbabilityOfAvailability ¶
func (mr *MockAvailabilityMockRecorder) ProbabilityOfAvailability(arg0 interface{}) *gomock.Call
ProbabilityOfAvailability indicates an expected call of ProbabilityOfAvailability.
func (*MockAvailabilityMockRecorder) SharesAvailable ¶
func (mr *MockAvailabilityMockRecorder) SharesAvailable(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SharesAvailable indicates an expected call of SharesAvailable.
Click to show internal directories.
Click to hide internal directories.