{"modulePath":"github.com/aziontech/azion-cli","version":"v0.0.0-20261203171842-67d043fbe18b","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package edgefunction\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewClient(c *http.Client, url string, token string) *Client\n```\n\n```go\nfunc (c *Client) Create(ctx context.Context, req *CreateRequest) (EdgeFunctionResponse, error)\n```\n\n```go\nfunc (c *Client) Delete(ctx context.Context, id int64) error\n```\n\n```go\nfunc (c *Client) Get(ctx context.Context, id int64) (EdgeFunctionResponse, error)\n```\n\n```go\nfunc (c *Client) List(ctx context.Context, opts *contracts.ListOptions) (*sdk.ListEdgeFunctionResponse, error)\n```\n\n```go\nfunc (c *Client) Update(ctx context.Context, req *UpdateRequest, id int64) (EdgeFunctionResponse, error)\n```\n\n```go\ntype CreateRequest struct {\n\tsdk.CreateEdgeFunctionRequest\n}\n```\n\n```go\nfunc NewCreateRequest() *CreateRequest\n```\n\n```go\ntype EdgeFunctionResponse interface {\n\tGetId() int64\n\tGetName() string\n\tGetActive() bool\n\tGetLanguage() string\n\tGetReferenceCount() int64\n\tGetModified() string\n\tGetInitiatorType() string\n\tGetLastEditor() string\n\tGetFunctionToRun() string\n\tGetJsonArgs() interface{}\n\tGetCode() string\n}\n```\n\n```go\ntype UpdateRequest struct {\n\tsdk.PatchEdgeFunctionRequest\n}\n```\n\n```go\nfunc NewUpdateRequest() *UpdateRequest\n```\n\n","path":"github.com/aziontech/azion-cli/pkg/api/v3/edge_function","name":"edgefunction","synopsis":"","isRedistributable":true}
