Table of Contents

Class CloudFoundryMapRouteSettingsExtensions

Namespace
Nuke.Common.Tools.CloudFoundry
Assembly
Nuke.Common.dll

Used within CloudFoundryTasks.

public static class CloudFoundryMapRouteSettingsExtensions
Inheritance
CloudFoundryMapRouteSettingsExtensions
Inherited Members

Methods

DisableRandomPort<T>(T)

Disables RandomPort

Create a random port for the TCP route

public static T DisableRandomPort<T>(this T toolSettings) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

EnableRandomPort<T>(T)

Enables RandomPort

Create a random port for the TCP route

public static T EnableRandomPort<T>(this T toolSettings) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetAppName<T>(T)

Resets AppName

public static T ResetAppName<T>(this T toolSettings) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetDomain<T>(T)

Resets Domain

public static T ResetDomain<T>(this T toolSettings) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetHostname<T>(T)

Resets Hostname

Hostname for the HTTP route (required for shared domains)

public static T ResetHostname<T>(this T toolSettings) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetPath<T>(T)

Resets Path

Path for the HTTP route

public static T ResetPath<T>(this T toolSettings) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetPort<T>(T)

Resets Port

Port for the TCP route

public static T ResetPort<T>(this T toolSettings) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

ResetRandomPort<T>(T)

Resets RandomPort

Create a random port for the TCP route

public static T ResetRandomPort<T>(this T toolSettings) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T

SetAppName<T>(T, string)

Sets AppName

public static T SetAppName<T>(this T toolSettings, string appName) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T
appName string

Returns

T

Type Parameters

T

SetDomain<T>(T, string)

Sets Domain

public static T SetDomain<T>(this T toolSettings, string domain) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T
domain string

Returns

T

Type Parameters

T

SetHostname<T>(T, string)

Sets Hostname

Hostname for the HTTP route (required for shared domains)

public static T SetHostname<T>(this T toolSettings, string hostname) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T
hostname string

Returns

T

Type Parameters

T

SetPath<T>(T, string)

Sets Path

Path for the HTTP route

public static T SetPath<T>(this T toolSettings, string path) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T
path string

Returns

T

Type Parameters

T

SetPort<T>(T, int?)

Sets Port

Port for the TCP route

public static T SetPort<T>(this T toolSettings, int? port) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T
port int?

Returns

T

Type Parameters

T

SetRandomPort<T>(T, bool?)

Sets RandomPort

Create a random port for the TCP route

public static T SetRandomPort<T>(this T toolSettings, bool? randomPort) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T
randomPort bool?

Returns

T

Type Parameters

T

ToggleRandomPort<T>(T)

Toggles RandomPort

Create a random port for the TCP route

public static T ToggleRandomPort<T>(this T toolSettings) where T : CloudFoundryMapRouteSettings

Parameters

toolSettings T

Returns

T

Type Parameters

T