forge

package
v0.0.0-...-39bbcdd Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) GetName

func (o *Base) GetName() 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)

	GetExceptions() []generic.Kind

	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