Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Namespace string `json:"namespace"`
Kind string `json:"kind"`
Component string `json:"component"`
Host string `json:"host"`
Reason string `json:"reason"`
Status string `json:"status"`
Name string `json:"name"`
ResourceRevision string `json:"resourceRevision"`
CreationTimeStamp v1.Time `json:"creationTimeStamp"`
UID types.UID `json:"uid"`
PipelineName string `json:"pipelineName"`
ReleaseVersion string `json:"releaseVersion"`
Gen string `json:"gen"`
// contains filtered or unexported fields
}
Event represent an event got from k8s api server Events from different endpoints need to be casted to KubewatchEvent before being able to be handled by handler
type EventMetaData ¶
type EventMetaData struct {
Kind string `json:"kind"`
Name string `json:"name"`
NameSpace string `json:"nameSpace"`
ResourceVersion string `json:"resourceVersion"`
CreationTimeStamp v1.Time `json:"creationTimeStamp"`
SourceComponent string `json:"sourceComponent"`
Reason string `json:"reason"`
Message string `json:"message"`
UID types.UID `json:"uid"`
PipelineName string `json:"pipelineName"`
ReleaseVersion string `json:"releaseVersion"`
Gen string `json:"gen"`
}
Click to show internal directories.
Click to hide internal directories.