MCPcopy
hub / github.com/minio/minio-go / SetOutputLocation

Method SetOutputLocation

api-restore.go:139–141  ·  view source on GitHub ↗

SetOutputLocation sets the properties of the copy of the archived object

(v OutputLocation)

Source from the content-addressed store, hash-verified

137
138// SetOutputLocation sets the properties of the copy of the archived object
139func (r *RestoreRequest) SetOutputLocation(v OutputLocation) {
140 r.OutputLocation = &v
141}
142
143// RestoreObject is a implementation of https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html AWS S3 API
144func (c *Client) RestoreObject(ctx context.Context, bucketName, objectName, versionID string, req RestoreRequest) error {

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected