Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Kube *kube.Connection
}
Client represents a kubernetes client. Having a struct around this allows us to implement a fake client in tests
type ErroredImage ¶
ErroredImage is an image that failed to parse for any number of reasons. The error message is captured for later logging
type Image ¶
type Image struct { Name string Prefix string Current *Tag Newest *Tag NewestPatch *Tag NewestMinor *Tag StrictSemver bool WorkLoads []Workload // contains filtered or unexported fields }
Image contains all the relevant data for reporting an out of date image
type PodData ¶
PodData represents a pod and it's images so that we can report the namespace and other information later
type Results ¶
type Results struct { Images []*Image ErrImages []*ErroredImage }
Results is a struct that contains a list of Images and a list of ErroredImages. This is the main thing that is returned from this package
Click to show internal directories.
Click to hide internal directories.