app

package
v0.0.0-...-706a057 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create() cli.Command

Create app command

func CreateApp

func CreateApp(a *fnclient.Fn, app *modelsv2.App) error

CreateApp creates a new app using the given client

func Delete

func Delete() cli.Command

Delete app command

func GetAppByName

func GetAppByName(client *fnclient.Fn, appName string) (*modelsv2.App, error)

GetAppByName looks up an app by name using the given client

func GetConfig

func GetConfig() cli.Command

GetConfig for function command

func Inspect

func Inspect() cli.Command

Inspect app command

func List

func List() cli.Command

List apps command

func ListConfig

func ListConfig() cli.Command

ListConfig for app command

func PutApp

func PutApp(a *fnclient.Fn, appID string, app *modelsv2.App) error

PutApp updates the app with the given ID using the content of the provided app

func SetConfig

func SetConfig() cli.Command

SetConfig for function command

func UnsetConfig

func UnsetConfig() cli.Command

UnsetConfig for app command

func Update

func Update() cli.Command

Update app command

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

Jump to

Keyboard shortcuts

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