interfaces

package
v0.0.0-...-0342304 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericTaskMessageRequest

type GenericTaskMessageRequest struct {
	// Key to the InsertInstruction map.
	InsertionId string

	// Map of protos which will be wrapped by an Any.
	StaticInputs map[string]proto.Message
	// Map of dynamic dependencies. Items pointing to a non-any
	// object should be initialized within StaticInputs and postfixed
	// with `.value`.
	DynamicInputs map[string]string
}

GenericTaskMessageRequest defines the inputs for the start, run, and stop rpc requests for a given generic task.

type InsertInstructionGetter

type InsertInstructionGetter func(task *api.CrosTestRunnerDynamicRequest_Task) *api.UserDefinedDynamicUpdate

Function types for concise definitions.

type ModifyActionGetter

type ModifyActionGetter func(modifications []*api.UpdateAction_Modify_Modification) *api.UserDefinedDynamicUpdate

type ProvisionTaskInstallRequest

type ProvisionTaskInstallRequest struct {
	StaticImagePath *_go.StoragePath
	StaticMetadata  *anypb.Any
	// Map of dynamic dependencies whose target would be the above
	// static inputs.
	DynamicInputs map[string]string
}

ProvisionTaskInstallRequest defines the inputs for the install request for a given provision task.

type ProvisionTaskStartUpRequest

type ProvisionTaskStartUpRequest struct {
	StaticDut       *labapi.Dut
	StaticDutServer *labapi.IpEndpoint
	// Map of dynamic dependencies whose target would be the above
	// static inputs.
	DynamicInputs map[string]string
}

ProvisionTaskStartUpRequest defines the inputs for the startup request for a given provision task.

type UserDefinedDynamicUpdateGenerator

type UserDefinedDynamicUpdateGenerator func() ([]*api.UserDefinedDynamicUpdate, error)

UserDefinedDynamicUpdateGenerator is any function that creates a list of dynamic updates.

Jump to

Keyboard shortcuts

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