issueManager

package
v0.0.0-...-a09fea8 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateIssueOpts

type CreateIssueOpts struct {
	Title    *string
	Body     *string
	Labels   *[]string
	Assignee *string
	State    *string
}

type GetIssueOpts

type GetIssueOpts struct {
	Owner string
	Repo  string
	Issue int
}

type IssueManager

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

func New

func New(r *retrier.Retrier, githubClient *github.Client, opts *Opts) *IssueManager

func (*IssueManager) CreateIssue

func (p *IssueManager) CreateIssue(ctx context.Context, opts *CreateIssueOpts) (*gogithub.Issue, error)

func (*IssueManager) GetIssue

func (p *IssueManager) GetIssue(ctx context.Context, opts *GetIssueOpts) (*gogithub.Issue, error)

type Opts

type Opts struct {
	SourceOwner string
	SourceRepo  string
}

Jump to

Keyboard shortcuts

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