Class GitHub
java.lang.Object
cd.go.contrib.plugins.configrepo.groovy.dsl.connection.GitHub
- All Implemented Interfaces:
ConnectionConfig
,KeyVal.Mixin
,UtilsMixin
- Direct Known Subclasses:
Attributes.GitHubPR
-
Field Summary
Modifier and TypeFieldDescriptionRECOMMENDED: While optional, providing an Personal Access Token (oauth) here will provide higher limits on GitHUb and is required for private repositories.@NotBlank(message="`github {}` block requires `fullRepoName` (string), set with `fullRepoName = \'owner/repo\'`") String
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.KeyVal.Mixin
lookup, lookup
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.UtilsMixin
sanitizeName
-
Field Details
-
apiAuthToken
RECOMMENDED: While optional, providing an Personal Access Token (oauth) here will provide higher limits on GitHUb and is required for private repositories. Be sure to assign the correct scopes for your token in GitHub. -
fullRepoName
@NotBlank(message="`github {}` block requires `fullRepoName` (string), set with `fullRepoName = \'owner/repo\'`") public @NotBlank(message="`github {}` block requires `fullRepoName` (string), set with `fullRepoName = \'owner/repo\'`") String fullRepoName
-
-
Constructor Details
-
GitHub
public GitHub() -
GitHub
-
-
Method Details
-
type
- Specified by:
type
in interfaceConnectionConfig
-
identifier
Description copied from interface:ConnectionConfig
An identifier representing thisConnectionConfig
. This should be deterministically calculated from the configured fields with the exception of authentication-related fields. Another way to put this is that twoConnectionConfig
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 interfaceConnectionConfig
- Returns:
- a
String
identifier.
-