blocksadmin

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrReporterRequired = errors.New("adminblocks: reporter is required")

ErrReporterRequired indicates the service was constructed without a reporter.

Functions

This section is empty.

Types

type Service

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

Service exposes embedded block conflict reporting and backfill helpers.

func NewService

func NewService(reporter *blocks.EmbeddedBlockBridge) *Service

NewService constructs a blocks admin service.

func (*Service) BackfillEmbeddedBlocks

func (s *Service) BackfillEmbeddedBlocks(ctx context.Context, opts blocks.BackfillOptions) (blocks.BackfillReport, error)

BackfillEmbeddedBlocks migrates legacy block instances into embedded payloads.

func (*Service) ListConflicts

ListConflicts returns embedded-vs-legacy conflict reports.

Jump to

Keyboard shortcuts

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