cloudmesh.cc.service.service

Cloudmesh cc FastAPI service for REST and web interfaces.

Functions

about_page(request)

Page that lists readme as html.

add_job(job_name, workflow_name[, user, ...])

Adds a job to a workflow.

add_page(request)

Page that allows users to add workflows.

add_post([workflow_name, dirname, ...])

Add workflow from html page.

contact_page(request)

Page that lists contact information.

datatable_server(request, name_of_workflow)

Server side event watcher that returns datatable when changes are detected.

delete_workflow(workflow_name[, job])

Delete a workflow by name.

delete_workflow_direct_url(workflow_name)

Delete a workflow by url.

dict_of_available_workflows()

Return a dict of available workflows.

done_watcher(request, name_of_workflow)

Server side event watcher that yields number of jobs that are done.

edit_workflow_direct_url(workflow_name)

Edit a workflow by url.

failed_watcher(request, name_of_workflow)

Server side event watcher that yields number of jobs that are failed.

generate_example_workflow()

Create example workflow for testing.

get_available_workflows()

Return workflow dirs found in .cloudmesh directory.

get_job(workflow_name[, job_name, output])

Get a job that is inside a workflow.

get_workflow(request, workflow_name[, ...])

Get a workflow.

get_workflow_graph(request, workflow_name)

See the graph embedded within web interface.

home_page(request)

Return the home page.

image_watcher(request, name_of_workflow)

Watch an svg for changes.

list_workflows([output])

Return a list of all workflows found on local computer.

load_workflow(name[, load])

Load a workflow corresponding to given name.

man_page(request)

Page that shows manual of cms cc command.

penultimate_status_watcher(request, ...)

Watch a runtime yaml for status changes.

preferences_changer(column)

Change a preference to show a column from within datatable viewer.

preferences_post([id, name, status, host, ...])

Set preferences.

ready_watcher(request, name_of_workflow)

Server side event watcher that yields number of jobs that are ready.

remove_job(job_name, workflow_name)

Removes a job from a workflow.

reset_workflow_direct_url(workflow_name[, ...])

Reset a workflow by url.

run_workflow(workflow_name[, run_type, ...])

Run a specified workflow according to provided run type.

running_watcher(request, name_of_workflow)

Server side event watcher that yields number of jobs that are running.

serve_done(request, workflow_name)

Give the number of done jobs.

serve_failed(request, workflow_name)

Give the number of failed jobs.

serve_ready(request, workflow_name)

Give the number of ready jobs.

serve_running(request, workflow_name)

Give the number of running jobs.

serve_submitted(request, workflow_name)

Give the number of submitted jobs.

serve_table(request, workflow_name)

See the table of the workflow.

serve_watcher(request, workflow_name)

type request:

Request

status_returner(name_of_workflow)

Read a runtime yaml file to return a dict of status of jobs.

submitted_watcher(request, name_of_workflow)

Server side event watcher that yields number of jobs that are submitted.

upload_workflow([directory, archive, yaml, ...])

Upload a workflow.

watch_running_workflow(request, workflow_name)

Page for watching a workflow that has been started.

Classes

Jobpy(**data)

A python job.