Documentation
¶
Index ¶
- type Runner
- func (r *Runner) AddObjectSegments(bucket, prefix string, token *string) []SnapshotSegment
- func (r Runner) AddProfile(out io.Writer) error
- func (r Runner) ArchiveSnapshot(out io.Writer, args []string) error
- func (r Runner) CatHealth(out io.Writer) error
- func (r Runner) CatIndices(out io.Writer) error
- func (r Runner) CatNodes(out io.Writer) error
- func (r Runner) CatShards(out io.Writer) error
- func (r Runner) ClusterReroute(out io.Writer) error
- func (r Runner) ClusterSettings(out io.Writer, args []string) error
- func (r Runner) CreateIndex(out io.Writer, args []string) error
- func (r Runner) CreateSnapshot(out io.Writer, args []string) error
- func (r Runner) DeleteIndex(out io.Writer, args []string) error
- func (r Runner) DeleteSnapshot(out io.Writer, args []string) error
- func (r Runner) DiagCluster(out io.Writer) error
- func (r Runner) Fix(out io.Writer) error
- func (r Runner) IndexSettings(out io.Writer, args []string) error
- func (r Runner) ListProfile(out io.Writer) error
- func (r Runner) ListSnapshot(out io.Writer) error
- func (r Runner) RemoveProfile(out io.Writer, args []string) error
- func (r *Runner) RestoreSnapshot(out io.Writer, args []string) error
- func (r *Runner) RunConcurrentRestore(out io.Writer, bucket string, segments []SnapshotSegment, maxSemaphore int64) (bool, error)
- func (r Runner) Stats(out io.Writer, args []string) error
- func (r Runner) StatsIndex(out io.Writer, args []string) error
- func (r Runner) Update(out io.Writer) error
- type SegmentError
- type SnapshotSegment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
func (*Runner) AddObjectSegments ¶
func (r *Runner) AddObjectSegments(bucket, prefix string, token *string) []SnapshotSegment
AddObjectSegments gather all segments recursively
func (*Runner) RestoreSnapshot ¶
RestoreSnapshot is main function of restoring snapshot process
func (*Runner) RunConcurrentRestore ¶
func (r *Runner) RunConcurrentRestore(out io.Writer, bucket string, segments []SnapshotSegment, maxSemaphore int64) (bool, error)
RunConcurrentRestore runs restore process concurrently This only runs if user uses --force option
type SegmentError ¶
func (*SegmentError) PrintError ¶
func (s *SegmentError) PrintError()
type SnapshotSegment ¶
Click to show internal directories.
Click to hide internal directories.