interfaces

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildLogger

type BuildLogger interface {
	Info(message string, args ...interface{})
	Error(message string, err error, args ...interface{})
	Cleanup()
}

type Builder

type Builder interface {
	Build() error
	Prepare() error
	Rollback() error
	Collect() error
	Cleanup()
}

type ModuleConfig

type ModuleConfig interface {
	GetVariables() map[string]string
	GetRun() map[string][]string
	GetStages() []types.Stage
	GetIgnore() []string
	GetChanges() *types.Changes
	IsLastVersion() bool
}

type Runnable

type Runnable interface {
	PreRun(ctx context.Context, wg *sync.WaitGroup, logger BuildLogger)
	PostRun(ctx context.Context, wg *sync.WaitGroup, logger BuildLogger)
}

Jump to

Keyboard shortcuts

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