Documentation
¶
Overview ¶
Package builder implements a build service
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAccessingArtifact = errors.New("accessing artifact") //nolint:revive ErrBuildingArtifact = errors.New("building artifact") ErrInitializingBuilder = errors.New("initializing builder") ErrInvalidParameters = errors.New("invalid build parameters") ErrBuildSemverNotAllowed = errors.New("semvers with build metadata not allowed") )
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder implements the BuildService interface
type Config ¶
type Config struct { Opts Opts Catalog string Store store.ObjectStore Foundry FoundryFactory Registerer prometheus.Registerer }
Config defines the configuration for a Builder
type FoundryFactory ¶ added in v0.5.5
type FoundryFactory interface {
NewFoundry(ctx context.Context, opts k6foundry.NativeFoundryOpts) (k6foundry.Foundry, error)
}
FoundryFactory is a function that creates a FoundryFactory
type FoundryFactoryFunction ¶ added in v0.5.5
type FoundryFactoryFunction func(context.Context, k6foundry.NativeFoundryOpts) (k6foundry.Foundry, error)
FoundryFactoryFunction defines a function that implements the FoundryFactory interface
func (FoundryFactoryFunction) NewFoundry ¶ added in v0.5.5
func (f FoundryFactoryFunction) NewFoundry( ctx context.Context, opts k6foundry.NativeFoundryOpts, ) (k6foundry.Foundry, error)
NewFoundry implements the Foundry interface
Click to show internal directories.
Click to hide internal directories.