app

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 EnsureAppID

func EnsureAppID(app string) (string, error)

EnsureAppID make sures `app` is id

func EnsureAppName added in v0.3.0

func EnsureAppName(app string) (string, error)

EnsureAppName make sures `app` is name

func GetAppURL added in v0.3.0

func GetAppURL(appName string) (string, error)

GetAppURL returns the full url of an app

func OpenAppDataView added in v0.3.0

func OpenAppDataView(app string) error

OpenAppDataView ...

func OpenAppQueryView added in v0.3.0

func OpenAppQueryView(app string) error

OpenAppQueryView ...

func RunAppCreate

func RunAppCreate(appName string, esVersion string, category string) error

RunAppCreate runs app create command

func RunAppDelete

func RunAppDelete(app string) error

RunAppDelete runs app create command

func ShowAppDetails

func ShowAppDetails(app string, perms bool, metrics bool) error

ShowAppDetails shows the app details

func ShowAppMetrics

func ShowAppMetrics(app string) error

ShowAppMetrics ...

func ShowAppPerms

func ShowAppPerms(app string) error

ShowAppPerms ...

func ShowUserApps

func ShowUserApps(sortOption string) error

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

func GetAppPerms

func GetAppPerms(app string) ([]Permission, error)

GetAppPerms ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL