View Source PipelineRunServer.Server.Controller (Datapio OpenCore v0.1.0)
Observe PipelineRunServer resources.
Link to this section Summary
Functions
Return a specification to run the controller under a supervisor
Run a Kubernetes operation using this controller's connection
Run many Kubernetes operations in parallel using this controller's connection
Return the schema configured for this controller
Start a controller linked to the current process with no options
Start a controller linked to the current process
Validate a resource against this controller's schema
Run a function with resource only if the resource is validated
Link to this section Types
Specs
controller_options() :: Datapio.Controller.controller_options()
Specs
resource() :: Datapio.Controller.resource()
Specs
schema() :: Datapio.Controller.schema()
Link to this section Functions
Specs
child_spec(controller_options()) :: Supervisor.child_spec()
Return a specification to run the controller under a supervisor
Specs
run_operation(K8s.Operation.t()) :: {:ok, any()} | {:error, term()}
Run a Kubernetes operation using this controller's connection
Specs
run_operations([K8s.Operation.t(), ...]) :: [ok: any(), error: term()]
Run many Kubernetes operations in parallel using this controller's connection
Specs
schema() :: schema()
Return the schema configured for this controller
Specs
start_link() :: GenServer.on_start()
Start a controller linked to the current process with no options
Specs
start_link(controller_options()) :: GenServer.on_start()
Start a controller linked to the current process
Specs
Validate a resource against this controller's schema
Specs
Run a function with resource only if the resource is validated