function

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandMetaRun = cli.CommandMeta{
	Use:         "run",
	Description: "Run a Function from your Realm app",
	HelpText: `Realm Functions allow you to define and execute server-side logic for your Realm
app. Once you select and run a Function for your Realm app, the following will
be displayed:
  - A list of logs, if present
  - The function result as a document
  - A list of error logs, if present`,
}

CommandMetaRun is the command meta for the `function run` command

Functions

This section is empty.

Types

type CommandRun

type CommandRun struct {
	// contains filtered or unexported fields
}

CommandRun is the `function run` command

func (*CommandRun) Flags

func (cmd *CommandRun) Flags(fs *pflag.FlagSet)

Flags is the command flags

func (*CommandRun) Handler

func (cmd *CommandRun) Handler(profile *user.Profile, ui terminal.UI, clients cli.Clients) error

Handler is the command handler

func (*CommandRun) Inputs

func (cmd *CommandRun) Inputs() cli.InputResolver

Inputs is the command inputs

Jump to

Keyboard shortcuts

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