state

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package state is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStateManager

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

MockStateManager is a mock of StateManager interface.

func NewMockStateManager

func NewMockStateManager(ctrl *gomock.Controller) *MockStateManager

NewMockStateManager creates a new mock instance.

func (*MockStateManager) AddCosignature

func (m *MockStateManager) AddCosignature(arg0 context.Context, arg1 *types.PublicKey, arg2 *types.Signature) error

AddCosignature mocks base method.

func (*MockStateManager) CosignedTreeHead

func (m *MockStateManager) CosignedTreeHead(arg0 context.Context) (*types.CosignedTreeHead, error)

CosignedTreeHead mocks base method.

func (*MockStateManager) EXPECT

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

func (*MockStateManager) Run

func (m *MockStateManager) Run(arg0 context.Context)

Run mocks base method.

func (*MockStateManager) ToCosignTreeHead

func (m *MockStateManager) ToCosignTreeHead() *types.SignedTreeHead

ToCosignTreeHead mocks base method.

type MockStateManagerMockRecorder

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

MockStateManagerMockRecorder is the mock recorder for MockStateManager.

func (*MockStateManagerMockRecorder) AddCosignature

func (mr *MockStateManagerMockRecorder) AddCosignature(arg0, arg1, arg2 interface{}) *gomock.Call

AddCosignature indicates an expected call of AddCosignature.

func (*MockStateManagerMockRecorder) CosignedTreeHead

func (mr *MockStateManagerMockRecorder) CosignedTreeHead(arg0 interface{}) *gomock.Call

CosignedTreeHead indicates an expected call of CosignedTreeHead.

func (*MockStateManagerMockRecorder) Run

func (mr *MockStateManagerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockStateManagerMockRecorder) ToCosignTreeHead

func (mr *MockStateManagerMockRecorder) ToCosignTreeHead() *gomock.Call

ToCosignTreeHead indicates an expected call of ToCosignTreeHead.

Jump to

Keyboard shortcuts

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