Documentation ¶
Index ¶
- Variables
- func Create(cmd *cobra.Command, args []string)
- func Delete(cmd *cobra.Command, args []string)
- func Get(cmd *cobra.Command, args []string)
- func List(cmd *cobra.Command, args []string)
- func Test(cmd *cobra.Command, args []string)
- func Update(cmd *cobra.Command, args []string)
- type CreateFunction
- type DeleteFunction
- type GetFunction
- type ListFunctions
- type TestFunction
- type UpdateFunction
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 ¶
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
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.