All returns an object matching all resources of the same type.
()
| 139 | |
| 140 | // All returns an object matching all resources of the same type. |
| 141 | func (z Object) All() Object { |
| 142 | return Object{ |
| 143 | Owner: "", |
| 144 | OrgID: "", |
| 145 | Type: z.Type, |
| 146 | ACLUserList: map[string][]policy.Action{}, |
| 147 | ACLGroupList: map[string][]policy.Action{}, |
| 148 | AnyOrgOwner: z.AnyOrgOwner, |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | func (z Object) WithIDString(id string) Object { |
| 153 | return Object{ |
no outgoing calls