Documentation
¶
Index ¶
- type APIDocResponse
- type CreateSessionResponse
- type DatasourcesResponse
- type ExecuteRequest
- type ExecuteResponse
- type ListResourcesResponse
- type ListSessionsResponse
- type ProxyAuthMetadataResponse
- type ResourceInfo
- type ResourceResponse
- type ResourceTemplateInfo
- type RuntimeStorageFile
- type RuntimeStorageListResponse
- type RuntimeStorageURLResponse
- type RuntimeStorageUploadResponse
- type SearchConstantResult
- type SearchEIPResult
- type SearchEIPsResponse
- type SearchExampleResult
- type SearchExamplesResponse
- type SearchRunbookResult
- type SearchRunbooksResponse
- type SearchSpecResult
- type SearchSpecsResponse
- type SessionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIDocResponse ¶
type APIDocResponse struct {
Library string `json:"library"`
Description string `json:"description"`
Modules map[string]types.ModuleDoc `json:"modules"`
}
APIDocResponse is the response for the python://ethpandaops resource.
type CreateSessionResponse ¶
type DatasourcesResponse ¶
type DatasourcesResponse struct {
Datasources []types.DatasourceInfo `json:"datasources"`
}
type ExecuteRequest ¶
type ExecuteResponse ¶
type ExecuteResponse struct {
Stdout string `json:"stdout,omitempty"`
Stderr string `json:"stderr,omitempty"`
ExitCode int `json:"exit_code"`
ExecutionID string `json:"execution_id"`
OutputFiles []string `json:"output_files,omitempty"`
Metrics map[string]any `json:"metrics,omitempty"`
DurationSeconds float64 `json:"duration_seconds"`
SessionID string `json:"session_id,omitempty"`
SessionFiles []sandbox.SessionFile `json:"session_files,omitempty"`
SessionTTLRemaining string `json:"session_ttl_remaining,omitempty"`
}
type ListResourcesResponse ¶ added in v0.5.0
type ListResourcesResponse struct {
Resources []ResourceInfo `json:"resources"`
Templates []ResourceTemplateInfo `json:"templates,omitempty"`
}
ListResourcesResponse is the response for GET /api/v1/resources.
type ListSessionsResponse ¶
type ListSessionsResponse struct {
Sessions []SessionResponse `json:"sessions"`
Total int `json:"total"`
MaxSessions int `json:"max_sessions"`
}
type ResourceInfo ¶ added in v0.5.0
type ResourceInfo struct {
URI string `json:"uri"`
Name string `json:"name"`
Description string `json:"description,omitempty"`
MIMEType string `json:"mime_type,omitempty"`
}
ResourceInfo describes a single static resource.
type ResourceResponse ¶
type ResourceTemplateInfo ¶ added in v0.5.0
type ResourceTemplateInfo struct {
URITemplate string `json:"uri_template"`
Name string `json:"name"`
Description string `json:"description,omitempty"`
MIMEType string `json:"mime_type,omitempty"`
}
ResourceTemplateInfo describes a resource template with URI parameters.
type RuntimeStorageFile ¶
type RuntimeStorageListResponse ¶
type RuntimeStorageListResponse struct {
Files []RuntimeStorageFile `json:"files"`
}
type SearchConstantResult ¶ added in v0.21.0
type SearchConstantResult struct {
Name string `json:"name"`
Value string `json:"value"`
Fork string `json:"fork"`
SimilarityScore float64 `json:"similarity_score"`
}
SearchConstantResult represents a single spec constant search result.
type SearchEIPResult ¶ added in v0.12.0
type SearchEIPResult struct {
Number int `json:"number"`
Title string `json:"title"`
Description string `json:"description"`
Author string `json:"author,omitempty"`
Status string `json:"status"`
Type string `json:"type"`
Category string `json:"category,omitempty"`
Created string `json:"created,omitempty"`
URL string `json:"url"`
SimilarityScore float64 `json:"similarity_score"`
}
type SearchEIPsResponse ¶ added in v0.12.0
type SearchEIPsResponse struct {
Type string `json:"type"`
Query string `json:"query"`
StatusFilter string `json:"status_filter,omitempty"`
CategoryFilter string `json:"category_filter,omitempty"`
TypeFilter string `json:"type_filter,omitempty"`
TotalMatches int `json:"total_matches"`
Results []*SearchEIPResult `json:"results"`
AvailableStatuses []string `json:"available_statuses"`
AvailableCategories []string `json:"available_categories"`
AvailableTypes []string `json:"available_types"`
}
type SearchExampleResult ¶
type SearchExampleResult struct {
CategoryKey string `json:"category_key"`
CategoryName string `json:"category_name"`
ExampleName string `json:"example_name"`
Description string `json:"description"`
Query string `json:"query"`
TargetCluster string `json:"target_cluster"`
SimilarityScore float64 `json:"similarity_score"`
}
type SearchExamplesResponse ¶
type SearchRunbookResult ¶
type SearchRunbooksResponse ¶
type SearchSpecResult ¶ added in v0.21.0
type SearchSpecResult struct {
Fork string `json:"fork"`
Topic string `json:"topic"`
Title string `json:"title"`
URL string `json:"url"`
SimilarityScore float64 `json:"similarity_score"`
}
SearchSpecResult represents a single consensus spec search result.
type SearchSpecsResponse ¶ added in v0.21.0
type SearchSpecsResponse struct {
Type string `json:"type"`
Query string `json:"query"`
ForkFilter string `json:"fork_filter,omitempty"`
TotalMatches int `json:"total_matches"`
Specs []*SearchSpecResult `json:"specs"`
Constants []*SearchConstantResult `json:"constants,omitempty"`
AvailableForks []string `json:"available_forks"`
}
SearchSpecsResponse is the response for consensus spec search.
type SessionResponse ¶
Click to show internal directories.
Click to hide internal directories.