doc

package
v0.0.0-...-2be0f72 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	schema.File
	DataFileID string  `gorethink:"datafile_id" json:"datafile_id"`
	Tags       []TagID `gorethink:"tags" json:"tags"`
	DataDirID  string  `gorethink:"datadir_id" json:"datadir_id"`
	ProjectID  string  `gorethink:"project_id" json:"project_id"`
	Contents   string  `gorethink:"-" json:"contents"` // Contents of the file (text only)
	Notes      []Note  `gorethink:"notes" json:"notes"`
}

type Note

type Note struct {
	ID    string `gorethink:"id" json:"id"`
	Note  string `gorethink:"note" json:"note"`
	Title string `gorethink:"title" json:"title"`
}

type Process

type Process struct {
	ID            string            `gorethink:"id" json:"-"`
	Type          string            `gorethink:"otype" json:"otype"`
	Birthtime     time.Time         `gorethink:"birthtime" json:"birthtime"`
	MTime         time.Time         `gorethink:"mtime" json:"mtime"`
	Name          string            `gorethink:"name" json:"name"`
	DoesTransform bool              `gorethink:"does_transform" json:"does_transform"`
	Owner         string            `gorethink:"owner" json:"owner"`
	ProcessID     string            `gorethink:"process_id" json:"process_id"`
	ProcessType   string            `gorethink:"procss_type" json:"process_type"`
	ProjectID     string            `gorethink:"project_id" json:"project_id"`
	What          string            `gorethink:"what" json:"what"`
	Why           string            `gorethink:"why" json:"why"`
	Setup         []SetupProperties `gorethink:"setup" json:"setup"`
}

type Property

type Property struct {
	Attribute string `gorethink:"attribute" json:"attribute"`
	Name      string `gorethink:"name" json:"name"`
}

type Sample

type Sample struct {
	ID          string       `gorethink:"id" json:"id"`
	Type        string       `gorethink:"otype" json:"otype"`
	Description string       `gorethink:"description" json:"description"`
	Birthtime   time.Time    `gorethink:"birthtime" json:"birthtime"`
	MTime       time.Time    `gorethink:"mtime" json:"mtime"`
	Owner       string       `gorethink:"owner" json:"owner"`
	Name        string       `gorethink:"name" json:"name"`
	ProjectID   string       `gorethink:"project_id" json:"project_id"`
	SampleID    string       `gorethink:"sample_id" json:"sample_id"`
	Properties  []Property   `gorethink:"properties" json:"properties"`
	Files       []SampleFile `gorethink:"files" json:"files"`
}

type SampleFile

type SampleFile struct {
	DataFileID string           `gorethink:"datafile_id" json:"datafile_id"`
	Name       string           `gorethink:"name" json:"name"`
	MediaType  schema.MediaType `gorethink:"mediatype" json:"mediatype"`
	Size       int64            `gorethink:"size" json:"size"`
	Contents   string           `gorethink:"-" json:"contents"` // Contents of the file (text only)
	Tags       []TagID          `gorethink:"tags" json:"tags"`
	Notes      []Note           `gorethink:"notes" json:"notes"`
}

type SetupProperties

type SetupProperties struct {
	ID          string      `gorethink:"-" json:"-"`
	Attribute   string      `gorethink:"attribute" json:"attribute"`
	Description string      `gorethink:"description" json:"description"`
	Name        string      `gorethink:"name" json:"name"`
	ProcessID   string      `gorethink:"-" json:"-"`
	SetupID     string      `gorethink:"-" json:"-"`
	Units       string      `gorethink:"units" json:"units"`
	Value       interface{} `gorethink:"value" json:"value"`
}

type TagID

type TagID struct {
	TagID string `gorethink:"tag_id" json:"tag_id"`
}

Jump to

Keyboard shortcuts

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