deletionstate

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "common.commonspace.deletionstate"

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectDeletionState

type ObjectDeletionState interface {
	app.Component
	AddObserver(observer StateUpdateObserver)
	Add(ids map[string]struct{})
	GetQueued() (ids []string)
	Delete(id string) (err error)
	Exists(id string) bool
	Filter(ids []string) (filtered []string)
}

func New

func New() ObjectDeletionState

type StateUpdateObserver

type StateUpdateObserver func(ids []string)

Directories

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

Jump to

Keyboard shortcuts

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