freckles.adapters.shell package

Submodules

freckles.adapters.shell.freckles_adapter_shell module

class freckles.adapters.shell.freckles_adapter_shell.FrecklesAdapterShell(name, context)[source]

Bases: freckles.adapters.adapters.FrecklesAdapter

get_extra_frecklets()[source]
get_folders_for_alias(alias)[source]
get_processor(proc_name)[source]
get_resources_for_task(task)[source]

Return a map of paths to all resources that are necessary for this task.

get_supported_resource_types()[source]
get_supported_task_types()[source]

Return a list of supported frecklet types to run.

prepare_execution_requirements(run_config, parent_task)[source]

Prepares all external dependencies that are needed for this adapter to successfully run an execution.

Should throw an exception if it fails.

Returns:a version indicator
Return type:int
run(tasklist, run_vars, run_config, run_secrets, run_env, result_callback, parent_task)[source]
shell_adapter_contex
class freckles.adapters.shell.freckles_adapter_shell.ScriptlingContext(context_name, cnf, repos)[source]

Bases: object

scriptling_index

freckles.adapters.shell.processors module

class freckles.adapters.shell.processors.ShellCommandProcessor[source]

Bases: freckles.adapters.shell.processors.ShellTaskTypeProcessor

process_task(task)[source]

Takes a task description, returns a list of shell script parts incl. optional external dependencies.

class freckles.adapters.shell.processors.ShellScriptProcessor(scriptling_index)[source]

Bases: freckles.adapters.shell.processors.ShellTaskTypeProcessor

get_all_dependency_functions(functions, scriptling_name, result=None)[source]
process_task(task)[source]

Takes a task description, returns a list of shell script parts incl. optional external dependencies.

class freckles.adapters.shell.processors.ShellScriptTemplateProcessor[source]

Bases: freckles.adapters.shell.processors.ShellTaskTypeProcessor

process_task(task)[source]

Takes a task description, returns a list of shell script parts incl. optional external dependencies.

class freckles.adapters.shell.processors.ShellTaskTypeProcessor[source]

Bases: object

process_task(task)[source]

Takes a task description, returns a list of shell script parts incl. optional external dependencies.

freckles.adapters.shell.shell_runner module

class freckles.adapters.shell.shell_runner.ShellRunner[source]

Bases: object

render_environment(run_env_dir, tasklist, skip_exodus=True)[source]
run(run_properties, run_cnf, result_callback, parent_task, delete_env=False)[source]

Module contents