Documentation
¶
Index ¶
Constants ¶
View Source
const ( ComposeAppPath = "/etc/compose/manifests" EmbeddedComposeAppPath = "/usr/local/etc/compose/manifests" )
Variables ¶
This section is empty.
Functions ¶
func NewComposeID ¶ added in v0.6.0
NewComposeID generates a deterministic, lowercase, DNS-compatible ID with a fixed-length hash suffix.
Types ¶
type Action ¶
type Action struct {
// ID of the application
ID string
// Name of the application
Name string
// Environment variables to be passed to the manifest handler at runtime
EnvVars map[string]string
// Type of the action
Type ActionType
// AppType of the application
AppType v1alpha1.AppType
// Path to the application
Path string
// Embedded is true if the application is embedded in the device
Embedded bool
}
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.