Documentation
¶
Index ¶
- Constants
- func ApplyGeneratedOCIParityAppFlags(c *cli.Context, app *modelsv2.App) error
- func ApplyGeneratedOCIParityAppListParams(c *cli.Context, params *apiapps.ListAppsParams)
- func BashCompleteApps(c *cli.Context)
- func ChangeCompartment() cli.Command
- func Create() cli.Command
- func CreateApp(a *fnclient.Fn, app *modelsv2.App) (*modelsv2.App, error)
- func CreateAppWithControl(a *fnclient.Fn, app *modelsv2.App, control common.OCIRequestControl) (*modelsv2.App, error)
- func Delete() cli.Command
- func GeneratedOCIParityCreateUpdateAppFlags() []cli.Flag
- func GeneratedOCIParityListAppFlags() []cli.Flag
- 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 PutAppWithControl(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 ApplyGeneratedOCIParityAppListParams ¶
func ApplyGeneratedOCIParityAppListParams(c *cli.Context, params *apiapps.ListAppsParams)
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 CreateAppWithControl ¶
func GetAppByName ¶
GetAppByName looks up an app by name using the given client
func PutAppWithControl ¶
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.