nvflare.fuel.hci.shell_cmd_val module

class CatValidator[source]

Bases: ShellCommandValidator

Validator for the cat command.

class GrepValidator[source]

Bases: ShellCommandValidator

Validator for the grep command.

class HeadValidator[source]

Bases: ShellCommandValidator

Validator for the head command.

class LsValidator[source]

Bases: ShellCommandValidator

Validator for the ls command.

class ShellCommandValidator(arg_validator: ArgValidator)[source]

Bases: object

Base class for validators to be called by command executors for shell commands.

Parameters:

arg_validator – instance of ArgValidator

get_usage()[source]
validate(args: List[str])[source]
class TailValidator[source]

Bases: ShellCommandValidator

Validator for the tail command.