Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Create ¶
type Create struct { Host ID `json:"host"` Project ID `json:"project"` Parent ID `json:"parent"` PrevSib *ID `json:"prevSib,omitempty"` Name string `json:"name"` Description string `json:"description"` IsParallel bool `json:"isParallel"` User *ID `json:"user,omitempty"` TimeEst uint64 `json:"timeEst"` CostEst uint64 `json:"costEst"` }
type GetAncestors ¶
type GetAncestors struct { Host ID `json:"host"` Project ID `json:"project"` ID ID `json:"id"` Limit uint16 `json:"limit,omitempty"` }
func (*GetAncestors) Path ¶
func (_ *GetAncestors) Path() string
type GetChildren ¶
type GetChildren struct { Host ID `json:"host"` Project ID `json:"project"` ID ID `json:"id"` After *ID `json:"after,omitempty"` Limit uint16 `json:"limit,omitempty"` }
func (*GetChildren) Path ¶
func (_ *GetChildren) Path() string
type GetTree ¶
type GetTree struct { Host ID `json:"host"` Project ID `json:"project"` ID ID `json:"id"` }
can only be called on a node with <= 1000 descN
type GetTreeRes ¶
type GetTreeRes map[ID]*Task
type Task ¶
type Task struct { ID ID `json:"id"` Parent *ID `json:"parent"` FirstChild *ID `json:"firstChild"` NextSib *ID `json:"nextSib"` User *ID `json:"user"` Name string `json:"name"` Description string `json:"description"` CreatedBy ID `json:"createdBy"` CreatedOn time.Time `json:"createdOn"` TimeSubMin uint64 `json:"timeSubMin"` TimeEst uint64 `json:"timeEst"` TimeInc uint64 `json:"timeInc"` TimeSubEst uint64 `json:"timeSubEst"` TimeSubInc uint64 `json:"timeSubInc"` CostEst uint64 `json:"costEst"` CostInc uint64 `json:"costInc"` CostSubEst uint64 `json:"costSubEst"` CostSubInc uint64 `json:"costSubInc"` FileN uint64 `json:"fileN"` FileSize uint64 `json:"fileSize"` FileSubN uint64 `json:"fileSubN"` FileSubSize uint64 `json:"fileSubSize"` ChildN uint64 `json:"childN"` DescN uint64 `json:"descN"` IsParallel bool `json:"isParallel"` }
type Update ¶
type Update struct { Host ID `json:"host"` Project ID `json:"project"` ID ID `json:"id"` Parent *field.ID `json:"parent,omitempty"` PrevSib *field.IDPtr `json:"prevSib,omitempty"` Name *field.String `json:"name,omitempty"` Description *field.String `json:"description,omitempty"` IsParallel *field.Bool `json:"isParallel,omitempty"` User *field.IDPtr `json:"user,omitempty"` TimeEst *field.UInt64 `json:"timeEst,omitempty"` CostEst *field.UInt64 `json:"costEst,omitempty"` }
Click to show internal directories.
Click to hide internal directories.