Documentation
¶
Overview ¶
Package registry tracks the apps Skiff has deployed locally, in ~/.skiff/apps.json.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
Name string `json:"name"`
Container string `json:"container"` // representative replica (Replicas[0]), for status + back-compat
Port int `json:"port"` // port the app listens on inside the container
HostPort int `json:"hostPort"` // representative replica's published host port
Host string `json:"host,omitempty"` // remote ssh target ("" = local docker)
Replicas []Replica `json:"replicas,omitempty"` // every running container for the app
}
Click to show internal directories.
Click to hide internal directories.