Documentation
¶
Index ¶
- Constants
- func BashCompleteApps(c *cli.Context)
- func Create() cli.Command
- func CreateApp(a *fnclient.Fn, app *modelsv2.App) (*modelsv2.App, error)
- func Delete() cli.Command
- func GetAppByName(client *fnclient.Fn, appName string) (*modelsv2.App, error)
- func GetConfig() cli.Command
- func Inspect() cli.Command
- func List() cli.Command
- func ListConfig() cli.Command
- func PutApp(a *fnclient.Fn, appID string, app *modelsv2.App) (*modelsv2.App, error)
- func SetConfig() cli.Command
- func UnsetConfig() cli.Command
- func Update() cli.Command
- type NameNotFoundError
Constants ¶
View Source
const (
SHAPE_PARAMETER = "shape"
)
Variables ¶
This section is empty.
Functions ¶
func BashCompleteApps ¶
BashCompleteApps can be called from a BashComplete function to provide app completion suggestions (Does not check if the current context already contains an app name as an argument. This should be checked before calling this)
func GetAppByName ¶
GetAppByName looks up an app by name using the given client
Types ¶
type NameNotFoundError ¶
type NameNotFoundError struct {
Name string
}
NameNotFoundError error for app not found when looked up by name
func (NameNotFoundError) Error ¶
func (n NameNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.