tools

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

tools models represent and manipulate tools within a Galaxy instance Relevant api endpoints are: `/api/tools`

Index

Constants

View Source
const BasePath = "/api/tools"

Variables

This section is empty.

Functions

This section is empty.

Types

type Tool

type Tool struct {
	Id               string   `json:"id,omitempty"`
	Guid             string   `json:"guid,omitempty"`
	Name             string   `json:"name,omitempty"`
	Version          string   `json:"version,omitempty"`
	MinWidth         int      `json:"min_width,omitempty"`
	Target           string   `json:"target,omitempty"`
	Link             string   `json:"link,omitempty"`
	PanelSectionId   string   `json:"panel_section_id,omitempty"`
	EdamTopics       []string `json:"edam_topics,omitempty"`
	FormStyle        string   `json:"form_style,omitempty"`
	EdamOperations   []string `json:"edam_operations,omitempty"`
	Labels           []string `json:"labels,omitempty"`
	Description      string   `json:"description,omitempty"`
	ConfigFile       string   `json:"config_file,omitempty"`
	Xrefs            []string `json:"xrefs,omitempty"`
	PanelSectionName string   `json:"panel_section_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Tool) GetBasePath added in v0.1.7

func (t *Tool) GetBasePath() string

func (*Tool) GetID added in v0.1.4

func (t *Tool) GetID() blend4go.GalaxyID

func (*Tool) InstallDependencies

func (t *Tool) InstallDependencies() error

Attempts to install requirements via the dependency resolver

func (*Tool) Reload

func (t *Tool) Reload() error

func (*Tool) SetGalaxyInstance added in v0.1.7

func (t *Tool) SetGalaxyInstance(g *blend4go.GalaxyInstance)

func (*Tool) SetID added in v0.1.4

func (t *Tool) SetID(id blend4go.GalaxyID)

func (*Tool) UninstallDependencies

func (t *Tool) UninstallDependencies() error

DELETE /api/tools/{tool_id}/dependencies Attempts to uninstall requirements via the dependency resolver

type ToolSection

type ToolSection struct {
	Id         string  `json:"id,omitempty"`
	Name       string  `json:"name,omitempty"`
	Version    string  `json:"version,omitempty"`
	ModelClass string  `json:"model_class,omitempty"`
	Elems      []*Tool `json:"elems,omitempty"`
}

func List

returns a list of tools defined by parameters

func (*ToolSection) GetID added in v0.1.4

func (t *ToolSection) GetID() blend4go.GalaxyID

func (*ToolSection) SetID added in v0.1.4

func (t *ToolSection) SetID(id blend4go.GalaxyID)

Jump to

Keyboard shortcuts

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