Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-29 13:41:36 +00:00
parent 8561aa8205
commit 27e13d2b6c
76 changed files with 1224 additions and 890 deletions

View File

@@ -4,6 +4,18 @@ import (
"go.m3o.com/client"
)
type Function interface {
Call(*CallRequest) (*CallResponse, error)
Delete(*DeleteRequest) (*DeleteResponse, error)
Deploy(*DeployRequest) (*DeployResponse, error)
Describe(*DescribeRequest) (*DescribeResponse, error)
List(*ListRequest) (*ListResponse, error)
Proxy(*ProxyRequest) (*ProxyResponse, error)
Regions(*RegionsRequest) (*RegionsResponse, error)
Reserve(*ReserveRequest) (*ReserveResponse, error)
Update(*UpdateRequest) (*UpdateResponse, error)
}
func NewFunctionService(token string) *FunctionService {
return &FunctionService{
client: client.NewClient(&client.Options{