Documentation ¶
Index ¶
- Constants
- type Annotation
- type Categories
- type Category
- type Config
- type Connection
- type CopyWorkflowRequest
- type CopyWorkflowResponse
- type CreateProjectRequest
- type CreateRun
- type CreateRunResponse
- type CreateSpaceRequest
- type CreateWorkflowRequest
- type CreateWorkflowResponse
- type CvedbFile
- type File
- type Files
- type FilesResponse
- type Fleet
- type Fleets
- type Machines
- type Node
- type NodeInput
- type OutputsConfig
- type Parameter
- type PrimitiveNode
- type Profile
- type Project
- type Run
- type Runs
- type ScheduleInfo
- type Script
- type ScriptImportRequest
- type Scripts
- type SignedURL
- type Space
- type SpaceDetailed
- type Spaces
- type Splitter
- type SplitterResponse
- type SubJob
- type SubJobOutput
- type SubJobOutputs
- type SubJobs
- type Tool
- type ToolImportRequest
- type ToolInput
- type Tools
- type TreeNode
- type User
- type VaultInfo
- type Workflow
- type WorkflowVersion
- type WorkflowVersionData
- type WorkflowVersionDetailed
- type WorkflowVersionStripped
- type WorkflowVersions
- type WorkflowYAML
- type WorkflowYAMLNode
- type Workflows
Constants ¶
View Source
const ( RunCreationManual = "MANUAL" RunCreationScheduled = "SCHEDULED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Categories ¶
type Connection ¶
type CopyWorkflowRequest ¶
type CopyWorkflowResponse ¶
type CopyWorkflowResponse struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` SpaceInfo uuid.UUID `json:"space_info"` ProjectInfo uuid.UUID `json:"project_info"` CreatedDate time.Time `json:"created_date"` ModifiedDate time.Time `json:"modified_date"` Playground bool `json:"playground"` }
type CreateProjectRequest ¶
type CreateRunResponse ¶
type CreateSpaceRequest ¶
type CreateWorkflowRequest ¶
type CreateWorkflowResponse ¶
type CreateWorkflowResponse struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` SpaceInfo uuid.UUID `json:"space_info"` ProjectInfo uuid.UUID `json:"project_info"` CreatedDate time.Time `json:"created_date"` ModifiedDate time.Time `json:"modified_date"` Playground bool `json:"playground"` }
type FilesResponse ¶
type Fleet ¶
type Fleet struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Vault uuid.UUID `json:"vault"` Cluster string `json:"cluster"` State string `json:"state"` Machines []struct { Name string `json:"name"` Description string `json:"description"` Mem string `json:"mem"` CPU string `json:"cpu"` Total int `json:"total"` Running int `json:"running"` Up int `json:"up"` Down int `json:"down"` } `json:"machines"` CreatedDate time.Time `json:"created_date"` ModifiedDate time.Time `json:"modified_date"` Type string `json:"type"` Default bool `json:"default"` }
type Node ¶
type Node struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Meta struct { Label string `json:"label"` Coordinates struct { X float64 `json:"x"` Y float64 `json:"y"` } `json:"coordinates"` } `json:"meta"` Type string `json:"type"` Inputs map[string]*NodeInput `json:"inputs"` Script *struct { Args []interface{} `json:"args"` Image string `json:"image"` Source string `json:"source"` } `json:"script,omitempty"` Outputs struct { Folder *struct { Type string `json:"type"` Order int `json:"order"` } `json:"folder,omitempty"` File *struct { Type string `json:"type"` Order int `json:"order"` } `json:"file,omitempty"` Output *struct { Type string `json:"type"` Order *int `json:"order,omitempty"` } `json:"output,omitempty"` } `json:"outputs"` BeeType string `json:"bee_type"` Container *struct { Args []string `json:"args,omitempty"` Image string `json:"image"` Command []string `json:"command"` } `json:"container,omitempty"` OutputCommand *string `json:"output_command,omitempty"` WorkerConnected *string `json:"workerConnected,omitempty"` }
type NodeInput ¶
type NodeInput struct { Type string `json:"type"` Order int `json:"order"` Value interface{} `json:"value,omitempty"` Command *string `json:"command,omitempty"` Description *string `json:"description,omitempty"` WorkerConnected *bool `json:"workerConnected,omitempty"` Multi *bool `json:"multi,omitempty"` Visible *bool `json:"visible,omitempty"` }
type OutputsConfig ¶
type OutputsConfig struct {
Outputs []string `yaml:"outputs"`
}
type Parameter ¶
type Parameter struct { Value interface{} `json:"value"` Type string `json:"type"` }
type PrimitiveNode ¶
type PrimitiveNode struct { Name string `json:"name"` Type string `json:"type"` Label string `json:"label"` Value interface{} `json:"value"` TypeName string `json:"type_name"` Coordinates struct { X float64 `json:"x"` Y float64 `json:"y"` } `json:"coordinates"` ParamName *string `json:",omitempty"` UpdateFile *bool `json:",omitempty"` }
type Project ¶
type Project struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` SpaceInfo uuid.UUID `json:"space_info"` SpaceName string `json:"space_name"` WorkflowCount int `json:"workflow_count"` CreatedDate time.Time `json:"created_date"` ModifiedDate time.Time `json:"modified_date"` Author string `json:"author"` Workflows []Workflow `json:"workflows,omitempty"` }
type Run ¶
type Run struct { ID *uuid.UUID `json:"id,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` Machines Machines `json:"machines,omitempty"` WorkflowVersionInfo *uuid.UUID `json:"workflow_version_info,omitempty"` WorkflowInfo *uuid.UUID `json:"workflow_info,omitempty"` WorkflowName string `json:"workflow_name,omitempty"` SpaceInfo *uuid.UUID `json:"space_info,omitempty"` SpaceName string `json:"space_name,omitempty"` ProjectInfo *uuid.UUID `json:"project_info,omitempty"` ProjectName string `json:"project_name,omitempty"` CreationType string `json:"creation_type,omitempty"` CreatedDate time.Time `json:"created_date,omitempty"` StartedDate time.Time `json:"started_date,omitempty"` CompletedDate time.Time `json:"completed_date,omitempty"` Finished bool `json:"finished,omitempty"` Author string `json:"author,omitempty"` Fleet *uuid.UUID `json:"fleet,omitempty"` IPAddresses []string `json:"ip_addresses,omitempty"` }
type ScheduleInfo ¶
type Script ¶
type Script struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` VaultInfo uuid.UUID `json:"vault_info"` Author string `json:"author"` AuthorInfo int `json:"author_info"` Type string `json:"type"` Inputs struct { File *struct { Type string `json:"type"` Multi bool `json:"multi"` } `json:"file,omitempty"` Folder *struct { Type string `json:"type"` Multi bool `json:"multi"` } `json:"folder,omitempty"` } `json:"inputs"` Outputs struct { File *struct { Type string `json:"type"` } `json:"file,omitempty"` Folder *struct { Type string `json:"type"` } `json:"folder,omitempty"` } `json:"outputs"` Script struct { Args []interface{} `json:"args"` Image string `json:"image"` Source string `json:"source"` } `json:"script"` }
type ScriptImportRequest ¶
type ScriptImportRequest struct { ID *uuid.UUID `json:"id,omitempty"` VaultInfo uuid.UUID `json:"vault_info" yaml:"vault_info"` Name string `json:"name" yaml:"name"` Description string `json:"description" yaml:"description"` ScriptType string `json:"script_type" yaml:"script_type"` Script string `json:"script" yaml:"script"` }
type SpaceDetailed ¶
type SpaceDetailed struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` VaultInfo uuid.UUID `json:"vault_info"` Playground bool `json:"playground"` Projects []Project `json:"projects"` ProjectsCount int `json:"projects_count"` Workflows []Workflow `json:"workflows"` WorkflowsCount int `json:"workflows_count"` CreatedDate time.Time `json:"created_date"` ModifiedDate time.Time `json:"modified_date"` }
type Splitter ¶
type Splitter struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` VaultInfo uuid.UUID `json:"vault_info"` Author string `json:"author"` AuthorInfo int `json:"author_info"` Type string `json:"type"` Inputs struct { Multiple struct { Type string `json:"type"` Multi bool `json:"multi"` } `json:"multiple"` } `json:"inputs"` Outputs struct { Output struct { Type string `json:"type"` Order *int `json:"order,omitempty"` } `json:"output"` } `json:"outputs"` }
type SplitterResponse ¶
type SubJob ¶
type SubJob struct { ID uuid.UUID `json:"id"` Status string `json:"status"` Name string `json:"name"` OutputsStatus string `json:"outputs_status"` Finished bool `json:"finished"` StartedDate time.Time `json:"started_at"` FinishedDate time.Time `json:"finished_at"` Params map[string]interface{} `json:"params"` Message string `json:"message"` TaskGroup bool `json:"task_group"` TaskIndex int `json:"task_index"` Label string Children []SubJob TaskCount int }
type SubJobOutput ¶
type SubJobOutputs ¶
type Tool ¶
type Tool struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` VaultInfo uuid.UUID `json:"vault_info"` Author string `json:"author"` AuthorInfo int `json:"author_info"` ToolCategory string `json:"tool_category"` ToolCategoryName string `json:"tool_category_name"` Type string `json:"type"` Inputs map[string]ToolInput `json:"inputs"` Container *struct { Args []string `json:"args,omitempty"` Image string `json:"image"` Command []string `json:"command"` } `json:"container,omitempty"` Outputs struct { Folder *struct { Type string `json:"type"` Order int `json:"order"` } `json:"folder,omitempty"` File *struct { Type string `json:"type"` Order int `json:"order"` } `json:"file,omitempty"` } `json:"outputs"` SourceURL string `json:"source_url"` CreatedDate time.Time `json:"created_date"` ModifiedDate time.Time `json:"modified_date"` OutputCommand string `json:"output_command"` LicenseInfo struct { Name string `json:"name"` Url string `json:"url"` } `json:"license_info"` DocLink string `json:"doc_link"` }
type ToolImportRequest ¶
type ToolImportRequest struct { VaultInfo uuid.UUID `json:"vault_info" yaml:"vault_info"` Name string `json:"name" yaml:"name"` Description string `json:"description" yaml:"description"` Category string `json:"tool_category_name" yaml:"category"` CategoryID uuid.UUID `json:"tool_category" yaml:"tool_category"` OutputCommand string `json:"output_command" yaml:"output_parameter"` SourceURL string `json:"source_url" yaml:"source_url"` DockerImage string `json:"docker_image" yaml:"docker_image"` Command string `json:"command" yaml:"command"` OutputType string `json:"output_type" yaml:"output_type"` Inputs map[string]ToolInput `json:"inputs" yaml:"inputs"` LicenseInfo struct { Name string `json:"name" yaml:"name"` Url string `json:"url" yaml:"url"` } `json:"license_info" yaml:"license_info"` DocLink string `json:"doc_link" yaml:"doc_link"` }
type Workflow ¶
type Workflow struct { ID uuid.UUID `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` SpaceInfo *uuid.UUID `json:"space_info,omitempty"` SpaceName string `json:"space_name,omitempty"` ProjectInfo *uuid.UUID `json:"project_info,omitempty"` ProjectName string `json:"project_name,omitempty"` ModifiedDate *time.Time `json:"modified_date,omitempty"` CreatedDate time.Time `json:"created_date,omitempty"` ScheduleInfo *ScheduleInfo `json:"schedule_info,omitempty"` WorkflowCategory string `json:"workflow_category,omitempty"` Author string `json:"author,omitempty"` Executing bool `json:"executing,omitempty"` }
type WorkflowVersion ¶
type WorkflowVersion struct { ID uuid.UUID `json:"id"` CreatedDate time.Time `json:"created_date"` Version int `json:"version"` WorkflowInfo uuid.UUID `json:"workflow_info"` Name string `json:"name"` Description string `json:"description"` Public bool `json:"public"` RunCount int `json:"run_count"` Snapshot bool `json:"snapshot"` }
type WorkflowVersionData ¶
type WorkflowVersionData struct { Nodes map[string]*Node `json:"nodes"` Connections []Connection `json:"connections"` PrimitiveNodes map[string]*PrimitiveNode `json:"primitiveNodes"` Annotations map[string]*Annotation `json:"annotation,omitempty"` }
type WorkflowVersionDetailed ¶
type WorkflowVersionDetailed struct { ID uuid.UUID `json:"id"` Version int `json:"version"` WorkflowInfo uuid.UUID `json:"workflow_info"` Name *string `json:"name,omitempty"` Description string `json:"description"` Public bool `json:"public"` CreatedDate time.Time `json:"created_date"` RunCount int `json:"run_count"` MaxMachines Machines `json:"max_machines"` Snapshot bool `json:"snapshot"` Data WorkflowVersionData `json:"data"` }
type WorkflowVersionStripped ¶
type WorkflowVersionStripped struct { ID uuid.UUID `json:"id"` WorkflowInfo uuid.UUID `json:"workflow_info"` Name *string `json:"name,omitempty"` Description string `json:"description"` MaxMachines Machines `json:"max_machines"` Snapshot bool `json:"snapshot"` Data WorkflowVersionData `json:"data"` }
type WorkflowVersions ¶
type WorkflowYAML ¶
type WorkflowYAML struct { Name string `yaml:"name"` Category *string `yaml:"category,omitempty"` Steps []WorkflowYAMLNode `yaml:"steps"` }
type WorkflowYAMLNode ¶
Click to show internal directories.
Click to hide internal directories.