Documentation
¶
Overview ¶
Package utils is intended to contain helper functions used by other iter8ctl packages.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompletePath ¶
CompletePath is a helper function for converting file paths, specified relative to the caller of this function, into absolute ones. CompletePath is useful in tests and enables deriving the absolute path of experiment YAML files.
Example ¶
// Tests for the experiment package use code similar to the following snippet. filePath := CompletePath("../testdata", "experiment2.yaml") _, _ = ioutil.ReadFile(filePath)
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.