spacechecker

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "node.debug.spacechecker"

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	SpaceId            string   `json:"spaceId"`
	LocalStatus        string   `json:"localStatus"`
	LocalStatusError   string   `json:"localStatusError,omitempty"`
	CoordinatorStatus  string   `json:"coordinatorStatus"`
	IsResponsible      bool     `json:"isResponsible"`
	SpaceStorageExists bool     `json:"spaceStorageExists"`
	IsFixed            bool     `json:"isFixed"`
	Problems           []string `json:"problems"`
	Log                []string `json:"log"`
}

type SpaceChecker

type SpaceChecker interface {
	Check(ctx context.Context, spaceId string) (Result, error)
	Fix(ctx context.Context, spaceId string) (Result, error)
	app.Component
}

func New

func New() SpaceChecker

Jump to

Keyboard shortcuts

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