Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = dev
Version of this binary
Functions ¶
Types ¶
type Environment ¶
type Environment interface {
// Setup ensures that the environment is correctly initialized
Setup() error
}
Environment is responsible for handling harness working directory. It can initialize, download and create required files.
type Option ¶
type Option func(*environment)
Option allows to modify Environment behavior.
func WithFetchClient ¶
func WithFetchClient(client helpers.FetchClient) Option
WithFetchClient allows configuring helpers.FetchClient used by the Environment to download files.
func WithFilesDir ¶
WithFilesDir allow changing the default path where all additional files are being created.
func WithStackRun ¶
WithStackRun provides information about stack run used to initialize the Environment.
func WithWorkingDir ¶
WithWorkingDir allows changing the default working directory of the Environment.
Click to show internal directories.
Click to hide internal directories.