processor

package
v0.0.0-...-bc91aa5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action string
const (
	ActionGet    Action = "get"
	ActionAdd    Action = "add"
	ActionList   Action = "list"
	ActionDelete Action = "delete"
	ActionUpdate Action = "update"
)

type CommentProcessor

type CommentProcessor struct {
	// contains filtered or unexported fields
}

func NewCommentProcessor

func NewCommentProcessor(action, issueId string, useMarkdown bool) CommentProcessor

func (CommentProcessor) AddBasic

func (p CommentProcessor) AddBasic(body string) error

func (CommentProcessor) AddMarkdown

func (p CommentProcessor) AddMarkdown() error

func (CommentProcessor) Process

func (p CommentProcessor) Process(body string) ([]*jira.Comment, error)

func (CommentProcessor) Render

func (p CommentProcessor) Render(comments []*jira.Comment) error

func (CommentProcessor) UpdateMarkdown

func (p CommentProcessor) UpdateMarkdown(comment *jira.Comment) error

type IssueProcessor

type IssueProcessor struct {
	// contains filtered or unexported fields
}

func NewIssueProcessor

func NewIssueProcessor(action string, issueId string) IssueProcessor

func (IssueProcessor) Process

func (p IssueProcessor) Process() ([]*jira.Issue, error)

func (IssueProcessor) Render

func (p IssueProcessor) Render(issues []*jira.Issue) error

type Processor

type Processor interface {
	Process() error
	Render() error
}

Jump to

Keyboard shortcuts

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