Class GitLabCiYamlApi

    • Constructor Detail

      • GitLabCiYamlApi

        public GitLabCiYamlApi​(GitLabApi gitLabApi)
    • Method Detail

      • getAllGitLabCiYamlTemplates

        public java.util.List<GitLabCiTemplateElement> getAllGitLabCiYamlTemplates()
                                                                            throws GitLabApiException
        Get all GitLab CI/CD YAML templates.
        GitLab Endpoint: GET /templates/gitlab_ci_ymls
        Returns:
        a list of Gitlab CI YAML Templates
        Throws:
        GitLabApiException - if any exception occurs
      • getSingleGitLabCiYamlTemplate

        public GitLabCiTemplate getSingleGitLabCiYamlTemplate​(java.lang.String key)
                                                       throws GitLabApiException
        Get a single GitLab CI/CD YAML template.
        GitLab Endpoint: GET /templates/gitlab_ci_ymls/:key
        Parameters:
        key - The key of the GitLab CI YAML template
        Returns:
        an Gitlab CI YAML Template
        Throws:
        GitLabApiException - if any exception occurs