execution

package
v0.0.0-...-75ddc91 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Package execution implements the REAPI Execution service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

Register creates and registers a new Service with the given gRPC server.

Types

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

func New

func (*Executor) Execute

func (e *Executor) Execute(action *remote.Action) (*remote.ActionResult, error)

Execute executes the given action and returns the result.

type Service

type Service struct {
	remote.UnimplementedExecutionServer
	// contains filtered or unexported fields
}

Service implements the REAPI Execution service.

func NewService

NewService creates a new Service.

func (Service) Execute

func (s Service) Execute(request *remote.ExecuteRequest, executeServer remote.Execution_ExecuteServer) error

Execute executes the given action and returns the result.

func (Service) WaitExecution

func (s Service) WaitExecution(request *remote.WaitExecutionRequest, executionServer remote.Execution_WaitExecutionServer) error

WaitExecution waits for the specified execution to complete.

Jump to

Keyboard shortcuts

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