Documentation
¶
Index ¶
- type BatchCopyFunctionsLogic
- type BatchDeleteFunctionsLogic
- type BatchUpdateFunctionsLogic
- type DescriptorsLogic
- type FunctionCopyLogic
- type FunctionDeleteLogic
- type FunctionDetailLogic
- type FunctionDisableLogic
- type FunctionEnableLogic
- type FunctionInstancesLogic
- type FunctionInvokeLogic
- type FunctionPermissionsLogic
- type FunctionPermissionsUpdateLogic
- type FunctionPublishLogic
- type FunctionUILogic
- type FunctionUIUpdateLogic
- type FunctionsListLogic
- type FunctionsPendingLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCopyFunctionsLogic ¶
func NewBatchCopyFunctionsLogic ¶
func NewBatchCopyFunctionsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchCopyFunctionsLogic
批量复制函数
func (*BatchCopyFunctionsLogic) BatchCopyFunctions ¶
func (l *BatchCopyFunctionsLogic) BatchCopyFunctions(req *types.BatchCopyFunctionsRequest) (*types.BatchCopyFunctionsResponse, error)
type BatchDeleteFunctionsLogic ¶
func NewBatchDeleteFunctionsLogic ¶
func NewBatchDeleteFunctionsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteFunctionsLogic
批量删除函数
func (*BatchDeleteFunctionsLogic) BatchDeleteFunctions ¶
func (l *BatchDeleteFunctionsLogic) BatchDeleteFunctions(req *types.BatchDeleteFunctionsRequest) (*types.BatchDeleteFunctionsResponse, error)
type BatchUpdateFunctionsLogic ¶
func NewBatchUpdateFunctionsLogic ¶
func NewBatchUpdateFunctionsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchUpdateFunctionsLogic
批量更新函数状态
func (*BatchUpdateFunctionsLogic) BatchUpdateFunctions ¶
func (l *BatchUpdateFunctionsLogic) BatchUpdateFunctions(req *types.BatchUpdateFunctionsRequest) (*types.BatchUpdateFunctionsResponse, error)
type DescriptorsLogic ¶
func NewDescriptorsLogic ¶
func NewDescriptorsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DescriptorsLogic
获取函数描述符列表
func (*DescriptorsLogic) Descriptors ¶
func (l *DescriptorsLogic) Descriptors(req *types.DescriptorsRequest) ([]map[string]interface{}, error)
type FunctionCopyLogic ¶
func NewFunctionCopyLogic ¶
func NewFunctionCopyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionCopyLogic
复制函数
func (*FunctionCopyLogic) FunctionCopy ¶
func (l *FunctionCopyLogic) FunctionCopy(req *types.FunctionCopyRequest) (*types.FunctionCopyResponse, error)
type FunctionDeleteLogic ¶
func NewFunctionDeleteLogic ¶
func NewFunctionDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionDeleteLogic
删除函数
func (*FunctionDeleteLogic) FunctionDelete ¶
func (l *FunctionDeleteLogic) FunctionDelete(req *types.FunctionActionRequest) error
type FunctionDetailLogic ¶
func NewFunctionDetailLogic ¶
func NewFunctionDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionDetailLogic
获取函数详情
func (*FunctionDetailLogic) FunctionDetail ¶
func (l *FunctionDetailLogic) FunctionDetail(req *types.FunctionDetailRequest) (*types.FunctionDetailResponse, error)
type FunctionDisableLogic ¶
func NewFunctionDisableLogic ¶
func NewFunctionDisableLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionDisableLogic
禁用函数
func (*FunctionDisableLogic) FunctionDisable ¶
func (l *FunctionDisableLogic) FunctionDisable(req *types.FunctionActionRequest) error
type FunctionEnableLogic ¶
func NewFunctionEnableLogic ¶
func NewFunctionEnableLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionEnableLogic
启用函数
func (*FunctionEnableLogic) FunctionEnable ¶
func (l *FunctionEnableLogic) FunctionEnable(req *types.FunctionActionRequest) error
type FunctionInstancesLogic ¶
func NewFunctionInstancesLogic ¶
func NewFunctionInstancesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionInstancesLogic
获取函数实例
func (*FunctionInstancesLogic) FunctionInstances ¶
func (l *FunctionInstancesLogic) FunctionInstances(req *types.FunctionInstancesRequest) (map[string]interface{}, error)
type FunctionInvokeLogic ¶
func NewFunctionInvokeLogic ¶
func NewFunctionInvokeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionInvokeLogic
调用函数
func (*FunctionInvokeLogic) FunctionInvoke ¶
func (l *FunctionInvokeLogic) FunctionInvoke(req *types.FunctionInvokeRequest) (*types.FunctionInvokeResponse, error)
type FunctionPermissionsLogic ¶
func NewFunctionPermissionsLogic ¶
func NewFunctionPermissionsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionPermissionsLogic
获取函数权限
func (*FunctionPermissionsLogic) FunctionPermissions ¶
func (l *FunctionPermissionsLogic) FunctionPermissions(req *types.FunctionPermissionsRequest) (*types.FunctionPermissionsResponse, error)
type FunctionPermissionsUpdateLogic ¶
type FunctionPermissionsUpdateLogic struct {
logx.Logger
// contains filtered or unexported fields
}
func NewFunctionPermissionsUpdateLogic ¶
func NewFunctionPermissionsUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionPermissionsUpdateLogic
更新函数权限
func (*FunctionPermissionsUpdateLogic) FunctionPermissionsUpdate ¶
func (l *FunctionPermissionsUpdateLogic) FunctionPermissionsUpdate(req *types.FunctionPermissionsUpdateRequest) (*types.FunctionPermissionsResponse, error)
type FunctionPublishLogic ¶
func NewFunctionPublishLogic ¶
func NewFunctionPublishLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionPublishLogic
发布函数
func (*FunctionPublishLogic) FunctionPublish ¶
func (l *FunctionPublishLogic) FunctionPublish(req *types.FunctionPublishRequest) (*types.FunctionPublishResponse, error)
type FunctionUILogic ¶
func NewFunctionUILogic ¶
func NewFunctionUILogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionUILogic
获取函数UI配置
func (*FunctionUILogic) FunctionUI ¶
func (l *FunctionUILogic) FunctionUI(req *types.FunctionUIRequest) (*types.FunctionUIResponse, error)
type FunctionUIUpdateLogic ¶
func NewFunctionUIUpdateLogic ¶
func NewFunctionUIUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionUIUpdateLogic
更新函数UI配置
func (*FunctionUIUpdateLogic) FunctionUIUpdate ¶
func (l *FunctionUIUpdateLogic) FunctionUIUpdate(req *types.FunctionUIUpdateRequest) (*types.FunctionUIResponse, error)
type FunctionsListLogic ¶
func NewFunctionsListLogic ¶
func NewFunctionsListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionsListLogic
获取函数列表
func (*FunctionsListLogic) FunctionsList ¶
func (l *FunctionsListLogic) FunctionsList(req *types.FunctionsListRequest) (*types.FunctionsListResponse, error)
type FunctionsPendingLogic ¶
func NewFunctionsPendingLogic ¶
func NewFunctionsPendingLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionsPendingLogic
获取待处理函数
func (*FunctionsPendingLogic) FunctionsPending ¶
func (l *FunctionsPendingLogic) FunctionsPending(req *types.FunctionsPendingRequest) (*types.FunctionsPendingResponse, error)
Source Files
¶
- batch_copy_functions_logic.go
- batch_delete_functions_logic.go
- batch_update_functions_logic.go
- descriptors_logic.go
- function_copy_logic.go
- function_delete_logic.go
- function_detail_logic.go
- function_disable_logic.go
- function_enable_logic.go
- function_instances_logic.go
- function_invoke_logic.go
- function_permissions_logic.go
- function_permissions_update_logic.go
- function_publish_logic.go
- function_u_i_logic.go
- function_u_i_update_logic.go
- functions_list_logic.go
- functions_pending_logic.go
Click to show internal directories.
Click to hide internal directories.