forge

package
v3.11.52 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 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) GetF3PathFixtures added in v3.11.51

func (o Base) GetF3PathFixtures() []F3PathFixture

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 F3PathFixture added in v3.11.51

type F3PathFixture struct {
	Path       string
	URLAliases func(string) []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

	GetF3PathFixtures() []F3PathFixture

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

Jump to

Keyboard shortcuts

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