C# Class Elastacloud.AzureManagement.Fluent.Clients.GithubClient

Used to connect to the Github repos
Inheritance: IGithubClient
Afficher le fichier Open project: azurecoder/fluent-management Class Usage Examples

Méthodes publiques

Méthode Description
GetHooks ( string repoName ) : string>.Dictionary

Gets the hooks associated with the repo

GetOAuthToken ( string accountName, string repoName ) : void

Gets a new oauth token for an application

GetRepositories ( string uri = "https://api.github.com/user/repos" ) : string>.Dictionary

Used to get all of the repos from Github

GithubClient ( IWebsiteRequestHelper helper ) : System
SetServiceHook ( string publishingUsername, string publishingPassword, string azureRepoName, string accountName, string repoName ) : string

Sets the service hook to allow the azure remote repo to connect and deploy

TestServiceHook ( string hook ) : void

Tests any service hook

Method Details

GetHooks() public méthode

Gets the hooks associated with the repo
public GetHooks ( string repoName ) : string>.Dictionary
repoName string
Résultat string>.Dictionary

GetOAuthToken() public méthode

Gets a new oauth token for an application
public GetOAuthToken ( string accountName, string repoName ) : void
accountName string
repoName string
Résultat void

GetRepositories() public méthode

Used to get all of the repos from Github
public GetRepositories ( string uri = "https://api.github.com/user/repos" ) : string>.Dictionary
uri string
Résultat string>.Dictionary

GithubClient() public méthode

public GithubClient ( IWebsiteRequestHelper helper ) : System
helper IWebsiteRequestHelper
Résultat System

SetServiceHook() public méthode

Sets the service hook to allow the azure remote repo to connect and deploy
public SetServiceHook ( string publishingUsername, string publishingPassword, string azureRepoName, string accountName, string repoName ) : string
publishingUsername string
publishingPassword string
azureRepoName string
accountName string
repoName string
Résultat string

TestServiceHook() public méthode

Tests any service hook
public TestServiceHook ( string hook ) : void
hook string
Résultat void