joblink

package
v0.0.0-...-8bd1093 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(client messagePoster, config JobGetter, gcsClient *storage.Client) events.PartialHandler

Handler returns a handler that knows how to respond to messages that mention job details by adding context to them and providing commonly-needed information.

Types

type JobGetter

type JobGetter interface {
	JobForName(name string) *job
}

JobGetter knows how to retrieve job details for a job by name

func NewJobGetter

func NewJobGetter(config config.Getter) JobGetter

NewJobGetter exposes a simplified interface from the Prow configuration

Jump to

Keyboard shortcuts

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