KuduProvider Class

Summary

Exposes functionality related to Kudu environment.
Assembly
Cake.Kudu.dll
Namespace
Cake.Kudu.Provider
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["KuduProvider"] class Type type-node

Syntax

public sealed class KuduProvider

Properties

Name Value Summary
AppSettings IDictionary<string, string>
Gets the Kudu app settings.
ConnectionStrings IDictionary<string, string>
Gets the Kudu connection strings.
Deployment Deployment
Gets the Kudu deployment environment.
IsRunningOnKudu bool
Gets a value indicating whether the current build is running on Kudu.
SCM SCM
Gets the Kudu source control environment.
Tools Tools
Gets the Kudu tools environment.
WebSite WebSite
Gets the Kudu website environment.

Methods

Name Value Summary
Sync(DirectoryPath, DirectoryPath, KuduSyncSettings) void
Sync two folders content.
Sync(DirectoryPath, DirectoryPath) void
Sync two folders content.
Sync(DirectoryPath) void
Sync two folders content.

Extension Methods

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