types

package
v0.0.0-...-cb7e519 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackportPRs

type BackportPRs map[int]PullRequests

BackportPRs maps a backport type PR to the upstream PRs

func (BackportPRs) DeepCopy

func (in BackportPRs) DeepCopy() BackportPRs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackportPRs.

func (BackportPRs) DeepCopyInto

func (in BackportPRs) DeepCopyInto(out *BackportPRs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommonConfig

type CommonConfig struct {
	RepoName string
	Owner    string
	Repo     string
}

func (*CommonConfig) Sanitize

func (cfg *CommonConfig) Sanitize() error

type NodeIDs

type NodeIDs map[int]string

NodeIDs maps a Pull Request number to its graphql node_id

type PullRequest

type PullRequest struct {
	ReleaseNote  string
	ReleaseLabel string
	AuthorName   string
	// BackportBranches contains all the backport-done labels present in the
	// PullRequest.
	BackportBranches []string
	Labels           []string
}

func (*PullRequest) DeepCopy

func (in *PullRequest) DeepCopy() *PullRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequest.

func (*PullRequest) DeepCopyInto

func (in *PullRequest) DeepCopyInto(out *PullRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PullRequests

type PullRequests map[int]PullRequest

PullRequests map a pull request number to a PullRequest

func (PullRequests) DeepCopy

func (in PullRequests) DeepCopy() PullRequests

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequests.

func (PullRequests) DeepCopyInto

func (in PullRequests) DeepCopyInto(out *PullRequests)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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