OpenshiftAliases Class

Summary

Contains functionality related to running openshift cli commands.

In order to use the commands for this alias, include the following in your build.cake file to download and install from NuGet.org, or specify the ToolPath within the OpenshiftSettings class:

#tool "nuget:?package=Openshift"

Assembly
Cake.Openshift.dll
Namespace
Cake.Openshift
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["OpenshiftAliases"] class Type type-node

Syntax

public static class OpenshiftAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
OpenshiftDelete(ICakeContext, OpenshiftDeleterSettings) void
Deletes an openshift resource.
static
OpenshiftLogin(ICakeContext, string, string) void
Logins to Openshift using username and password.
static
OpenshiftLogin(ICakeContext, string) void
Logins to Openshift using Bearer token.
static
OpenshiftStartBuild(ICakeContext, string, OpenshiftBuildStarterSettings) void
Starts a new openshift build for the provided build config with additional options.
static
OpenshiftStartBuild(ICakeContext, string) void
Starts a new openshift build for the provided build config.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin