Versions in this module Expand all Collapse all v0 v0.11.1 Feb 11, 2021 v0.11.0 Feb 11, 2021 Changes in this version + var ErrObjectHasParents = fmt.Errorf("This object has parents") + var ErrObjectHasZeroReplicas = fmt.Errorf("This object has zero replicas") + type Auths struct + Registries RegistriesStruct + type RegistriesStruct map[string]RegistryCredentials + type RegistryCredentials struct + Auth string + Email string + Password string + Username string + type Wrapper struct + func NewKubeClientsetWrapper(kubeClientset kubernetes.Interface) *Wrapper + func (w *Wrapper) GetBasicCredentials(namespace, name string) (string, string, error) + func (w *Wrapper) GetPodSpec(ar *v1beta1.AdmissionRequest) (string, *corev1.PodSpec, error) + func (w *Wrapper) GetSecretKey(namespace, secretName string) ([]byte, error) + func (w *Wrapper) GetSecretToken(namespace, secretName, registry string) (string, string, error) + type WrapperInterface interface + GetBasicCredentials func(namespace, secretName string) (string, string, error) + GetPodSpec func(*v1beta1.AdmissionRequest) (string, *corev1.PodSpec, error) + GetSecretKey func(namespace, secretName string) ([]byte, error) + GetSecretToken func(namespace, secretName, registry string) (string, string, error)