Skip to main content
Glama

mcp-k8s-go

interface.go581 B
package list_mapping import ( "go.uber.org/fx" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ) type ListMapping func(u runtime.Unstructured) (ListContentItem, error) type ListContentItem interface { GetName() string GetNamespace() string } type ListMappingResolver interface { GetListMapping(gvk *schema.GroupVersionKind) ListMapping } const ( MappingResolversTag = `group:"list_mapping_resolvers"` ) func AsMappingResolver(f any) any { return fx.Annotate( f, fx.As(new(ListMappingResolver)), fx.ResultTags(MappingResolversTag), ) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/strowk/mcp-k8s-go'

If you have feedback or need assistance with the MCP directory API, please join our Discord server