Documentation ¶
Overview ¶
Package assets handles Lokomotive assets. Operations such as storing files as binary data and extracting files from memory to disk belong in this package.
Index ¶
Constants ¶
View Source
const ( // ControlPlaneSource is the asset source directory for control plane charts. ControlPlaneSource = "/charts/control-plane" // ComponentsSource is the asset source directory for components. ComponentsSource = "/charts/components" // TerraformModulesSource is the asset source directory for Terraform modules. TerraformModulesSource = "/terraform-modules" )
Variables ¶
This section is empty.
Functions ¶
func Extract ¶ added in v0.4.0
Extract recursively extracts the assets at src into the directory dst. If dst doesn't exist, the directory is created including any missing parents.
The assets are read either from data embedded in the binary or from the filesystem, depending on whether the LOKOCTL_USE_FS_ASSETS environment variable is set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.