Documentation ¶
Index ¶
- Constants
- func FindPackagePath(packageName, packagesPath string) (packagePath string, err error)
- func GetContainerType(containersPath, containerName string) (result, resultPath string, err error)
- func GetPackageFromSpec(spec string) (packageName string)
- type Spack
- type SpackConfig
- type SpackConfigCompiler
- type SpackConfigInstallTree
- type SpackContainer
- type SpackContainerImages
- type SpackContainerPackages
- type SpackEnv
- type SpackPackages
Constants ¶
View Source
const DockerType = "Dockerfile"
View Source
const SpackType = "Spack"
Variables ¶
This section is empty.
Functions ¶
func FindPackagePath ¶
FindPackagePath returns the path to the package.py file for a given package.
func GetContainerType ¶
func GetPackageFromSpec ¶ added in v0.1.7
GetPackageFromSpec extracts the name of the package from the abstract spec.
Types ¶
type Spack ¶
type Spack struct { Specs []string `yaml:"specs,omitempty"` View bool `yaml:"view"` Packages map[string]SpackPackages `yaml:"packages,omitempty"` Config SpackConfig `yaml:"config"` Container SpackContainer `yaml:"container"` Mirrors map[string]string `yaml:"mirrors,omitempty"` }
type SpackConfig ¶
type SpackConfig struct { Concretizer string `yaml:"concretizer,omitempty"` Compiler SpackConfigCompiler `yaml:"compiler,omitempty"` InstallMissingCompilers bool `yaml:"install_missing_compilers"` InstallTree SpackConfigInstallTree `yaml:"install_tree,omitempty"` }
type SpackConfigCompiler ¶
type SpackConfigCompiler struct {
Target []string `yaml:"target,omitempty"`
}
type SpackConfigInstallTree ¶ added in v0.1.3
type SpackContainer ¶
type SpackContainer struct { OSPackages SpackContainerPackages `yaml:"os_packages,omitempty"` Images SpackContainerImages `yaml:"images,omitempty"` Strip bool `yaml:"strip"` }
type SpackContainerImages ¶ added in v0.0.7
type SpackContainerPackages ¶
type SpackEnv ¶
type SpackEnv struct {
Spack Spack `yaml:"spack"`
}
func ParseSpackEnv ¶
ParseSpackEnv parses a spack environment into a go struct.
type SpackPackages ¶
type SpackPackages struct {
Target []string `yaml:"target,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.