package
0.2.2
Repository: https://github.com/honnix/flyteplugins.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

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.
No description provided by the author
No description provided by the author
No description provided by the author
Return in 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
Return in 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 plugin is not ready to submit the request as it is waiting for resources.
This transition tries its best to make the latest state visible for every consecutive read.
The transition is eventually consistent.

# Variables

Undefined entity, associated with an error.
No description provided by the author
Unknown/Undefined transition.

# Structs

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
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.
Resource Manager manages a single resource type, and each allocation is of size one.
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.
Simple Interface to expose the ExecutionID of the running Task.
TaskContext represents any execution information for a Task.
Interface to expose any overrides that have been set for this task (like resource overrides etc).
An interface to access the TaskInformation.

# 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.