builder

package
v0.0.0-...-40de334 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

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

type Builder

type Builder struct {
	ImporterJar string

	MapDir            string
	ElevationCacheDir string
	Vehicles          []string

	// print errors in the end as total summary
	Errors []string

	TotalMemory int64

	ExecuteContext context.Context

	IsBuild             bool
	IsUpload            bool
	IsRemoveOsmOnImport bool

	Logger *zap.Logger
	// contains filtered or unexported fields
}

func (*Builder) Build

func (t *Builder) Build(regionFile string) error

func (*Builder) Init

func (t *Builder) Init() error

func (*Builder) WaitAndCloseUploadPool

func (t *Builder) WaitAndCloseUploadPool() error

type ProgressBarUpdater

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

func (*ProgressBarUpdater) Read

func (t *ProgressBarUpdater) Read(p []byte) (n int, err error)

type RegionInfo

type RegionInfo struct {
	File string
	Name string

	FileSizeInMb int
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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