Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AvailabilityModeDescMap = map[AvailabilityMode]string{ Available: "available", Absent: "absent", BadImageName: "bad_image_format", RegistryUnavailable: "registry_unavailable", AuthnFailure: "authentication_failure", AuthzFailure: "authorization_failure", UnknownError: "unknown_error", }
Functions ¶
This section is empty.
Types ¶
type AvailabilityMode ¶
type AvailabilityMode int
const ( Available AvailabilityMode = iota Absent BadImageName AuthnFailure AuthzFailure UnknownError )
func (AvailabilityMode) String ¶
func (a AvailabilityMode) String() string
type ContainerInfo ¶
type ImageInfo ¶
type ImageInfo struct { ContainerInfo map[ContainerInfo]struct{} AvailMode AvailabilityMode }
type ImageStore ¶
type ImageStore struct {
// contains filtered or unexported fields
}
func NewImageStore ¶
func NewImageStore(check checkFunc, concurrentNormalChecks, concurrentErrorChecks int) *ImageStore
func (*ImageStore) Check ¶ added in v0.2.0
func (s *ImageStore) Check()
func (*ImageStore) ExtractMetrics ¶
func (s *ImageStore) ExtractMetrics() (ret []prometheus.Metric)
func (*ImageStore) ReconcileImage ¶ added in v0.2.0
func (s *ImageStore) ReconcileImage(imageName string, containerInfos []ContainerInfo)
func (*ImageStore) RunGC ¶ added in v0.2.0
func (s *ImageStore) RunGC(gc gcFunc)
Click to show internal directories.
Click to hide internal directories.