Versions in this module Expand all Collapse all v0 v0.4.0 Jul 6, 2023 v0.3.0 Apr 24, 2023 Changes in this version + type FileManager interface + Chmod func(file *os.File, mode os.FileMode) error + Create func(name string) (*os.File, error) + ReadDir func(dirname string) ([]fs.DirEntry, error) + Remove func(name string) error + Write func(file *os.File, contents []byte) error + type Secret struct + Secret *apiv1.Secret + Valid bool + type SecretDiskMemoryManager interface + Request func(nsname types.NamespacedName) (string, error) + WriteAllRequestedSecrets func() error + type SecretDiskMemoryManagerImpl struct + func NewSecretDiskMemoryManager(secretDirectory string, secretStore SecretStore, ...) *SecretDiskMemoryManagerImpl + func (s *SecretDiskMemoryManagerImpl) Request(nsname types.NamespacedName) (string, error) + func (s *SecretDiskMemoryManagerImpl) WriteAllRequestedSecrets() error + type SecretDiskMemoryManagerOption func(*SecretDiskMemoryManagerImpl) + func WithSecretFileManager(fileManager FileManager) SecretDiskMemoryManagerOption + type SecretStore interface + Delete func(nsname types.NamespacedName) + Get func(nsname types.NamespacedName) *Secret + Upsert func(secret *apiv1.Secret) + type SecretStoreImpl struct + func NewSecretStore() *SecretStoreImpl + func (s SecretStoreImpl) Delete(nsname types.NamespacedName) + func (s SecretStoreImpl) Get(nsname types.NamespacedName) *Secret + func (s SecretStoreImpl) Upsert(secret *apiv1.Secret)