Documentation
¶
Index ¶
- func GetNames(kubeClient client.ResourceHandler, kind string, namespace string) ([]response.NamesObject, error)
- func GetPage(kubeClient client.ResourceHandler, kind string, namespace string, ...) (*pagequery.Page, error)
- type EventCell
- func (cell EventCell) GetAnnotations() map[string]string
- func (cell EventCell) GetCount() int32
- func (cell EventCell) GetFirstTimestamp() metav1.Time
- func (cell EventCell) GetInvolvedObject() corev1.ObjectReference
- func (cell EventCell) GetLabels() map[string]string
- func (cell EventCell) GetLastTimestamp() metav1.Time
- func (cell EventCell) GetMessage() string
- func (cell EventCell) GetProperty(name dataselector.PropertyName) dataselector.ComparableValue
- func (cell EventCell) GetReason() string
- func (cell EventCell) GetSource() corev1.EventSource
- func (cell EventCell) GetType() string
- type ObjectCell
- type PodCell
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNames ¶
func GetNames(kubeClient client.ResourceHandler, kind string, namespace string) ([]response.NamesObject, error)
Types ¶
type EventCell ¶
EventCell 专门用于处理Event资源
func (EventCell) GetAnnotations ¶
GetAnnotations 获取Event的注解
func (EventCell) GetFirstTimestamp ¶
GetFirstTimestamp 获取首次发生时间
func (EventCell) GetInvolvedObject ¶
func (cell EventCell) GetInvolvedObject() corev1.ObjectReference
GetInvolvedObject 获取相关对象
func (EventCell) GetLastTimestamp ¶
GetLastTimestamp 获取最后发生时间
func (EventCell) GetProperty ¶
func (cell EventCell) GetProperty(name dataselector.PropertyName) dataselector.ComparableValue
GetProperty 实现DataCell接口,提供Event特有的属性访问
type ObjectCell ¶
func (ObjectCell) GetProperty ¶
func (cell ObjectCell) GetProperty(name dataselector.PropertyName) dataselector.ComparableValue
type PodCell ¶
func (PodCell) GetProperty ¶
func (cell PodCell) GetProperty(name dataselector.PropertyName) dataselector.ComparableValue
Click to show internal directories.
Click to hide internal directories.