function

package
v0.0.0-...-6a0ee39 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateCmd = &cobra.Command{
	Use:   "create",
	Short: "Create a function",
	Long:  "Create a function",
	Run:   Create,
}
View Source
var DeleteCmd = &cobra.Command{
	Use:     "delete",
	Aliases: []string{"del", "remove", "rm"},
	Short:   "Delete a function",
	Long:    "Delete a function",
	Run:     Delete,
}
View Source
var GetCmd = &cobra.Command{
	Use:   "get",
	Short: "Get a function source code",
	Long:  "Get a function source code",
	Run:   Get,
}
View Source
var ListCmd = &cobra.Command{
	Use:   "list",
	Short: "List functions",
	Long:  "List all functions in a namespace if specified, else, list functions in default namespace",
	Run:   List,
}
View Source
var TestCmd = &cobra.Command{
	Use:   "test",
	Short: "Test a function",
	Long:  "Test a function",
	Run:   Test,
}
View Source
var UpdateCmd = &cobra.Command{
	Use:   "update",
	Short: "Update a function",
	Long:  "Update a function",
	Run:   Update,
}

Functions

func Create

func Create(cmd *cobra.Command, args []string)

func Delete

func Delete(cmd *cobra.Command, args []string)

func Get

func Get(cmd *cobra.Command, args []string)

func List

func List(cmd *cobra.Command, args []string)

func Test

func Test(cmd *cobra.Command, args []string)

func Update

func Update(cmd *cobra.Command, args []string)

Types

type CreateFunction

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

type DeleteFunction

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

type GetFunction

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

type ListFunctions

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

type TestFunction

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

type UpdateFunction

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

Jump to

Keyboard shortcuts

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