Documentation
¶
Overview ¶
Package flatpak implements the Pipe interface providing Flatpak bindings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoFlatpakBuilder = errors.New("flatpak-builder not present in $PATH") ErrNoAppID = errors.New("no app_id provided for flatpak") ErrNoRuntime = errors.New("no runtime provided for flatpak") ErrNoRuntimeVersion = errors.New("no runtime_version provided for flatpak") ErrNoSDK = errors.New("no sdk provided for flatpak") )
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest struct {
ID string `json:"id"`
Runtime string `json:"runtime"`
RuntimeVersion string `json:"runtime-version"`
SDK string `json:"sdk"`
Command string `json:"command"`
FinishArgs []string `json:"finish-args,omitempty"`
Modules []ManifestModule `json:"modules"`
}
Manifest is the Flatpak manifest written to disk.
type ManifestModule ¶
type ManifestModule struct {
Name string `json:"name"`
BuildSystem string `json:"buildsystem"`
BuildCommands []string `json:"build-commands"`
Sources []ManifestSource `json:"sources"`
}
ManifestModule is a module entry in the Flatpak manifest.
type ManifestSource ¶
type ManifestSource struct {
Type string `json:"type"`
Path string `json:"path"`
DestFilename string `json:"dest-filename,omitempty"`
}
ManifestSource is a source entry for a Flatpak module.
Click to show internal directories.
Click to hide internal directories.