Documentation
¶
Index ¶
- Constants
- type Artifact
- type ArtifactChunk
- type ArtifactRead
- type ArtifactStore
- func (s *ArtifactStore) Chunk(id string, offset int64, length int) (ArtifactChunk, error)
- func (s *ArtifactStore) List() []Artifact
- func (s *ArtifactStore) PutGroup(files []File) ([]Artifact, error)
- func (s *ArtifactStore) Read(id string, offset int64, length int, whole bool) (Artifact, []byte, error)
- type BatchStart
- type CaseCreate
- type CaseExportInput
- type CaseSave
- type CasesList
- type CopyResult
- type Deleted
- type EditorAttemptStart
- type Empty
- type Envelope
- type EnvironmentCreate
- type EnvironmentUpdate
- type ExportResult
- type File
- type FolderList
- type IDInput
- type ImageGet
- type ImageResult
- type ImageUpload
- type NameInput
- type Options
- type Page
- type ProtoUpload
- type ReportExport
- type ReportPrepare
- type ResearchRequest
- type ResourceCreate
- type ResourceData
- type ResourceList
- type ResourceUpdate
- type RunAttemptStart
- type RunPassAll
- type RunStart
- type RunStepUpdate
- type RunsList
- type SecretChanges
- type Server
- type Status
- type StepExecute
- type Summary
- type ToolError
- type Update
- type VariablesSet
- type VariantAttemptStart
- type VariantCreate
- type VariantUpdate
Constants ¶
View Source
const ( InlineBytes = 1 << 20 ChunkBytes = 256 << 10 MaxArtifactBytes = 64 << 20 )
View Source
const GuideURI = "qag://guide/workflows"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactChunk ¶
type ArtifactRead ¶
type ArtifactStore ¶
type ArtifactStore struct {
// contains filtered or unexported fields
}
func NewArtifactStore ¶
func NewArtifactStore() *ArtifactStore
func (*ArtifactStore) Chunk ¶
func (s *ArtifactStore) Chunk(id string, offset int64, length int) (ArtifactChunk, error)
func (*ArtifactStore) List ¶
func (s *ArtifactStore) List() []Artifact
type BatchStart ¶
type CaseCreate ¶
type CaseExportInput ¶ added in v1.0.1
type CopyResult ¶
type EditorAttemptStart ¶
type EnvironmentCreate ¶
type EnvironmentUpdate ¶
type EnvironmentUpdate struct {
IDInput
EnvironmentCreate
Revision int64 `json:"revision"`
}
type ExportResult ¶
type ExportResult struct {
Files []Artifact `json:"files"`
}
type FolderList ¶
type ImageResult ¶
type ImageResult struct {
Image catalog.ExpectedImage `json:"image"`
Artifact Artifact `json:"artifact"`
}
type ImageUpload ¶
type ImageUpload struct {
TestCaseID string `json:"testCaseId"`
catalog.ImageUpload
}
type ProtoUpload ¶
type ReportExport ¶
type ReportPrepare ¶
type ResearchRequest ¶
type ResearchRequest struct {
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
HTTP *catalog.HTTPRequest `json:"http,omitempty"`
GRPC *catalog.GRPCRequest `json:"grpc,omitempty"`
SQL *catalog.SQLRequest `json:"sql,omitempty"`
}
type ResourceCreate ¶
type ResourceCreate struct {
EnvironmentID string `json:"environmentId"`
ResourceData
}
type ResourceData ¶
type ResourceData struct {
Name string `json:"name"`
Kind string `json:"kind"`
Config resources.Config `json:"config"`
Secrets SecretChanges `json:"secrets,omitempty"`
}
type ResourceList ¶
type ResourceUpdate ¶
type ResourceUpdate struct {
IDInput
Revision int64 `json:"revision"`
ResourceData
}
type RunAttemptStart ¶
type RunPassAll ¶
type RunPassAll struct {
RunID string `json:"runId"`
Steps []runs.StepRevision `json:"steps"`
}
type RunStepUpdate ¶
type SecretChanges ¶
type Server ¶
type Server struct {
SDK *mcp.Server
Artifacts *ArtifactStore
// contains filtered or unexported fields
}
type StepExecute ¶ added in v1.0.1
type VariablesSet ¶
type VariablesSet struct {
IDInput
HTTPVariables resources.HTTPVariables `json:"httpVariables,omitempty"`
Revision int64 `json:"revision"`
Variables map[string]string `json:"variables"`
Secrets SecretChanges `json:"secrets,omitempty"`
}
type VariantAttemptStart ¶
type VariantCreate ¶
type VariantUpdate ¶
type VariantUpdate struct {
RunID string `json:"runId"`
VariantID string `json:"variantId"`
Name string `json:"name,omitempty"`
Revision int64 `json:"revision"`
Request ResearchRequest `json:"request"`
}
Click to show internal directories.
Click to hide internal directories.