Discover Packages
github.com/elastic/harp
pkg
crate
cratefile
package
Version:
v0.2.11
Opens a new window with list of versions in this module.
Published: Jun 27, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Archive struct {
Name string `hcl:"name,label"`
RootPath string `hcl:"root"`
IncludeGlob []string `hcl:"includes"`
ExcludeGlob []string `hcl:"excludes,optional"`
}
Archive is a file collection which will be compressed as a tar.gz to be
added to the crate.
type Config struct {
Container Container `hcl:"container,block"`
Archives []Archive `hcl:"archive,block"`
}
Config is the configuration structure for bundle DSL.
Parse parses the configuration from the given reader. The reader will be
read to completion (EOF) before returning so ensure that the reader
does not block forever.
format is either "hcl" or "json"
ParseFile parses the given file for a configuration. The syntax of the
file is determined based on the filename extension: "hcl" for HCL,
"json" for JSON, other is an error.
type Container struct {
Name string `hcl:"name,label"`
Path string `hcl:"path"`
Identities []string `hcl:"identities,optional"`
}
Container is the pointer to the secret container.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.