proxy

package
v0.0.0-...-3a5dd50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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)

func GetPage

func GetPage(kubeClient client.ResourceHandler, kind string, namespace string, q *pagequery.QueryParam) (*pagequery.Page, error)

Types

type EventCell

type EventCell corev1.Event

EventCell 专门用于处理Event资源

func (EventCell) GetAnnotations

func (cell EventCell) GetAnnotations() map[string]string

GetAnnotations 获取Event的注解

func (EventCell) GetCount

func (cell EventCell) GetCount() int32

GetCount 获取事件计数

func (EventCell) GetFirstTimestamp

func (cell EventCell) GetFirstTimestamp() metav1.Time

GetFirstTimestamp 获取首次发生时间

func (EventCell) GetInvolvedObject

func (cell EventCell) GetInvolvedObject() corev1.ObjectReference

GetInvolvedObject 获取相关对象

func (EventCell) GetLabels

func (cell EventCell) GetLabels() map[string]string

GetLabels 获取Event的标签

func (EventCell) GetLastTimestamp

func (cell EventCell) GetLastTimestamp() metav1.Time

GetLastTimestamp 获取最后发生时间

func (EventCell) GetMessage

func (cell EventCell) GetMessage() string

GetMessage 获取事件消息

func (EventCell) GetProperty

GetProperty 实现DataCell接口,提供Event特有的属性访问

func (EventCell) GetReason

func (cell EventCell) GetReason() string

GetReason 获取事件原因

func (EventCell) GetSource

func (cell EventCell) GetSource() corev1.EventSource

GetSource 获取事件来源

func (EventCell) GetType

func (cell EventCell) GetType() string

GetType 获取事件类型

type ObjectCell

type ObjectCell common.Object

func (ObjectCell) GetProperty

type PodCell

type PodCell corev1.Pod

func (PodCell) GetProperty

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL