Versions in this module Expand all Collapse all v1 v1.84.0 Mar 21, 2026 Changes in this version + type Collector struct + func NewCollector(t interface{ ... }) *Collector + func (_m *Collector) EXPECT() *Collector_Expecter + func (_mock *Collector) Collect(ctx context.Context, crafter1 *crafter.Crafter, attestationID string, ...) error + func (_mock *Collector) ID() string + type Collector_Collect_Call struct + func (_c *Collector_Collect_Call) Return(err error) *Collector_Collect_Call + func (_c *Collector_Collect_Call) Run(...) *Collector_Collect_Call + func (_c *Collector_Collect_Call) RunAndReturn(...) *Collector_Collect_Call + type Collector_Expecter struct + func (_e *Collector_Expecter) Collect(ctx interface{}, crafter1 interface{}, attestationID interface{}, ...) *Collector_Collect_Call + func (_e *Collector_Expecter) ID() *Collector_ID_Call + type Collector_ID_Call struct + func (_c *Collector_ID_Call) Return(s string) *Collector_ID_Call + func (_c *Collector_ID_Call) Run(run func()) *Collector_ID_Call + func (_c *Collector_ID_Call) RunAndReturn(run func() string) *Collector_ID_Call + type StateManager struct + func NewStateManager(t interface{ ... }) *StateManager + func (_m *StateManager) EXPECT() *StateManager_Expecter + func (_mock *StateManager) Info(ctx context.Context, key string) string + func (_mock *StateManager) Initialized(ctx context.Context, key string) (bool, error) + func (_mock *StateManager) Read(ctx context.Context, key string, state *crafter.VersionedCraftingState) error + func (_mock *StateManager) Reset(ctx context.Context, key string) error + func (_mock *StateManager) Write(ctx context.Context, key string, state *crafter.VersionedCraftingState) error + type StateManager_Expecter struct + func (_e *StateManager_Expecter) Info(ctx interface{}, key interface{}) *StateManager_Info_Call + func (_e *StateManager_Expecter) Initialized(ctx interface{}, key interface{}) *StateManager_Initialized_Call + func (_e *StateManager_Expecter) Read(ctx interface{}, key interface{}, state interface{}) *StateManager_Read_Call + func (_e *StateManager_Expecter) Reset(ctx interface{}, key interface{}) *StateManager_Reset_Call + func (_e *StateManager_Expecter) Write(ctx interface{}, key interface{}, state interface{}) *StateManager_Write_Call + type StateManager_Info_Call struct + func (_c *StateManager_Info_Call) Return(s string) *StateManager_Info_Call + func (_c *StateManager_Info_Call) Run(run func(ctx context.Context, key string)) *StateManager_Info_Call + func (_c *StateManager_Info_Call) RunAndReturn(run func(ctx context.Context, key string) string) *StateManager_Info_Call + type StateManager_Initialized_Call struct + func (_c *StateManager_Initialized_Call) Return(b bool, err error) *StateManager_Initialized_Call + func (_c *StateManager_Initialized_Call) Run(run func(ctx context.Context, key string)) *StateManager_Initialized_Call + func (_c *StateManager_Initialized_Call) RunAndReturn(run func(ctx context.Context, key string) (bool, error)) *StateManager_Initialized_Call + type StateManager_Read_Call struct + func (_c *StateManager_Read_Call) Return(err error) *StateManager_Read_Call + func (_c *StateManager_Read_Call) Run(...) *StateManager_Read_Call + func (_c *StateManager_Read_Call) RunAndReturn(...) *StateManager_Read_Call + type StateManager_Reset_Call struct + func (_c *StateManager_Reset_Call) Return(err error) *StateManager_Reset_Call + func (_c *StateManager_Reset_Call) Run(run func(ctx context.Context, key string)) *StateManager_Reset_Call + func (_c *StateManager_Reset_Call) RunAndReturn(run func(ctx context.Context, key string) error) *StateManager_Reset_Call + type StateManager_Write_Call struct + func (_c *StateManager_Write_Call) Return(err error) *StateManager_Write_Call + func (_c *StateManager_Write_Call) Run(...) *StateManager_Write_Call + func (_c *StateManager_Write_Call) RunAndReturn(...) *StateManager_Write_Call