KuduCommandResult Class

Summary

Result of Kudu command execution.
Assembly
Cake.Kudu.Client.dll
Namespace
Cake.Kudu.Client.Command
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IKuduCommandResult"] click Interface0 "/api/Cake.Kudu.Client.Command/IKuduCommandResult" Type["KuduCommandResult"] class Type type-node

Syntax

public class KuduCommandResult : IKuduCommandResult

Constructors

Name Summary
KuduCommandResult()

Properties

Name Value Summary
Error string
Gets or sets the error output of the command.
ExitCode int
Gets or sets the console exit code of the command.
Output string
Gets or sets the console output of the command.

Methods

Name Value Summary
ToString() string
ToString override for .

Extension Methods

Name Value Summary
Dump<KuduCommandResult>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<KuduCommandResult>(KuduCommandResult[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<KuduCommandResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<KuduCommandResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<KuduCommandResult>(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
ThrowIfNull<KuduCommandResult>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin