factory

package
v3.19.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	Config        *config.Config
	GitRepository *git.Repository
	GraphQLClient graphql.Client
	RestAPIClient *buildkite.Client
	Version       string
	SkipConfirm   bool
	NoInput       bool
	Quiet         bool
	NoPager       bool
	Debug         bool
}

func New

func New(opts ...FactoryOpt) (*Factory, error)

type FactoryOpt added in v3.18.0

type FactoryOpt func(*factoryConfig)

FactoryOpt is a functional option for configuring the Factory

func WithDebug added in v3.18.0

func WithDebug(debug bool) FactoryOpt

WithDebug enables debug output for REST API calls

Jump to

Keyboard shortcuts

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