tools

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJsonContent

func NewJsonContent(v interface{}) (mcp.TextContent, error)

func NewListContextsTool

func NewListContextsTool() fxctx.Tool

func NewListEventsTool

func NewListEventsTool(pool k8s.ClientPool) fxctx.Tool

func NewListPodsTool

func NewListPodsTool(pool k8s.ClientPool) fxctx.Tool

func NewPodLogsTool

func NewPodLogsTool(pool k8s.ClientPool) fxctx.Tool

Types

type ContextJsonEncoded

type ContextJsonEncoded struct {
	Context *api.Context `json:"context"`
	Name    string       `json:"name"`
}

type EventInList

type EventInList struct {
	Action  string `json:"action"`
	Message string `json:"message"`
}

type PodInList

type PodInList struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

Jump to

Keyboard shortcuts

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