Documentation ¶
Index ¶
- type Label
- type LabelDataStoreInterface
- type Project
- func (p Project) Channel() string
- func (p *Project) CreateTask(labelRepository LabelDataStoreInterface, timeStamp string, reaction string) (Task, error)
- func (p Project) DeleteTask(taskRepository TaskDataStoreInterface, zube ZubeInterface, task Task) error
- func (p *Project) GetTaskByTimestamp(labelRepository LabelDataStoreInterface, taskRepository TaskDataStoreInterface, ...) (Task, error)
- func (p Project) ID() int
- func (p Project) WorkspaceID() int
- type ProjectDataStoreInterface
- type ProjectService
- type SecretManagerInterface
- type SlackInterface
- type SlackMessage
- type Task
- func (t Task) Body() string
- func (t Task) CardID() int
- func (t Task) Labels() []int
- func (t Task) Project() Project
- func (t *Task) SetBody(body string)
- func (t *Task) SetCardID(cardID int)
- func (t *Task) SetProject(project Project)
- func (t *Task) SetTitle(title string)
- func (t Task) Timestamp() string
- func (t Task) Title() string
- type TaskDataStoreInterface
- type TaskService
- type ZubeInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LabelDataStoreInterface ¶
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
func (*Project) CreateTask ¶
func (Project) DeleteTask ¶
func (p Project) DeleteTask(taskRepository TaskDataStoreInterface, zube ZubeInterface, task Task) error
func (*Project) GetTaskByTimestamp ¶
func (p *Project) GetTaskByTimestamp(labelRepository LabelDataStoreInterface, taskRepository TaskDataStoreInterface, timeStamp string, reaction string) (Task, error)
func (Project) WorkspaceID ¶
type ProjectService ¶
type ProjectService struct {
// contains filtered or unexported fields
}
func NewProjectService ¶
func NewProjectService(projectRepository ProjectDataStoreInterface) *ProjectService
func (ProjectService) GetProjectByChannel ¶
func (s ProjectService) GetProjectByChannel(channel string) (Project, error)
type SecretManagerInterface ¶
type SlackInterface ¶
type SlackInterface interface {
GetMessage(channel string, timestamp string) (SlackMessage, error)
}
type SlackMessage ¶
type SlackMessage struct {
// contains filtered or unexported fields
}
func NewSlackMessage ¶
func NewSlackMessage(title string, body string) *SlackMessage
func (SlackMessage) Body ¶
func (s SlackMessage) Body() string
func (SlackMessage) Title ¶
func (s SlackMessage) Title() string
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) SetProject ¶
type TaskDataStoreInterface ¶
type TaskService ¶
type TaskService struct {
// contains filtered or unexported fields
}
func NewTaskService ¶
func NewTaskService(taskRepository TaskDataStoreInterface, slack SlackInterface, zube ZubeInterface) *TaskService
Click to show internal directories.
Click to hide internal directories.