ipsurv.core package¶
ipsurv.core.pipeline module¶
- class Pipeline¶
Bases:
abc.ABC
Description: https://deer-hunt.github.io/ipsurv/pages/ipsurv-cmd/program_architecture_classes.html#pipeline
- begin_process(mode, args, rows)¶
- Parameters
mode (int) –
args (argparse.Namespace) –
rows (list) –
- build_error(error)¶
- complete_process(mode, args, rows)¶
- Parameters
mode (int) –
args (argparse.Namespace) –
rows (list) –
- create_group(data, target, group_type, cidr)¶
- Parameters
- Return type
- detect_survey_mode(mode)¶
- Parameters
mode (int) –
- find_group(data, target)¶
- Parameters
- Return type
- init_configure(arguments, env_args)¶
- Parameters
arguments (dict) –
env_args (dict) –
- initialize(config, serializer)¶
- Parameters
config (Config) –
serializer (Serializer) –
- output_result(v)¶
- post_collect(data, target, args, skip)¶
- post_configure(args, env_args, env_conf)¶
- Parameters
args (argparse.Namespace) –
env_args (dict) –
env_conf (dict) –
- post_request(data, name, collector, success, response)¶
- Parameters
data (ValueData) –
name (str) –
collector (DataCollector) –
success (bool) –
response (dict) –
- pre_collect(data, target, args)¶
- pre_configure(args, env_args, env_conf)¶
- Parameters
args (argparse.Namespace) –
env_args (dict) –
env_conf (dict) –
- pre_request(data, name, collector)¶
- Parameters
data (ValueData) –
name (str) –
collector (DataCollector) –