Documentation
¶
Index ¶
- type Task
- func (*Task) Descriptor() ([]byte, []int)
- func (m *Task) GetDescription() string
- func (m *Task) GetDisplayName() string
- func (m *Task) GetEstimatedTime() int32
- func (m *Task) GetId() string
- func (m *Task) GetOwner() *furo.Reference
- func (m *Task) GetSubtasks() []*Task
- func (*Task) ProtoMessage()
- func (m *Task) Reset()
- func (m *Task) String() string
- 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 TaskCollection
- func (*TaskCollection) Descriptor() ([]byte, []int)
- func (m *TaskCollection) GetEntities() []*TaskEntity
- func (m *TaskCollection) GetLinks() []*furo.Link
- func (m *TaskCollection) GetMeta() *furo.Meta
- func (*TaskCollection) ProtoMessage()
- func (m *TaskCollection) Reset()
- func (m *TaskCollection) String() string
- func (m *TaskCollection) XXX_DiscardUnknown()
- func (m *TaskCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TaskCollection) XXX_Merge(src proto.Message)
- func (m *TaskCollection) XXX_Size() int
- func (m *TaskCollection) XXX_Unmarshal(b []byte) error
- type TaskEntity
- func (*TaskEntity) Descriptor() ([]byte, []int)
- func (m *TaskEntity) GetData() *Task
- func (m *TaskEntity) GetLinks() []*furo.Link
- func (m *TaskEntity) GetMeta() *furo.Meta
- func (*TaskEntity) ProtoMessage()
- func (m *TaskEntity) Reset()
- func (m *TaskEntity) String() string
- func (m *TaskEntity) XXX_DiscardUnknown()
- func (m *TaskEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TaskEntity) XXX_Merge(src proto.Message)
- func (m *TaskEntity) XXX_Size() int
- func (m *TaskEntity) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct {
// Short task description
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Localized String representation of a task
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Estimated time in days
EstimatedTime int32 `protobuf:"varint,4,opt,name=estimated_time,json=estimatedTime,proto3" json:"estimated_time,omitempty"`
// Identity of a task
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Owner of a task
Owner *furo.Reference `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
// List of subtasks
Subtasks []*Task `protobuf:"bytes,6,rep,name=subtasks,proto3" json:"subtasks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Task data description
func (*Task) Descriptor ¶
func (*Task) GetDescription ¶
func (*Task) GetDisplayName ¶
func (*Task) GetEstimatedTime ¶
func (*Task) GetSubtasks ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) XXX_DiscardUnknown ¶
func (m *Task) XXX_DiscardUnknown()
func (*Task) XXX_Unmarshal ¶
type TaskCollection ¶
type TaskCollection struct {
// Contains a task.TaskEntity repeated
Entities []*TaskEntity `protobuf:"bytes,4,rep,name=entities,proto3" json:"entities,omitempty"`
// Hateoas links
Links []*furo.Link `protobuf:"bytes,3,rep,name=links,proto3" json:"links,omitempty"`
// Meta for the response
Meta *furo.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
TaskCollection with repeated TaskEntity
func (*TaskCollection) Descriptor ¶
func (*TaskCollection) Descriptor() ([]byte, []int)
func (*TaskCollection) GetEntities ¶
func (m *TaskCollection) GetEntities() []*TaskEntity
func (*TaskCollection) GetLinks ¶
func (m *TaskCollection) GetLinks() []*furo.Link
func (*TaskCollection) GetMeta ¶
func (m *TaskCollection) GetMeta() *furo.Meta
func (*TaskCollection) ProtoMessage ¶
func (*TaskCollection) ProtoMessage()
func (*TaskCollection) Reset ¶
func (m *TaskCollection) Reset()
func (*TaskCollection) String ¶
func (m *TaskCollection) String() string
func (*TaskCollection) XXX_DiscardUnknown ¶
func (m *TaskCollection) XXX_DiscardUnknown()
func (*TaskCollection) XXX_Marshal ¶
func (m *TaskCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TaskCollection) XXX_Merge ¶
func (m *TaskCollection) XXX_Merge(src proto.Message)
func (*TaskCollection) XXX_Size ¶
func (m *TaskCollection) XXX_Size() int
func (*TaskCollection) XXX_Unmarshal ¶
func (m *TaskCollection) XXX_Unmarshal(b []byte) error
type TaskEntity ¶
type TaskEntity struct {
// contains a task.Task
Data *Task `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// Hateoas links
Links []*furo.Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
// Meta for the response
Meta *furo.Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
TaskEntity with Task
func (*TaskEntity) Descriptor ¶
func (*TaskEntity) Descriptor() ([]byte, []int)
func (*TaskEntity) GetData ¶
func (m *TaskEntity) GetData() *Task
func (*TaskEntity) GetLinks ¶
func (m *TaskEntity) GetLinks() []*furo.Link
func (*TaskEntity) GetMeta ¶
func (m *TaskEntity) GetMeta() *furo.Meta
func (*TaskEntity) ProtoMessage ¶
func (*TaskEntity) ProtoMessage()
func (*TaskEntity) Reset ¶
func (m *TaskEntity) Reset()
func (*TaskEntity) String ¶
func (m *TaskEntity) String() string
func (*TaskEntity) XXX_DiscardUnknown ¶
func (m *TaskEntity) XXX_DiscardUnknown()
func (*TaskEntity) XXX_Marshal ¶
func (m *TaskEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TaskEntity) XXX_Merge ¶
func (m *TaskEntity) XXX_Merge(src proto.Message)
func (*TaskEntity) XXX_Size ¶
func (m *TaskEntity) XXX_Size() int
func (*TaskEntity) XXX_Unmarshal ¶
func (m *TaskEntity) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.