runnerLocal

package
v0.0.0-...-c6c6d44 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunner

func NewRunner(jwtHandler *jwt.JWTHandler) (runner.Handler, error)

Types

type Handler

type Handler struct {
	JWTHandler *jwt.JWTHandler
	// contains filtered or unexported fields
}

func (*Handler) CleanUpJobs

func (h *Handler) CleanUpJobs(ctx context.Context, workflowID string, workflowReq *pb.RunnerServiceCleanUpJobsRequest) (*pb.RunnerServiceCleanUpJobsResponse, error)

func (*Handler) GetLogStream

func (*Handler) GetRunnerType

func (h *Handler) GetRunnerType() types.RunnerType

func (*Handler) StartJob

func (*Handler) StartWorkflow

func (h *Handler) StartWorkflow(ctx context.Context, workflowID string, workflowReq *pb.RunnerServiceStartWorkflowRequest) (*pb.RunnerServiceStartWorkflowResponse, error)

func (*Handler) StopJob

func (*Handler) StopWorkflow

func (h *Handler) StopWorkflow(ctx context.Context, workflowID string, workflowReq *pb.RunnerServiceStopWorkflowRequest) (*pb.RunnerServiceStopWorkflowResponse, error)

Jump to

Keyboard shortcuts

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