mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-28 15:41:46 +08:00
chore: documented new methods
This commit is contained in:
@@ -580,6 +580,7 @@ func (s *WorkflowServer) UpdateWorkflowExecutionMetrics(ctx context.Context, req
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
// ListWorkflowExecutionsField returns a list of all the distinct values of a field from WorkflowExecutions
|
||||
func (s *WorkflowServer) ListWorkflowExecutionsField(ctx context.Context, req *api.ListWorkflowExecutionsFieldRequest) (*api.ListWorkflowExecutionsFieldResponse, error) {
|
||||
client := getClient(ctx)
|
||||
allowed, err := auth.IsAuthorized(client, req.Namespace, "list", "onepanel.io", "workspaces", "")
|
||||
|
||||
Reference in New Issue
Block a user