service

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

package service implements the gRPC API declared in ../../../proto/step.proto

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithExecutor added in v0.6.0

func WithExecutor(executor func(delegate func())) func(service *StepRunnerService)

func WithJobRunExitWaitTime added in v0.6.0

func WithJobRunExitWaitTime(waitTime time.Duration) func(service *StepRunnerService)

Types

type StepRunnerService

type StepRunnerService struct {
	proto.StepRunnerServer
	// contains filtered or unexported fields
}

func New

func New(stepParser runner.StepParser, env *runner.Environment, options ...func(*StepRunnerService)) *StepRunnerService

func (*StepRunnerService) Close

func (*StepRunnerService) FollowLogs

func (*StepRunnerService) Run

func (s *StepRunnerService) Run(ctx context.Context, request *proto.RunRequest) (response *proto.RunResponse, err error)

Run parses, prepares, and initiates execution of a RunRequest.

func (*StepRunnerService) Status

Jump to

Keyboard shortcuts

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