github

package
v0.0.1-prerelease9 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SCM

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

func New

func New(client *github.Client, repoOwner, repoName string) *SCM

func (*SCM) CloseProposal

func (s *SCM) CloseProposal(ctx context.Context, proposal *git.Proposal) error

func (*SCM) CreateProposal

func (s *SCM) CreateProposal(ctx context.Context, proposal *git.Proposal, opts git.ProposalOption) error

func (*SCM) GetCurrentProposal

func (s *SCM) GetCurrentProposal(ctx context.Context, baseBranch, branchPrefix string) (*git.Proposal, error)

func (*SCM) MergeProposal

func (s *SCM) MergeProposal(ctx context.Context, proposal *git.Proposal) error

Jump to

Keyboard shortcuts

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