Help us shape the future of Go! Take the 2026 Go Developer Survey

builder

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0, Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	services.Service
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(cfg Config, scfg blocksconvert.SharedConfig, l log.Logger, reg prometheus.Registerer) (*Builder, error)

type Config

type Config struct {
	BuilderName     string
	OutputDirectory string
	Concurrency     int

	ChunkCacheConfig cache.Config
	HeartbeatPeriod  time.Duration
	UploadBlock      bool
	DeleteLocalBlock bool

	SchedulerEndpoint string
	NextPlanInterval  time.Duration
	GrpcConfig        grpcclient.ConfigWithTLS
}

func (*Config) RegisterFlags

func (cfg *Config) RegisterFlags(f *flag.FlagSet)

Jump to

Keyboard shortcuts

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