Documentation
¶
Index ¶
- Variables
- type Batch
- func (*Batch) Descriptor() ([]byte, []int)
- func (m *Batch) Marshal() (dAtA []byte, err error)
- func (m *Batch) MarshalTo(dAtA []byte) (int, error)
- func (m *Batch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Batch) ProtoMessage()
- func (b *Batch) Render(w http.ResponseWriter, r *http.Request) error
- func (m *Batch) Reset()
- func (m *Batch) Size() (n int)
- func (m *Batch) String() string
- func (m *Batch) Unmarshal(dAtA []byte) error
- func (m *Batch) XXX_DiscardUnknown()
- func (m *Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Batch) XXX_Merge(src proto.Message)
- func (m *Batch) XXX_Size() int
- func (m *Batch) XXX_Unmarshal(b []byte) error
- type Driver
- type Filters
- type Owner
- func (*Owner) Descriptor() ([]byte, []int)
- func (m *Owner) Marshal() (dAtA []byte, err error)
- func (m *Owner) MarshalTo(dAtA []byte) (int, error)
- func (m *Owner) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Owner) ProtoMessage()
- func (m *Owner) Reset()
- func (m *Owner) Size() (n int)
- func (m *Owner) String() string
- func (m *Owner) Unmarshal(dAtA []byte) error
- func (m *Owner) XXX_DiscardUnknown()
- func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Owner) XXX_Merge(src proto.Message)
- func (m *Owner) XXX_Size() int
- func (m *Owner) XXX_Unmarshal(b []byte) error
- type Owner_ForkStatus
- type Owner_Kind
- type Task
- func (t *Task) AllDeps() []quad.IRI
- func (t Task) ApplyLabel(node *cgraph.Node)
- func (*Task) Descriptor() ([]byte, []int)
- func (m *Task) Marshal() (dAtA []byte, err error)
- func (t *Task) MarshalCSV() []string
- func (m *Task) MarshalTo(dAtA []byte) (int, error)
- func (m *Task) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Task) ProtoMessage()
- func (m *Task) Reset()
- func (m *Task) Size() (n int)
- func (m *Task) String() string
- func (m *Task) Unmarshal(dAtA []byte) error
- func (m *Task) XXX_DiscardUnknown()
- func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Task) XXX_Merge(src proto.Message)
- func (m *Task) XXX_Size() int
- func (m *Task) XXX_Unmarshal(b []byte) error
- type Task_Kind
- type Task_State
- type Tasks
- type Topic
- func (*Topic) Descriptor() ([]byte, []int)
- func (m *Topic) Marshal() (dAtA []byte, err error)
- func (m *Topic) MarshalTo(dAtA []byte) (int, error)
- func (m *Topic) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Topic) ProtoMessage()
- func (m *Topic) Reset()
- func (m *Topic) Size() (n int)
- func (m *Topic) String() string
- func (m *Topic) Unmarshal(dAtA []byte) error
- func (m *Topic) XXX_DiscardUnknown()
- func (m *Topic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Topic) XXX_Merge(src proto.Message)
- func (m *Topic) XXX_Size() int
- func (m *Topic) XXX_Unmarshal(b []byte) error
- type Topic_Kind
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthDvmodel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDvmodel = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDvmodel = fmt.Errorf("proto: unexpected end of group") )
View Source
var Driver_name = map[int32]string{
0: "UnknownDriver",
1: "GitHub",
}
View Source
var Driver_value = map[string]int32{
"UnknownDriver": 0,
"GitHub": 1,
}
View Source
var Owner_ForkStatus_name = map[int32]string{
0: "UnknownForkStatus",
1: "IsFork",
2: "IsSource",
}
View Source
var Owner_ForkStatus_value = map[string]int32{
"UnknownForkStatus": 0,
"IsFork": 1,
"IsSource": 2,
}
View Source
var Owner_Kind_name = map[int32]string{
0: "UnknownKind",
1: "User",
2: "Organization",
3: "Team",
4: "Repo",
5: "Provider",
}
View Source
var Owner_Kind_value = map[string]int32{
"UnknownKind": 0,
"User": 1,
"Organization": 2,
"Team": 3,
"Repo": 4,
"Provider": 5,
}
View Source
var Task_Kind_name = map[int32]string{
0: "UnknownKind",
1: "Issue",
2: "MergeRequest",
3: "Milestone",
4: "Epic",
5: "Story",
6: "Card",
}
View Source
var Task_Kind_value = map[string]int32{
"UnknownKind": 0,
"Issue": 1,
"MergeRequest": 2,
"Milestone": 3,
"Epic": 4,
"Story": 5,
"Card": 6,
}
View Source
var Task_State_name = map[int32]string{
0: "UnknownState",
1: "Open",
2: "Closed",
}
View Source
var Task_State_value = map[string]int32{
"UnknownState": 0,
"Open": 1,
"Closed": 2,
}
View Source
var Topic_Kind_name = map[int32]string{
0: "UnknownKind",
1: "Label",
}
View Source
var Topic_Kind_value = map[string]int32{
"UnknownKind": 0,
"Label": 1,
}
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct { Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` Owners []*Owner `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners,omitempty"` Topics []*Topic `protobuf:"bytes,3,rep,name=topics,proto3" json:"topics,omitempty"` }
func (*Batch) Descriptor ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) XXX_DiscardUnknown ¶
func (m *Batch) XXX_DiscardUnknown()
func (*Batch) XXX_Marshal ¶
func (*Batch) XXX_Unmarshal ¶
type Owner ¶
type Owner struct { ID github_com_cayleygraph_quad.IRI `protobuf:"bytes,1,opt,name=id,proto3,casttype=github.com/cayleygraph/quad.IRI" json:"id,omitempty" quad:"@id"` CreatedAt *time.Time `` /* 129-byte string literal not displayed */ UpdatedAt *time.Time `` /* 129-byte string literal not displayed */ LocalID string `protobuf:"bytes,5,opt,name=local_id,json=localId,proto3" json:"local_id,omitempty" quad:"schema:localId,optional"` Kind Owner_Kind `protobuf:"varint,10,opt,name=kind,proto3,enum=depviz.model.Owner_Kind" json:"kind,omitempty" quad:"schema:kind,optional"` ShortName string `protobuf:"bytes,11,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty" quad:"schema:shortName,optional"` FullName string `protobuf:"bytes,12,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty" quad:"schema:fullName,optional"` Driver Driver `protobuf:"varint,13,opt,name=driver,proto3,enum=depviz.model.Driver" json:"driver,omitempty" quad:"schema:driver,optional"` Homepage string `protobuf:"bytes,14,opt,name=homepage,proto3" json:"homepage,omitempty" quad:"schema:homepage,optional"` Description string `protobuf:"bytes,15,opt,name=description,proto3" json:"description,omitempty" quad:"schema:description,optional"` ForkStatus Owner_ForkStatus `` /* 162-byte string literal not displayed */ AvatarURL string `protobuf:"bytes,17,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty" quad:"schema:avatarUrl,optional"` // relationships HasOwner github_com_cayleygraph_quad.IRI `` /* 153-byte string literal not displayed */ }
Owner is like a container of tasks or other containers. It's something that is rarely deleted and cannot really "closed" or "due". It's the entity used for Organizations, Teams, Groups, Users
and for Projects, Workspaces, Repos, or a Provider.
func (*Owner) Descriptor ¶
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) XXX_DiscardUnknown ¶
func (m *Owner) XXX_DiscardUnknown()
func (*Owner) XXX_Marshal ¶
func (*Owner) XXX_Unmarshal ¶
type Owner_ForkStatus ¶
type Owner_ForkStatus int32
const ( Owner_UnknownForkStatus Owner_ForkStatus = 0 Owner_IsFork Owner_ForkStatus = 1 Owner_IsSource Owner_ForkStatus = 2 )
func (Owner_ForkStatus) EnumDescriptor ¶
func (Owner_ForkStatus) EnumDescriptor() ([]byte, []int)
func (Owner_ForkStatus) String ¶
func (x Owner_ForkStatus) String() string
type Owner_Kind ¶
type Owner_Kind int32
const ( Owner_UnknownKind Owner_Kind = 0 Owner_User Owner_Kind = 1 Owner_Organization Owner_Kind = 2 Owner_Team Owner_Kind = 3 Owner_Repo Owner_Kind = 4 Owner_Provider Owner_Kind = 5 )
func (Owner_Kind) EnumDescriptor ¶
func (Owner_Kind) EnumDescriptor() ([]byte, []int)
func (Owner_Kind) String ¶
func (x Owner_Kind) String() string
type Task ¶
type Task struct { ID github_com_cayleygraph_quad.IRI `protobuf:"bytes,1,opt,name=id,proto3,casttype=github.com/cayleygraph/quad.IRI" json:"id,omitempty" quad:"@id"` CreatedAt *time.Time `` /* 129-byte string literal not displayed */ UpdatedAt *time.Time `` /* 129-byte string literal not displayed */ LocalID string `protobuf:"bytes,5,opt,name=local_id,json=localId,proto3" json:"local_id,omitempty" quad:"schema:localId,optional"` Kind Task_Kind `protobuf:"varint,10,opt,name=kind,proto3,enum=depviz.model.Task_Kind" json:"kind,omitempty" quad:"schema:kind,optional"` Title string `protobuf:"bytes,11,opt,name=title,proto3" json:"title,omitempty" quad:"schema:title,optional"` Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty" quad:"schema:description,optional"` Driver Driver `protobuf:"varint,13,opt,name=driver,proto3,enum=depviz.model.Driver" json:"driver,omitempty" quad:"schema:driver,optional"` DueOn *time.Time `protobuf:"bytes,14,opt,name=due_on,json=dueOn,proto3,stdtime" json:"due_on,omitempty" quad:"schema:dueOn,optional"` CompletedAt *time.Time `` /* 138-byte string literal not displayed */ State Task_State `protobuf:"varint,16,opt,name=state,proto3,enum=depviz.model.Task_State" json:"state,omitempty" quad:"schema:state,optional"` IsLocked bool `protobuf:"varint,17,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty" quad:"schema:isLocked,optional"` NumComments int32 `` /* 131-byte string literal not displayed */ NumUpvotes int32 `` /* 127-byte string literal not displayed */ NumDownvotes int32 `` /* 135-byte string literal not displayed */ EstimatedDuration string `` /* 155-byte string literal not displayed */ // relationships HasAuthor github_com_cayleygraph_quad.IRI `` /* 157-byte string literal not displayed */ HasOwner github_com_cayleygraph_quad.IRI `` /* 153-byte string literal not displayed */ HasMilestone github_com_cayleygraph_quad.IRI `` /* 169-byte string literal not displayed */ HasAssignee []github_com_cayleygraph_quad.IRI `` /* 165-byte string literal not displayed */ HasReviewer []github_com_cayleygraph_quad.IRI `` /* 165-byte string literal not displayed */ HasLabel []github_com_cayleygraph_quad.IRI `` /* 153-byte string literal not displayed */ IsDependingOn []github_com_cayleygraph_quad.IRI `` /* 175-byte string literal not displayed */ IsBlocking []github_com_cayleygraph_quad.IRI `` /* 161-byte string literal not displayed */ IsRelatedWith []github_com_cayleygraph_quad.IRI `` /* 175-byte string literal not displayed */ IsPartOf []github_com_cayleygraph_quad.IRI `` /* 155-byte string literal not displayed */ HasPart []github_com_cayleygraph_quad.IRI `` /* 150-byte string literal not displayed */ }
Task defines a step or an action. It is owned by an owner and can link to other Owners. A task can contain other tasks (epic, story, milestone). It can be closed and can have due dates. It's the entity used for Issues, Pull Requests, Merge Requests, Cards, Epics, Milestones, Stories.
func FilterIsolatedTasks ¶
func (Task) ApplyLabel ¶ added in v3.18.0
ApplyLabel apply modifications to the Node based on the label of the task
func (*Task) Descriptor ¶
func (*Task) MarshalCSV ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) XXX_DiscardUnknown ¶
func (m *Task) XXX_DiscardUnknown()
func (*Task) XXX_Unmarshal ¶
type Task_State ¶
type Task_State int32
const ( Task_UnknownState Task_State = 0 Task_Open Task_State = 1 Task_Closed Task_State = 2 )
func (Task_State) EnumDescriptor ¶
func (Task_State) EnumDescriptor() ([]byte, []int)
func (Task_State) String ¶
func (x Task_State) String() string
type Topic ¶
type Topic struct { ID github_com_cayleygraph_quad.IRI `protobuf:"bytes,1,opt,name=id,proto3,casttype=github.com/cayleygraph/quad.IRI" json:"id,omitempty" quad:"@id"` CreatedAt *time.Time `` /* 129-byte string literal not displayed */ UpdatedAt *time.Time `` /* 129-byte string literal not displayed */ LocalID string `protobuf:"bytes,5,opt,name=local_id,json=localId,proto3" json:"local_id,omitempty" quad:"schema:localId,optional"` Kind Topic_Kind `protobuf:"varint,10,opt,name=kind,proto3,enum=depviz.model.Topic_Kind" json:"kind,omitempty" quad:"schema:kind,optional"` Title string `protobuf:"bytes,11,opt,name=title,proto3" json:"title,omitempty" quad:"schema:title,optional"` Driver Driver `protobuf:"varint,12,opt,name=driver,proto3,enum=depviz.model.Driver" json:"driver,omitempty" quad:"schema:driver,optional"` Color string `protobuf:"bytes,13,opt,name=color,proto3" json:"color,omitempty" quad:"schema:color,optional"` Description string `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty" quad:"schema:description,optional"` // relationships HasOwner github_com_cayleygraph_quad.IRI `` /* 153-byte string literal not displayed */ }
func (*Topic) Descriptor ¶
func (*Topic) ProtoMessage ¶
func (*Topic) ProtoMessage()
func (*Topic) XXX_DiscardUnknown ¶
func (m *Topic) XXX_DiscardUnknown()
func (*Topic) XXX_Marshal ¶
func (*Topic) XXX_Unmarshal ¶
type Topic_Kind ¶
type Topic_Kind int32
const ( Topic_UnknownKind Topic_Kind = 0 Topic_Label Topic_Kind = 1 )
func (Topic_Kind) EnumDescriptor ¶
func (Topic_Kind) EnumDescriptor() ([]byte, []int)
func (Topic_Kind) String ¶
func (x Topic_Kind) String() string
Click to show internal directories.
Click to hide internal directories.