diff options
author | James Liu <jliu@gitlab.com> | 2023-11-30 03:43:37 +0300 |
---|---|---|
committer | James Liu <jliu@gitlab.com> | 2023-12-01 06:41:30 +0300 |
commit | acacbc5b5ccaf44a57f138c040a9c76d6bd8ffb1 (patch) | |
tree | fe1bbcc970d83a012483fa77e5efbd8c822b8d99 | |
parent | ae31c190f9e0c3db5d207b6b7a133949aee1560c (diff) |
proto: Add missing docs to CreateBundle RPC
-rw-r--r-- | proto/go/gitalypb/repository.pb.go | 9 | ||||
-rw-r--r-- | proto/repository.proto | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/proto/go/gitalypb/repository.pb.go b/proto/go/gitalypb/repository.pb.go index fae6c1483..83feedc48 100644 --- a/proto/go/gitalypb/repository.pb.go +++ b/proto/go/gitalypb/repository.pb.go @@ -2192,13 +2192,14 @@ func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int) { return file_repository_proto_rawDescGZIP(), []int{33} } -// CreateBundleRequest ... +// CreateBundleRequest is a request for the CreateBundle RPC. type CreateBundleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // repository ... + // repository is the repository to create a bundle from. The storage_name and + // relative_path attributes must be provided. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } @@ -2241,13 +2242,13 @@ func (x *CreateBundleRequest) GetRepository() *Repository { return nil } -// CreateBundleResponse ... +// CreateBundleResponse is a response for the CreateBundle RPC. type CreateBundleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // data ... + // data contains the content of the created bundle. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } diff --git a/proto/repository.proto b/proto/repository.proto index b1074efc1..d772e009d 100644 --- a/proto/repository.proto +++ b/proto/repository.proto @@ -814,15 +814,16 @@ message CreateRepositoryFromURLRequest { message CreateRepositoryFromURLResponse { } -// CreateBundleRequest ... +// CreateBundleRequest is a request for the CreateBundle RPC. message CreateBundleRequest { - // repository ... + // repository is the repository to create a bundle from. The storage_name and + // relative_path attributes must be provided. Repository repository = 1 [(target_repository)=true]; } -// CreateBundleResponse ... +// CreateBundleResponse is a response for the CreateBundle RPC. message CreateBundleResponse { - // data ... + // data contains the content of the created bundle. bytes data = 1; } |