Documentation ¶
Overview ¶
Package s3ry is Amazon S3 CLI Tool by using promptui.
Index ¶
- Constants
- func Operations(region string, bucket string)
- func SelectBucketAndRegion() (string, string)
- type PromptItems
- type S3ry
- func (s S3ry) DeleteObject(bucket string, item string)
- func (s S3ry) GetObject(bucket string, objectKey string)
- func (s S3ry) ListBuckets() []PromptItems
- func (s S3ry) ListObjects(bucket string) []PromptItems
- func (s S3ry) ListObjectsPages(bucket string) []PromptItems
- func (s S3ry) ListOperation() []PromptItems
- func (s S3ry) ListUpload(bucket string) []PromptItems
- func (s S3ry) SaveObjectList(bucket string)
- func (s S3ry) SelectItem(label string, items []PromptItems) string
- func (s S3ry) UploadObject(bucket string, selectUpload string)
Constants ¶
View Source
const ApNortheastOne = "ap-northeast-1"
ApNortheastOne Japan Region String
Variables ¶
This section is empty.
Functions ¶
func SelectBucketAndRegion ¶
SelectBucketAndRegion get Region and Bucket
Types ¶
type PromptItems ¶
PromptItems struct for promptui
type S3ry ¶
S3ry Service Client Operator
func (S3ry) DeleteObject ¶
DeleteObject delete Object from S3 bucket
func (S3ry) ListBuckets ¶
func (s S3ry) ListBuckets() []PromptItems
ListBuckets return ListBuckets for PromptItems
func (S3ry) ListObjects ¶
func (s S3ry) ListObjects(bucket string) []PromptItems
ListObjects return ListObjects for PromptItems
func (S3ry) ListObjectsPages ¶
func (s S3ry) ListObjectsPages(bucket string) []PromptItems
ListObjectsPages return ListObjectsPages for PromptItems
func (S3ry) ListOperation ¶
func (s S3ry) ListOperation() []PromptItems
ListOperation return ListOperation for PromptItems
func (S3ry) ListUpload ¶
func (s S3ry) ListUpload(bucket string) []PromptItems
ListUpload return ListUpload for PromptItems
func (S3ry) SaveObjectList ¶
SaveObjectList create S3 ObjectList And SaveList
func (S3ry) SelectItem ¶
func (s S3ry) SelectItem(label string, items []PromptItems) string
SelectItem select PromptItems using promptui
func (S3ry) UploadObject ¶
UploadObject put Object in S3 bucket
Click to show internal directories.
Click to hide internal directories.