-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
222 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
syntax = "proto3"; | ||
|
||
package artifact.artifact.v1alpha; | ||
|
||
import "google/api/visibility.proto"; | ||
import "artifact/artifact/v1alpha/artifact.proto"; | ||
|
||
// ArtifactPrivateService exposes the private endpoints that allow clients to | ||
// manage artifacts. | ||
service ArtifactPrivateService { | ||
// List the tags in a repository. | ||
// | ||
// Returns a portion of the versions that the specified repository holds. | ||
rpc ListRepositoryTags(ListRepositoryTagsRequest) returns (ListRepositoryTagsResponse); | ||
|
||
// Create a new repository tag. | ||
// | ||
// Adds a tag to a given repository. Note that this operation is only | ||
// intended to register the information of an *already created* tag. This | ||
// method should be called as part of the content push operation, right after | ||
// the [PUT Manifest](https://distribution.github.io/distribution/#put-manifest) has | ||
// succeeded. The distribution registry won't hold data such as the push time | ||
// or the tag digest, so `artifact-backend` will hold this information locally. | ||
rpc CreateRepositoryTag(CreateRepositoryTagRequest) returns (CreateRepositoryTagResponse); | ||
|
||
option (google.api.api_visibility).restriction = "INTERNAL"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters