worker

package
v0.0.0-...-d4c869f Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTmpDir

func CreateTmpDir() (string, error)

func Run

func Run(mq message_queue.MessageQueuer, gRPCCLient pb.PipelineReporterClient, compressedReposPath string) error

Types

type Job

type Job struct {
	Steps []Step `yaml:"steps"`
}

type Pipeline

type Pipeline struct {
	Name  string         `yaml:"name"`
	Image string         `yaml:"image"`
	Jobs  map[string]Job `yaml:"jobs"`
}

type Step

type Step struct {
	Name string   `yaml:"name"`
	Cmds []string `yaml:"cmds"`
}

Jump to

Keyboard shortcuts

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