Documentation
¶
Index ¶
- type Manager
- func (s *Manager) GetImages(spec core.PodSpec) (images []string)
- func (s *Manager) GetImagesWithCredentials(ctx context.Context, namespace string, spec core.PodSpec) (credentials map[string]docker.ServerCredentials, err error)
- func (s *Manager) GetServerFromImage(image string) string
- func (s *Manager) GetServersWithCredentials(ctx context.Context, namespace string, ...) (credentials map[string]docker.ServerCredentials, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewSecretManager ¶
func NewSecretManager(clientset kubernetes.Interface) *Manager
NewSecretManager constructs new Manager with the specified Kubernetes Clientset.
func (*Manager) GetImagesWithCredentials ¶
func (s *Manager) GetImagesWithCredentials(ctx context.Context, namespace string, spec core.PodSpec) (credentials map[string]docker.ServerCredentials, err error)
GetImagesWithCredentials gets private images for the specified PodSpec and maps them to the Docker ServerCredentials.
func (*Manager) GetServerFromImage ¶
func (*Manager) GetServersWithCredentials ¶
func (s *Manager) GetServersWithCredentials(ctx context.Context, namespace string, imagePullSecrets []core.LocalObjectReference) (credentials map[string]docker.ServerCredentials, err error)
Click to show internal directories.
Click to hide internal directories.