Astarte.Flow.K8s (astarte_flow v0.1.0)

Link to this section Summary

Link to this section Functions

Link to this function

container_block_resource(block)

@spec container_block_resource(Astarte.Flow.K8s.ContainerBlock.t()) :: map()
Link to this function

create_flow(realm, flow_name, container_blocks, native_blocks)

@spec create_flow(String.t(), String.t(), [Astarte.Flow.K8s.ContainerBlock.t()], [
  any()
]) :: :ok | {:error, atom() | binary()}
Link to this function

delete_flow(flow_name)

@spec delete_flow(String.t()) ::
  {:ok, reference() | map()} | {:error, atom() | binary()}
Link to this function

flow_custom_resource(realm, flow_name, container_blocks, native_blocks)

@spec flow_custom_resource(
  String.t(),
  String.t(),
  [Astarte.Flow.K8s.ContainerBlock.t()],
  [any()]
) :: map()
Link to this function

flow_status(flow_name)

Link to this function

try_delete_flow(flow_name)

@spec try_delete_flow(String.t()) :: :ok | {:error, atom() | binary()}