Documentation
¶
Index ¶
- func EqualObjects(a, b interface{}) bool
- func ExtractContainerInfos(image string, obj interface{}) []store.ContainerInfo
- func ExtractImages(obj interface{}) []string
- func ExtractPullSecretRefs(kubeClient *kubernetes.Clientset, obj interface{}) (ret []string)
- func GetImagesFromCronJob(obj interface{}) ([]string, error)
- func GetImagesFromDaemonSet(obj interface{}) ([]string, error)
- func GetImagesFromDeployment(obj interface{}) ([]string, error)
- func GetImagesFromStatefulSet(obj interface{}) ([]string, error)
- func IsAbsent(err error) bool
- func IsAuthnFail(err error) bool
- func IsAuthzFail(err error) bool
- func IsOldRegistry(err error) bool
- type ControllerIndexers
- func (ci ControllerIndexers) GetContainerInfosForImage(image string) (ret []store.ContainerInfo)
- func (ci ControllerIndexers) GetKeychainForImage(kubeClient *kubernetes.Clientset, image string) *keychain
- func (ci ControllerIndexers) GetKeysByIndex(image string) (ret []string)
- func (ci ControllerIndexers) GetObjectsByIndex(image string) (ret []interface{})
- type RegistryChecker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualObjects ¶
func EqualObjects(a, b interface{}) bool
func ExtractContainerInfos ¶
func ExtractContainerInfos(image string, obj interface{}) []store.ContainerInfo
func ExtractImages ¶
func ExtractImages(obj interface{}) []string
func ExtractPullSecretRefs ¶
func ExtractPullSecretRefs(kubeClient *kubernetes.Clientset, obj interface{}) (ret []string)
func GetImagesFromCronJob ¶
func GetImagesFromDaemonSet ¶
func GetImagesFromDeployment ¶
func IsAuthnFail ¶ added in v0.1.12
func IsAuthzFail ¶ added in v0.1.12
func IsOldRegistry ¶ added in v0.1.12
Types ¶
type ControllerIndexers ¶
type ControllerIndexers struct {
// contains filtered or unexported fields
}
func (ControllerIndexers) GetContainerInfosForImage ¶
func (ci ControllerIndexers) GetContainerInfosForImage(image string) (ret []store.ContainerInfo)
func (ControllerIndexers) GetKeychainForImage ¶
func (ci ControllerIndexers) GetKeychainForImage(kubeClient *kubernetes.Clientset, image string) *keychain
func (ControllerIndexers) GetKeysByIndex ¶
func (ci ControllerIndexers) GetKeysByIndex(image string) (ret []string)
func (ControllerIndexers) GetObjectsByIndex ¶
func (ci ControllerIndexers) GetObjectsByIndex(image string) (ret []interface{})
type RegistryChecker ¶
type RegistryChecker struct {
// contains filtered or unexported fields
}
func NewRegistryChecker ¶
func NewRegistryChecker( stopCh <-chan struct{}, kubeClient *kubernetes.Clientset, skipVerify bool, ignoredImages []regexp.Regexp, specificNamespace string, defaultRegistry string, ) *RegistryChecker
func (*RegistryChecker) Check ¶
func (rc *RegistryChecker) Check(imageName string) store.AvailabilityMode
func (*RegistryChecker) Collect ¶
func (rc *RegistryChecker) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector.
func (*RegistryChecker) Describe ¶
func (rc *RegistryChecker) Describe(_ chan<- *prometheus.Desc)
Describe implements prometheus.Collector.
func (RegistryChecker) Tick ¶ added in v0.2.0
func (rc RegistryChecker) Tick()
Click to show internal directories.
Click to hide internal directories.