Documentation ¶
Overview ¶
Package validation provides validation options for the config Validate method.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(opts *Options)
Option represents an additional validation parameter for the config Validate method.
type Options ¶
type Options struct { // Local should disable part of the validation flow which won't work on the host machine. Local bool // Strict mode returns warnings as errors. Strict bool }
Options additional validation parameters for the config Validate method.
func NewOptions ¶
NewOptions creates new validation options.
Click to show internal directories.
Click to hide internal directories.