options

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DistributionNameFromOptions

func DistributionNameFromOptions(opts *BuildOptions) (string, error)

func DistributionRepoFromOptions

func DistributionRepoFromOptions(opts *BuildOptions) (repo.Repo, error)

Types

type BuildOptions

type BuildOptions struct {
	Cloner       string
	Protocol     string
	Source       string
	Organization string
	Repo         repo.Repo
	Repos        []repo.Repo
	SQLite       bool
	// these are the new new and will replace "SQLite"
	// SQLiteCommon     bool
	// SQLiteSpatial    bool
	// SQLiteSearch     bool
	Meta             bool
	Bundle           bool
	Workdir          string
	Logger           *log.WOFLogger
	LocalCheckout    bool
	LocalSQLite      bool
	PreserveCheckout bool
	PreserveSQLite   bool
	PreserveMeta     bool
	PreserveBundle   bool
	CompressSQLite   bool
	CompressMeta     bool
	CompressBundle   bool
	CompressMaxCPUs  int
	CustomRepo       bool
	Combined         bool
	CombinedName     string
	Timings          bool
	Strict           bool
	IndexAltFiles    bool
}

func NewBuildOptions

func NewBuildOptions() *BuildOptions

func (*BuildOptions) Clone

func (opts *BuildOptions) Clone() *BuildOptions

Jump to

Keyboard shortcuts

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