KuduClientVFSExtensions Class

Summary

Extends IKuduClient with virtual file system methods.
Assembly
Cake.Kudu.Client.dll
Namespace
Cake.Kudu.Client.Extensions
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["KuduClientVFSExtensions"] class Type type-node

Syntax

public static class KuduClientVFSExtensions

Methods

Name Value Summary
VFSCreateDirectory(IKuduClient, DirectoryPath) void
Creates directory on remote path.
static
VFSDeleteDirectory(IKuduClient, DirectoryPath) void
Deletes remote directory.
static
VFSDeleteFile(IKuduClient, FilePath) void
Deletes remote file.
static
VFSDownloadFile(IKuduClient, FilePath, FilePath) void
Downloads remote file locally.
static
VFSDownloadStream(IKuduClient, FilePath) Stream
Downloads remote file to stream.
static
VFSDownloadString(IKuduClient, FilePath, Encoding) string
Downloads remote file as string.
static
VFSList(IKuduClient, DirectoryPath) IKuduVFS
Lists remote resources for a given path.
static
VFSUploadFile(IKuduClient, FilePath, FilePath) void
Uploads file to remote path.
static
VFSUploadStream(IKuduClient, Stream, FilePath) void
Uploads stream to remote path.
static
VFSUploadString(IKuduClient, string, FilePath, Encoding) void
Uploads stream to remote path.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin