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
Click to show internal directories.
Click to hide internal directories.