executors

package
v0.0.0-...-9febfc8 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package executors defines the base executors type.

Index

Constants

View Source
const (
	FilterExecutorType interfaces.ExecutorType = "FilterExecutor"
)

All supported executor types.

Variables

This section is empty.

Functions

Types

type FilterExecutor

type FilterExecutor struct {
	*interfaces.AbstractExecutor

	FilterServiceClient testapi.GenericFilterServiceClient
	ContainerInfo       *ctpv2_data.ContainerInfo
}

FilterExecutor represents executor for all filter related commands.

func NewFilterExecutor

func NewFilterExecutor() *FilterExecutor

func (*FilterExecutor) ExecuteCommand

func (ex *FilterExecutor) ExecuteCommand(
	ctx context.Context,
	cmdInterface interfaces.CommandInterface) error

func (*FilterExecutor) ExecuteFilter

func (ex *FilterExecutor) ExecuteFilter(
	ctx context.Context,
	filterReq *testapi.InternalTestplan) (*testapi.InternalTestplan, error)

ExecuteFilter invokes the run tests endpoint of cros-test.

Jump to

Keyboard shortcuts

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