Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ensure ¶
func Ensure(opts ...EnsureOption) error
Ensure returns an incompatibility error (on non-windows).
Types ¶
type EnsureOption ¶
type EnsureOption func(*configuration)
EnsureOption represents a configuration option for the Ensure function in this package.
func WithDownloadTimeout ¶
func WithDownloadTimeout(timeout time.Duration) EnsureOption
WithDownloadTimeout returns an EnsureOption to set a non-default value for the download tiemout.
func WithDownloadURL ¶
func WithDownloadURL(url string) EnsureOption
WithDownloadURL returns an EnsureOption to set a non-default value for the download url.
Click to show internal directories.
Click to hide internal directories.