Documentation ¶
Overview ¶
Package verify is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSameChainID = errors.New("same chainID") ErrMismatchedSubnetIDs = errors.New("mismatched subnetIDs") )
Functions ¶
func All ¶
func All(verifiables ...Verifiable) error
All returns nil if all the verifiables were verified with no errors
Types ¶
type IsNotState ¶
type IsNotState interface {
// contains filtered or unexported methods
}
type MockVerifiable ¶
type MockVerifiable struct {
// contains filtered or unexported fields
}
MockVerifiable is a mock of Verifiable interface.
func NewMockVerifiable ¶
func NewMockVerifiable(ctrl *gomock.Controller) *MockVerifiable
NewMockVerifiable creates a new mock instance.
func (*MockVerifiable) EXPECT ¶
func (m *MockVerifiable) EXPECT() *MockVerifiableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockVerifiableMockRecorder ¶
type MockVerifiableMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifiableMockRecorder is the mock recorder for MockVerifiable.
func (*MockVerifiableMockRecorder) Verify ¶
func (mr *MockVerifiableMockRecorder) Verify() *gomock.Call
Verify indicates an expected call of Verify.
type State ¶
type State interface { snow.ContextInitializable Verifiable IsState }
type Verifiable ¶
type Verifiable interface {
Verify() error
}
Click to show internal directories.
Click to hide internal directories.