opts

package
v0.0.0-...-b79a0d8 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package opts parses flags and stores config used elsewhere in corer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opts

type Opts struct {
	WatchDir, S3bkt, S3prefix, LocalOut       string
	CompressExt, Compresser, CompressionLevel string
	Nobt, Verbose, WatchedIsMountpoint        bool
	MaxTries                                  int
	RetryDelayConst                           int
	Analyze                                   string
	TmplData                                  TmplData //used for s3 uri, and region is reused by s3 upload code
}

func HandleArgs

func HandleArgs() (opts *Opts)

type TmplData

type TmplData struct {
	InstanceId, Env, Region  string //AWS
	DevCodeName, SKU, Serial string //hardware
}

Jump to

Keyboard shortcuts

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