{"modulePath":"github.com/aziontech/azion-cli","version":"v0.0.0-20261201162454-059d9f209f85","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package function\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) (sdk.Functions, 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) (sdk.Functions, error)\n```\n\n```go\nfunc (c *Client) List(ctx context.Context, opts *contracts.ListOptions) (*sdk.PaginatedEdgeFunctionList, error)\n```\n\n```go\nfunc (c *Client) Update(ctx context.Context, req *UpdateRequest, id int64) (sdk.Functions, error)\n```\n\n```go\ntype CreateRequest struct {\n\tsdk.FunctionsRequest\n}\n```\n\n```go\nfunc NewCreateRequest() *CreateRequest\n```\n\n```go\ntype UpdateRequest struct {\n\tsdk.PatchedFunctionsRequest\n}\n```\n\n```go\nfunc NewUpdateRequest() *UpdateRequest\n```\n\n","path":"github.com/aziontech/azion-cli/pkg/api/function","name":"function","synopsis":"","isRedistributable":true}
