worker

package
v0.0.0-...-99a9ffc Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsumeRevisionRun

func ConsumeRevisionRun(revisionRun map[int][]string) error

func GetPipelineRunStatus

func GetPipelineRunStatus(prStatus string) (pipelineRunStatus map[string]string)

func GetRevisionRunStatus

func GetRevisionRunStatus(prName string) int

func VerifyPipelineRunStatus

func VerifyPipelineRunStatus(name string)

Types

type PipelineRunStatus

type PipelineRunStatus struct {
	Name       string `mapstructure:"name"`
	Status     string `mapstructure:"status"`
	Completed  int    `mapstructure:"completed"`
	Failed     int    `mapstructure:"failed"`
	Canceled   int    `mapstructure:"canceled"`
	Incomplete int    `mapstructure:"incomplete"`
	Skipped    int    `mapstructure:"skipped"`
}

Jump to

Keyboard shortcuts

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