VagrantDockerRunner Class

Summary

Wrapper around the vagrant docker subcommands
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Commands
Base Types
graph BT Type-->Base0["VagrantCommandRunner"] click Base0 "/api/Cake.Vagrant.Commands/VagrantCommandRunner" Base0-->Base1["Object"] Type["VagrantDockerRunner"] class Type type-node

Syntax

public class VagrantDockerRunner : VagrantCommandRunner

Constructors

Properties

Name Value Summary
Log ICakeLog
Logging output
Inherited from VagrantCommandRunner
Runner Action<VagrantSettings, ProcessArgumentBuilder>
Action to trigger invocation of the CLI
Inherited from VagrantCommandRunner
Settings VagrantSettings
Settings for invocation of the Vagrant CLI
Inherited from VagrantCommandRunner

Methods

Name Value Summary
Exec(string, string) void
Can be used to run one-off commands against a Docker container that is currently running
Run(string, string) void
Can be used to run one-off commands against a Docker container that is currently running

Extension Methods

Name Value Summary
Dump<VagrantDockerRunner>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<VagrantDockerRunner>(VagrantDockerRunner[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<VagrantDockerRunner>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<VagrantDockerRunner>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<VagrantDockerRunner>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<VagrantDockerRunner>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin