package
1.1.33
Repository: https://github.com/flyteorg/flyteplugins.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package template exports the Render method Render Evaluates templates in each command with the equivalent value from passed args.

# Functions

AllocationStatusString retrieves an enum value from the enum constants string name.
AllocationStatusValues returns all values of the enum.
Same as DoTransition, but TransitionTime is always Ephemeral.
Creates and returns a new Transition based on the PhaseInfo.Phase Phases: PhaseNotReady, PhaseQueued, PhaseInitializing, PhaseRunning will cause the system to continue invoking Handle.
Loads and validates a plugin.
No description provided by the author
No description provided by the author
No description provided by the author
PhaseInfoNotReady represents the case the plugin is not ready to start.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Creates a new PhaseInfo with phase set to PhaseWaitingForCache.
Deprecated: Please use PhaseInfoWaitingForResourcesInfo instead.
PhaseInfoWaitingForResourcesInfo represents the case the plugin is not ready to start.
PhaseString retrieves an enum value from the enum constants string name.
PhaseValues returns all values of the enum.
TransitionTypeString retrieves an enum value from the enum constants string name.
TransitionTypeValues returns all values of the enum.

# Constants

This means that no resources are available globally.
Go for it.
We're not currently using this - but this would indicate that things globally are okay, but that your own namespace is too busy.
This is the enum returned when there's an error.
No description provided by the author
The system has started the pre-execution process, like container download, cluster startup etc.
No description provided by the author
Indicate that the failure is non recoverable even if retries exist.
Indicates plugin has submitted the execution, but it has not started executing yet.
Indicates that the Failure is recoverable, by re-executing the task if retries permit.
Indicates that the task has started executing.
Indicates that the task has completed successfully.
Does not mean an error, but simply states that we dont know the state in this round, try again later.
Indicates the task is waiting for the cache to be populated so it can reuse results.
Indicates plugin is not ready to submit the request as it is waiting for resources.
No description provided by the author
@deprecated support for Barrier type transitions has been deprecated This transition tries its best to make the latest state visible for every consecutive read.
The transition is eventually consistent.

# Variables

PhaseInfoUndefined should be used when the Phase is unknown usually associated with an error.
No description provided by the author
UnknownTransition is synonymous to UndefinedTransition.

# Structs

No description provided by the author
Additional info that should be sent to the front end.
An entry that identifies the CorePlugin.
System level properties that this Plugin supports.
No description provided by the author
No description provided by the author
ResourceConstraintsSpec is a contract that a plugin can specify with ResourceManager to force runtime quota-allocation constraints at different levels.
No description provided by the author
A Plugin Handle method returns a Transition.

# Interfaces

Task events recorder, which get stored in the Admin.
TODO we may not want to expose this? A friendly controller-runtime client that gets passed to executors.
Interface for the core Flyte plugin.
Read previously written plugin state (previous round).
Write new plugin state for a plugin.
ResourceManager Interface 1.
No description provided by the author
No description provided by the author
Passed to the Loader function when setting up a plugin.
An interface that is passed to every plugin invocation.
TaskExecutionID is a simple Interface to expose the ExecutionID of the running Task.
TaskExecutionMetadata represents any execution information for a Task.
TaskOverrides interface to expose any overrides that have been set for this task (like resource overrides etc).
An interface to access the TaskInformation.
An interface to access a remote/sharable location that contains the serialized TaskTemplate.

# Type aliases

No description provided by the author
When a change is observed, the owning entity with id types.NamespacedName can be triggered for re-validation.
No description provided by the author
A Lazy loading function, that will load the plugin.
No description provided by the author
A simple fire-and-forget func.
No description provided by the author
Type of Transition, refer to Transition to understand what transition means.