releasenotes

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvVarPrefix = "SCYLLA_OPERATOR_GEN_RELEASE_NOTES_"
)

Variables

This section is empty.

Functions

func NewGenGitReleaseNotesCommand

func NewGenGitReleaseNotesCommand(ctx context.Context, streams genericclioptions.IOStreams) *cobra.Command

Types

type GenerateOptions

type GenerateOptions struct {
	genericclioptions.IOStreams

	Repository     string
	RepositoryPath string

	GithubToken string

	ReleaseName         string
	PreviousReleaseName string
	StartRef            string
	EndRef              string

	ContainerImageName string
	// contains filtered or unexported fields
}

func NewGitGenerateOptions

func NewGitGenerateOptions(streams genericclioptions.IOStreams) *GenerateOptions

func (*GenerateOptions) Complete

func (o *GenerateOptions) Complete(ctx context.Context) error

func (*GenerateOptions) Run

func (o *GenerateOptions) Run(ctx context.Context) error

func (*GenerateOptions) Validate

func (o *GenerateOptions) Validate() error

type PRNode

type PRNode struct {
	PullRequest PullRequest `graphql:"... on PullRequest"`
}

type PullRequest

type PullRequest struct {
	Number githubql.Int
	Author struct {
		Login githubql.String
	}
	Title  githubql.String
	Labels struct {
		Nodes []struct {
			Name githubql.String
		}
	} `graphql:"labels(first: 100)"`
	Repository struct {
		Name          githubql.String
		NameWithOwner githubql.String
		Owner         struct {
			Login githubql.String
		}
	}
	MergedAt githubql.DateTime
}

PullRequest holds graphql data about a PR, including its commits and their contexts.

Jump to

Keyboard shortcuts

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