PostgreSQLContainer class 
 
    
    
    
  
    
  
    
  
    Methods
    
        - 
  appendFileContent(String filePath, String content, {bool sudo = false})
    → Future<bool>
  
  
- 
  Append to the file filePathwithcontent, inside this container.inherited 
- 
  catLogs({bool stderr = false, Pattern? waitDataMatcher, Duration? waitDataTimeout, bool waitExit = false, int? desiredExitCode, bool follow = false})
    → Future<String?>
  
  
- 
  Returns this Container logs as String.
  inherited 
- 
  copyFileFromContainer(String containerFilePath, String hostFilePath)
    → Future<bool>
  
  
- 
  Copy a file inside this container, with path containerFilePath,
to the host machine, athostFilePath.inherited 
- 
  copyFileToContainer(String hostFilePath, String containerFilePath)
    → Future<bool>
  
  
- 
  Copy a host file, at hostFilePath, inside this container,
with internal file pathcontainerFilePath.inherited 
- 
  exec(String command, List<String> args, {bool outputAsLines = true, int? outputLimit, OutputReadyFunction? stdoutReadyFunction, OutputReadyFunction? stderrReadyFunction, OutputReadyType? outputReadyType})
    → Future<DockerProcess?>?
  
  
- 
  Executes a commandinside this container withargs(if isRunning or returns null).inherited 
- 
  execAndWaitExit(String command, List<String> args)
    → Future<int?>
  
  
- 
  Calls exec than waitExit.
  inherited 
- 
  execAndWaitStderr(String command, List<String> args, {int? desiredExitCode})
    → Future<Output?>
  
  
- 
  Calls exec than waitStderr.inherited 
- 
  execAndWaitStderrAsString(String command, List<String> args, {bool trim = false, int? desiredExitCode})
    → Future<String?>
  
  
- 
  Calls execAndWaitStderrAsString and returns Output.asString.
  inherited 
- 
  execAndWaitStdout(String command, List<String> args, {int? desiredExitCode})
    → Future<Output?>
  
  
- 
  Calls exec than waitStdout.inherited 
- 
  execAndWaitStdoutAsString(String command, List<String> args, {bool trim = false, int? desiredExitCode})
    → Future<String?>
  
  
- 
  Calls execAndWaitStdoutAsString and returns Output.asString.
  inherited 
- 
  execCat(String filePath, {bool trim = false})
    → Future<String?>
  
  
- 
  Call POSIX catcommand.
Calls exec with commandcatand argsfilePath.
Returns the executable path forfilePath.inherited 
- 
  execShell(String script, {bool sudo = false})
    → Future<DockerProcess?>
  
  
- 
  Executes a shell script. Tries to usebashorsh.
Note thatscriptshould be inline, without line breaks (\n).inherited 
- 
  execWhich(String commandName, {bool ignoreCache = false, String? def})
    → Future<String?>
  
  
- 
  Call POSIX whichcommand.
Calls exec with commandwhichand argscommandName.
Caches response than returns the executable path forcommandName.inherited 
- 
  noSuchMethod(Invocation invocation)
    → dynamic
  
  
- 
  Invoked when a nonexistent method or property is accessed.
  inherited 
- 
  openLogs(String containerNameOrID)
    → Future<DockerProcess?>
  
  
- 
  Opens this Container logs:
  inherited 
- 
  psqlCMD(String cmdInline)
    → Future<String?>
  
  
- 
  Runs a psql command. Note that cmdInlineshould be a inline String, without line-breaks (\n).
- 
  putFileContent(String filePath, String content, {bool sudo = false, bool append = false})
    → Future<bool>
  
  
- 
  Save the file filePathwithcontent, inside this container.inherited 
- 
  runSQL(String sqlInline)
    → Future<String?>
  
  
- 
  Runs a SQL. Note that sqlInlineshould be a inline String, without line-breaks (\n).
- 
  stop({Duration? timeout})
    → Future<bool>
  
  
- 
  Stops this container.
  inherited 
- 
  toString()
    → String
  
  
- 
  A string representation of this object.
  inherited 
- 
  waitExit()
    → Future<int?>
  
  
- 
  Waits container to exit. Returns the process exit code.
  inherited 
- 
  waitReady()
    → Future<bool>
  
  
- 
  Waits for the container, ensuring that is started.
  inherited