resumable

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

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

func NewState

func NewState(stateBackupDir, backupName, command string, params map[string]interface{}) *State

func (*State) AppendToState

func (s *State) AppendToState(path string, size int64) error

AppendToState records that path (with the given size) has been processed. see https://github.com/Altinity/clickhouse-backup/issues/1172

func (*State) Close

func (s *State) Close()

func (*State) GetParams

func (s *State) GetParams() map[string]interface{}

func (*State) IsAlreadyProcessed

func (s *State) IsAlreadyProcessed(path string) (bool, int64, error)

IsAlreadyProcessed reports whether path was already processed and its recorded size. see https://github.com/Altinity/clickhouse-backup/issues/1172

func (*State) IsAlreadyProcessedBool

func (s *State) IsAlreadyProcessedBool(path string) (bool, error)

Jump to

Keyboard shortcuts

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