local

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: AGPL-3.0 Imports: 10 Imported by: 1

Documentation

Overview

Package local implements a local build service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DependencyComp

func DependencyComp(a, b k6catalog.Module) bool

DependencyComp compares two dependencies for ordering

func NewBuildService

func NewBuildService(ctx context.Context, config Config) (k6build.BuildService, error)

NewBuildService creates a local build service using the given configuration

func SetupTestLocalBuildService

func SetupTestLocalBuildService(t *testing.T) (k6build.BuildService, error)

SetupTestLocalBuildService setups a local build service for testing

Types

type Config added in v0.5.0

type Config struct {
	Opts
	// path to catalog's json file. Can be a file path or a URL
	Catalog string
	// path to object store dir
	StoreDir string
}

Config defines the configuration for a Local build service

type GoOpts added in v0.5.0

type GoOpts = builder.GoOpts

GoOpts Go build options

type Opts added in v0.5.0

type Opts = builder.Opts

Opts local builder options

Jump to

Keyboard shortcuts

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