Documentation
¶
Index ¶
- type ApiClient
- func (c *ApiClient) CreateFunction(functionName, filePath, handler, runtime string) (*models.Function, error)
- func (c *ApiClient) DeleteFunction(functionName string) (*models.Function, error)
- func (c *ApiClient) InvokeFunction(functionName string, payload map[string]interface{}) (*models.InvokeResponse, error)
- func (c *ApiClient) ListFunctions() (*[]models.Function, error)
- func (c *ApiClient) UploadCode(filePath string) (*models.UploadResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
type ApiClient struct {
BaseUrl string
}
func (*ApiClient) CreateFunction ¶
func (*ApiClient) DeleteFunction ¶
func (*ApiClient) InvokeFunction ¶
func (*ApiClient) UploadCode ¶
func (c *ApiClient) UploadCode(filePath string) (*models.UploadResponse, error)
Click to show internal directories.
Click to hide internal directories.