示例#1
0
 private GitLabClient(string hostUrl, string apiToken)
 {
     _api = new API(hostUrl, apiToken);
     Users = new UserClient(_api);
     Projects = new ProjectClient(_api);
     Issues = new IssueClient(_api);
 }
示例#2
0
        public RepositoryClient(API api, int projectId)
        {
            _api = api;

            _projectPath = Project.Url + "/" + projectId;
            _repoPath = _projectPath + "/repository";
        }
示例#3
0
 GitLabClient(string hostUrl, string apiToken)
 {
     _api = new API(hostUrl, apiToken);
     Users = new UserClient(_api);
     Projects = new ProjectClient(_api);
     Issues = new IssueClient(_api);
     Groups = new NamespaceClient(_api);
 }
示例#4
0
 private GitLabClient(string hostUrl, string apiToken, string accessToken)
 {
     _api = new API(hostUrl, apiToken, accessToken);
     Users = new UserClient(_api);
     Projects = new ProjectClient(_api);
     Issues = new IssueClient(_api);
     Groups = new NamespaceClient(_api);
     Labels = new LabelClient(_api);
 }
示例#5
0
 public IssueClient(API api)
 {
     _api = api;
 }
 public MergeRequestCommentClient(API api, string projectPath, int mergeRequestId)
 {
     _api = api;
     _commentsPath = projectPath + "/merge_request/" + mergeRequestId + "/comments";
 }
示例#7
0
 public TagClient(API api, string repoPath)
 {
     _api = api;
     _repoPath = repoPath;
 }
示例#8
0
 public ProjectMembersClient(API api)
 {
     _api = api;
 }
示例#9
0
 public MergeRequestClient(API api, int projectId)
 {
     _api = api;
     _projectPath = Project.Url + "/" + projectId;
 }
示例#10
0
 public UserClient(API api)
 {
     _api = api;
 }
示例#11
0
 public TagClient(API api, string repoPath)
 {
     _api      = api;
     _repoPath = repoPath;
 }
示例#12
0
 public NamespaceClient(API api)
 {
     _api = api;
 }
示例#13
0
 public MergeRequestCommitsClient(API api, string projectPath, int mergeRequestId)
 {
     _api = api;
     _commitsPath = projectPath + "/merge_request/" + mergeRequestId + Commit.Url;
 }
示例#14
0
 public ProjectClient(API api)
 {
     _api = api;
 }
 public ProjectClient(API api)
 {
     _api = api;
 }
示例#16
0
 public BuildClient(API api, string projectPath, string repoPath)
 {
     _api = api;
     _builds = projectPath + Build.Url;
     _buildsFromCommitPath = repoPath + Commit.Url;
 }
示例#17
0
 public MergeRequestChangesClient(API api, string projectPath, int mergeRequestId)
 {
     _api = api;
     _changesPath = projectPath + "/merge_request/" + mergeRequestId + "/changes";
 }
示例#18
0
 public BranchClient(API api, string repoPath)
 {
     _api = api;
     _repoPath = repoPath;
 }
示例#19
0
 public ProjectHooksClient(API api, string projectPath)
 {
     _api = api;
     _path = projectPath + "/hooks";
 }
示例#20
0
 public LabelClient(API api)
 {
     _api = api;
 }