gantt

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentGantt

type ComponentGantt struct {
	base.DefaultProvider

	Data       Data                                  `json:"data,omitempty"`
	Operations map[apistructs.OperationKey]Operation `json:"operations,omitempty"`
	State      State                                 `json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentGantt) Render

type Data

type Data struct {
	UpdateList []Item            `json:"updateList,omitempty"`
	ExpandList map[uint64][]Item `json:"expandList,omitempty"`
	Refresh    bool              `json:"refresh"`
}

type Extra

type Extra struct {
	Type        string `json:"type"`
	User        string `json:"user"`
	Status      Status `json:"status"`
	IterationID int64  `json:"iterationID"`
}

type InParams

type InParams struct {
	ParentIDs []uint64 `json:"parentId"`
	ProjectID string   `json:"projectId"`
}

type Item

type Item struct {
	Start          *time.Time `json:"start"`
	End            *time.Time `json:"end"`
	Title          string     `json:"title,omitempty"`
	Key            uint64     `json:"key"`
	IsLeaf         bool       `json:"isLeaf"`
	ChildrenLength int        `json:"childrenLength"`
	Extra          Extra      `json:"extra,omitempty"`
}

type Meta

type Meta struct {
	Nodes NodeItem `json:"nodes,omitempty"`
	Keys  []uint64 `json:"keys,omitempty"`
}

type NodeItem

type NodeItem struct {
	Start int64  `json:"start,omitempty"`
	End   int64  `json:"end,omitempty"`
	Key   uint64 `json:"key"`
}

type Operation

type Operation struct {
	Key      string `json:"key"`
	Reload   bool   `json:"reload"`
	FillMeta string `json:"fillMeta"`
	Async    bool   `json:"async,omitempty"`
	Meta     Meta   `json:"meta"`
}

type OperationData

type OperationData struct {
	FillMeta string `json:"fillMeta"`
	Meta     Meta   `json:"meta"`
}

type State

type State struct {
	Values filter.FrontendConditions `json:"values,omitempty"`
}

type Status

type Status struct {
	Text   string `json:"text"`
	Status string `json:"status"`
}

Jump to

Keyboard shortcuts

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