Documentation ¶
Index ¶
- func FunctionGraphClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAsyncInvokeFunction() *def.HttpRequestDef
- func GenReqDefForAsyncInvokeReservedFunction() *def.HttpRequestDef
- func GenReqDefForBatchDeleteFunctionTriggers() *def.HttpRequestDef
- func GenReqDefForBatchDeleteWorkflows() *def.HttpRequestDef
- func GenReqDefForCreateDependency() *def.HttpRequestDef
- func GenReqDefForCreateEvent() *def.HttpRequestDef
- func GenReqDefForCreateFunction() *def.HttpRequestDef
- func GenReqDefForCreateFunctionTrigger() *def.HttpRequestDef
- func GenReqDefForCreateFunctionVersion() *def.HttpRequestDef
- func GenReqDefForCreateVersionAlias() *def.HttpRequestDef
- func GenReqDefForCreateWorkflow() *def.HttpRequestDef
- func GenReqDefForDeleteDependency() *def.HttpRequestDef
- func GenReqDefForDeleteEvent() *def.HttpRequestDef
- func GenReqDefForDeleteFunction() *def.HttpRequestDef
- func GenReqDefForDeleteFunctionAsyncInvokeConfig() *def.HttpRequestDef
- func GenReqDefForDeleteFunctionTrigger() *def.HttpRequestDef
- func GenReqDefForDeleteVersionAlias() *def.HttpRequestDef
- func GenReqDefForEnableLtsLogs() *def.HttpRequestDef
- func GenReqDefForExportFunction() *def.HttpRequestDef
- func GenReqDefForImportFunction() *def.HttpRequestDef
- func GenReqDefForInvokeFunction() *def.HttpRequestDef
- func GenReqDefForListDependencies() *def.HttpRequestDef
- func GenReqDefForListEvents() *def.HttpRequestDef
- func GenReqDefForListFunctionAsyncInvocations() *def.HttpRequestDef
- func GenReqDefForListFunctionAsyncInvokeConfig() *def.HttpRequestDef
- func GenReqDefForListFunctionStatistics() *def.HttpRequestDef
- func GenReqDefForListFunctionTriggers() *def.HttpRequestDef
- func GenReqDefForListFunctionVersions() *def.HttpRequestDef
- func GenReqDefForListFunctions() *def.HttpRequestDef
- func GenReqDefForListQuotas() *def.HttpRequestDef
- func GenReqDefForListStatistics() *def.HttpRequestDef
- func GenReqDefForListVersionAliases() *def.HttpRequestDef
- func GenReqDefForListWorkflowExecutions() *def.HttpRequestDef
- func GenReqDefForListWorkflows() *def.HttpRequestDef
- func GenReqDefForRetryWorkFlow() *def.HttpRequestDef
- func GenReqDefForShowDependency() *def.HttpRequestDef
- func GenReqDefForShowEvent() *def.HttpRequestDef
- func GenReqDefForShowFunctionAsyncInvokeConfig() *def.HttpRequestDef
- func GenReqDefForShowFunctionCode() *def.HttpRequestDef
- func GenReqDefForShowFunctionConfig() *def.HttpRequestDef
- func GenReqDefForShowFunctionTrigger() *def.HttpRequestDef
- func GenReqDefForShowLtsLogDetails() *def.HttpRequestDef
- func GenReqDefForShowTenantMetric() *def.HttpRequestDef
- func GenReqDefForShowTracing() *def.HttpRequestDef
- func GenReqDefForShowVersionAlias() *def.HttpRequestDef
- func GenReqDefForShowWorkFlow() *def.HttpRequestDef
- func GenReqDefForShowWorkFlowMetric() *def.HttpRequestDef
- func GenReqDefForShowWorkflowExecution() *def.HttpRequestDef
- func GenReqDefForStartWorkflowExecution() *def.HttpRequestDef
- func GenReqDefForStopWorkFlow() *def.HttpRequestDef
- func GenReqDefForUpdateDependency() *def.HttpRequestDef
- func GenReqDefForUpdateEvent() *def.HttpRequestDef
- func GenReqDefForUpdateFunctionAsyncInvokeConfig() *def.HttpRequestDef
- func GenReqDefForUpdateFunctionCode() *def.HttpRequestDef
- func GenReqDefForUpdateFunctionConfig() *def.HttpRequestDef
- func GenReqDefForUpdateFunctionReservedInstances() *def.HttpRequestDef
- func GenReqDefForUpdateTracing() *def.HttpRequestDef
- func GenReqDefForUpdateTrigger() *def.HttpRequestDef
- func GenReqDefForUpdateVersionAlias() *def.HttpRequestDef
- func GenReqDefForUpdateWorkFlow() *def.HttpRequestDef
- type FunctionGraphClient
- func (c *FunctionGraphClient) AsyncInvokeFunction(request *model.AsyncInvokeFunctionRequest) (*model.AsyncInvokeFunctionResponse, error)
- func (c *FunctionGraphClient) AsyncInvokeReservedFunction(request *model.AsyncInvokeReservedFunctionRequest) (*model.AsyncInvokeReservedFunctionResponse, error)
- func (c *FunctionGraphClient) BatchDeleteFunctionTriggers(request *model.BatchDeleteFunctionTriggersRequest) (*model.BatchDeleteFunctionTriggersResponse, error)
- func (c *FunctionGraphClient) BatchDeleteWorkflows(request *model.BatchDeleteWorkflowsRequest) (*model.BatchDeleteWorkflowsResponse, error)
- func (c *FunctionGraphClient) CreateDependency(request *model.CreateDependencyRequest) (*model.CreateDependencyResponse, error)
- func (c *FunctionGraphClient) CreateEvent(request *model.CreateEventRequest) (*model.CreateEventResponse, error)
- func (c *FunctionGraphClient) CreateFunction(request *model.CreateFunctionRequest) (*model.CreateFunctionResponse, error)
- func (c *FunctionGraphClient) CreateFunctionTrigger(request *model.CreateFunctionTriggerRequest) (*model.CreateFunctionTriggerResponse, error)
- func (c *FunctionGraphClient) CreateFunctionVersion(request *model.CreateFunctionVersionRequest) (*model.CreateFunctionVersionResponse, error)
- func (c *FunctionGraphClient) CreateVersionAlias(request *model.CreateVersionAliasRequest) (*model.CreateVersionAliasResponse, error)
- func (c *FunctionGraphClient) CreateWorkflow(request *model.CreateWorkflowRequest) (*model.CreateWorkflowResponse, error)
- func (c *FunctionGraphClient) DeleteDependency(request *model.DeleteDependencyRequest) (*model.DeleteDependencyResponse, error)
- func (c *FunctionGraphClient) DeleteEvent(request *model.DeleteEventRequest) (*model.DeleteEventResponse, error)
- func (c *FunctionGraphClient) DeleteFunction(request *model.DeleteFunctionRequest) (*model.DeleteFunctionResponse, error)
- func (c *FunctionGraphClient) DeleteFunctionAsyncInvokeConfig(request *model.DeleteFunctionAsyncInvokeConfigRequest) (*model.DeleteFunctionAsyncInvokeConfigResponse, error)
- func (c *FunctionGraphClient) DeleteFunctionTrigger(request *model.DeleteFunctionTriggerRequest) (*model.DeleteFunctionTriggerResponse, error)
- func (c *FunctionGraphClient) DeleteVersionAlias(request *model.DeleteVersionAliasRequest) (*model.DeleteVersionAliasResponse, error)
- func (c *FunctionGraphClient) EnableLtsLogs(request *model.EnableLtsLogsRequest) (*model.EnableLtsLogsResponse, error)
- func (c *FunctionGraphClient) ExportFunction(request *model.ExportFunctionRequest) (*model.ExportFunctionResponse, error)
- func (c *FunctionGraphClient) ImportFunction(request *model.ImportFunctionRequest) (*model.ImportFunctionResponse, error)
- func (c *FunctionGraphClient) InvokeFunction(request *model.InvokeFunctionRequest) (*model.InvokeFunctionResponse, error)
- func (c *FunctionGraphClient) ListDependencies(request *model.ListDependenciesRequest) (*model.ListDependenciesResponse, error)
- func (c *FunctionGraphClient) ListEvents(request *model.ListEventsRequest) (*model.ListEventsResponse, error)
- func (c *FunctionGraphClient) ListFunctionAsyncInvocations(request *model.ListFunctionAsyncInvocationsRequest) (*model.ListFunctionAsyncInvocationsResponse, error)
- func (c *FunctionGraphClient) ListFunctionAsyncInvokeConfig(request *model.ListFunctionAsyncInvokeConfigRequest) (*model.ListFunctionAsyncInvokeConfigResponse, error)
- func (c *FunctionGraphClient) ListFunctionStatistics(request *model.ListFunctionStatisticsRequest) (*model.ListFunctionStatisticsResponse, error)
- func (c *FunctionGraphClient) ListFunctionTriggers(request *model.ListFunctionTriggersRequest) (*model.ListFunctionTriggersResponse, error)
- func (c *FunctionGraphClient) ListFunctionVersions(request *model.ListFunctionVersionsRequest) (*model.ListFunctionVersionsResponse, error)
- func (c *FunctionGraphClient) ListFunctions(request *model.ListFunctionsRequest) (*model.ListFunctionsResponse, error)
- func (c *FunctionGraphClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
- func (c *FunctionGraphClient) ListStatistics(request *model.ListStatisticsRequest) (*model.ListStatisticsResponse, error)
- func (c *FunctionGraphClient) ListVersionAliases(request *model.ListVersionAliasesRequest) (*model.ListVersionAliasesResponse, error)
- func (c *FunctionGraphClient) ListWorkflowExecutions(request *model.ListWorkflowExecutionsRequest) (*model.ListWorkflowExecutionsResponse, error)
- func (c *FunctionGraphClient) ListWorkflows(request *model.ListWorkflowsRequest) (*model.ListWorkflowsResponse, error)
- func (c *FunctionGraphClient) RetryWorkFlow(request *model.RetryWorkFlowRequest) (*model.RetryWorkFlowResponse, error)
- func (c *FunctionGraphClient) ShowDependency(request *model.ShowDependencyRequest) (*model.ShowDependencyResponse, error)
- func (c *FunctionGraphClient) ShowEvent(request *model.ShowEventRequest) (*model.ShowEventResponse, error)
- func (c *FunctionGraphClient) ShowFunctionAsyncInvokeConfig(request *model.ShowFunctionAsyncInvokeConfigRequest) (*model.ShowFunctionAsyncInvokeConfigResponse, error)
- func (c *FunctionGraphClient) ShowFunctionCode(request *model.ShowFunctionCodeRequest) (*model.ShowFunctionCodeResponse, error)
- func (c *FunctionGraphClient) ShowFunctionConfig(request *model.ShowFunctionConfigRequest) (*model.ShowFunctionConfigResponse, error)
- func (c *FunctionGraphClient) ShowFunctionTrigger(request *model.ShowFunctionTriggerRequest) (*model.ShowFunctionTriggerResponse, error)
- func (c *FunctionGraphClient) ShowLtsLogDetails(request *model.ShowLtsLogDetailsRequest) (*model.ShowLtsLogDetailsResponse, error)
- func (c *FunctionGraphClient) ShowTenantMetric(request *model.ShowTenantMetricRequest) (*model.ShowTenantMetricResponse, error)
- func (c *FunctionGraphClient) ShowTracing(request *model.ShowTracingRequest) (*model.ShowTracingResponse, error)
- func (c *FunctionGraphClient) ShowVersionAlias(request *model.ShowVersionAliasRequest) (*model.ShowVersionAliasResponse, error)
- func (c *FunctionGraphClient) ShowWorkFlow(request *model.ShowWorkFlowRequest) (*model.ShowWorkFlowResponse, error)
- func (c *FunctionGraphClient) ShowWorkFlowMetric(request *model.ShowWorkFlowMetricRequest) (*model.ShowWorkFlowMetricResponse, error)
- func (c *FunctionGraphClient) ShowWorkflowExecution(request *model.ShowWorkflowExecutionRequest) (*model.ShowWorkflowExecutionResponse, error)
- func (c *FunctionGraphClient) StartWorkflowExecution(request *model.StartWorkflowExecutionRequest) (*model.StartWorkflowExecutionResponse, error)
- func (c *FunctionGraphClient) StopWorkFlow(request *model.StopWorkFlowRequest) (*model.StopWorkFlowResponse, error)
- func (c *FunctionGraphClient) UpdateDependency(request *model.UpdateDependencyRequest) (*model.UpdateDependencyResponse, error)
- func (c *FunctionGraphClient) UpdateEvent(request *model.UpdateEventRequest) (*model.UpdateEventResponse, error)
- func (c *FunctionGraphClient) UpdateFunctionAsyncInvokeConfig(request *model.UpdateFunctionAsyncInvokeConfigRequest) (*model.UpdateFunctionAsyncInvokeConfigResponse, error)
- func (c *FunctionGraphClient) UpdateFunctionCode(request *model.UpdateFunctionCodeRequest) (*model.UpdateFunctionCodeResponse, error)
- func (c *FunctionGraphClient) UpdateFunctionConfig(request *model.UpdateFunctionConfigRequest) (*model.UpdateFunctionConfigResponse, error)
- func (c *FunctionGraphClient) UpdateFunctionReservedInstances(request *model.UpdateFunctionReservedInstancesRequest) (*model.UpdateFunctionReservedInstancesResponse, error)
- func (c *FunctionGraphClient) UpdateTracing(request *model.UpdateTracingRequest) (*model.UpdateTracingResponse, error)
- func (c *FunctionGraphClient) UpdateTrigger(request *model.UpdateTriggerRequest) (*model.UpdateTriggerResponse, error)
- func (c *FunctionGraphClient) UpdateVersionAlias(request *model.UpdateVersionAliasRequest) (*model.UpdateVersionAliasResponse, error)
- func (c *FunctionGraphClient) UpdateWorkFlow(request *model.UpdateWorkFlowRequest) (*model.UpdateWorkFlowResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FunctionGraphClientBuilder ¶
func FunctionGraphClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForAsyncInvokeFunction ¶
func GenReqDefForAsyncInvokeFunction() *def.HttpRequestDef
func GenReqDefForAsyncInvokeReservedFunction ¶ added in v0.0.47
func GenReqDefForAsyncInvokeReservedFunction() *def.HttpRequestDef
func GenReqDefForBatchDeleteFunctionTriggers ¶
func GenReqDefForBatchDeleteFunctionTriggers() *def.HttpRequestDef
func GenReqDefForBatchDeleteWorkflows ¶ added in v0.0.81
func GenReqDefForBatchDeleteWorkflows() *def.HttpRequestDef
func GenReqDefForCreateDependency ¶
func GenReqDefForCreateDependency() *def.HttpRequestDef
func GenReqDefForCreateEvent ¶
func GenReqDefForCreateEvent() *def.HttpRequestDef
func GenReqDefForCreateFunction ¶
func GenReqDefForCreateFunction() *def.HttpRequestDef
func GenReqDefForCreateFunctionTrigger ¶
func GenReqDefForCreateFunctionTrigger() *def.HttpRequestDef
func GenReqDefForCreateFunctionVersion ¶
func GenReqDefForCreateFunctionVersion() *def.HttpRequestDef
func GenReqDefForCreateVersionAlias ¶
func GenReqDefForCreateVersionAlias() *def.HttpRequestDef
func GenReqDefForCreateWorkflow ¶ added in v0.0.81
func GenReqDefForCreateWorkflow() *def.HttpRequestDef
func GenReqDefForDeleteDependency ¶
func GenReqDefForDeleteDependency() *def.HttpRequestDef
func GenReqDefForDeleteEvent ¶
func GenReqDefForDeleteEvent() *def.HttpRequestDef
func GenReqDefForDeleteFunction ¶
func GenReqDefForDeleteFunction() *def.HttpRequestDef
func GenReqDefForDeleteFunctionAsyncInvokeConfig ¶
func GenReqDefForDeleteFunctionAsyncInvokeConfig() *def.HttpRequestDef
func GenReqDefForDeleteFunctionTrigger ¶
func GenReqDefForDeleteFunctionTrigger() *def.HttpRequestDef
func GenReqDefForDeleteVersionAlias ¶
func GenReqDefForDeleteVersionAlias() *def.HttpRequestDef
func GenReqDefForEnableLtsLogs ¶ added in v0.0.53
func GenReqDefForEnableLtsLogs() *def.HttpRequestDef
func GenReqDefForExportFunction ¶ added in v0.0.47
func GenReqDefForExportFunction() *def.HttpRequestDef
func GenReqDefForImportFunction ¶ added in v0.0.47
func GenReqDefForImportFunction() *def.HttpRequestDef
func GenReqDefForInvokeFunction ¶
func GenReqDefForInvokeFunction() *def.HttpRequestDef
func GenReqDefForListDependencies ¶
func GenReqDefForListDependencies() *def.HttpRequestDef
func GenReqDefForListEvents ¶
func GenReqDefForListEvents() *def.HttpRequestDef
func GenReqDefForListFunctionAsyncInvocations ¶ added in v0.0.75
func GenReqDefForListFunctionAsyncInvocations() *def.HttpRequestDef
func GenReqDefForListFunctionAsyncInvokeConfig ¶
func GenReqDefForListFunctionAsyncInvokeConfig() *def.HttpRequestDef
func GenReqDefForListFunctionStatistics ¶
func GenReqDefForListFunctionStatistics() *def.HttpRequestDef
func GenReqDefForListFunctionTriggers ¶
func GenReqDefForListFunctionTriggers() *def.HttpRequestDef
func GenReqDefForListFunctionVersions ¶
func GenReqDefForListFunctionVersions() *def.HttpRequestDef
func GenReqDefForListFunctions ¶
func GenReqDefForListFunctions() *def.HttpRequestDef
func GenReqDefForListQuotas ¶
func GenReqDefForListQuotas() *def.HttpRequestDef
func GenReqDefForListStatistics ¶
func GenReqDefForListStatistics() *def.HttpRequestDef
func GenReqDefForListVersionAliases ¶
func GenReqDefForListVersionAliases() *def.HttpRequestDef
func GenReqDefForListWorkflowExecutions ¶ added in v0.0.81
func GenReqDefForListWorkflowExecutions() *def.HttpRequestDef
func GenReqDefForListWorkflows ¶ added in v0.0.81
func GenReqDefForListWorkflows() *def.HttpRequestDef
func GenReqDefForRetryWorkFlow ¶ added in v0.0.81
func GenReqDefForRetryWorkFlow() *def.HttpRequestDef
func GenReqDefForShowDependency ¶
func GenReqDefForShowDependency() *def.HttpRequestDef
func GenReqDefForShowEvent ¶
func GenReqDefForShowEvent() *def.HttpRequestDef
func GenReqDefForShowFunctionAsyncInvokeConfig ¶
func GenReqDefForShowFunctionAsyncInvokeConfig() *def.HttpRequestDef
func GenReqDefForShowFunctionCode ¶
func GenReqDefForShowFunctionCode() *def.HttpRequestDef
func GenReqDefForShowFunctionConfig ¶
func GenReqDefForShowFunctionConfig() *def.HttpRequestDef
func GenReqDefForShowFunctionTrigger ¶
func GenReqDefForShowFunctionTrigger() *def.HttpRequestDef
func GenReqDefForShowLtsLogDetails ¶ added in v0.0.53
func GenReqDefForShowLtsLogDetails() *def.HttpRequestDef
func GenReqDefForShowTenantMetric ¶ added in v0.0.81
func GenReqDefForShowTenantMetric() *def.HttpRequestDef
func GenReqDefForShowTracing ¶ added in v0.0.68
func GenReqDefForShowTracing() *def.HttpRequestDef
func GenReqDefForShowVersionAlias ¶
func GenReqDefForShowVersionAlias() *def.HttpRequestDef
func GenReqDefForShowWorkFlow ¶ added in v0.0.81
func GenReqDefForShowWorkFlow() *def.HttpRequestDef
func GenReqDefForShowWorkFlowMetric ¶ added in v0.0.81
func GenReqDefForShowWorkFlowMetric() *def.HttpRequestDef
func GenReqDefForShowWorkflowExecution ¶ added in v0.0.81
func GenReqDefForShowWorkflowExecution() *def.HttpRequestDef
func GenReqDefForStartWorkflowExecution ¶ added in v0.0.81
func GenReqDefForStartWorkflowExecution() *def.HttpRequestDef
func GenReqDefForStopWorkFlow ¶ added in v0.0.81
func GenReqDefForStopWorkFlow() *def.HttpRequestDef
func GenReqDefForUpdateDependency ¶
func GenReqDefForUpdateDependency() *def.HttpRequestDef
func GenReqDefForUpdateEvent ¶
func GenReqDefForUpdateEvent() *def.HttpRequestDef
func GenReqDefForUpdateFunctionAsyncInvokeConfig ¶
func GenReqDefForUpdateFunctionAsyncInvokeConfig() *def.HttpRequestDef
func GenReqDefForUpdateFunctionCode ¶
func GenReqDefForUpdateFunctionCode() *def.HttpRequestDef
func GenReqDefForUpdateFunctionConfig ¶
func GenReqDefForUpdateFunctionConfig() *def.HttpRequestDef
func GenReqDefForUpdateFunctionReservedInstances ¶
func GenReqDefForUpdateFunctionReservedInstances() *def.HttpRequestDef
func GenReqDefForUpdateTracing ¶ added in v0.0.68
func GenReqDefForUpdateTracing() *def.HttpRequestDef
func GenReqDefForUpdateTrigger ¶
func GenReqDefForUpdateTrigger() *def.HttpRequestDef
func GenReqDefForUpdateVersionAlias ¶
func GenReqDefForUpdateVersionAlias() *def.HttpRequestDef
func GenReqDefForUpdateWorkFlow ¶ added in v0.0.81
func GenReqDefForUpdateWorkFlow() *def.HttpRequestDef
Types ¶
type FunctionGraphClient ¶
type FunctionGraphClient struct {
HcClient *http_client.HcHttpClient
}
func NewFunctionGraphClient ¶
func NewFunctionGraphClient(hcClient *http_client.HcHttpClient) *FunctionGraphClient
func (*FunctionGraphClient) AsyncInvokeFunction ¶
func (c *FunctionGraphClient) AsyncInvokeFunction(request *model.AsyncInvokeFunctionRequest) (*model.AsyncInvokeFunctionResponse, error)
异步执行函数。
func (*FunctionGraphClient) AsyncInvokeReservedFunction ¶ added in v0.0.47
func (c *FunctionGraphClient) AsyncInvokeReservedFunction(request *model.AsyncInvokeReservedFunctionRequest) (*model.AsyncInvokeReservedFunctionResponse, error)
函数异步执行并返回预留实例ID用于场景指客户端请求执行比较费时任务,不需要同步等待执行完成返回结果,该方法提前返回任务执行对应的预留实例ID, 如果预留实例有异常, 可以通过该实例ID把对应实例删除(该接口主要针对白名单用户)。
func (*FunctionGraphClient) BatchDeleteFunctionTriggers ¶
func (c *FunctionGraphClient) BatchDeleteFunctionTriggers(request *model.BatchDeleteFunctionTriggersRequest) (*model.BatchDeleteFunctionTriggersResponse, error)
删除指定函数所有触发器设置。 在提供函数版本且非latest的情况下,删除对应函数版本的触发器。 在提供函数别名的情况下,删除对应函数别名的触发器。 在不提供函数版本(也不提供别名)或版本为latest的情况下,删除该函数所有的触发器(包括所有版本和别名)。
func (*FunctionGraphClient) BatchDeleteWorkflows ¶ added in v0.0.81
func (c *FunctionGraphClient) BatchDeleteWorkflows(request *model.BatchDeleteWorkflowsRequest) (*model.BatchDeleteWorkflowsResponse, error)
删除工作流列表
func (*FunctionGraphClient) CreateDependency ¶
func (c *FunctionGraphClient) CreateDependency(request *model.CreateDependencyRequest) (*model.CreateDependencyResponse, error)
创建依赖包。
func (*FunctionGraphClient) CreateEvent ¶
func (c *FunctionGraphClient) CreateEvent(request *model.CreateEventRequest) (*model.CreateEventResponse, error)
创建测试事件。
func (*FunctionGraphClient) CreateFunction ¶
func (c *FunctionGraphClient) CreateFunction(request *model.CreateFunctionRequest) (*model.CreateFunctionResponse, error)
创建指定的函数。
func (*FunctionGraphClient) CreateFunctionTrigger ¶
func (c *FunctionGraphClient) CreateFunctionTrigger(request *model.CreateFunctionTriggerRequest) (*model.CreateFunctionTriggerResponse, error)
创建触发器。 - 可以创建的触发器类型包括TIMER、APIG、CTS、DDS、DMS、DIS、LTS、OBS、SMN、KAFKA。 - DDS和KAFKA触发器创建时默认为DISABLED状态,其他触发器默认为ACTIVE状态。 - TIMER、DDS、DMS、KAFKA、LTS触发器支持禁用,其他触发器不支持。
func (*FunctionGraphClient) CreateFunctionVersion ¶
func (c *FunctionGraphClient) CreateFunctionVersion(request *model.CreateFunctionVersionRequest) (*model.CreateFunctionVersionResponse, error)
发布函数版本。
func (*FunctionGraphClient) CreateVersionAlias ¶
func (c *FunctionGraphClient) CreateVersionAlias(request *model.CreateVersionAliasRequest) (*model.CreateVersionAliasResponse, error)
创建函数灰度版本别名。
func (*FunctionGraphClient) CreateWorkflow ¶ added in v0.0.81
func (c *FunctionGraphClient) CreateWorkflow(request *model.CreateWorkflowRequest) (*model.CreateWorkflowResponse, error)
创建工作流列表
func (*FunctionGraphClient) DeleteDependency ¶
func (c *FunctionGraphClient) DeleteDependency(request *model.DeleteDependencyRequest) (*model.DeleteDependencyResponse, error)
删除指定的依赖包。
func (*FunctionGraphClient) DeleteEvent ¶
func (c *FunctionGraphClient) DeleteEvent(request *model.DeleteEventRequest) (*model.DeleteEventResponse, error)
删除测试事件。
func (*FunctionGraphClient) DeleteFunction ¶
func (c *FunctionGraphClient) DeleteFunction(request *model.DeleteFunctionRequest) (*model.DeleteFunctionResponse, error)
删除指定的函数或者特定的版本(不允许删除latest版本)。 如果URN中包含函数版本或者别名,则删除特定的函数版本或者别名指向的版本以及该版本关联的trigger。 如果URN中不包含版本或者别名,则删除整个函数,包含所有版本以及别名,触发器。
func (*FunctionGraphClient) DeleteFunctionAsyncInvokeConfig ¶
func (c *FunctionGraphClient) DeleteFunctionAsyncInvokeConfig(request *model.DeleteFunctionAsyncInvokeConfigRequest) (*model.DeleteFunctionAsyncInvokeConfigResponse, error)
删除函数异步配置信息。
func (*FunctionGraphClient) DeleteFunctionTrigger ¶
func (c *FunctionGraphClient) DeleteFunctionTrigger(request *model.DeleteFunctionTriggerRequest) (*model.DeleteFunctionTriggerResponse, error)
删除触发器。
func (*FunctionGraphClient) DeleteVersionAlias ¶
func (c *FunctionGraphClient) DeleteVersionAlias(request *model.DeleteVersionAliasRequest) (*model.DeleteVersionAliasResponse, error)
删除函数版本别名。
func (*FunctionGraphClient) EnableLtsLogs ¶ added in v0.0.53
func (c *FunctionGraphClient) EnableLtsLogs(request *model.EnableLtsLogsRequest) (*model.EnableLtsLogsResponse, error)
开通lts日志上报功能。
func (*FunctionGraphClient) ExportFunction ¶ added in v0.0.47
func (c *FunctionGraphClient) ExportFunction(request *model.ExportFunctionRequest) (*model.ExportFunctionResponse, error)
导出函数。
func (*FunctionGraphClient) ImportFunction ¶ added in v0.0.47
func (c *FunctionGraphClient) ImportFunction(request *model.ImportFunctionRequest) (*model.ImportFunctionResponse, error)
导入函数。
func (*FunctionGraphClient) InvokeFunction ¶
func (c *FunctionGraphClient) InvokeFunction(request *model.InvokeFunctionRequest) (*model.InvokeFunctionResponse, error)
同步调用指的是客户端请求需要明确等到响应结果,也就是说这样的请求必须得调用到用户的函数,并且等到调用完成才返回。
func (*FunctionGraphClient) ListDependencies ¶
func (c *FunctionGraphClient) ListDependencies(request *model.ListDependenciesRequest) (*model.ListDependenciesResponse, error)
获取依赖包列表。
func (*FunctionGraphClient) ListEvents ¶
func (c *FunctionGraphClient) ListEvents(request *model.ListEventsRequest) (*model.ListEventsResponse, error)
获取指定函数的测试事件列表。
func (*FunctionGraphClient) ListFunctionAsyncInvocations ¶ added in v0.0.75
func (c *FunctionGraphClient) ListFunctionAsyncInvocations(request *model.ListFunctionAsyncInvocationsRequest) (*model.ListFunctionAsyncInvocationsResponse, error)
获取函数异步调用请求列表
func (*FunctionGraphClient) ListFunctionAsyncInvokeConfig ¶
func (c *FunctionGraphClient) ListFunctionAsyncInvokeConfig(request *model.ListFunctionAsyncInvokeConfigRequest) (*model.ListFunctionAsyncInvokeConfigResponse, error)
获取函数异步配置列表。
func (*FunctionGraphClient) ListFunctionStatistics ¶
func (c *FunctionGraphClient) ListFunctionStatistics(request *model.ListFunctionStatisticsRequest) (*model.ListFunctionStatisticsResponse, error)
获取指定时间段的函数运行指标。
func (*FunctionGraphClient) ListFunctionTriggers ¶
func (c *FunctionGraphClient) ListFunctionTriggers(request *model.ListFunctionTriggersRequest) (*model.ListFunctionTriggersResponse, error)
获取指定函数的所有触发器设置。
func (*FunctionGraphClient) ListFunctionVersions ¶
func (c *FunctionGraphClient) ListFunctionVersions(request *model.ListFunctionVersionsRequest) (*model.ListFunctionVersionsResponse, error)
获取指定函数的版本列表。
func (*FunctionGraphClient) ListFunctions ¶
func (c *FunctionGraphClient) ListFunctions(request *model.ListFunctionsRequest) (*model.ListFunctionsResponse, error)
获取函数列表
func (*FunctionGraphClient) ListQuotas ¶
func (c *FunctionGraphClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)
查询租户配额
func (*FunctionGraphClient) ListStatistics ¶
func (c *FunctionGraphClient) ListStatistics(request *model.ListStatisticsRequest) (*model.ListStatisticsResponse, error)
租户函数统计信息。 返回三类的统计信息,函数格式和大小使用情况包括配额和使用量,流量报告。 通过查询参数filter可以进行过滤,查询参数period可以指定返回的时间段。
func (*FunctionGraphClient) ListVersionAliases ¶
func (c *FunctionGraphClient) ListVersionAliases(request *model.ListVersionAliasesRequest) (*model.ListVersionAliasesResponse, error)
获取函数版本别名列表。
func (*FunctionGraphClient) ListWorkflowExecutions ¶ added in v0.0.81
func (c *FunctionGraphClient) ListWorkflowExecutions(request *model.ListWorkflowExecutionsRequest) (*model.ListWorkflowExecutionsResponse, error)
获取指定函数流执行实例列表
func (*FunctionGraphClient) ListWorkflows ¶ added in v0.0.81
func (c *FunctionGraphClient) ListWorkflows(request *model.ListWorkflowsRequest) (*model.ListWorkflowsResponse, error)
查询工作流列表
func (*FunctionGraphClient) RetryWorkFlow ¶ added in v0.0.81
func (c *FunctionGraphClient) RetryWorkFlow(request *model.RetryWorkFlowRequest) (*model.RetryWorkFlowResponse, error)
重试工作流
func (*FunctionGraphClient) ShowDependency ¶
func (c *FunctionGraphClient) ShowDependency(request *model.ShowDependencyRequest) (*model.ShowDependencyResponse, error)
获取指定依赖包。
func (*FunctionGraphClient) ShowEvent ¶
func (c *FunctionGraphClient) ShowEvent(request *model.ShowEventRequest) (*model.ShowEventResponse, error)
获取测试事件详细信息。
func (*FunctionGraphClient) ShowFunctionAsyncInvokeConfig ¶
func (c *FunctionGraphClient) ShowFunctionAsyncInvokeConfig(request *model.ShowFunctionAsyncInvokeConfigRequest) (*model.ShowFunctionAsyncInvokeConfigResponse, error)
获取函数异步配置信息。
func (*FunctionGraphClient) ShowFunctionCode ¶
func (c *FunctionGraphClient) ShowFunctionCode(request *model.ShowFunctionCodeRequest) (*model.ShowFunctionCodeResponse, error)
获取指定函数的代码。
func (*FunctionGraphClient) ShowFunctionConfig ¶
func (c *FunctionGraphClient) ShowFunctionConfig(request *model.ShowFunctionConfigRequest) (*model.ShowFunctionConfigResponse, error)
获取指定函数的metadata。
func (*FunctionGraphClient) ShowFunctionTrigger ¶
func (c *FunctionGraphClient) ShowFunctionTrigger(request *model.ShowFunctionTriggerRequest) (*model.ShowFunctionTriggerResponse, error)
获取特定触发器的信息。
func (*FunctionGraphClient) ShowLtsLogDetails ¶ added in v0.0.53
func (c *FunctionGraphClient) ShowLtsLogDetails(request *model.ShowLtsLogDetailsRequest) (*model.ShowLtsLogDetailsResponse, error)
获取指定函数的lts日志组日志流配置。
func (*FunctionGraphClient) ShowTenantMetric ¶ added in v0.0.81
func (c *FunctionGraphClient) ShowTenantMetric(request *model.ShowTenantMetricRequest) (*model.ShowTenantMetricResponse, error)
获取函数流指标
func (*FunctionGraphClient) ShowTracing ¶ added in v0.0.68
func (c *FunctionGraphClient) ShowTracing(request *model.ShowTracingRequest) (*model.ShowTracingResponse, error)
获取函数调用链配置
func (*FunctionGraphClient) ShowVersionAlias ¶
func (c *FunctionGraphClient) ShowVersionAlias(request *model.ShowVersionAliasRequest) (*model.ShowVersionAliasResponse, error)
获取函数指定的版本别名信息。
func (*FunctionGraphClient) ShowWorkFlow ¶ added in v0.0.81
func (c *FunctionGraphClient) ShowWorkFlow(request *model.ShowWorkFlowRequest) (*model.ShowWorkFlowResponse, error)
获取指定函数流实例
func (*FunctionGraphClient) ShowWorkFlowMetric ¶ added in v0.0.81
func (c *FunctionGraphClient) ShowWorkFlowMetric(request *model.ShowWorkFlowMetricRequest) (*model.ShowWorkFlowMetricResponse, error)
获取指定工作流指标
func (*FunctionGraphClient) ShowWorkflowExecution ¶ added in v0.0.81
func (c *FunctionGraphClient) ShowWorkflowExecution(request *model.ShowWorkflowExecutionRequest) (*model.ShowWorkflowExecutionResponse, error)
获取指定函数流执行实例。
func (*FunctionGraphClient) StartWorkflowExecution ¶ added in v0.0.81
func (c *FunctionGraphClient) StartWorkflowExecution(request *model.StartWorkflowExecutionRequest) (*model.StartWorkflowExecutionResponse, error)
开始执行函数流
func (*FunctionGraphClient) StopWorkFlow ¶ added in v0.0.81
func (c *FunctionGraphClient) StopWorkFlow(request *model.StopWorkFlowRequest) (*model.StopWorkFlowResponse, error)
停止工作流
func (*FunctionGraphClient) UpdateDependency ¶
func (c *FunctionGraphClient) UpdateDependency(request *model.UpdateDependencyRequest) (*model.UpdateDependencyResponse, error)
更新依赖包指定依赖包。
func (*FunctionGraphClient) UpdateEvent ¶
func (c *FunctionGraphClient) UpdateEvent(request *model.UpdateEventRequest) (*model.UpdateEventResponse, error)
更新测试事件。
func (*FunctionGraphClient) UpdateFunctionAsyncInvokeConfig ¶
func (c *FunctionGraphClient) UpdateFunctionAsyncInvokeConfig(request *model.UpdateFunctionAsyncInvokeConfigRequest) (*model.UpdateFunctionAsyncInvokeConfigResponse, error)
设置函数异步配置信息。
func (*FunctionGraphClient) UpdateFunctionCode ¶
func (c *FunctionGraphClient) UpdateFunctionCode(request *model.UpdateFunctionCodeRequest) (*model.UpdateFunctionCodeResponse, error)
修改指定的函数的代码。
func (*FunctionGraphClient) UpdateFunctionConfig ¶
func (c *FunctionGraphClient) UpdateFunctionConfig(request *model.UpdateFunctionConfigRequest) (*model.UpdateFunctionConfigResponse, error)
修改指定的函数的metadata信息。
func (*FunctionGraphClient) UpdateFunctionReservedInstances ¶
func (c *FunctionGraphClient) UpdateFunctionReservedInstances(request *model.UpdateFunctionReservedInstancesRequest) (*model.UpdateFunctionReservedInstancesResponse, error)
为函数绑定预留实例
func (*FunctionGraphClient) UpdateTracing ¶ added in v0.0.68
func (c *FunctionGraphClient) UpdateTracing(request *model.UpdateTracingRequest) (*model.UpdateTracingResponse, error)
修改函数调用链配置,开通/修改传入aksk,关闭aksk传空
func (*FunctionGraphClient) UpdateTrigger ¶
func (c *FunctionGraphClient) UpdateTrigger(request *model.UpdateTriggerRequest) (*model.UpdateTriggerResponse, error)
更新触发器
func (*FunctionGraphClient) UpdateVersionAlias ¶
func (c *FunctionGraphClient) UpdateVersionAlias(request *model.UpdateVersionAliasRequest) (*model.UpdateVersionAliasResponse, error)
修改函数版本别名信息。
func (*FunctionGraphClient) UpdateWorkFlow ¶ added in v0.0.81
func (c *FunctionGraphClient) UpdateWorkFlow(request *model.UpdateWorkFlowRequest) (*model.UpdateWorkFlowResponse, error)
修改指定函数流实例