secret

package
v1.10.0-alpha.2...-72cec4d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetObjectTTLFunc

type GetObjectTTLFunc func() (time.Duration, bool)

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

func NewFakeManager

func NewFakeManager() Manager

func NewSimpleSecretManager

func NewSimpleSecretManager(kubeClient clientset.Interface) Manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL