Documentation
¶
Index ¶
- func ExtractRoleNames(roles []model.Role) []string
- type BatchCopyFunctionsLogic
- type BatchDeleteFunctionsLogic
- type BatchUpdateFunctionsLogic
- type DescriptorsLogic
- type FunctionCopyLogic
- type FunctionDeleteLogic
- type FunctionDetailLogic
- type FunctionDisableLogic
- type FunctionEnableLogic
- type FunctionInstancesAllLogic
- type FunctionInstancesLogic
- type FunctionInvokeLogic
- type FunctionPermissionsLogic
- type FunctionPermissionsUpdateLogic
- type FunctionPublishLogic
- type FunctionRouteLogic
- type FunctionRouteUpdateLogic
- type FunctionUIHistoryLogic
- type FunctionUILogicV2
- type FunctionUIRollbackLogic
- type FunctionUIUpdateLogic
- type FunctionsListLogic
- type FunctionsPendingLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractRoleNames ¶ added in v0.1.5
ExtractRoleNames 从角色列表中提取角色名称
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 FunctionInstancesAllLogic ¶ added in v0.1.7
func NewFunctionInstancesAllLogic ¶ added in v0.1.7
func NewFunctionInstancesAllLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionInstancesAllLogic
获取所有函数实例
func (*FunctionInstancesAllLogic) FunctionInstancesAll ¶ added in v0.1.7
func (l *FunctionInstancesAllLogic) FunctionInstancesAll() (map[string]interface{}, 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 FunctionRouteLogic ¶ added in v0.1.7
func NewFunctionRouteLogic ¶ added in v0.1.7
func NewFunctionRouteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionRouteLogic
func (*FunctionRouteLogic) FunctionRoute ¶ added in v0.1.7
func (l *FunctionRouteLogic) FunctionRoute(req *types.FunctionRouteRequest) (*types.FunctionRouteResponse, error)
type FunctionRouteUpdateLogic ¶ added in v0.1.7
func NewFunctionRouteUpdateLogic ¶ added in v0.1.7
func NewFunctionRouteUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionRouteUpdateLogic
func (*FunctionRouteUpdateLogic) FunctionRouteUpdate ¶ added in v0.1.7
func (l *FunctionRouteUpdateLogic) FunctionRouteUpdate(req *types.FunctionRouteUpdateRequest) (*types.FunctionRouteResponse, error)
type FunctionUIHistoryLogic ¶ added in v0.1.7
func NewFunctionUIHistoryLogic ¶ added in v0.1.7
func NewFunctionUIHistoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionUIHistoryLogic
func (*FunctionUIHistoryLogic) FunctionUIHistory ¶ added in v0.1.7
func (l *FunctionUIHistoryLogic) FunctionUIHistory(req *types.FunctionUIHistoryRequest) (*types.FunctionUIHistoryResponse, error)
type FunctionUILogicV2 ¶ added in v0.1.5
func NewFunctionUILogicV2 ¶ added in v0.1.5
func NewFunctionUILogicV2(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionUILogicV2
获取函数UI配置(增强版:支持优先级合并)
func (*FunctionUILogicV2) FunctionUI ¶ added in v0.1.5
func (l *FunctionUILogicV2) FunctionUI(req *types.FunctionUIRequest) (*types.FunctionUIResponse, error)
type FunctionUIRollbackLogic ¶ added in v0.1.7
func NewFunctionUIRollbackLogic ¶ added in v0.1.7
func NewFunctionUIRollbackLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FunctionUIRollbackLogic
func (*FunctionUIRollbackLogic) FunctionUIRollback ¶ added in v0.1.7
func (l *FunctionUIRollbackLogic) FunctionUIRollback(req *types.FunctionUIRollbackRequest) (*types.FunctionUIRollbackResponse, 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_all_logic.go
- function_instances_logic.go
- function_invoke_logic.go
- function_permissions_logic.go
- function_permissions_update_logic.go
- function_publish_logic.go
- function_route_logic.go
- function_route_update_logic.go
- function_u_i_history_logic.go
- function_u_i_logic_v2.go
- function_u_i_rollback_logic.go
- function_u_i_update_logic.go
- function_ui_versioning.go
- functions_list_logic.go
- functions_pending_logic.go
- ui_resolver.go
Click to show internal directories.
Click to hide internal directories.