core_contract

package
v0.61.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TaskGraphMetadataContextKey = typedmap.NewTypedKey[TaskGraphMetadata]("khi.google.com/task-graph-metadata")

TaskGraphMetadataContextKey is the key to get the TaskGraphMetadata.

View Source
var TaskImplementationIDContextKey = typedmap.NewTypedKey[taskid.UntypedTaskImplementationID]("khi.google.com/task-implementation-id")

TaskImplementationIDContextKey is the key to get the current task implementation ID.

View Source
var TaskResultMapContextKey = typedmap.NewTypedKey[*typedmap.TypedMap]("khi.google.com/task-result-map")

TaskResultMapContextKey is the key to get the result of each task run before.

Functions

This section is empty.

Types

type TaskGraphMetadata added in v0.59.0

type TaskGraphMetadata interface {
	// IsBound returns true if the task reference was bound to the graph.
	IsBound(referenceID string) bool
	// BoundReferenceIDsForTaskImplWithTag returns the list of task reference IDs providing the tag bound specifically to the given task implementation ID.
	BoundReferenceIDsForTaskImplWithTag(taskImplementationID string, tag string) []string
}

TaskGraphMetadata provides information about the resolved task graph.

Jump to

Keyboard shortcuts

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