fakeExister is a minimal namespaces.Exister stub for classifyPrincipal matrix testing. Names in `known` are active; names in `deleting` exist but are not active.
| 411 | // matrix testing. Names in `known` are active; names in `deleting` exist |
| 412 | // but are not active. |
| 413 | type fakeExister struct { |
| 414 | known map[string]struct{} |
| 415 | deleting map[string]struct{} |
| 416 | } |
| 417 | |
| 418 | func newFakeExister(names ...string) *fakeExister { |
| 419 | m := map[string]struct{}{} |
nothing calls this directly
no outgoing calls
no test coverage detected