Interface MetaRepository
- All Superinterfaces:
Repository
A Revision-controlled filesystem-like repository which is named
"meta"
.-
Field Summary
Fields inherited from interface com.linecorp.centraldogma.server.storage.repository.Repository
ALL_PATH, DEFAULT_MAX_COMMITS, MAX_MAX_COMMITS
-
Method Summary
Modifier and TypeMethodDescriptioncreateCredentialPushCommand
(Credential credential, Author author, boolean update) Create a pushCommand
for theCredential
.createCredentialPushCommand
(String repoName, Credential credential, Author author, boolean update) Create a pushCommand
for theCredential
.createMirrorPushCommand
(String repoName, com.linecorp.centraldogma.internal.api.v1.MirrorRequest mirrorRequest, Author author, ZoneConfig zoneConfig, boolean update) Create a pushCommand
for theMirrorDto
.credential
(String name) Returns a credential of the specifiedname
.default CompletableFuture
<Mirror> Returns a mirroring task of the specifiedid
.Returns a mirroring task of the specifiedid
at the specifiedRevision
.default CompletableFuture
<List<Mirror>> mirrors()
Returns active mirroring tasks.mirrors
(boolean includeDisabled) Returns a set of mirroring tasks.Returns a set of mirroring tasks of the specified repository.Returns a list of project credentials.repoCredentials
(String repoName) Returns a list of credentials of the specified repository.Methods inherited from interface com.linecorp.centraldogma.server.storage.repository.Repository
addListener, author, commit, commit, commit, commit, commit, creationTimeMillis, diff, diff, diff, diff, execute, exists, find, find, findLatestRevision, findLatestRevision, get, get, getOrNull, getOrNull, history, history, jGitRepository, mergeFiles, name, normalize, normalizeNow, normalizeNow, parent, previewDiff, previewDiff, watch, watch, watch, watch
-
Method Details
-
mirrors
Returns active mirroring tasks. -
mirrors
Returns a set of mirroring tasks. IfincludeDisabled
istrue
, disabled mirroring tasks are also included in the returnedMirror
s. -
mirrors
Returns a set of mirroring tasks of the specified repository. IfincludeDisabled
istrue
, disabled mirroring tasks are also included in the returnedMirror
s. -
mirror
Returns a mirroring task of the specifiedid
. -
mirror
Returns a mirroring task of the specifiedid
at the specifiedRevision
. -
projectCredentials
CompletableFuture<List<Credential>> projectCredentials()Returns a list of project credentials. -
repoCredentials
Returns a list of credentials of the specified repository. -
credential
Returns a credential of the specifiedname
. -
createMirrorPushCommand
CompletableFuture<Command<CommitResult>> createMirrorPushCommand(String repoName, com.linecorp.centraldogma.internal.api.v1.MirrorRequest mirrorRequest, Author author, @Nullable ZoneConfig zoneConfig, boolean update) Create a pushCommand
for theMirrorDto
. -
createCredentialPushCommand
CompletableFuture<Command<CommitResult>> createCredentialPushCommand(Credential credential, Author author, boolean update) Create a pushCommand
for theCredential
. -
createCredentialPushCommand
CompletableFuture<Command<CommitResult>> createCredentialPushCommand(String repoName, Credential credential, Author author, boolean update) Create a pushCommand
for theCredential
.
-