fastforward

package
v0.16.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FastForward added in v0.13.0

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

FastForward is the main structure of this package.

func New added in v0.13.0

func New(opts *Options) *FastForward

New returns a new FastForward instance.

func (*FastForward) Run added in v0.13.0

func (f *FastForward) Run() (err error)

Run starts the FastForward.

type Options

type Options struct {
	// GitHubOrg is the GitHub Organization to be used do the initial clone.
	GitHubOrg string

	// GitHubRepo is the GitHub Repository to be used do the initial clone.
	GitHubRepo string

	// Branch is the release branch to be fast forwarded.
	Branch string

	// MainRef is the git ref of the base branch.
	MainRef string

	// Submit can be used to run inside of a new Google Cloud Build job.
	Submit bool

	// NonInteractive does not ask any questions if set to true.
	NonInteractive bool

	// NoMock actually pushes the changes if set to true.
	NoMock bool

	// Cleanup the repository after the run if set to true.
	Cleanup bool

	// RepoPath is the local path to the repository to be used.
	RepoPath string

	// GCPProjectID is the GCP project to use to submit the job.
	GCPProjectID string
}

Options is the main structure for configuring a fast forward.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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