ceph/examples/rgw/golang/object-upload
Josh Soref ed70d843df rgw: fix spelling errors
* access
* acquire
* across
* algorithm
* alternatively
* ambiguous
* attributes
* authenticated
* automatically
* based
* between
* beware
* bootstrap
* bucket
* cache
* character
* check
* cleanup
* combinations
* committed
* comparison
* compatibility
* concurrent
* conditions
* conjunction
* connections
* considered
* contains
* correct
* creates
* crypto
* dependencies
* dequeued
* dequeuing
* derivative
* described
* determine
* deterministic
* detritus
* discrepancy
* display
* either way
* elements
* entirely
* entries
* error
* everything
* expected
* explicitly
* extend
* false
* fclose
* feature
* following
* foreign
* format
* forward
* functionality
* functions
* generated
* getting
* gracefully
* happened
* hashicorp
* healthcheck
* hierarchy
* however
* http
* identify
* idleness
* ignored
* incremental
* information
* initialization
* length
* locally
* macros
* malformed
* means
* mechanism
* multipart
* multiple
* must
* namespace
* necessary
* nonexistent
* notifications
* occurred
* official
* outputs
* outputted
* overridden
* ownership
* parallelism
* partition
* passthrough
* pause
* penguin
* perform
* permission
* populated
* position
* preferably
* prefixes
* presumably
* previous
* print
* quadruple
* reference
* regardless
* registry
* renewed
* request
* requires
* reshard
* resource
* result to
* satisfy
* secret
* separate
* separator
* setting
* shouldn't
* skipping
* some
* somehow
* something
* specific
* struct
* succeeded
* success
* successful
* successfully
* syntax
* testing
* truncated
* unambiguously
* unittest
* unmodified
* unnecessary
* valid_action
* verifying
* versioning
* visible
* whatever
* whenever

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-11-27 10:27:32 -05:00
..
README.md rgw: fix spelling errors 2023-11-27 10:27:32 -05:00
fortuna.txt
object-upload.go

README.md

Introduction

This directory contains Golang code examples on how to upload an object to an S3 bucket running on a Ceph RGW cluster.

Prerequisite

Linux machine running an RGW Ceph cluster. Preferably started with the OSD=1 MON=1 MDS=0 MGR=0 RGW=1 ../src/vstart.sh --debug --new command. Go installed on the Linux machine.

Workflow Procedure

  1. Install AWS CLI version one on your Linux machine as explained here
  2. Create a bucket on the Ceph cluster with the command
aws --endpoint-url http://localhost:8000 s3 mb s3://sample-bucket
  1. Navigate through your file system to where the Golang example code exist on your terminal.
  2. Install the required Golang packages on the system
go mod init examples/object-upload/v2
go get github.com/aws/aws-sdk-go
go mod tidy
  1. Run the Golang program as go run object-upload.go -b sample-bucket -f fortuna.txt on the terminal window to test out object upload to Ceph RGW cluster.