Beispiel #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);
 }
Beispiel #2
0
        public RepositoryClient(API api, int projectId)
        {
            _api = api;

            _projectPath = Project.Url + "/" + projectId;
            _repoPath = _projectPath + "/repository";
        }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #5
0
 public IssueClient(API api)
 {
     _api = api;
 }
 public MergeRequestCommentClient(API api, string projectPath, int mergeRequestId)
 {
     _api = api;
     _commentsPath = projectPath + "/merge_request/" + mergeRequestId + "/comments";
 }
Beispiel #7
0
 public TagClient(API api, string repoPath)
 {
     _api = api;
     _repoPath = repoPath;
 }
Beispiel #8
0
 public ProjectMembersClient(API api)
 {
     _api = api;
 }
Beispiel #9
0
 public MergeRequestClient(API api, int projectId)
 {
     _api = api;
     _projectPath = Project.Url + "/" + projectId;
 }
Beispiel #10
0
 public UserClient(API api)
 {
     _api = api;
 }
Beispiel #11
0
 public TagClient(API api, string repoPath)
 {
     _api      = api;
     _repoPath = repoPath;
 }
Beispiel #12
0
 public NamespaceClient(API api)
 {
     _api = api;
 }
 public MergeRequestCommitsClient(API api, string projectPath, int mergeRequestId)
 {
     _api = api;
     _commitsPath = projectPath + "/merge_request/" + mergeRequestId + Commit.Url;
 }
Beispiel #14
0
 public ProjectClient(API api)
 {
     _api = api;
 }
 public ProjectClient(API api)
 {
     _api = api;
 }
Beispiel #16
0
 public BuildClient(API api, string projectPath, string repoPath)
 {
     _api = api;
     _builds = projectPath + Build.Url;
     _buildsFromCommitPath = repoPath + Commit.Url;
 }
 public MergeRequestChangesClient(API api, string projectPath, int mergeRequestId)
 {
     _api = api;
     _changesPath = projectPath + "/merge_request/" + mergeRequestId + "/changes";
 }
Beispiel #18
0
 public BranchClient(API api, string repoPath)
 {
     _api = api;
     _repoPath = repoPath;
 }
Beispiel #19
0
 public ProjectHooksClient(API api, string projectPath)
 {
     _api = api;
     _path = projectPath + "/hooks";
 }
Beispiel #20
0
 public LabelClient(API api)
 {
     _api = api;
 }