Documentation ¶
Index ¶
- Variables
- func BundleBinDir() string
- func BundlePath() string
- func Chart() (string, error)
- func ChartCrd() (string, error)
- func GetPath(path string) string
- func IsBundled() bool
- func ReadFile(path string) (io.Reader, error)
- func ReadFileBytes(path string) ([]byte, error)
- func SetBundlePath(path string) error
- type BundleImage
- type Manifest
- type Tar
- type TarCallback
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWrongBundle = errors.New("tar: invalid bundle provided")
View Source
var ErrWrongBundlePath = errors.New("wrong bundle directory")
Functions ¶
func BundleBinDir ¶
func BundleBinDir() string
func BundlePath ¶
func BundlePath() string
by default homecli is located in /opt/wekahome/{release}/bin and bundle in /opt/wekahome/{release}/
func ReadFileBytes ¶
func SetBundlePath ¶
SetBundlePath allows to override default bundle directory
Types ¶
type BundleImage ¶
type Manifest ¶
type Manifest struct { WekaHome string `json:"wekaHome"` K3S string `json:"k3s"` // map[filename]imageName DockerImages map[string]string `json:"dockerImages"` // map[filename]digest FilesDigest map[string]string `json:"filesDigest"` }
func GetManifest ¶
Click to show internal directories.
Click to hide internal directories.