cmd

package
v0.0.0-...-ac7cf33 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Split

type Split struct {
	File       *os.File
	OutputDir  string
	Containers []string
	Tags       []string
	// contains filtered or unexported fields
}

A Split can be read a json.gzip backup file, split, filter and write in many files(by host) with the true log line.

func NewSplit

func NewSplit(file *os.File, outputDir string, containers []string, tags []string) *Split

NewSplit creates a new Split.

func (*Split) Do

func (s *Split) Do()

Do read a json.gzip backup file, split, filter and write in many files(by host) with the true log line.

Jump to

Keyboard shortcuts

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