Milan Pavlik
|
e8ab39e3e7
|
[usage] Use a config file to configure usage component
|
2022-07-04 20:44:51 +05:30 |
|
Milan Pavlik
|
e6602f7ffa
|
[usage] Refactor server start into a function, specify config
|
2022-06-30 17:58:39 +05:30 |
|
Milan Pavlik
|
7c567bfa19
|
[usage] Refactor credit calculation into a WorkspacePricer
|
2022-06-30 17:30:38 +05:30 |
|
Milan Pavlik
|
b5afbce0cc
|
[usage] Expose metrics for reconciles started and duration
|
2022-06-29 16:12:37 +05:30 |
|
Andrew Farries
|
db870a5b44
|
Make client init take a config struct not a path
* Rename the function to `New`.
* Lift config file unmarshaling out of the package and into the
consumer.
|
2022-06-27 13:45:36 +05:30 |
|
Andrew Farries
|
136d46e675
|
Make run command use new Stripe client
Give an instance of the stripe client to the stripe billing controller.
|
2022-06-27 13:45:36 +05:30 |
|
Andrew Farries
|
95e32871e0
|
[usage] Make Stripe payment integration optional
Enable stripe integration iff a Stripe secret is configured.
|
2022-06-27 11:46:35 +05:30 |
|
Andrew Farries
|
27de293182
|
Add schedule flag to run command
To allow overriding the default scheduler when testing the reconciler
locally.
Change default to 1 hour.
|
2022-06-16 20:50:25 +05:30 |
|
Andrew Farries
|
d87da28d46
|
Authenticate to the Stripe API
When the `run` subcommand is invoked, authenticate to the Stripe API
using API keys.
|
2022-06-16 18:05:26 +05:30 |
|
Milan Pavlik
|
a56fffbd94
|
[usage] List workspace instances
|
2022-06-07 21:26:17 +05:30 |
|
Milan Pavlik
|
109c45dcfa
|
[usage] Setup controller and reconciler
|
2022-06-01 14:54:50 +05:30 |
|
Milan Pavlik
|
9202ddd16a
|
[usage] Configure database connection details
|
2022-05-30 14:28:48 +05:30 |
|
Milan Pavlik
|
df3e316a6f
|
[usage-controller] Initial setup for component
|
2022-05-25 17:05:39 +05:30 |
|