logging

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(_ context.Context, s *server.MCPServer, c *config.Config) error

Install adds GCP logging related tools to an MCP server.

Types

type GetLogSchemaRequest

type GetLogSchemaRequest struct {
	LogType string `json:"log_type"`
}

type LogQueryRequest

type LogQueryRequest struct {
	Query     string     `json:"query"`
	ProjectID string     `json:"project_id"`
	TimeRange *TimeRange `json:"time_range,omitempty"`
	Since     string     `json:"since,omitempty"`
	Limit     int        `json:"limit,omitempty"`
	Format    string     `json:"format,omitempty"`
}

type TimeRange

type TimeRange struct {
	StartTime time.Time `json:"start_time"`
	EndTime   time.Time `json:"end_time"`
}

Jump to

Keyboard shortcuts

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