Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorJames Liu <jliu@gitlab.com>2023-11-30 04:18:50 +0300
committerJames Liu <jliu@gitlab.com>2023-12-01 06:41:30 +0300
commit976af15ab77d652ef262411181ed99839d4e46df (patch)
tree201d634d5e41d4e2b6ee9f582518eb43b420f337 /proto
parent44521c9fc330156392fe00924e15382f75ebafda (diff)
proto: Add missing docs for GetCustomHooks RPC
Diffstat (limited to 'proto')
-rw-r--r--proto/go/gitalypb/repository.pb.go9
-rw-r--r--proto/repository.proto9
2 files changed, 10 insertions, 8 deletions
diff --git a/proto/go/gitalypb/repository.pb.go b/proto/go/gitalypb/repository.pb.go
index 91c8ab114..7a884e06a 100644
--- a/proto/go/gitalypb/repository.pb.go
+++ b/proto/go/gitalypb/repository.pb.go
@@ -2743,13 +2743,14 @@ func (x *BackupCustomHooksRequest) GetRepository() *Repository {
return nil
}
-// GetCustomHooksRequest ...
+// GetCustomHooksRequest is a request for the GetCustomHooks RPC.
type GetCustomHooksRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // repository ...
+ // repository is the repo to retrieve custom hooks from. The storage_name and relative_path
+ // attributes must be provided.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
}
@@ -2841,13 +2842,13 @@ func (x *BackupCustomHooksResponse) GetData() []byte {
return nil
}
-// GetCustomHooksResponse ...
+// GetCustomHooksResponse is a response for the GetCustomHooks RPC.
type GetCustomHooksResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // data ...
+ // data is the tarball containing the `custom_hooks` directory.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
diff --git a/proto/repository.proto b/proto/repository.proto
index 40f6aa3cb..a66abe493 100644
--- a/proto/repository.proto
+++ b/proto/repository.proto
@@ -888,9 +888,10 @@ message BackupCustomHooksRequest {
Repository repository = 1 [(target_repository)=true];
}
-// GetCustomHooksRequest ...
+// GetCustomHooksRequest is a request for the GetCustomHooks RPC.
message GetCustomHooksRequest {
- // repository ...
+ // repository is the repo to retrieve custom hooks from. The storage_name and relative_path
+ // attributes must be provided.
Repository repository = 1 [(target_repository)=true];
}
@@ -900,9 +901,9 @@ message BackupCustomHooksResponse {
bytes data = 1;
}
-// GetCustomHooksResponse ...
+// GetCustomHooksResponse is a response for the GetCustomHooks RPC.
message GetCustomHooksResponse {
- // data ...
+ // data is the tarball containing the `custom_hooks` directory.
bytes data = 1;
}