instrumentation

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchInstrumentation

type BatchInstrumentation interface {
	BatchPipelineStarted(repos []*domain.GitRepository)
	BatchPipelineCompleted(repos []*domain.GitRepository)
	PipelineForRepositoryStarted(repo *domain.GitRepository)
	PipelineForRepositoryCompleted(repo *domain.GitRepository, err error)
	NewCollectErrorHandler(skipBroken bool) parallel.ResultHandler
}

type CommonBatchInstrumentation

type CommonBatchInstrumentation struct {
	// contains filtered or unexported fields
}

func NewUpdateInstrumentation

func NewUpdateInstrumentation(console *ui.ColoredConsole, factory logging.LoggerFactory) *CommonBatchInstrumentation

func (*CommonBatchInstrumentation) BatchPipelineCompleted

func (i *CommonBatchInstrumentation) BatchPipelineCompleted(repos []*domain.GitRepository)

func (*CommonBatchInstrumentation) BatchPipelineStarted

func (i *CommonBatchInstrumentation) BatchPipelineStarted(repos []*domain.GitRepository)

func (*CommonBatchInstrumentation) NewCollectErrorHandler

func (i *CommonBatchInstrumentation) NewCollectErrorHandler(skipBroken bool) parallel.ResultHandler

func (*CommonBatchInstrumentation) PipelineForRepositoryCompleted

func (i *CommonBatchInstrumentation) PipelineForRepositoryCompleted(repo *domain.GitRepository, err error)

func (*CommonBatchInstrumentation) PipelineForRepositoryStarted

func (i *CommonBatchInstrumentation) PipelineForRepositoryStarted(repo *domain.GitRepository)

type InstrumentationContext

type InstrumentationContext interface {
	GetRepositories() []*domain.GitRepository
}

Jump to

Keyboard shortcuts

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