├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── .golangci.yml ├── .templates ├── api │ ├── base │ │ ├── contracts │ │ │ ├── Makefile │ │ │ └── info │ │ │ │ └── info.proto │ │ └── pkg │ │ │ └── server │ │ │ ├── config.go │ │ │ ├── health.go │ │ │ ├── info.go │ │ │ └── server.go │ ├── openapi │ │ └── web │ │ │ └── public │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── index.html │ │ │ ├── oauth2-redirect.html │ │ │ ├── swagger-ui-bundle.js │ │ │ ├── swagger-ui-bundle.js.map │ │ │ ├── swagger-ui-es-bundle-core.js │ │ │ ├── swagger-ui-es-bundle-core.js.map │ │ │ ├── swagger-ui-es-bundle.js │ │ │ ├── swagger-ui-es-bundle.js.map │ │ │ ├── swagger-ui-standalone-preset.js │ │ │ ├── swagger-ui-standalone-preset.js.map │ │ │ ├── swagger-ui.css │ │ │ ├── swagger-ui.css.map │ │ │ ├── swagger-ui.js │ │ │ └── swagger-ui.js.map │ └── rest │ │ └── pkg │ │ └── server │ │ └── gateway.go ├── base │ ├── .env.mk │ ├── .gitignore │ ├── .golangci.yml │ ├── .helm │ │ ├── Chart.yaml │ │ ├── charts │ │ │ └── main │ │ │ │ ├── Chart.yaml │ │ │ │ ├── README.md │ │ │ │ ├── templates │ │ │ │ ├── _helpers.tpl │ │ │ │ ├── configmap.yaml │ │ │ │ ├── deployment.yaml │ │ │ │ ├── ingress.yaml │ │ │ │ └── service.yaml │ │ │ │ └── values.yaml │ │ ├── values-dev.yaml │ │ └── values-prod.yaml │ ├── Dockerfile │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── bumper.sh │ ├── cmd │ │ └── service.go │ ├── config │ │ └── default.conf │ ├── doc.go │ ├── docs │ │ ├── CHANGELOG.md │ │ ├── CODE_OF_CONDUCT.md │ │ ├── CONTRIBUTING.md │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ └── README.md │ └── pkg │ │ ├── commands │ │ ├── bind.go │ │ ├── root.go │ │ └── serve.go │ │ ├── config │ │ ├── config.go │ │ └── config_test.go │ │ ├── helper │ │ ├── helper.go │ │ └── helper_test.go │ │ ├── info │ │ ├── info.go │ │ └── info_test.go │ │ ├── logger │ │ ├── config.go │ │ ├── logger.go │ │ └── logger_test.go │ │ ├── service │ │ └── service.go │ │ ├── system │ │ ├── operations.go │ │ ├── operations_test.go │ │ ├── operator.go │ │ ├── signal.go │ │ └── signal_test.go │ │ └── version │ │ └── version.go ├── example │ ├── base │ │ ├── contracts │ │ │ └── events │ │ │ │ ├── events.proto │ │ │ │ └── public.proto │ │ ├── fixtures │ │ │ └── events │ │ │ │ └── data.json │ │ └── pkg │ │ │ ├── db │ │ │ ├── provider │ │ │ │ └── events.go │ │ │ └── stub │ │ │ │ └── events.go │ │ │ └── server │ │ │ ├── errors.go │ │ │ └── events.go │ ├── mysql │ │ ├── migrations │ │ │ └── mysql │ │ │ │ ├── 00001_schema.sql │ │ │ │ └── 00002_fixtures.sql │ │ └── pkg │ │ │ └── db │ │ │ └── mysql │ │ │ └── events.go │ └── postgres │ │ ├── migrations │ │ └── postgres │ │ │ ├── 00001_schema.sql │ │ │ └── 00002_fixtures.sql │ │ └── pkg │ │ └── db │ │ └── postgres │ │ └── events.go ├── metrics │ └── pkg │ │ └── metrics │ │ ├── const.go │ │ ├── database.go │ │ ├── grpc.go │ │ ├── metrics.go │ │ └── monitor.go └── storage │ ├── base │ ├── migrations │ │ └── driver.md │ └── pkg │ │ ├── commands │ │ ├── down.go │ │ ├── migrate.go │ │ └── up.go │ │ └── db │ │ ├── config.go │ │ ├── connect.go │ │ ├── migrations │ │ ├── config.go │ │ └── migrations.go │ │ ├── provider │ │ ├── errors.go │ │ ├── sql.go │ │ └── transact.go │ │ ├── store.go │ │ └── stub │ │ └── stub.go │ ├── mysql │ └── pkg │ │ └── db │ │ └── mysql │ │ └── mysql.go │ └── postgres │ └── pkg │ └── db │ └── postgres │ └── postgres.go ├── LICENSE ├── Makefile ├── README.md ├── bumper.sh ├── caldera.go ├── cmd └── caldera │ └── main.go ├── docs ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── PULL_REQUEST_TEMPLATE.md └── README.md ├── go.mod ├── go.sum └── pkg ├── commands ├── api.go ├── config.go ├── driver.go ├── gke.go ├── linter.go ├── new.go ├── root.go └── storage.go ├── config └── config.go ├── generator ├── copy.go ├── generator.go └── template.go ├── helper ├── helper.go └── helper_test.go ├── input ├── input.go └── inquirer.go └── version └── version.go /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /caldera 2 | /vendor 3 | /default.yaml 4 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.golangci.yml -------------------------------------------------------------------------------- /.templates/api/base/contracts/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/base/contracts/Makefile -------------------------------------------------------------------------------- /.templates/api/base/contracts/info/info.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/base/contracts/info/info.proto -------------------------------------------------------------------------------- /.templates/api/base/pkg/server/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/base/pkg/server/config.go -------------------------------------------------------------------------------- /.templates/api/base/pkg/server/health.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/base/pkg/server/health.go -------------------------------------------------------------------------------- /.templates/api/base/pkg/server/info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/base/pkg/server/info.go -------------------------------------------------------------------------------- /.templates/api/base/pkg/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/base/pkg/server/server.go -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/favicon-16x16.png -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/favicon-32x32.png -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/index.html -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/oauth2-redirect.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/oauth2-redirect.html -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui-bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui-bundle.js -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui-bundle.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui-bundle.js.map -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui-es-bundle-core.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui-es-bundle-core.js -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui-es-bundle-core.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui-es-bundle-core.js.map -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui-es-bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui-es-bundle.js -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui-es-bundle.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui-es-bundle.js.map -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui-standalone-preset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui-standalone-preset.js -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui-standalone-preset.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui-standalone-preset.js.map -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui.css -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui.css.map -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui.js -------------------------------------------------------------------------------- /.templates/api/openapi/web/public/swagger-ui.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/openapi/web/public/swagger-ui.js.map -------------------------------------------------------------------------------- /.templates/api/rest/pkg/server/gateway.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/api/rest/pkg/server/gateway.go -------------------------------------------------------------------------------- /.templates/base/.env.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.env.mk -------------------------------------------------------------------------------- /.templates/base/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.gitignore -------------------------------------------------------------------------------- /.templates/base/.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.golangci.yml -------------------------------------------------------------------------------- /.templates/base/.helm/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/Chart.yaml -------------------------------------------------------------------------------- /.templates/base/.helm/charts/main/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/charts/main/Chart.yaml -------------------------------------------------------------------------------- /.templates/base/.helm/charts/main/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/charts/main/README.md -------------------------------------------------------------------------------- /.templates/base/.helm/charts/main/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/charts/main/templates/_helpers.tpl -------------------------------------------------------------------------------- /.templates/base/.helm/charts/main/templates/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/charts/main/templates/configmap.yaml -------------------------------------------------------------------------------- /.templates/base/.helm/charts/main/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/charts/main/templates/deployment.yaml -------------------------------------------------------------------------------- /.templates/base/.helm/charts/main/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/charts/main/templates/ingress.yaml -------------------------------------------------------------------------------- /.templates/base/.helm/charts/main/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/charts/main/templates/service.yaml -------------------------------------------------------------------------------- /.templates/base/.helm/charts/main/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/charts/main/values.yaml -------------------------------------------------------------------------------- /.templates/base/.helm/values-dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/values-dev.yaml -------------------------------------------------------------------------------- /.templates/base/.helm/values-prod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/.helm/values-prod.yaml -------------------------------------------------------------------------------- /.templates/base/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/Dockerfile -------------------------------------------------------------------------------- /.templates/base/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/LICENSE -------------------------------------------------------------------------------- /.templates/base/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/Makefile -------------------------------------------------------------------------------- /.templates/base/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/README.md -------------------------------------------------------------------------------- /.templates/base/bumper.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/bumper.sh -------------------------------------------------------------------------------- /.templates/base/cmd/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/cmd/service.go -------------------------------------------------------------------------------- /.templates/base/config/default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/config/default.conf -------------------------------------------------------------------------------- /.templates/base/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/doc.go -------------------------------------------------------------------------------- /.templates/base/docs/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/docs/CHANGELOG.md -------------------------------------------------------------------------------- /.templates/base/docs/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/docs/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.templates/base/docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /.templates/base/docs/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/docs/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.templates/base/docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/docs/README.md -------------------------------------------------------------------------------- /.templates/base/pkg/commands/bind.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/commands/bind.go -------------------------------------------------------------------------------- /.templates/base/pkg/commands/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/commands/root.go -------------------------------------------------------------------------------- /.templates/base/pkg/commands/serve.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/commands/serve.go -------------------------------------------------------------------------------- /.templates/base/pkg/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/config/config.go -------------------------------------------------------------------------------- /.templates/base/pkg/config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/config/config_test.go -------------------------------------------------------------------------------- /.templates/base/pkg/helper/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/helper/helper.go -------------------------------------------------------------------------------- /.templates/base/pkg/helper/helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/helper/helper_test.go -------------------------------------------------------------------------------- /.templates/base/pkg/info/info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/info/info.go -------------------------------------------------------------------------------- /.templates/base/pkg/info/info_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/info/info_test.go -------------------------------------------------------------------------------- /.templates/base/pkg/logger/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/logger/config.go -------------------------------------------------------------------------------- /.templates/base/pkg/logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/logger/logger.go -------------------------------------------------------------------------------- /.templates/base/pkg/logger/logger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/logger/logger_test.go -------------------------------------------------------------------------------- /.templates/base/pkg/service/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/service/service.go -------------------------------------------------------------------------------- /.templates/base/pkg/system/operations.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/system/operations.go -------------------------------------------------------------------------------- /.templates/base/pkg/system/operations_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/system/operations_test.go -------------------------------------------------------------------------------- /.templates/base/pkg/system/operator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/system/operator.go -------------------------------------------------------------------------------- /.templates/base/pkg/system/signal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/system/signal.go -------------------------------------------------------------------------------- /.templates/base/pkg/system/signal_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/system/signal_test.go -------------------------------------------------------------------------------- /.templates/base/pkg/version/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/base/pkg/version/version.go -------------------------------------------------------------------------------- /.templates/example/base/contracts/events/events.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/base/contracts/events/events.proto -------------------------------------------------------------------------------- /.templates/example/base/contracts/events/public.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/base/contracts/events/public.proto -------------------------------------------------------------------------------- /.templates/example/base/fixtures/events/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/base/fixtures/events/data.json -------------------------------------------------------------------------------- /.templates/example/base/pkg/db/provider/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/base/pkg/db/provider/events.go -------------------------------------------------------------------------------- /.templates/example/base/pkg/db/stub/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/base/pkg/db/stub/events.go -------------------------------------------------------------------------------- /.templates/example/base/pkg/server/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/base/pkg/server/errors.go -------------------------------------------------------------------------------- /.templates/example/base/pkg/server/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/base/pkg/server/events.go -------------------------------------------------------------------------------- /.templates/example/mysql/migrations/mysql/00001_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/mysql/migrations/mysql/00001_schema.sql -------------------------------------------------------------------------------- /.templates/example/mysql/migrations/mysql/00002_fixtures.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/mysql/migrations/mysql/00002_fixtures.sql -------------------------------------------------------------------------------- /.templates/example/mysql/pkg/db/mysql/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/mysql/pkg/db/mysql/events.go -------------------------------------------------------------------------------- /.templates/example/postgres/migrations/postgres/00001_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/postgres/migrations/postgres/00001_schema.sql -------------------------------------------------------------------------------- /.templates/example/postgres/migrations/postgres/00002_fixtures.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/postgres/migrations/postgres/00002_fixtures.sql -------------------------------------------------------------------------------- /.templates/example/postgres/pkg/db/postgres/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/example/postgres/pkg/db/postgres/events.go -------------------------------------------------------------------------------- /.templates/metrics/pkg/metrics/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/metrics/pkg/metrics/const.go -------------------------------------------------------------------------------- /.templates/metrics/pkg/metrics/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/metrics/pkg/metrics/database.go -------------------------------------------------------------------------------- /.templates/metrics/pkg/metrics/grpc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/metrics/pkg/metrics/grpc.go -------------------------------------------------------------------------------- /.templates/metrics/pkg/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/metrics/pkg/metrics/metrics.go -------------------------------------------------------------------------------- /.templates/metrics/pkg/metrics/monitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/metrics/pkg/metrics/monitor.go -------------------------------------------------------------------------------- /.templates/storage/base/migrations/driver.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/migrations/driver.md -------------------------------------------------------------------------------- /.templates/storage/base/pkg/commands/down.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/commands/down.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/commands/migrate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/commands/migrate.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/commands/up.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/commands/up.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/db/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/db/config.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/db/connect.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/db/connect.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/db/migrations/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/db/migrations/config.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/db/migrations/migrations.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/db/migrations/migrations.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/db/provider/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/db/provider/errors.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/db/provider/sql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/db/provider/sql.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/db/provider/transact.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/db/provider/transact.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/db/store.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/db/store.go -------------------------------------------------------------------------------- /.templates/storage/base/pkg/db/stub/stub.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/base/pkg/db/stub/stub.go -------------------------------------------------------------------------------- /.templates/storage/mysql/pkg/db/mysql/mysql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/mysql/pkg/db/mysql/mysql.go -------------------------------------------------------------------------------- /.templates/storage/postgres/pkg/db/postgres/postgres.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/.templates/storage/postgres/pkg/db/postgres/postgres.go -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/README.md -------------------------------------------------------------------------------- /bumper.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/bumper.sh -------------------------------------------------------------------------------- /caldera.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/caldera.go -------------------------------------------------------------------------------- /cmd/caldera/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/cmd/caldera/main.go -------------------------------------------------------------------------------- /docs/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/docs/CHANGELOG.md -------------------------------------------------------------------------------- /docs/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/docs/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/docs/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/docs/README.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/go.sum -------------------------------------------------------------------------------- /pkg/commands/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/commands/api.go -------------------------------------------------------------------------------- /pkg/commands/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/commands/config.go -------------------------------------------------------------------------------- /pkg/commands/driver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/commands/driver.go -------------------------------------------------------------------------------- /pkg/commands/gke.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/commands/gke.go -------------------------------------------------------------------------------- /pkg/commands/linter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/commands/linter.go -------------------------------------------------------------------------------- /pkg/commands/new.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/commands/new.go -------------------------------------------------------------------------------- /pkg/commands/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/commands/root.go -------------------------------------------------------------------------------- /pkg/commands/storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/commands/storage.go -------------------------------------------------------------------------------- /pkg/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/config/config.go -------------------------------------------------------------------------------- /pkg/generator/copy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/generator/copy.go -------------------------------------------------------------------------------- /pkg/generator/generator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/generator/generator.go -------------------------------------------------------------------------------- /pkg/generator/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/generator/template.go -------------------------------------------------------------------------------- /pkg/helper/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/helper/helper.go -------------------------------------------------------------------------------- /pkg/helper/helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/helper/helper_test.go -------------------------------------------------------------------------------- /pkg/input/input.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/input/input.go -------------------------------------------------------------------------------- /pkg/input/inquirer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/input/inquirer.go -------------------------------------------------------------------------------- /pkg/version/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/takama/caldera/HEAD/pkg/version/version.go --------------------------------------------------------------------------------