FilerEtcStore implements CredentialStore using SeaweedFS filer for storage
| 17 | |
| 18 | // FilerEtcStore implements CredentialStore using SeaweedFS filer for storage |
| 19 | type FilerEtcStore struct { |
| 20 | filerAddressFunc func() pb.ServerAddress // Function to get current active filer |
| 21 | grpcDialOption grpc.DialOption |
| 22 | mu sync.RWMutex // Protects filerAddressFunc and grpcDialOption |
| 23 | policyMu sync.Mutex // Serializes legacy managed-policy mutations |
| 24 | } |
| 25 | |
| 26 | func (store *FilerEtcStore) GetName() credential.CredentialStoreTypeName { |
| 27 | return credential.StoreTypeFilerEtc |
nothing calls this directly
no outgoing calls
no test coverage detected