slicer

package
v1.3.2-0...-808ebe2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package slicer provider slicing of an input table to an output table according to the configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SliceTable

func SliceTable(logger log.Logger, table Table) (err error)

Types

type Table

type Table struct {
	config.Config        `json:"config" mapstructure:",squash"`
	Name                 string `validate:"required" json:"name" mapstructure:"table-name"`
	InPath               string `validate:"required" json:"inPath" mapstructure:"table-input-path"`
	InManifestPath       string `json:"inManifestPath" mapstructure:"table-input-manifest-path"`
	InManifestMustExists bool   `json:"-" mapstructure:"-"` // true in CLI, false in processor
	OutPath              string `validate:"required" json:"outPath" mapstructure:"table-output-path"`
	OutManifestPath      string `validate:"required" json:"outManifestPath" mapstructure:"table-output-manifest-path"`
	InputSizeLowExitCode uint32 `json:"-" mapstructure:"input-size-low-exit-code" validate:"max=255"`
}

Directories

Path Synopsis
Package closer provides utility to close readers or writers chain in LIFO order.
Package closer provides utility to close readers or writers chain in LIFO order.
Package config provides slicing configuration.
Package config provides slicing configuration.
progress
Package progress provides slicing progress logger.
Package progress provides slicing progress logger.

Jump to

Keyboard shortcuts

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