gitstream

package
v0.0.0-...-c9da2d3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assign

type Assign struct {
	GC               *github.Client
	DryRun           bool
	Finder           markup.Finder
	GitHelper        gitutils.Helper
	Logger           logr.Logger
	IssueHelper      gh.IssueHelper
	UserHelper       gh.UserHelper
	Repo             *git.Repository
	RepoName         *gh.RepoName
	UpstreamConfig   config.Upstream
	DownstreamConfig config.Downstream
	OwnersHelper     owners.OwnersHelper
}

func (*Assign) Run

func (a *Assign) Run(ctx context.Context) error

type DeleteRemoteBranches

type DeleteRemoteBranches struct {
	GitHubToken string
	Logger      logr.Logger
	Repo        *git.Repository
}

func (*DeleteRemoteBranches) Run

type Diff

type Diff struct {
	Differ               gitutils.Differ
	DiffConfig           config.Diff
	DownstreamMainBranch string
	Logger               logr.Logger
	Repo                 *git.Repository
	RepoName             *gh.RepoName
	UpstreamConfig       config.Upstream
}

func (*Diff) Run

func (d *Diff) Run(ctx context.Context) error

type Sync

type Sync struct {
	CherryPicker     gitutils.CherryPicker
	Differ           gitutils.Differ
	DiffConfig       config.Diff
	DownstreamConfig config.Downstream
	DryRun           bool
	GitHelper        gitutils.Helper
	GitHubToken      string
	IssueHelper      gh.IssueHelper
	Logger           logr.Logger
	PRHelper         gh.PRHelper
	Repo             *git.Repository
	RepoName         *gh.RepoName
	UpstreamConfig   config.Upstream
}

func (*Sync) Run

func (s *Sync) Run(ctx context.Context) error

type Undraft

type Undraft struct {
	DryRun         bool
	Finder         markup.Finder
	GitHelper      gitutils.Helper
	Logger         logr.Logger
	PRHelper       gh.PRHelper
	Repo           *git.Repository
	RepoName       *gh.RepoName
	UpstreamConfig config.Upstream
}

func (*Undraft) Run

func (u *Undraft) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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