Documentation ¶
Overview ¶
histories models represent and manipulate histories and their contents within a Galaxy instance Relevant api endpoints are: `/api/histories`, `/api/histories/{id}/contents/`
Index ¶
- Constants
- type History
- func Get(ctx context.Context, g *blend4go.GalaxyInstance, id blend4go.GalaxyID) (*History, error)
- func GetMostRecent(ctx context.Context, g *blend4go.GalaxyInstance) (*History, error)
- func GetPublished(ctx context.Context, g *blend4go.GalaxyInstance) ([]*History, error)
- func GetSharedWithMe(ctx context.Context, g *blend4go.GalaxyInstance) ([]*History, error)
- func List(ctx context.Context, g *blend4go.GalaxyInstance) ([]*History, error)
- func ListDeleted(ctx context.Context, g *blend4go.GalaxyInstance) ([]*History, error)
- func NewHistory(ctx context.Context, g *blend4go.GalaxyInstance, name string) (*History, error)
- func (h *History) Delete(ctx context.Context, purge bool) error
- func (h *History) GetBasePath() string
- func (h *History) GetID() blend4go.GalaxyID
- func (h *History) SetGalaxyInstance(g *blend4go.GalaxyInstance)
- func (h *History) SetID(id blend4go.GalaxyID)
- func (h *History) Undelete(ctx context.Context) error
- func (h *History) Update(ctx context.Context) error
- type HistoryDatasetAssociation
- type HistoryDatasetCollectionAssociation
Constants ¶
View Source
const BasePath = "/api/histories"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶ added in v0.1.7
type History struct { Id blend4go.GalaxyID `json:"id,omitempty"` Importable bool `json:"importable,omitempty"` CreateTime string `json:"create_time,omitempty"` ContentsUrl string `json:"contents_url,omitempty"` Size uint `json:"size,omitempty"` UserId blend4go.GalaxyID `json:"user_id,omitempty"` UsernameAndSlug string `json:"username_and_slug,omitempty"` Annotation string `json:"annotation,omitempty"` StateDetails map[string]uint `json:"state_details,omitempty"` State string `json:"state,omitempty"` Empty bool `json:"empty,omitempty"` UpdateTime string `json:"update_time,omitempty"` Tags []string `json:"tags,omitempty"` Deleted bool `json:"deleted,omitempty"` GenomeBuild string `json:"genome_build,omitempty"` Slug string `json:"slug,omitempty"` Name string `json:"name,omitempty"` Url string `json:"url,omitempty"` StateIds map[string][]blend4go.GalaxyID `json:"state_ids,omitempty"` Published bool `json:"published,omitempty"` ModelClass string `json:"model_class,omitempty"` Purged bool `json:"purged,omitempty"` // contains filtered or unexported fields }
func GetMostRecent ¶ added in v0.1.7
Get the most recently used history
func GetPublished ¶ added in v0.1.7
Get all histories that are published
func GetSharedWithMe ¶ added in v0.1.7
Get all histories that are shared with the current user
func ListDeleted ¶ added in v0.1.7
List deleted histories for the current user
func NewHistory ¶ added in v0.1.10
Create a new history
func (*History) GetBasePath ¶ added in v0.1.7
func (*History) SetGalaxyInstance ¶ added in v0.1.7
func (h *History) SetGalaxyInstance(g *blend4go.GalaxyInstance)
type HistoryDatasetAssociation ¶
type HistoryDatasetAssociation struct { Id string `json:"id,omitempty"` Accessible bool `json:"accessible,omitempty"` TypeId string `json:"type_id,omitempty"` FileName string `json:"file_name,omitempty"` Resubmitted bool `json:"resubmitted,omitempty"` CreateTime string `json:"create_time,omitempty"` CreatingJob string `json:"creating_job,omitempty"` DatasetId string `json:"dataset_id,omitempty"` FileSize uint `json:"file_size,omitempty"` FileExt string `json:"file_ext,omitempty"` MiscInfo string `json:"misc_info,omitempty"` HdaLdda string `json:"hda_ldda,omitempty"` DownloadUrl string `json:"download_url,omitempty"` State string `json:"state,omitempty"` //DisplayTypes attr `json:"display_types,omitempty"` //DisplayApps attr `json:"display_apps,omitempty"` MetadataDbkey string `json:"metadata_dbkey,omitempty"` Type string `json:"type,omitempty"` MiscBlurb string `json:"misc_blurb,omitempty"` Peek string `json:"peek,omitempty"` UpdateTime string `json:"update_time,omitempty"` DataType string `json:"data_type,omitempty"` Tags []string `json:"tags,omitempty"` Deleted bool `json:"deleted,omitempty"` HistoryId string `json:"history_id,omitempty"` //MetaFiles attr `json:"meta_files,omitempty"` GenomeBuild string `json:"genome_build,omitempty"` MetadataSequences uint `json:"metadata_sequences,omitempty"` Hid uint `json:"hid,omitempty"` ModelClass string `json:"model_class,omitempty"` MetadataDataLines uint `json:"metadata_data_lines,omitempty"` Annotation string `json:"annotation,omitempty"` //Permissions attr `json:"permissions,omitempty"` HistoryContentType string `json:"history_content_type,omitempty"` Name string `json:"name,omitempty"` Extension string `json:"extension,omitempty"` Visible bool `json:"visible,omitempty"` Url string `json:"url,omitempty"` Uuid string `json:"uuid,omitempty"` //Visualizations attr `json:"visualizations,omitempty"` Rerunnable bool `json:"rerunnable,omitempty"` Purged bool `json:"purged,omitempty"` ApiType string `json:"api_type,omitempty"` }
type HistoryDatasetCollectionAssociation ¶
type HistoryDatasetCollectionAssociation struct { Id string `json:"id,omitempty"` HistoryContentType string `json:"history_content_type,omitempty"` PopulatedStateMessage string `json:"populated_state_message,omitempty"` Name string `json:"name,omitempty"` Populated bool `json:"populated,omitempty"` Deleted bool `json:"deleted,omitempty"` Type string `json:"type,omitempty"` HistoryId string `json:"history_id,omitempty"` Tags []string `json:"tags,omitempty"` Visible bool `json:"visible,omitempty"` JobSourceId string `json:"job_source_id,omitempty"` JobSourceType string `json:"job_source_type,omitempty"` CollectionType string `json:"collection_type,omitempty"` Url string `json:"url,omitempty"` ModelClass string `json:"model_class,omitempty"` Hid uint `json:"hid,omitempty"` ElementCount uint `json:"element_count,omitempty"` PopulatedState string `json:"populated_state,omitempty"` Elements []interface{} `json:"elements,omitempty"` }
Click to show internal directories.
Click to hide internal directories.