NoOpEnvironment
Sandbox-free environment: every operation is a no-op (no container).
Agents using this run in-process; there's nothing to upload/download, so the
log-sync steps harbor logs a warning for are harmless (the agent writes
directly onto the AgentContext, which is harvested regardless).
Functions
functype() -> strReturns
strfunc_validate_definition(self) -> NoneparamselfReturns
Nonefuncstart(self, force_build=False) -> Noneparamselfparamforce_buildbool= FalseReturns
Nonefuncstop(self, delete=True) -> Noneparamselfparamdeletebool= TrueReturns
Nonefuncupload_file(self, source_path, target_path) -> Noneparamselfparamsource_pathparamtarget_pathReturns
Nonefuncupload_dir(self, source_dir, target_dir) -> Noneparamselfparamsource_dirparamtarget_dirReturns
Nonefuncdownload_file(self, source_path, target_path) -> Noneparamselfparamsource_pathparamtarget_pathReturns
Nonefuncdownload_dir(self, source_dir, target_dir) -> Noneparamselfparamsource_dirparamtarget_dirReturns
Nonefuncexec(self, command, cwd=None, env=None, timeout_sec=None, user=None) -> ExecResultparamselfparamcommandparamcwd= Noneparamenv= Noneparamtimeout_sec= Noneparamuser= NoneReturns
harbor.environments.base.ExecResult