MCPcopy
hub / github.com/seaweedfs/seaweedfs / FilerEtcStore

Struct FilerEtcStore

weed/credential/filer_etc/filer_etc_store.go:19–24  ·  view source on GitHub ↗

FilerEtcStore implements CredentialStore using SeaweedFS filer for storage

Source from the content-addressed store, hash-verified

17
18// FilerEtcStore implements CredentialStore using SeaweedFS filer for storage
19type 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
26func (store *FilerEtcStore) GetName() credential.CredentialStoreTypeName {
27 return credential.StoreTypeFilerEtc

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected