package
0.4.8
Repository: https://github.com/goss-org/goss.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewConfig creates a default configuration modeled on the defaults the CLI sets, modified using opts.
No description provided by the author
No description provided by the author
WithCache sets how long results may be cached for.
WithColor enables colored output.
WithDebug enables debug output.
WithDisabledResourceTypes ensures that any resource matching types listed will be skipped when validating.
WithFormatOptions sets options used by the output format plugins, valid options are output.WithFormatOptions.
WithMaxConcurrency is the maximum concurrent test that can be run.
WithNoColor disables colored output.
WithOutputFormat is the formatter to use for output.
WithPackageManager overrides the package manager to use.
WithResultWriter sets the writer to write output format to when validating.
WithRetryTimeout sets the maximum amount of time checks can be retried, it's runtime + WithSleep.
WithSleep sets the time to sleep between retries when WithRetryTimeout is set.
WithSpecFile sets the path to the file holding spec contents.
WithVarsBytes is a yaml or json byte stream to use as variables passed to the Validator.
WithVarsData uses v as variables to pass to the Validator.
WithVarsFile is a json or yaml file containing variables to pass to the validator.
WithVarsString is a yaml or json string to use as variables passed to the Validator.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
Config is the runtime configuration for the goss system, the cli.Context gets converted to this and it allows other packages to embed goss by creating this structure and using it when adding, validating etc.
No description provided by the author

# Type aliases

ConfigOption manipulates Config.