Documentation ¶
Overview ¶
Package verify is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All(verifiables ...Verifiable) error
All returns nil if all the verifiables were verified with no errors
func SameSubnet ¶ added in v1.10.9
SameSubnet verifies that the provided [ctx] was provided to a chain in the same subnet as [peerChainID], but not the same chain. If this verification fails, a non-nil error will be returned.
Types ¶
type MockVerifiable ¶ added in v1.10.9
type MockVerifiable struct {
// contains filtered or unexported fields
}
MockVerifiable is a mock of Verifiable interface.
func NewMockVerifiable ¶ added in v1.10.9
func NewMockVerifiable(ctrl *gomock.Controller) *MockVerifiable
NewMockVerifiable creates a new mock instance.
func (*MockVerifiable) EXPECT ¶ added in v1.10.9
func (m *MockVerifiable) EXPECT() *MockVerifiableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVerifiable) Verify ¶ added in v1.10.9
func (m *MockVerifiable) Verify() error
Verify mocks base method.
type MockVerifiableMockRecorder ¶ added in v1.10.9
type MockVerifiableMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifiableMockRecorder is the mock recorder for MockVerifiable.
func (*MockVerifiableMockRecorder) Verify ¶ added in v1.10.9
func (mr *MockVerifiableMockRecorder) Verify() *gomock.Call
Verify indicates an expected call of Verify.
type State ¶ added in v1.10.9
type State interface { snow.ContextInitializable Verifiable VerifyState() error }
State that can be verified
Click to show internal directories.
Click to hide internal directories.