events

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactBuildFailure

type ArtifactBuildFailure struct {
	ArtifactID   artifact.ArtifactID
	LogURI       string
	ErrorMessage string
}

func (ArtifactBuildFailure) IsEvent

func (ArtifactBuildFailure) IsEvent() Event

type ArtifactBuildProgress

type ArtifactBuildProgress struct {
	ArtifactID   artifact.ArtifactID
	LogTimestamp string
	LogLevel     string // eg. (INFO/ERROR/...)
	LogChannel   string // channel through which this log line was generated (stdout/stderr/...)
	LogMessage   string
	LogSource    string // source of this log (eg., builder/build-wrapper/...)
}

func (ArtifactBuildProgress) IsEvent

func (ArtifactBuildProgress) IsEvent() Event

type ArtifactBuildStarted

type ArtifactBuildStarted struct {
	ArtifactID artifact.ArtifactID
	FromCache  bool
}

func (ArtifactBuildStarted) IsEvent

func (ArtifactBuildStarted) IsEvent() Event

type ArtifactBuildSuccess

type ArtifactBuildSuccess struct {
	ArtifactID artifact.ArtifactID
	LogURI     string
}

func (ArtifactBuildSuccess) IsEvent

func (ArtifactBuildSuccess) IsEvent() Event

type ArtifactDownloadFailure

type ArtifactDownloadFailure struct {
	ArtifactID artifact.ArtifactID
	Error      error
}

func (ArtifactDownloadFailure) IsEvent

func (ArtifactDownloadFailure) IsEvent() Event

type ArtifactDownloadProgress

type ArtifactDownloadProgress struct {
	ArtifactID      artifact.ArtifactID
	IncrementBySize int
}

func (ArtifactDownloadProgress) IsEvent

func (ArtifactDownloadProgress) IsEvent() Event

type ArtifactDownloadSkipped

type ArtifactDownloadSkipped struct {
	ArtifactID artifact.ArtifactID
}

func (ArtifactDownloadSkipped) IsEvent

func (ArtifactDownloadSkipped) IsEvent() Event

type ArtifactDownloadStarted

type ArtifactDownloadStarted struct {
	ArtifactID artifact.ArtifactID
	TotalSize  int
}

func (ArtifactDownloadStarted) IsEvent

func (ArtifactDownloadStarted) IsEvent() Event

type ArtifactDownloadSuccess

type ArtifactDownloadSuccess struct {
	ArtifactID artifact.ArtifactID
}

func (ArtifactDownloadSuccess) IsEvent

func (ArtifactDownloadSuccess) IsEvent() Event

type ArtifactInstallFailure

type ArtifactInstallFailure struct {
	ArtifactID artifact.ArtifactID
	Error      error
}

func (ArtifactInstallFailure) IsEvent

func (ArtifactInstallFailure) IsEvent() Event

type ArtifactInstallProgress

type ArtifactInstallProgress struct {
	ArtifactID      artifact.ArtifactID
	IncrementBySize int
}

func (ArtifactInstallProgress) IsEvent

func (ArtifactInstallProgress) IsEvent() Event

type ArtifactInstallSkipped

type ArtifactInstallSkipped struct {
	ArtifactID artifact.ArtifactID
}

func (ArtifactInstallSkipped) IsEvent

func (ArtifactInstallSkipped) IsEvent() Event

type ArtifactInstallStarted

type ArtifactInstallStarted struct {
	ArtifactID artifact.ArtifactID
	TotalSize  int
}

func (ArtifactInstallStarted) IsEvent

func (ArtifactInstallStarted) IsEvent() Event

type ArtifactInstallSuccess

type ArtifactInstallSuccess struct {
	ArtifactID artifact.ArtifactID
}

func (ArtifactInstallSuccess) IsEvent

func (ArtifactInstallSuccess) IsEvent() Event

type BuildFailure

type BuildFailure struct {
}

func (BuildFailure) IsEvent

func (BuildFailure) IsEvent() Event

type BuildSkipped

type BuildSkipped struct {
}

func (BuildSkipped) IsEvent

func (BuildSkipped) IsEvent() Event

type BuildStarted

type BuildStarted struct {
	LogFilePath string
}

func (BuildStarted) IsEvent

func (BuildStarted) IsEvent() Event

type BuildSuccess

type BuildSuccess struct {
}

func (BuildSuccess) IsEvent

func (BuildSuccess) IsEvent() Event

type Event

type Event struct{}

type Eventer

type Eventer interface {
	IsEvent() Event
}

type Failure

type Failure struct {
}

func (Failure) IsEvent

func (Failure) IsEvent() Event

type Handler

type Handler interface {
	Handle(ev Eventer) error
	Close() error
}

type SolveError

type SolveError struct {
	Error error
}

func (SolveError) IsEvent

func (SolveError) IsEvent() Event

type SolveStart

type SolveStart struct{}

func (SolveStart) IsEvent

func (SolveStart) IsEvent() Event

type SolveSuccess

type SolveSuccess struct{}

func (SolveSuccess) IsEvent

func (SolveSuccess) IsEvent() Event

type Start

type Start struct {
	RecipeID strfmt.UUID

	RequiresBuild bool
	ArtifactNames artifact.Named
	LogFilePath   string

	ArtifactsToBuild    []artifact.ArtifactID
	ArtifactsToDownload []artifact.ArtifactID
	ArtifactsToInstall  []artifact.ArtifactID
}

func (Start) IsEvent

func (Start) IsEvent() Event

type Success

type Success struct {
}

func (Success) IsEvent

func (Success) IsEvent() Event

type VoidHandler

type VoidHandler struct {
}

func (*VoidHandler) Close

func (v *VoidHandler) Close() error

func (*VoidHandler) Handle

func (v *VoidHandler) Handle(Eventer) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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