Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigDir string
ConfigDir represents dir path of kbrew config
Functions ¶
func InitConfig ¶
func InitConfig()
InitConfig initializes ConfigDir. If ConfigDir does not exists, create it
Types ¶
type App ¶
type App struct {
Args map[string]string `yaml:"args"`
Repository Repository `yaml:"repository"`
Name string `yaml:"name"`
Namespace string `yaml:"namespace"`
URL string `yaml:"url"`
SHA256 string `yaml:"sha256"`
Version string `yaml:"version"`
PreInstall []PreInstall `yaml:"pre_install"`
PostInstall []PostInstall `yaml:"post_install"`
}
App hold app details set in kbrew recipe
type AppConfig ¶
type AppConfig struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
App App `yaml:"app"`
}
AppConfig is the kbrew recipe configuration
type PostInstall ¶
PostInstall contains Apps and Steps that need to be installed/executed after installing the main app
type PreInstall ¶
PreInstall contains Apps and Steps that need to be installed/executed before installing the main app
type Repository ¶
type Repository struct {
Name string `yaml:"name"`
URL string `yaml:"url"`
Type RepoType `yaml:"type"`
}
Repository is the repo for kbrew app
Click to show internal directories.
Click to hide internal directories.