options

package
v0.0.0-...-71af207 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FalseCreateOpts

func FalseCreateOpts() *options.Create

FalseCreateOpts creates the options to run the "false" command.

func SleepCreateOpts

func SleepCreateOpts(num int) *options.Create

SleepCreateOpts creates the options to run the "sleep" command for the give nnumber of seconds.

func TrueCreateOpts

func TrueCreateOpts() *options.Create

TrueCreateOpts creates the options to run the "true" command.

func ValidMongoDBBuildOptions

func ValidMongoDBBuildOptions() bond.BuildOptions

ValidMongoDBBuildOptions returns valid options for a MongoDB build.

func ValidMongoDBDownloadOptions

func ValidMongoDBDownloadOptions() options.MongoDBDownload

ValidMongoDBDownloadOptions returns valid options for downloading a MongoDB archive file.

func YesCreateOpts

func YesCreateOpts(timeout time.Duration) *options.Create

YesCreateOpts creates the options to run the "yes" command for the given duration.

Types

type ModifyOpts

type ModifyOpts func(*options.Create) *options.Create

ModifyOpts is a function that returns arbitrarily-modified process creation options for tests.

Jump to

Keyboard shortcuts

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