nedlib

package
v3.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdConvertNedlib

func NewCmdConvertNedlib() *cobra.Command

Types

type ConvertNedlibFlags

type ConvertNedlibFlags struct {
	FileWalkerFlags       flag.FileWalkerFlags
	WarcWriterConfigFlags *flag.WarcWriterConfigFlags
	IndexFlags            *flag.IndexFlags
	OutputHookFlags       *flag.OutputHookFlags
	InputHookFlags        *flag.InputHookFlags
	ConcurrencyFlags      flag.ConcurrencyFlags
}

func NewConvertNedlibFlags

func NewConvertNedlibFlags() ConvertNedlibFlags

func (ConvertNedlibFlags) AddFlags

func (f ConvertNedlibFlags) AddFlags(cmd *cobra.Command)

func (ConvertNedlibFlags) ToOptions

func (f ConvertNedlibFlags) ToOptions() (*ConvertNedlibOptions, error)

type ConvertNedlibOptions

type ConvertNedlibOptions struct {
	Paths              []string
	FileWalker         *filewalker.FileWalker
	WarcWriterConfig   *warcwriterconfig.WarcWriterConfig
	FileIndex          *index.FileIndex
	MinWARCDiskFree    int64
	Concurrency        int
	WarcRecordOptions  []gowarc.WarcRecordOption
	OpenInputFileHook  hooks.OpenInputFileHook
	CloseInputFileHook hooks.CloseInputFileHook
}

func (*ConvertNedlibOptions) Complete

func (o *ConvertNedlibOptions) Complete(cmd *cobra.Command, args []string) error

func (*ConvertNedlibOptions) Run

func (o *ConvertNedlibOptions) Run(cmd string, args []string) error

func (*ConvertNedlibOptions) Validate

func (o *ConvertNedlibOptions) Validate() error

Jump to

Keyboard shortcuts

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