github

package
v1.191.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIssue added in v1.191.0

func CreateIssue(ghCreateIssueOptions *CreateIssueOptions) error

func NewClient

func NewClient(token, apiURL, uploadURL string) (context.Context, *github.Client, error)

NewClient creates a new GitHub client using an OAuth token for authentication

Types

type CreateIssueOptions added in v1.191.0

type CreateIssueOptions struct {
	APIURL         string   `json:"apiUrl,omitempty"`
	Assignees      []string `json:"assignees,omitempty"`
	Body           []byte   `json:"body,omitempty"`
	Owner          string   `json:"owner,omitempty"`
	Repository     string   `json:"repository,omitempty"`
	Title          string   `json:"title,omitempty"`
	UpdateExisting bool     `json:"updateExisting,omitempty"`
	Token          string   `json:"token,omitempty"`
}

CreateIssueOptions to configure the creation

Jump to

Keyboard shortcuts

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