Documentation
¶
Index ¶
Constants ¶
View Source
const ( ComposeAppPath = "/etc/compose/manifests" EmbeddedComposeAppPath = "/usr/local/etc/compose/manifests" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
// Name of the application
Name string
// Environment variables to be passed to the manifest handler at runtime
EnvVars map[string]string
// Manifest handler to be used
Handler ActionHandlerType
// Manifest action to be executed
Type ActionType
// Embedded is true if the application is embedded in the device
Embedded bool
}
func (*Action) ApplicationPath ¶
ApplicationPath returns the path to the application on the device
type ActionHandler ¶
type ActionHandlerType ¶
type ActionHandlerType string
const (
ActionHandlerCompose ActionHandlerType = "compose"
)
type ActionType ¶
type ActionType string
const ( ActionAdd ActionType = "add" ActionRemove ActionType = "remove" ActionUpdate ActionType = "update" )
Click to show internal directories.
Click to hide internal directories.