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

Function annotationQueryValues

api-object-annotation.go:102–112  ·  view source on GitHub ↗
(name, versionID string)

Source from the content-addressed store, hash-verified

100}
101
102func annotationQueryValues(name, versionID string) url.Values {
103 urlValues := make(url.Values)
104 urlValues.Set("annotation", "")
105 if name != "" {
106 urlValues.Set("annotationName", name)
107 }
108 if versionID != "" {
109 urlValues.Set("versionId", versionID)
110 }
111 return urlValues
112}
113
114// PutObjectAnnotation creates or overwrites a named annotation on an object
115// version. The payload (1 byte to 1 MiB) is streamed directly from the supplied

Callers 4

PutObjectAnnotationMethod · 0.85
GetObjectAnnotationMethod · 0.85
ListObjectAnnotationsMethod · 0.85

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected