java.lang.Object
cd.go.contrib.plugins.configrepo.groovy.dsl.connection.GitLab
All Implemented Interfaces:
ConnectionConfig, KeyVal.Mixin, UtilsMixin
Direct Known Subclasses:
Attributes.GitLabMR

public class GitLab extends Object implements ConnectionConfig
  • Field Details

    • GITLAB_SAAS

      public static final String GITLAB_SAAS
      See Also:
    • fullRepoName

      @NotBlank(message="`gitlab {}` block requires `fullRepoName` (string), set with `fullRepoName = \'group/repo\'`") public @NotBlank(message="`gitlab {}` block requires `fullRepoName` (string), set with `fullRepoName = \'group/repo\'`") String fullRepoName
      This is the `{group}/{repo_slug}` representing the git repository hosted on GitLab
    • serverBaseUrl

      public String serverBaseUrl
      This is base URL to the GitLab server
    • apiAuthToken

      public String apiAuthToken
      RECOMMENDED: While optional, providing an Personal Access Token (oauth) here will provide higher limits on GitLab and is required for private repositories. Be sure to assign the correct scopes for your token in GitLab.
  • Constructor Details

    • GitLab

      public GitLab()
    • GitLab

      public GitLab(Consumer<GitLab> config)
  • Method Details

    • type

      public Type type()
      Specified by:
      type in interface ConnectionConfig
    • identifier

      public String identifier()
      Description copied from interface: ConnectionConfig
      An identifier representing this ConnectionConfig. This should be deterministically calculated from the configured fields with the exception of authentication-related fields. Another way to put this is that two ConnectionConfig instances should have equal identifiers if all non-authentication connection details are the same. Identifiers should not be equal if any non-authentication connection details are different.
      Specified by:
      identifier in interface ConnectionConfig
      Returns:
      a String identifier.