Documentation
¶
Index ¶
- type CopyFileStepSpec
- type DownloadFileItem
- type DownloadFileStepDocument
- type DownloadFileStepSpec
- type EditFileRule
- type EditFileStepSpec
- type ExtractArchiveStepSpec
- type FileBundleRef
- type FileFetch
- type FileFetchSource
- type FileSource
- type ToolDefinitionDocument
- type ToolDefinitionFailurePolicy
- type ToolDefinitionIdempotency
- type ToolDefinitionMetadata
- type ToolDefinitionOutputContract
- type ToolDefinitionRequires
- type ToolDefinitionSpec
- type WaitForCommandStepSpec
- type WaitForFileStepSpec
- type WaitForMissingFileStepSpec
- type WaitForServiceStepDocument
- type WaitForServiceStepSpec
- type WaitTCPPortStepSpec
- type WorkflowDocument
- type WorkflowImport
- type WorkflowPhase
- type WorkflowStepRef
- type WriteFileStepSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyFileStepSpec ¶
type CopyFileStepSpec struct {
Source *FileSource `json:"source,omitempty"`
Path string `json:"path,omitempty"`
Mode string `json:"mode,omitempty"`
}
type DownloadFileItem ¶
type DownloadFileItem struct {
Source *FileSource `json:"source,omitempty"`
Fetch *FileFetch `json:"fetch,omitempty"`
OutputPath string `json:"outputPath,omitempty"`
Mode string `json:"mode,omitempty"`
}
type DownloadFileStepDocument ¶
type DownloadFileStepDocument struct {
ID string `json:"id"`
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Metadata map[string]any `json:"metadata,omitempty"`
When string `json:"when,omitempty"`
Register map[string]string `json:"register,omitempty"`
Retry int `json:"retry,omitempty"`
Timeout string `json:"timeout,omitempty"`
Spec DownloadFileStepSpec `json:"spec"`
}
type DownloadFileStepSpec ¶
type DownloadFileStepSpec struct {
Items []DownloadFileItem `json:"items,omitempty"`
Source *FileSource `json:"source,omitempty"`
Fetch *FileFetch `json:"fetch,omitempty"`
OutputPath string `json:"outputPath,omitempty"`
Mode string `json:"mode,omitempty"`
}
type EditFileRule ¶
type EditFileStepSpec ¶
type EditFileStepSpec struct {
Path string `json:"path,omitempty"`
Backup bool `json:"backup,omitempty"`
Edits []EditFileRule `json:"edits,omitempty"`
Mode string `json:"mode,omitempty"`
}
type ExtractArchiveStepSpec ¶
type ExtractArchiveStepSpec struct {
Source *FileSource `json:"source,omitempty"`
Path string `json:"path,omitempty"`
Include []string `json:"include,omitempty"`
Mode string `json:"mode,omitempty"`
}
type FileBundleRef ¶
type FileFetch ¶
type FileFetch struct {
OfflineOnly bool `json:"offlineOnly,omitempty"`
Sources []FileFetchSource `json:"sources,omitempty"`
}
type FileFetchSource ¶
type FileSource ¶
type FileSource struct {
URL string `json:"url,omitempty"`
Path string `json:"path,omitempty"`
SHA256 string `json:"sha256,omitempty"`
Bundle *FileBundleRef `json:"bundle,omitempty"`
}
type ToolDefinitionDocument ¶
type ToolDefinitionDocument struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Metadata ToolDefinitionMetadata `json:"metadata"`
Spec ToolDefinitionSpec `json:"spec"`
}
type ToolDefinitionMetadata ¶
type ToolDefinitionRequires ¶
type ToolDefinitionSpec ¶
type ToolDefinitionSpec struct {
Version string `json:"version"`
Summary string `json:"summary"`
Category string `json:"category"`
OfflineAllowed bool `json:"offlineAllowed,omitempty"`
Requires *ToolDefinitionRequires `json:"requires,omitempty"`
InputSchema map[string]any `json:"inputSchema"`
OutputContract *ToolDefinitionOutputContract `json:"outputContract,omitempty"`
Idempotency *ToolDefinitionIdempotency `json:"idempotency,omitempty"`
FailurePolicy *ToolDefinitionFailurePolicy `json:"failurePolicy,omitempty"`
}
type WaitForCommandStepSpec ¶
type WaitForFileStepSpec ¶
type WaitForFileStepSpec struct {
Interval string `json:"interval,omitempty"`
InitialDelay string `json:"initialDelay,omitempty"`
Path string `json:"path,omitempty"`
Type string `json:"type,omitempty"`
NonEmpty bool `json:"nonEmpty,omitempty"`
Timeout string `json:"timeout,omitempty"`
PollInterval string `json:"pollInterval,omitempty"`
}
type WaitForMissingFileStepSpec ¶
type WaitForMissingFileStepSpec struct {
Interval string `json:"interval,omitempty"`
InitialDelay string `json:"initialDelay,omitempty"`
Path string `json:"path,omitempty"`
Paths []string `json:"paths,omitempty"`
Glob string `json:"glob,omitempty"`
Type string `json:"type,omitempty"`
Timeout string `json:"timeout,omitempty"`
PollInterval string `json:"pollInterval,omitempty"`
}
type WaitForServiceStepDocument ¶
type WaitForServiceStepDocument struct {
ID string `json:"id"`
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Metadata map[string]any `json:"metadata,omitempty"`
When string `json:"when,omitempty"`
Register map[string]string `json:"register,omitempty"`
Retry int `json:"retry,omitempty"`
Timeout string `json:"timeout,omitempty"`
Spec WaitForServiceStepSpec `json:"spec"`
}
type WaitForServiceStepSpec ¶
type WaitTCPPortStepSpec ¶
type WaitTCPPortStepSpec struct {
Interval string `json:"interval,omitempty"`
InitialDelay string `json:"initialDelay,omitempty"`
Address string `json:"address,omitempty"`
Port string `json:"port,omitempty"`
Timeout string `json:"timeout,omitempty"`
PollInterval string `json:"pollInterval,omitempty"`
}
type WorkflowDocument ¶
type WorkflowDocument struct {
Version string `json:"version"`
Vars map[string]any `json:"vars,omitempty"`
Phases []WorkflowPhase `json:"phases,omitempty"`
Steps []WorkflowStepRef `json:"steps,omitempty"`
}
type WorkflowImport ¶
type WorkflowPhase ¶
type WorkflowPhase struct {
Name string `json:"name"`
MaxParallelism int `json:"maxParallelism,omitempty"`
Imports []WorkflowImport `json:"imports,omitempty"`
Steps []WorkflowStepRef `json:"steps,omitempty"`
}
type WorkflowStepRef ¶
type WorkflowStepRef struct {
ID string `json:"id"`
APIVersion string `json:"apiVersion,omitempty"`
Kind string `json:"kind"`
Metadata map[string]any `json:"metadata,omitempty"`
When string `json:"when,omitempty"`
ParallelGroup string `json:"parallelGroup,omitempty"`
Register map[string]string `json:"register,omitempty"`
Retry int `json:"retry,omitempty"`
Timeout string `json:"timeout,omitempty"`
Spec map[string]any `json:"spec"`
}
Click to show internal directories.
Click to hide internal directories.