deletionlog

package
v0.3.22 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "coordinator.deletionLog"

Variables

This section is empty.

Functions

This section is empty.

Types

type DeletionLog

type DeletionLog interface {
	GetAfter(ctx context.Context, afterId string, limit uint32) (records []Record, hasMore bool, err error)
	Add(ctx context.Context, spaceId, fileGroup string, status Status) (id string, err error)
	app.ComponentRunnable
}

func New

func New() DeletionLog

type Record

type Record struct {
	Id        *primitive.ObjectID `bson:"_id,omitempty"`
	SpaceId   string              `bson:"spaceId"`
	FileGroup string              `bson:"fileGroup"`
	Status    Status              `bson:"status"`
}

type Status

type Status int32

Directories

Path Synopsis
Package mock_deletionlog is a generated GoMock package.
Package mock_deletionlog is a generated GoMock package.

Jump to

Keyboard shortcuts

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