Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list
N/A N/A 
v2 API interface package

This package contains the endpoint definitions for the version 2 API.
The modules in this package are named in accordance with the top-level
resource primitives they represent.

This module provides a convenience function to register all the
endpoint blueprints to the ``/v2`` root.

When creating new endpoint modules, the following steps should be taken
to ensure they are properly registered with the Flask application:
  * create the module file with a name that indicates its endpoint
  * add a sahara.utils.api.RestV2 blueprint object
  * add an import to this module (__init__.py)
  * add a registration line for the new endpoint to the
    register_blueprint function
 sahara.api.v2 cluster_templates sahara.api.v2 clusters sahara.api.v2 data_sources sahara.api.v2 images sahara.api.v2 job_binaries sahara.api.v2 job_executions sahara.api.v2 job_types sahara.api.v2 jobs sahara.api.v2 node_group_templates sahara.api.v2 plugins register_blueprints N/A N/A app url_prefix N/A N/A N/A Register the v2 endpoints with a Flask application

    This function will take a Flask application object and register all
    the v2 endpoints. Register blueprints here when adding new endpoint
    modules.

    :param app: A Flask application object to register blueprints on
    :param url_prefix: The url prefix for the blueprints
     N/A N/A N/A app register_blueprint N/A cluster_templates rest url_prefix url_prefix N/A N/A N/A app register_blueprint N/A clusters rest url_prefix url_prefix N/A N/A N/A app register_blueprint N/A data_sources rest url_prefix url_prefix N/A N/A N/A app register_blueprint N/A images rest url_prefix url_prefix N/A N/A N/A app register_blueprint N/A job_binaries rest url_prefix url_prefix N/A N/A N/A app register_blueprint N/A job_executions rest url_prefix url_prefix N/A N/A N/A app register_blueprint N/A job_types rest url_prefix url_prefix N/A N/A N/A app register_blueprint N/A jobs rest url_prefix url_prefix N/A N/A N/A app register_blueprint N/A node_group_templates rest url_prefix url_prefix N/A N/A N/A app register_blueprint N/A plugins rest url_prefix url_prefix N/A