restore

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(s *Service)

func WithLogger

func WithLogger(l log.Logger) Option

WithLogger specifies the logger for the restore service

type Service

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

Service is the chain restore service

func NewService

func NewService(client client.Client, source source.Source, opts ...Option) *Service

NewService creates a new restore service

func (*Service) ExecuteRestore

func (s *Service) ExecuteRestore(ctx context.Context, watch bool) error

ExecuteRestore executes the node restore process

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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