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.Openshift.
Summary
Deletes an openshift resource.
Syntax
public static void OpenshiftDelete(this ICakeContext context, OpenshiftDeleterSettings settings)
Examples
Cake task:
Task("Openshift-Delete")
.Does(() =>
{
OpenshiftDelete(buildConfig, new OpenshiftDeleterSettings
{
ObjectType = "pod",
ObjectName = "node-1-vsjnm",
All = true,
Label = "app=appName",
IgnoreNotFound = true
});
});
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
CakeNamespaceImportAttribute |
|
Parameters
Return Value