IdentityExcerpt hold a subset of the identity values to be able to sort and filter identities efficiently without having to read and compile each raw identity.
| 19 | // filter identities efficiently without having to read and compile each raw |
| 20 | // identity. |
| 21 | type IdentityExcerpt struct { |
| 22 | id entity.Id |
| 23 | |
| 24 | Name string |
| 25 | Login string |
| 26 | ImmutableMetadata map[string]string |
| 27 | } |
| 28 | |
| 29 | func NewIdentityExcerpt(i *IdentityCache) *IdentityExcerpt { |
| 30 | return &IdentityExcerpt{ |
nothing calls this directly
no outgoing calls
no test coverage detected