C# 클래스 Elastacloud.AzureManagement.Fluent.Clients.GithubClient

Used to connect to the Github repos
상속: IGithubClient
파일 보기 프로젝트 열기: azurecoder/fluent-management 1 사용 예제들

공개 메소드들

메소드 설명
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