Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindCompletedTasks ¶
func FindCompletedTasks(flow *skyv1alpha1.Workflow) []string
func FindSchedulableTasks ¶
func FindSchedulableTasks(nodes []*Node, tasks []skyv1alpha1.Task) []skyv1alpha1.Task
Types ¶
type Dag ¶
func (*Dag) GetRootNode ¶
type Node ¶
func FindSchedulableNodes ¶
func FindSchedulableNodes(dag *Dag, completedTasks []string, taskStatus map[string]skyv1alpha1.TaskStatus) []*Node
type WorkflowReconciler ¶
WorkflowReconciler reconciles a Workflow object
func (*WorkflowReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Workflow object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.18.4/pkg/reconcile
func (*WorkflowReconciler) SetupWithManager ¶
func (r *WorkflowReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.