Documentation ¶
Index ¶
- Variables
- func Build(i *objects.Instance)
- func Delete(i *objects.Instance)
- func Install(i *objects.Instance, bundlePath string, level string) error
- func Uninstall(i *objects.Instance)
- type Bundle
- func Get(i *objects.Instance, name string) (*Bundle, error)
- func List(i *objects.Instance) ([]*Bundle, error)
- func Search(i *objects.Instance, label string) (*Bundle, error)
- func Start(i *objects.Instance, bundle *Bundle) (*Bundle, error)
- func Stop(i *objects.Instance, bundle *Bundle) (*Bundle, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var BundleRawState = map[int]string{
0: "Unknown",
1: "Uninstalled",
2: "Installed",
4: "Resolved",
8: "Starting",
16: "Stopping",
32: "Active",
}
BundleRawState Bundles states from integer to string map
Functions ¶
Types ¶
type Bundle ¶
type Bundle struct { ID int `json:"id"` Name string `json:"name"` Fragment bool `json:"fragment"` StateRaw int `json:"stateRaw"` State string `json:"state"` Version string `json:"version"` SymbolicName string `json:"symbolicName"` Category string `json:"category"` }
Bundle OSGI bundle struct
Click to show internal directories.
Click to hide internal directories.