client

package
v0.0.0-...-a595894 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: NCSA Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultOptions = Options{
		// contains filtered or unexported fields
	}
)

Functions

This section is empty.

Types

type Client

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

func New

func New(opts ...Option) *Client

func (Client) Run

func (c Client) Run(logInfo bool) ([]*trace.Trace, error)

func (Client) RunOnce

func (c Client) RunOnce(model assets.ModelManifest) (string, time.Duration, error)

type Option

type Option func(*Options)

func ConcurrentRunCount

func ConcurrentRunCount(ii int) Option

func Context

func Context(ctx context.Context) Option

func DebugMode

func DebugMode(b bool) Option

func EagerInitialize

func EagerInitialize(b bool) Option

func EagerInitializeAsync

func EagerInitializeAsync(b bool) Option

func IterationCount

func IterationCount(ii int) Option

func LargeModels

func LargeModels(b bool) Option

func ModelDistribution

func ModelDistribution(dist, params string) Option

func ModelIterationCount

func ModelIterationCount(ii int) Option

func ModelName

func ModelName(n string) Option

func OriginalMode

func OriginalMode(b bool) Option

func PercentageModels

func PercentageModels(f float64) Option

func PostProcess

func PostProcess(b bool) Option

func ProfileIO

func ProfileIO(b bool) Option

func ProfileMemory

func ProfileMemory(b bool) Option

func ShowProgress

func ShowProgress(b bool) Option

func SimulateRun

func SimulateRun(b bool) Option

func Stderr

func Stderr(w io.Writer) Option

func Stdout

func Stdout(w io.Writer) Option

func TimeLimit

func TimeLimit(w time.Duration) Option

func UploadProfile

func UploadProfile(b bool) Option

type Options

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

func WithOptions

func WithOptions(opts ...Option) *Options

Jump to

Keyboard shortcuts

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