mock

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

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