Documentation
¶
Index ¶
- Variables
- func Execute()
- type DisplayMetricsResult
- type GenericToolInput
- type GenericToolOutput
- type JSONSchema
- type LogGroupOutput
- type MessageConfig
- type MetricsQueryResponse
- type MetricsResponse
- type MetricsResult
- type NubiToolInput
- type NubiToolOutput
- type SecurityImageRecommendation
- type SecurityImageResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Logger is the package-level logger initialized in PersistentPreRunE. // It writes to the command's stderr stream so diagnostics don't pollute stdout. Logger *log.Logger )
View Source
var Version string = "dev"
Functions ¶
Types ¶
type DisplayMetricsResult ¶
type GenericToolInput ¶
GenericToolInput represents the input for a generic nbctl command tool.
type GenericToolOutput ¶
type GenericToolOutput struct {
Output map[string]any `json:"output"`
Error string `json:"error,omitempty"`
}
GenericToolOutput represents the output from a generic nbctl command tool.
type JSONSchema ¶
type JSONSchema struct {
Type string `json:"type"`
Properties map[string]*JSONSchema `json:"properties,omitempty"`
Items *JSONSchema `json:"items,omitempty"`
Description string `json:"description,omitempty"`
Default any `json:"default,omitempty"`
}
JSONSchema represents a basic JSON schema.
type LogGroupOutput ¶
type MessageConfig ¶
type MetricsQueryResponse ¶
type MetricsQueryResponse struct {
MetricsQuery struct {
Results []MetricsResponse `json:"results"`
} `json:"metrics_list"`
}
type MetricsResponse ¶
type MetricsResponse struct {
QueryKey string `json:"query_key"`
Payload []MetricsResult `json:"payload"`
}
type MetricsResult ¶
type NubiToolInput ¶
type NubiToolInput struct {
Query string `json:"query" jsonschema:"The user's question or request in human-readable form."`
}
NubiToolInput represents the input for the Nubi tool.
type NubiToolOutput ¶
type NubiToolOutput struct {
Response map[string]any `json:"response" jsonschema:"The response from the Nubi agent."`
}
NubiToolOutput represents the output from the Nubi tool.
type SecurityImageResponse ¶
type SecurityImageResponse struct {
Recommendation struct {
Rows []SecurityImageRecommendation `json:"rows"`
} `json:"recommendation"`
RecommendationAggregate struct {
Rows []struct {
Count int `json:"count"`
} `json:"rows"`
} `json:"recommendation_aggregate"`
}
Source Files
¶
- account_id.go
- accounts.go
- accounts_create.go
- accounts_create_agent_token.go
- accounts_disable.go
- accounts_enable.go
- accounts_get.go
- accounts_list.go
- admin.go
- admin_users.go
- admin_users_get.go
- admin_users_list.go
- audit_logs.go
- audit_logs_list.go
- configure.go
- events.go
- events_get.go
- events_list.go
- events_list_duplicates.go
- events_list_rules.go
- events_list_triage_rules.go
- integrations.go
- integrations_list.go
- logs.go
- logs_list_label_values.go
- logs_list_labels.go
- logs_list_log_groups.go
- logs_query.go
- mcp.go
- metrics.go
- metrics_list_label_values.go
- metrics_list_labels.go
- metrics_list_metrics.go
- metrics_query.go
- nubi.go
- nubi_art.go
- nubi_create.go
- nubi_delete.go
- nubi_suggest.go
- optimizations.go
- optimizations_get.go
- optimizations_list.go
- root.go
- security.go
- security_images.go
- slo.go
- slo_get.go
- slo_list.go
- tickets.go
- tickets_create.go
- tickets_list_configurations.go
- traces.go
- traces_get.go
- traces_query.go
- users.go
- version.go
- workflow.go
- workflow_apply.go
- workflow_cancel_execution.go
- workflow_delete.go
- workflow_get.go
- workflow_get_execution.go
- workflow_list.go
- workflow_list_executions.go
- workflow_pause.go
- workflow_resume.go
- workflow_trigger.go
- workflow_validate.go
Click to show internal directories.
Click to hide internal directories.