Documentation
¶
Index ¶
- func NewJsonContent(v interface{}) (mcp.TextContent, error)
- func NewListContextsTool() fxctx.Tool
- func NewListEventsTool(pool k8s.ClientPool) fxctx.Tool
- func NewListNamespacesTool(pool k8s.ClientPool) fxctx.Tool
- func NewListNodesTool(pool k8s.ClientPool) fxctx.Tool
- func NewListPodsTool(pool k8s.ClientPool) fxctx.Tool
- func NewListServicesTool(pool k8s.ClientPool) fxctx.Tool
- func NewPodLogsTool(pool k8s.ClientPool) fxctx.Tool
- type ContextJsonEncoded
- type EventInList
- type InvolvedObject
- type NamespacesInList
- type NodeInList
- type PodInList
- type ServiceContent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJsonContent ¶
func NewJsonContent(v interface{}) (mcp.TextContent, error)
func NewListContextsTool ¶
func NewListEventsTool ¶
func NewListEventsTool(pool k8s.ClientPool) fxctx.Tool
func NewListNamespacesTool ¶ added in v0.0.19
func NewListNamespacesTool(pool k8s.ClientPool) fxctx.Tool
func NewListNodesTool ¶ added in v0.0.20
func NewListNodesTool(pool k8s.ClientPool) fxctx.Tool
func NewListPodsTool ¶
func NewListPodsTool(pool k8s.ClientPool) fxctx.Tool
func NewListServicesTool ¶ added in v0.0.18
func NewListServicesTool(pool k8s.ClientPool) fxctx.Tool
func NewPodLogsTool ¶
func NewPodLogsTool(pool k8s.ClientPool) fxctx.Tool
Types ¶
type ContextJsonEncoded ¶
type EventInList ¶
type EventInList struct { Action string `json:"action"` Message string `json:"message"` Type string `json:"type"` Reason string `json:"reason"` InvolvedObject InvolvedObject `json:"involvedObject"` }
type InvolvedObject ¶ added in v0.0.17
type NamespacesInList ¶ added in v0.0.19
type NamespacesInList struct {
Name string `json:"name"`
}
type NodeInList ¶ added in v0.0.20
type NodeInList struct { Name string `json:"name"` Status string `json:"status"` Age string `json:"age"` CreatedAt time.Time `json:"created_at"` }
NodeInList provides a structured representation of node information
Click to show internal directories.
Click to hide internal directories.