resultsservice

package
v0.0.0-...-34f9f00 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetTaskRun = DefaultGetTaskRun
View Source
var UpdateTaskRun = DefaultUpdateTaskRun

Functions

func DefaultGetTaskRun

func DefaultGetTaskRun(service *ResultsService, namespace string, taskRun string) (*v1.TaskRun, error)

func DefaultUpdateTaskRun

func DefaultUpdateTaskRun(service *ResultsService, tr *v1.TaskRun) error

Types

type ResultsMessage

type ResultsMessage struct {
	TaskRunName string
	Namespace   string
	Results     map[string]string
}

type ResultsService

type ResultsService struct {
	Logger *logr.Logger
	Client *kubernetes.Clientset
}

service service example implementation. The example methods log the requests and return zero values.

func (*ResultsService) ServeHTTP

func (s *ResultsService) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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