C# Class Octopus.Client.OctopusClientFactory

Creates instances of the IOctopusAsyncClient.
Inheritance: IOctopusClientFactory
Show file Open project: OctopusDeploy/Octo.exe Class Usage Examples

Public Methods

Method Description
CreateAsyncClient ( OctopusServerEndpoint serverEndpoint, OctopusClientOptions octopusClientOptions = null ) : Task

Creates an instance of the client.

CreateClient ( OctopusServerEndpoint serverEndpoint ) : IOctopusClient

Creates an instance of the client.

Method Details

CreateAsyncClient() public method

Creates an instance of the client.
public CreateAsyncClient ( OctopusServerEndpoint serverEndpoint, OctopusClientOptions octopusClientOptions = null ) : Task
serverEndpoint OctopusServerEndpoint The server endpoint.
octopusClientOptions OctopusClientOptions
return Task

CreateClient() public method

Creates an instance of the client.
public CreateClient ( OctopusServerEndpoint serverEndpoint ) : IOctopusClient
serverEndpoint OctopusServerEndpoint The server endpoint.
return IOctopusClient