labelsyncmapping

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 15 Imported by: 0 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

Overview

Package labelsyncmapping is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceMapping

type DeviceMapping struct {
	ID      uuid.UUID
	Mapping domain.LabelSyncMapping
}

DeviceMapping pairs a persisted mapping with its stable ownership identifier.

type DeviceMappingsSnapshot

type DeviceMappingsSnapshot struct {
	Mappings []DeviceMapping
	Revision int64
}

DeviceMappingsSnapshot contains the current Device mappings and their revision.

type MappingScanRecord

type MappingScanRecord struct {
	MappingID        uuid.UUID
	Generation       int64
	DeletionRevision *int64
	FailureRevision  int64
}

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) CompleteMappingScan

func (m *MockStore) CompleteMappingScan(arg0 context.Context, arg1 uuid.UUID, arg2 []MappingScanRecord) (map[uuid.UUID]bool, error)

CompleteMappingScan mocks base method.

func (*MockStore) Create

Create mocks base method.

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 context.Context, arg1 uuid.UUID, arg2 string) (bool, error)

Delete mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) FinalizeDelete

func (m *MockStore) FinalizeDelete(arg0 context.Context, arg1 uuid.UUID, arg2 string) (bool, error)

FinalizeDelete mocks base method.

func (*MockStore) Get

func (m *MockStore) Get(arg0 context.Context, arg1 uuid.UUID, arg2 string) (*domain.LabelSyncMapping, error)

Get mocks base method.

func (*MockStore) GetDeviceMappingsRevision

func (m *MockStore) GetDeviceMappingsRevision(arg0 context.Context, arg1 uuid.UUID) (int64, error)

GetDeviceMappingsRevision mocks base method.

func (*MockStore) GetDeviceMappingsSnapshot

func (m *MockStore) GetDeviceMappingsSnapshot(arg0 context.Context, arg1 uuid.UUID) (DeviceMappingsSnapshot, error)

GetDeviceMappingsSnapshot mocks base method.

func (*MockStore) InitialMigration

func (m *MockStore) InitialMigration(arg0 context.Context) error

InitialMigration mocks base method.

func (*MockStore) List

List mocks base method.

func (*MockStore) ListMappingScanTargets

func (m *MockStore) ListMappingScanTargets(arg0 context.Context, arg1 uuid.UUID) ([]MappingScanRecord, error)

ListMappingScanTargets mocks base method.

func (*MockStore) RecordMappingScanFailure

func (m *MockStore) RecordMappingScanFailure(arg0 context.Context, arg1 uuid.UUID, arg2 MappingScanRecord, arg3 string) (MappingScanRecord, bool, error)

RecordMappingScanFailure mocks base method.

func (*MockStore) Update

Update mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) CompleteMappingScan

func (mr *MockStoreMockRecorder) CompleteMappingScan(arg0, arg1, arg2 any) *gomock.Call

CompleteMappingScan indicates an expected call of CompleteMappingScan.

func (*MockStoreMockRecorder) Create

func (mr *MockStoreMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStoreMockRecorder) Delete

func (mr *MockStoreMockRecorder) Delete(arg0, arg1, arg2 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) FinalizeDelete

func (mr *MockStoreMockRecorder) FinalizeDelete(arg0, arg1, arg2 any) *gomock.Call

FinalizeDelete indicates an expected call of FinalizeDelete.

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(arg0, arg1, arg2 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) GetDeviceMappingsRevision

func (mr *MockStoreMockRecorder) GetDeviceMappingsRevision(arg0, arg1 any) *gomock.Call

GetDeviceMappingsRevision indicates an expected call of GetDeviceMappingsRevision.

func (*MockStoreMockRecorder) GetDeviceMappingsSnapshot

func (mr *MockStoreMockRecorder) GetDeviceMappingsSnapshot(arg0, arg1 any) *gomock.Call

GetDeviceMappingsSnapshot indicates an expected call of GetDeviceMappingsSnapshot.

func (*MockStoreMockRecorder) InitialMigration

func (mr *MockStoreMockRecorder) InitialMigration(arg0 any) *gomock.Call

InitialMigration indicates an expected call of InitialMigration.

func (*MockStoreMockRecorder) List

func (mr *MockStoreMockRecorder) List(arg0, arg1, arg2 any) *gomock.Call

List indicates an expected call of List.

func (*MockStoreMockRecorder) ListMappingScanTargets

func (mr *MockStoreMockRecorder) ListMappingScanTargets(arg0, arg1 any) *gomock.Call

ListMappingScanTargets indicates an expected call of ListMappingScanTargets.

func (*MockStoreMockRecorder) RecordMappingScanFailure

func (mr *MockStoreMockRecorder) RecordMappingScanFailure(arg0, arg1, arg2, arg3 any) *gomock.Call

RecordMappingScanFailure indicates an expected call of RecordMappingScanFailure.

func (*MockStoreMockRecorder) Update

func (mr *MockStoreMockRecorder) Update(arg0, arg1, arg2 any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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