Documentation ¶
Index ¶
- func GetClusterNameCmd() tea.Msg
- func GetKubernetesClientCmd() tea.Msg
- func RefreshResourceList(clientset *kubernetes.Clientset, resourceType *k8s.ResourceType) tea.Cmd
- func ResourceDetails(clientset kubernetes.Clientset, resourceType k8s.ResourceType, ...) tea.Cmd
- func Tick(tickInterval time.Duration) tea.Cmd
- type EmptyMsg
- type K8sClientMsg
- type K8sClusterNameMsg
- type RefreshResourceListMsg
- type ResourceChangeMsg
- type ResourceDetailsMsg
- type StatusBarUpdateMsg
- type TickMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterNameCmd ¶
func GetKubernetesClientCmd ¶
func RefreshResourceList ¶
func RefreshResourceList( clientset *kubernetes.Clientset, resourceType *k8s.ResourceType, ) tea.Cmd
func ResourceDetails ¶
func ResourceDetails( clientset kubernetes.Clientset, resourceType k8s.ResourceType, name, namespace string, ) tea.Cmd
Types ¶
type K8sClientMsg ¶
type K8sClientMsg struct{ Clientset *kubernetes.Clientset }
type K8sClusterNameMsg ¶
type K8sClusterNameMsg struct{ Name string }
type RefreshResourceListMsg ¶
type RefreshResourceListMsg struct { Rows []table.Row Resource k8s.ResourceType }
type ResourceChangeMsg ¶
type ResourceChangeMsg struct{ NewResource k8s.ResourceType }
type ResourceDetailsMsg ¶
type ResourceDetailsMsg struct{ Value k8s.ResourceSelector }
type StatusBarUpdateMsg ¶
Click to show internal directories.
Click to hide internal directories.