slippinj.cli.interactive package

Submodules

slippinj.cli.interactive.cluster_id module

class slippinj.cli.interactive.cluster_id.ClusterId(self_, *args, **kwargs)[source]

Bases: object

Get the cluster id interactively asking user in the CLI

get()[source]

Ask the user to select one cluster from the currently active :return: string

slippinj.cli.interactive.configuration_file module

class slippinj.cli.interactive.configuration_file.ConfigurationFile(self_, *args, **kwargs)[source]

Bases: object

Get the configuration file to use when managing workflows

get(wf_dir)[source]

Ask user to select which configuration files would like to use from all the files found :param wf_dir: string :return: list

slippinj.cli.interactive.default_configuration module

class slippinj.cli.interactive.default_configuration.DefaultConfiguration(self_, *args, **kwargs)[source]

Bases: object

Get the default configuration for the workflows

get(environment, arguments, workflow_configuration)[source]

Get configuration parameters that are common to the workflows :param environment: string :param arguments: Namespace :param workflow_configuration: dict :return: dict

slippinj.cli.interactive.properties_file module

class slippinj.cli.interactive.properties_file.PropertiesFile(self_, *args, **kwargs)[source]

Bases: object

Get the properties file to run on the cluster

get(wf_dir)[source]

Find all the properties file inside given workflow directory :param wf_dir: string :return: string

Module contents