Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignedTo ¶
type AssignedTo struct {
plans.Mountpoint
Run runs.Summary `json:"run"`
}
assigment representation, looking from data
func (AssignedTo) Equal ¶
func (a AssignedTo) Equal(o AssignedTo) bool
type Detail ¶
type Detail struct {
// KnitId is the id of the Data.
KnitId string `json:"knitId"`
// Tags are the tags of the Data.
Tags []tags.Tag `json:"tags"`
// Upstream is the upsteram Run and its mountpoint outputs this Data.
Upstream AssignedTo `json:"upstream"`
// Downstreams are the downstream Runs and their mountpoint inputs this Data.
Downstreams []AssignedTo `json:"downstreams"`
// Nomination is the nominated Plan and its mountpoint can inputs this Data.
Nomination []NominatedBy `json:"nomination"`
}
Detail is the format for response body from WebAPIs below:
- GET /api/data/[?...] (as list)
- POST /api/data/
- PUT /api/data/{knitId}
Other Data related WebAPI respones do not use this for response.
- GET /api/data/{knitId} : as binary stream (Content-Type: application/octet-stream)
type NominatedBy ¶
type NominatedBy struct {
plans.Mountpoint
Plan plans.Summary `json:"plan"`
}
nomination representation, looking from data
func (NominatedBy) Equal ¶
func (n NominatedBy) Equal(o NominatedBy) bool
Click to show internal directories.
Click to hide internal directories.