Run NodesReferenceService

admin

Package admin

import "github.com/luxfi/node/service/admin"

Types

ChainTracker

ChainTracker is the interface for tracking chains at runtime.

Config

Service

Service implements api/admin.Service.

func New(config Config) *Service
func (a *Service) Alias(ctx context.Context, args *apiadmin.AliasArgs) (*apiadmin.EmptyReply, error)
func (a *Service) AliasChain(ctx context.Context, args *apiadmin.AliasChainArgs) (*apiadmin.EmptyReply, error)
func (a *Service) CreateHandler() (http.Handler, error)
func (a *Service) DbGet(ctx context.Context, args *apiadmin.DBGetArgs) (*apiadmin.DBGetReply, error)
func (a *Service) GetBackupMetadata(ctx context.Context) (*backup.Metadata, error)
func (a *Service) GetChainAliases(ctx context.Context, args *apiadmin.GetChainAliasesArgs) (*apiadmin.GetChainAliasesReply, error)
func (a *Service) GetConfig(ctx context.Context) (any, error)
func (a *Service) GetLoggerLevel(ctx context.Context, args *apiadmin.GetLoggerLevelArgs) (*apiadmin.LoggerLevelReply, error)
func (a *Service) GetTrackedChains(ctx context.Context) (*apiadmin.GetTrackedChainsReply, error)
func (a *Service) ListVMs(ctx context.Context) (*apiadmin.ListVMsReply, error)
func (a *Service) Load(ctx context.Context, args *apiadmin.LoadArgs) (*apiadmin.EmptyReply, error)
func (a *Service) LoadVMs(ctx context.Context) (*apiadmin.LoadVMsReply, error)
func (a *Service) LockProfile(ctx context.Context) (*apiadmin.EmptyReply, error)
func (a *Service) MemoryProfile(ctx context.Context) (*apiadmin.EmptyReply, error)
func (a *Service) SetLoggerLevel(ctx context.Context, args *apiadmin.SetLoggerLevelArgs) (*apiadmin.EmptyReply, error)
func (a *Service) SetTrackedChains(ctx context.Context, args *apiadmin.SetTrackedChainsArgs) (*apiadmin.SetTrackedChainsReply, error)
func (a *Service) Snapshot(ctx context.Context, args *apiadmin.SnapshotArgs) (*apiadmin.SnapshotReply, error)
func (a *Service) Stacktrace(ctx context.Context) (*apiadmin.EmptyReply, error)
func (a *Service) StartCPUProfiler(ctx context.Context) (*apiadmin.EmptyReply, error)
func (a *Service) StopCPUProfiler(ctx context.Context) (*apiadmin.EmptyReply, error)