Documentation ¶
Index ¶
- Variables
- func EnsureAppID(app string) (string, error)
- func EnsureAppName(app string) (string, error)
- func GetAppURL(appName string) (string, error)
- func OpenAppDataView(app string) error
- func OpenAppQueryView(app string) error
- func RunAppCreate(appName string, esVersion string, category string) error
- func RunAppDelete(app string) error
- func ShowAppDetails(app string, perms bool, metrics bool) error
- func ShowAppMetrics(app string) error
- func ShowAppPerms(app string) error
- func ShowUserApps(sortOption string) error
- type Permission
Constants ¶
This section is empty.
Variables ¶
View Source
var SortOptions = []string{"id", "name", "api-calls", "records", "storage"}
SortOptions holds the list of valid sort options
Functions ¶
func EnsureAppName ¶ added in v0.3.0
EnsureAppName make sures `app` is name
func OpenAppQueryView ¶ added in v0.3.0
OpenAppQueryView ...
func RunAppCreate ¶
RunAppCreate runs app create command
func ShowAppDetails ¶
ShowAppDetails shows the app details
func ShowUserApps ¶
ShowUserApps shows the list of user apps
Types ¶
type Permission ¶
type Permission struct { Description string `json:"description"` Username string `json:"username"` Password string `json:"password"` }
Permission represents an app permission object
Click to show internal directories.
Click to hide internal directories.