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

Struct User

pkg/policy/bucket-policy.go:82–85  ·  view source on GitHub ↗

User - canonical users list.

Source from the content-addressed store, hash-verified

80
81// User - canonical users list.
82type User struct {
83 AWS set.StringSet `json:"AWS,omitempty"`
84 CanonicalUser set.StringSet `json:"CanonicalUser,omitempty"`
85}
86
87// UnmarshalJSON is a custom json unmarshaler for Principal field,
88// the reason is that Principal can take a json struct represented by

Callers 1

UnmarshalJSONMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected