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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-16 18:07:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-16 18:07:32 +0300
commitdb19df23733c768c564534a09de2e6718097ec95 (patch)
treef148eb0723f20a2442e0274089d567e1810ee8d2 /workhorse
parentd2199d74936cd5cb9f45f569f723a5370ae5013e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse')
-rw-r--r--workhorse/internal/upload/destination/destination.go3
-rw-r--r--workhorse/internal/upload/destination/filestore/filestore.go1
-rw-r--r--workhorse/internal/upload/destination/objectstore/doc.go3
3 files changed, 7 insertions, 0 deletions
diff --git a/workhorse/internal/upload/destination/destination.go b/workhorse/internal/upload/destination/destination.go
index df0d67aea30..7a030e59a64 100644
--- a/workhorse/internal/upload/destination/destination.go
+++ b/workhorse/internal/upload/destination/destination.go
@@ -1,3 +1,6 @@
+// The destination package handles uploading to a specific destination (delegates
+// to filestore or objectstore packages) based on options from the pre-authorization
+// API and finalizing the upload.
package destination
import (
diff --git a/workhorse/internal/upload/destination/filestore/filestore.go b/workhorse/internal/upload/destination/filestore/filestore.go
index f593cc30aeb..2d88874bf25 100644
--- a/workhorse/internal/upload/destination/filestore/filestore.go
+++ b/workhorse/internal/upload/destination/filestore/filestore.go
@@ -1,3 +1,4 @@
+// The filestore package has a consumer specific to uploading to local disk storage.
package filestore
import (
diff --git a/workhorse/internal/upload/destination/objectstore/doc.go b/workhorse/internal/upload/destination/objectstore/doc.go
new file mode 100644
index 00000000000..00f98f230ec
--- /dev/null
+++ b/workhorse/internal/upload/destination/objectstore/doc.go
@@ -0,0 +1,3 @@
+// The objectstore package consists of a number of consumers specific to uploading
+// to object storage providers that are S3 compatible (e.g. AWS S3, GCP, Azure).
+package objectstore