package
1.9.0
Repository: https://github.com/ibm/ibmcloud-cos-cli.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
BucketClassLocation - retrieves class or location of a certain bucket Parameter: CLI Context Application Returns: Error if triggered.
BucketCorsDelete - Deletes CORS configuration from a bucket Parameter: CLI Context Application Returns: Error if triggered.
BucketCorsGet receives CORS configuration from an existing bucket.
BucketCorsPut creates a CORS configuration for the bucket.
BucketCreate creates a new bucket, allowing the user to set the name, the class, and the region.
BucketDelete deletes a bucket from a user's account.
BucketHead determines if a bucket exists in a user's account.
No description provided by the author
No description provided by the author
No description provided by the author
BucketsList prints out a list of all the buckets in an IBM Cloud account.
BucketsListExtended prints out an extensive list of all the buckets with their respective location constraints in an IBM Cloud account.
No description provided by the author
No description provided by the author
BucketWebsiteDelete removes website configuration from a bucket.
No description provided by the author
No description provided by the author
ConfigAmazonHMAC stores HMAC Credentials in the config file.
ConfigChangeDefaultRegion allows the user to change the default region for the program to look for a bucket.
ConfigCRN allows the user to store the CRN into Credentials.json.
ConfigList Lists current config values.
ConfigSetAuthMethod allows the user to switch between IAM and HMAC based authentication, by setting "HMACProvided" to either true or false.
ConfigSetDLLocation allows the user to set their default download location (where files will be downloaded).
ConfigSetEndpointURL Sets the Service Endpoint and related actions.
ConfigSetRegionsEndpointURL override the value of the default regions endpoint.
ConfigSetURLStyle allows the user to switch between VHost and Path URL Styles.
DeepCopyIntoUsingJSON makes a deep copy from source to destination by marshaling the source in a temporary buffer and unmarshal back from the buffer to the destination.
Download - utilizes S3 Manager Downloader API to download objects from S3 concurrently.
No description provided by the author
GetCosContext boilerplate to retrieve the CosContext from metadata in a more correct way.
No description provided by the author
No description provided by the author
No description provided by the author
ListBucketsExtendedItx - iterate through each page of List Buckets Extended.
ListMultipartUploadsItx - Initialize List Multipart Uploads Output from the first page.
ListObjectsItx - Initialize List Objects Output from the first page.
ListObjectsV2Itx - Initialize List Objects Output from the first page.
ListObjectVersionsItx - Initialize List Object Versions Output from the first page.
ListPartsItx - Initialize List Parts Output from the first page.
MapToSDKInput - validates the user flags and their contents against SDK interfaces to ensure types in the parameters passed in are valid Parameters: CLI Context Application Destination Interface (API Inputs such as DeleteObjectsInput) Required Parameters for a CLI command Optional Parameters for a CLI command Return: Error - nil or a valid error.
MultipartAbort will end a current active multipart upload instance Parameter: CLI Context Application Returns: Error = zero or non-zero.
MultipartComplete completes a multipart upload instance.
MultipartCreate creates a new multipart upload instance, according to the Amazon AWS multipart specification Parameter: CLI Context Application Returns: Error = zero or non-zero.
MultiPartList command is to display the list of the multipart uploads of respective bucket Parameter: CLI Context Application Returns: Error = zero or non-zero.
NewPaginationHelper creates a new PaginationHelper from context using the specified flags return the PaginationHelper itself and a pointer to Page Size.
ObjectCopy copies a file from one bucket to another.
ObjectDelete deletes an object from a bucket.
ObjectDeletes deletes multiple objects from a bucket.
ObjectGet downloads a file from a bucket.
ObjectHead is used to get the head of an object, i.e., determine if it exists in a bucket.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ObjectPut - puts an object to a bucket without using multipart upload Parameter: CLI Context Application Returns: Error = zero or non-zero.
No description provided by the author
No description provided by the author
ObjectsList lists all the objects in a certain bucket.
ObjectsListV2 lists all the objects in a certain bucket.
ObjectTaggingDelete removes website configuration from a bucket.
No description provided by the author
No description provided by the author
ObjectsVersions lists all the object versions in a certain bucket.
PartsList prints out a list of all the parts currently uploaded in a multipart upload session.
PartUpload - uploads an individual part of a multiple upload (file).
PartUploadCopy - uploads an individual part of a multiple upload (file).
PublicAccessBlockDelete removes website configuration from a bucket.
No description provided by the author
No description provided by the author
Upload - utilizes S3 Manager Uploader API to upload objects from S3 concurrently.
WaitBucketExists function.
WaitBucketNotExists function.
WaitObjectExists function.
WaitObjectNotExists function.

# Variables

DefaultClass variable = Standard.

# Structs

ConfigOption holds a representation of the config values location and how to display them.
GetLocationWrapper builds a struct for GetBucketLocationOutput and Error.
PaginationHelper struct to hep with paging handling.

# Type aliases

Class type as string.