forge

package
v3.11.5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ComplianceNameForkedPullRequest   = "PullRequest forked"
	ComplianceNameNoBranchPullRequest = "PullRequest no branch"
	ComplianceUserAdmin               = "User admin"
	ComplianceReviewRequest           = "Review request"
)

Variables

This section is empty.

Functions

func RegisterFactory

func RegisterFactory(name string, factory Factory)

Types

type Base

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

func (*Base) DeleteAfterCompliance added in v3.8.0

func (o *Base) DeleteAfterCompliance() bool

func (*Base) GetKindExceptions added in v3.10.0

func (o *Base) GetKindExceptions() []kind.Kind

func (*Base) GetName

func (o *Base) GetName() string

func (*Base) GetNameExceptions added in v3.10.0

func (o *Base) GetNameExceptions() []string

func (*Base) GetNonTestUsers

func (o *Base) GetNonTestUsers() []string

func (*Base) SetName

func (o *Base) SetName(name string)

type Factories

type Factories map[string]Factory

func GetFactories

func GetFactories() Factories

type Factory

type Factory func() Interface

func GetFactory

func GetFactory(name string) Factory

type Interface

type Interface interface {
	GetName() string
	SetName(string)

	DeleteAfterCompliance() bool

	GetKindExceptions() []kind.Kind
	GetNameExceptions() []string

	GetNonTestUsers() []string

	NewOptions(t *testing.T) options.Interface
}

Jump to

Keyboard shortcuts

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