Documentation ¶
Index ¶
- Constants
- Variables
- func GetPackageName() string
- func GetValidPackageExtensions() [3]string
- func IsZarfInitConfig() bool
- func Load(path string)
- func WriteConfig(path string)
- type ZarfBuildData
- type ZarfChart
- type ZarfComponent
- type ZarfConfig
- type ZarfContainerTarget
- type ZarfData
- type ZarfFile
- type ZarfMetatdata
Constants ¶
View Source
const K3sBinary = "/usr/local/bin/k3s"
View Source
const K3sChartPath = "/var/lib/rancher/k3s/server/static/charts"
View Source
const K3sImagePath = "/var/lib/rancher/k3s/agent/images"
View Source
const K3sManifestPath = "/var/lib/rancher/k3s/server/manifests"
View Source
const PackageInitName = "zarf-init.tar.zst"
View Source
const PackagePrefix = "zarf-package-"
View Source
const ZarfGitUser = "zarf-git-user"
View Source
const ZarfLocalIP = "127.0.0.1"
Variables ¶
View Source
var CLIVersion = "unset"
Functions ¶
func GetPackageName ¶
func GetPackageName() string
func GetValidPackageExtensions ¶
func GetValidPackageExtensions() [3]string
func IsZarfInitConfig ¶
func IsZarfInitConfig() bool
func WriteConfig ¶
func WriteConfig(path string)
Types ¶
type ZarfBuildData ¶
type ZarfComponent ¶
type ZarfComponent struct { Name string `yaml:"name"` Description string `yaml:"description"` Default bool `yaml:"default"` Required bool `yaml:"required"` Manifests string `yaml:"manifests"` Images []string `yaml:"images"` Repos []string `yaml:"repos"` Charts []ZarfChart `yaml:"charts"` Files []ZarfFile `yaml:"files"` }
func GetComponents ¶
func GetComponents() []ZarfComponent
type ZarfConfig ¶
type ZarfConfig struct { Kind string `yaml:"kind"` Metadata ZarfMetatdata `yaml:"metadata"` Package ZarfBuildData `yaml:"package"` Data []ZarfData `yaml:"data"` Components []ZarfComponent `yaml:"components"` }
type ZarfContainerTarget ¶
type ZarfData ¶
type ZarfData struct { Source string `yaml:"source"` Target ZarfContainerTarget `yaml:"target"` }
func GetDataInjections ¶
func GetDataInjections() []ZarfData
type ZarfMetatdata ¶
type ZarfMetatdata struct { Name string `yaml:"name"` Description string `yaml:"description"` Version string `yaml:"version"` Uncompressed bool `yaml:"uncompressed"` }
func GetMetaData ¶
func GetMetaData() ZarfMetatdata
Click to show internal directories.
Click to hide internal directories.