Documentation
¶
Overview ¶
Package k8s is a latency timing source for K8s API events
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Name = "K8s"
)
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source is the K8s API http source
func New ¶
func New(clientset *kubernetes.Clientset, nodeName string, podNamespace string) *Source
New instantiates a new instance of the K8s API source
func (Source) ClearCache ¶
func (s Source) ClearCache()
ClearCache is a noop for the K8s API Source since it is an http source, not a log file
func (*Source) Find ¶
Find will use the Event's FindFunc and CommentFunc to search the source and return the result
func (*Source) FindPodCreationTime ¶
FindPodCreationTime retrieves the Pod creation time
func (*Source) ParseTimeFor ¶
ParseTimeFor parses an event and returns the time
Click to show internal directories.
Click to hide internal directories.