forked from toolshed/abra
WIP: status lookup for apps listing
This commit is contained in:
@ -24,6 +24,10 @@ var REPOS_BASE_URL = "https://git.coopcloud.tech/coop-cloud"
|
||||
type AppEnv = map[string]string
|
||||
type AppName = string
|
||||
|
||||
type AppStatus struct {
|
||||
Deployed bool
|
||||
}
|
||||
|
||||
type App struct {
|
||||
Name AppName
|
||||
Type string
|
||||
@ -32,6 +36,10 @@ type App struct {
|
||||
File AppFile
|
||||
}
|
||||
|
||||
func (a App) GetStatus() (string, error) {
|
||||
return "unknown", nil
|
||||
}
|
||||
|
||||
type ByServer []App
|
||||
|
||||
func (a ByServer) Len() int { return len(a) }
|
||||
|
Reference in New Issue
Block a user