Documentation
¶
Index ¶
- func NewGetResourceTool(pool k8s.ClientPool) fxctx.Tool
- 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 NewListResourcesTool(pool k8s.ClientPool) fxctx.Tool
- func NewPodLogsTool(pool k8s.ClientPool) fxctx.Tool
- type ContextJsonEncoded
- type EventInList
- type InvolvedObject
- type ListContent
- type NamespacesInList
- type NodeInList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetResourceTool ¶ added in v0.1.0
func NewGetResourceTool(pool k8s.ClientPool) fxctx.Tool
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 NewListResourcesTool ¶ added in v0.1.0
func NewListResourcesTool(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 ListContent ¶ added in v0.1.0
type NamespacesInList ¶ added in v0.0.19
type NamespacesInList struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.