mock

package
v1.11.2-patch-devnet Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: GPL-3.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyBuilderStub

type KeyBuilderStub struct {
	BuildKeyCalled     func(keyPart []byte)
	GetKeyCalled       func() ([]byte, error)
	GetRawKeyCalled    func() []byte
	ShallowCloneCalled func() common.KeyBuilder
	DeepCloneCalled    func() common.KeyBuilder
	SizeCalled         func() uint
}

KeyBuilderStub -

func (*KeyBuilderStub) BuildKey

func (stub *KeyBuilderStub) BuildKey(keyPart []byte)

BuildKey -

func (*KeyBuilderStub) DeepClone added in v1.10.0

func (stub *KeyBuilderStub) DeepClone() common.KeyBuilder

DeepClone -

func (*KeyBuilderStub) GetKey

func (stub *KeyBuilderStub) GetKey() ([]byte, error)

GetKey -

func (*KeyBuilderStub) GetRawKey added in v1.10.0

func (stub *KeyBuilderStub) GetRawKey() []byte

GetRawKey -

func (*KeyBuilderStub) IsInterfaceNil added in v1.6.0

func (stub *KeyBuilderStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*KeyBuilderStub) ShallowClone added in v1.10.0

func (stub *KeyBuilderStub) ShallowClone() common.KeyBuilder

ShallowClone -

func (*KeyBuilderStub) Size added in v1.10.0

func (stub *KeyBuilderStub) Size() uint

Size -

Jump to

Keyboard shortcuts

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