state

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: BSD-2-Clause Imports: 6 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) CosignedTreeHead

func (m *MockStateManager) CosignedTreeHead() types.CosignedTreeHead

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, arg1 []policy.Entity, arg2 time.Duration)

Run mocks base method.

func (*MockStateManager) SignedTreeHead added in v0.9.0

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

SignedTreeHead mocks base method.

type MockStateManagerMockRecorder

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

MockStateManagerMockRecorder is the mock recorder for MockStateManager.

func (*MockStateManagerMockRecorder) CosignedTreeHead

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

CosignedTreeHead indicates an expected call of CosignedTreeHead.

func (*MockStateManagerMockRecorder) Run

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

Run indicates an expected call of Run.

func (*MockStateManagerMockRecorder) SignedTreeHead added in v0.9.0

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

SignedTreeHead indicates an expected call of SignedTreeHead.

Jump to

Keyboard shortcuts

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