prvalidator

package
v0.38.4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	configuration librepo.Configuration,
	customConfig config.CustomConfiguration,
	logging librepo.Logging,
	timestamp librepo.Timestamp,
	bitbucket repository.Bitbucket,
) service.PRValidator

Types

type Impl

type Impl struct {
	Configuration       librepo.Configuration
	CustomConfiguration config.CustomConfiguration
	Logging             librepo.Logging
	Timestamp           librepo.Timestamp
	BitBucket           repository.Bitbucket
}

func (*Impl) IsPRValidator

func (s *Impl) IsPRValidator() bool

func (*Impl) ValidatePullRequest

func (s *Impl) ValidatePullRequest(ctx context.Context, id uint64, toRef string, fromRef string) error

Jump to

Keyboard shortcuts

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