snowmanmock

package
v1.11.11-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package snowmanmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	// contains filtered or unexported fields
}

Block is a mock of Block interface.

func NewBlock

func NewBlock(ctrl *gomock.Controller) *Block

NewBlock creates a new mock instance.

func (*Block) Accept

func (m *Block) Accept(arg0 context.Context) error

Accept mocks base method.

func (*Block) Bytes

func (m *Block) Bytes() []byte

Bytes mocks base method.

func (*Block) EXPECT

func (m *Block) EXPECT() *BlockMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Block) Height

func (m *Block) Height() uint64

Height mocks base method.

func (*Block) ID

func (m *Block) ID() ids.ID

ID mocks base method.

func (*Block) Parent

func (m *Block) Parent() ids.ID

Parent mocks base method.

func (*Block) Reject

func (m *Block) Reject(arg0 context.Context) error

Reject mocks base method.

func (*Block) Timestamp

func (m *Block) Timestamp() time.Time

Timestamp mocks base method.

func (*Block) Verify

func (m *Block) Verify(arg0 context.Context) error

Verify mocks base method.

type BlockMockRecorder

type BlockMockRecorder struct {
	// contains filtered or unexported fields
}

BlockMockRecorder is the mock recorder for Block.

func (*BlockMockRecorder) Accept

func (mr *BlockMockRecorder) Accept(arg0 any) *gomock.Call

Accept indicates an expected call of Accept.

func (*BlockMockRecorder) Bytes

func (mr *BlockMockRecorder) Bytes() *gomock.Call

Bytes indicates an expected call of Bytes.

func (*BlockMockRecorder) Height

func (mr *BlockMockRecorder) Height() *gomock.Call

Height indicates an expected call of Height.

func (*BlockMockRecorder) ID

func (mr *BlockMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID.

func (*BlockMockRecorder) Parent

func (mr *BlockMockRecorder) Parent() *gomock.Call

Parent indicates an expected call of Parent.

func (*BlockMockRecorder) Reject

func (mr *BlockMockRecorder) Reject(arg0 any) *gomock.Call

Reject indicates an expected call of Reject.

func (*BlockMockRecorder) Timestamp

func (mr *BlockMockRecorder) Timestamp() *gomock.Call

Timestamp indicates an expected call of Timestamp.

func (*BlockMockRecorder) Verify

func (mr *BlockMockRecorder) Verify(arg0 any) *gomock.Call

Verify indicates an expected call of Verify.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL