request

package
v0.0.0-...-113f7ca Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseReadmeFromLink(ctx context.Context, client *query.Client, reqIssue ReleaseRequestIssue) (link.ResolveResult, error)

ParseReadmeFromLink ...

Types

type ParsingOptions

type ParsingOptions struct {
	IncludeDataPlaneRequests bool
}

ParsingOptions ...

type ReleaseRequestIssue

type ReleaseRequestIssue struct {
	IssueLink   string
	TargetLink  string
	Tag         string
	ReleaseDate time.Time
	Labels      []*github.Label
}

ReleaseRequestIssue represents a release request issue

func NewReleaseRequestIssue

func NewReleaseRequestIssue(issue github.Issue) (*ReleaseRequestIssue, error)

NewReleaseRequestIssue ...

type Request

type Request struct {
	RequestLink string
	TargetDate  time.Time
	ReadmePath  string
	Tag         string
	Track       Track
}

Request represents a parsed SDK release request

func ParseIssue

func ParseIssue(ctx context.Context, client *query.Client, issue github.Issue, options ParsingOptions) (*Request, error)

ParseIssue parses the release request issues to release requests

type Track

type Track string

Track ...

const (
	// Track1 ...
	Track1 Track = "Track1"
	// Track2 ...
	Track2 Track = "Track2"
)

Jump to

Keyboard shortcuts

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