This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Kudu.Client.
Summary
Get a Kudu client using supplied
.
Syntax
public static IKuduClient KuduClient(this ICakeContext context, KuduClientSettings settings)
Examples
#addin nuget:?package=Cake.Kudu.Client
string baseUri = EnvironmentVariable("KUDU_CLIENT_BASEURI"),
userName = EnvironmentVariable("KUDU_CLIENT_USERNAME"),
password = EnvironmentVariable("KUDU_CLIENT_PASSWORD");
IKuduClient kuduClient = KuduClient(
new KuduClientSettings(
baseUri,
userName,
password
){
Timeout = TimeSpan.FromSeconds(120)
});
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
settings |
KuduClientSettings |
The settings. |
Return Value