Documentation ¶
Index ¶
Constants ¶
View Source
const ( MediaProcessingEntityControllerName = "nagare-media-engine-mediaprocessingentity-controller" ClusterMediaProcessingEntityControllerName = "nagare-media-engine-clustermediaprocessingentity-controller" )
View Source
const ( WorkflowManagerHelperDataVolume = "nagare-media-engine-workflow-manager-helper-data" WorkflowManagerHelperDataVolumeMountPath = "/run/secrets/engine.nagare.media/task" WorkflowManagerHelperDataFileName = "data.json" )
View Source
const ( ResourcePrefix = "task-" HTTPStreamTargetPortName = "stream-http" )
View Source
const (
JobControllerName = "nagare-media-engine-job-controller"
)
View Source
const (
TaskControllerName = "nagare-media-engine-task-controller"
)
View Source
const (
WorkflowControllerName = "nagare-media-engine-workflow-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobReconciler ¶
type JobReconciler struct { client.Client APIReader client.Reader Config *enginev1.WorkflowManagerConfig Scheme *runtime.Scheme EventChannel chan<- event.GenericEvent MediaProcessingEntityRef *meta.ObjectReference }
JobReconciler reconciles Job objects
func (*JobReconciler) Name ¶
func (r *JobReconciler) Name() string
func (*JobReconciler) SetupWithManager ¶
func (r *JobReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type MediaProcessingEntityReconciler ¶
type MediaProcessingEntityReconciler struct { client.Client APIReader client.Reader Config *enginev1.WorkflowManagerConfig Scheme *runtime.Scheme LocalRESTConfig *rest.Config ManagerOptions manager.Options JobEventChannel chan<- event.GenericEvent // contains filtered or unexported fields }
MediaProcessingEntityReconciler reconciles MediaProcessingEntities and ClusterMediaProcessingEntities objects
func (*MediaProcessingEntityReconciler) GetClient ¶
func (r *MediaProcessingEntityReconciler) GetClient(ref *meta.ObjectReference) (Client, bool)
func (*MediaProcessingEntityReconciler) GetManager ¶
func (r *MediaProcessingEntityReconciler) GetManager(ref *meta.ObjectReference) (Manager, bool)
func (*MediaProcessingEntityReconciler) SetupWithManager ¶
func (r *MediaProcessingEntityReconciler) SetupWithManager(mgr ctrl.Manager) error
TODO: emit Kubernetes events SetupWithManager sets up the controller with the Manager.
type TaskReconciler ¶
type TaskReconciler struct { client.Client APIReader client.Reader Config *enginev1.WorkflowManagerConfig Scheme *runtime.Scheme JobEventChannel <-chan event.GenericEvent MediaProcessingEntityReconciler *MediaProcessingEntityReconciler // contains filtered or unexported fields }
TaskReconciler reconciles a Task object
func (*TaskReconciler) SetupWithManager ¶
func (r *TaskReconciler) SetupWithManager(mgr ctrl.Manager) error
TODO: set HumanReadable from task template if unset TODO: emit Kubernetes events SetupWithManager sets up the controller with the Manager.
type WorkflowReconciler ¶
type WorkflowReconciler struct { client.Client APIReader client.Reader Config *enginev1.WorkflowManagerConfig Scheme *runtime.Scheme }
WorkflowReconciler reconciles a Workflow object
func (*WorkflowReconciler) SetupWithManager ¶
func (r *WorkflowReconciler) SetupWithManager(mgr ctrl.Manager) error
TODO: emit Kubernetes events SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.