OpenshiftAliases.

OpenshiftLogin(ICakeContext, string) Method

Summary

Logins to Openshift using Bearer token.
Assembly
Cake.Openshift.dll
Namespace
Cake.Openshift
Containing Type
OpenshiftAliases

Syntax

public static void OpenshiftLogin(this ICakeContext context, string token)

Examples

Cake task:
 Task("Openshift-Login-With-Bearer-Token")
         .Does(() =>
         {
             var token = "token";

             OpenshiftLogin(token);
         });

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
token string The Bearer token.

Return Value

Type Description
void