models

package
v0.0.0-...-6944781 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DescriptorTypeAndVersion

type DescriptorTypeAndVersion struct {
	DescriptorType        string `json:"descriptorType"`
	DescriptorTypeVersion string `json:"descriptorTypeVersion"`
}

type IdAndStatus

type IdAndStatus struct {
	ID     string `json:"id"`
	Status string `json:"status"`
}

type ToolInputParameter

type ToolInputParameter struct {
	Name            string    `json:"name"`
	ValueType       ValueType `json:"valueType"`
	Optional        bool      `json:"optional"`
	Default         string    `json:"default"`
	TypeDisplayName string    `json:"typeDisplayName"`
}

type ToolOutputParameter

type ToolOutputParameter struct {
	Name            string    `json:"name"`
	ValueType       ValueType `json:"valueType"`
	TypeDisplayName string    `json:"typeDisplayName"`
}

type ValueType

type ValueType struct {
	TypeName         string    `json:"typeName"`
	OptionalType     string    `json:"optionalType"`
	ArrayType        string    `json:"arrayType"`
	MapType          string    `json:"mapType"`
	TupleTypes       []*string `json:"tupleTypes"`
	ObjectFieldTypes []struct {
		FieldName string `json:"fieldName"`
		FieldType string `json:"fieldType"`
	} `json:"objectFieldTypes"`
}

type WorkflowDescription

type WorkflowDescription struct {
	Valid                   bool                      `json:"valid"`
	Errors                  []string                  `json:"errors"`
	ValidWorkflow           bool                      `json:"validWorkflow"`
	Name                    string                    `json:"name"`
	Inputs                  []*ToolInputParameter     `json:"inputs"`
	Outputs                 []*ToolOutputParameter    `json:"outputs"`
	SubmittedDescriptorType *DescriptorTypeAndVersion `json:"submittedDescriptorType"`
	IsRunnableWorkflow      bool                      `json:"isRunnableWorkflow"`
}

type WorkflowQueryParameter

type WorkflowQueryParameter struct {
	Submission          string `json:"submission,omitempty"`
	Start               string `json:"start,omitempty"`
	End                 string `json:"end,omitempty"`
	Status              string `json:"status,omitempty"`
	Name                string `json:"name,omitempty"`
	ID                  string `json:"id,omitempty"`
	IncludeSubworkflows string `json:"includeSubworkflows,omitempty"`
}

type WorkflowQueryResponse

type WorkflowQueryResponse struct {
	Results           []*WorkflowQueryResult `json:"results"`
	TotalResultsCount int                    `json:"totalResultsCount"`
}

type WorkflowQueryResult

type WorkflowQueryResult struct {
	ID         string    `json:"id"`
	Name       string    `json:"name"`
	Status     string    `json:"status"`
	Submission time.Time `json:"submission"`
	Start      time.Time `json:"start"`
	End        time.Time `json:"end"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL