chore: documented new methods

This commit is contained in:
Andrey Melnikov
2021-02-26 09:36:44 -08:00
parent d597ccc13f
commit 15de7c7e1f
4 changed files with 4 additions and 0 deletions

View File

@@ -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", "")