View Source ExTier.Api.Schedule (ex_tier v0.11.1)

Link to this section Summary

Functions

Schedule a phase in an organization

Link to this section Types

@type schedule_params() :: %{org: String.t(), phases: [ExTier.Phase.t()]}

Link to this section Functions

@spec schedule(schedule_params()) :: :ok | {:error, ExTier.Error.t()}

Schedule a phase in an organization

:ok = ExTier.schedule(%{org: "org:org_id", phases: [%{features: ["feature:feature"]}]})