Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetObjectTTLFunc ¶
func GetObjectTTLFromNodeFunc ¶
func GetObjectTTLFromNodeFunc(getNode func() (*v1.Node, error)) GetObjectTTLFunc
type Manager ¶
type Manager interface { // Get secret by secret namespace and name. GetSecret(namespace, name string) (*v1.Secret, error) // RegisterPod registers all secrets from a given pod. RegisterPod(pod *v1.Pod) // UnregisterPod unregisters secrets from a given pod that are not // used by any other registered pod. UnregisterPod(pod *v1.Pod) }
func NewCachingSecretManager ¶
func NewCachingSecretManager(kubeClient clientset.Interface, getTTL GetObjectTTLFunc) (Manager, error)
func NewFakeManager ¶
func NewFakeManager() Manager
Click to show internal directories.
Click to hide internal directories.