Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStore ¶
type FileStore interface { // Path returns a path on disk where the secret key defined by // the given selector is serialized. Path(selector *corev1api.SecretKeySelector) (string, error) }
FileStore defines operations for interacting with credentials that are stored on a file system.
func NewNamespacedFileStore ¶
func NewNamespacedFileStore(client kbclient.Client, namespace string, fsRoot string, fs filesystem.Interface) (FileStore, error)
NewNamespacedFileStore returns a FileStore which can interact with credentials for the given namespace and will store them under the given fsRoot.
Click to show internal directories.
Click to hide internal directories.