C# Класс Elastacloud.AzureManagement.Fluent.Clients.GithubClient

Used to connect to the Github repos
Наследование: IGithubClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

GetHooks() публичный Метод

Gets the hooks associated with the repo
public GetHooks ( string repoName ) : string>.Dictionary
repoName string
Результат string>.Dictionary

GetOAuthToken() публичный Метод

Gets a new oauth token for an application
public GetOAuthToken ( string accountName, string repoName ) : void
accountName string
repoName string
Результат void

GetRepositories() публичный Метод

Used to get all of the repos from Github
public GetRepositories ( string uri = "https://api.github.com/user/repos" ) : string>.Dictionary
uri string
Результат string>.Dictionary

GithubClient() публичный Метод

public GithubClient ( IWebsiteRequestHelper helper ) : System
helper IWebsiteRequestHelper
Результат System

SetServiceHook() публичный Метод

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
Результат string

TestServiceHook() публичный Метод

Tests any service hook
public TestServiceHook ( string hook ) : void
hook string
Результат void