package
1.0.0
Repository: https://github.com/chrismellard/jx-pipeline.git
Documentation: pkg.go.dev

# Functions

CreateBucketURL creates a go-cloud URL to a bucket.
KubeProviderToBucketScheme returns the bucket scheme for the cloud provider.
ReadBucketURL reads the content of a bucket URL of the for 's3://bucketName/foo/bar/whatnot.txt?param=123' where any of the query arguments are applied to the underlying Bucket URL and the path is extracted and resolved within the bucket.
ReadHTTPURL reads the HTTP based URL, modifying the headers as needed, and returns the data or returning an error if a 2xx status is not returned.
ReadURL reads the given URL from either a http/https endpoint or a bucket URL path.
SplitBucketURL splits the full bucket URL into the URL to open the bucket and the file name to refer to within the bucket.
WriteBucket writes the data to a bucket URL and key of the for 's3://bucketName' and key 'foo/bar/whatnot.txt' with the given timeout.
WriteBucketURL writes the data to a bucket URL of the for 's3://bucketName/foo/bar/whatnot.txt?param=123' with the given timeout.