mirror of
https://github.com/labring/sealos.git
synced 2026-09-19 02:23:07 +08:00
* add credits * create table * change name & add table name * optimize interface * print result err log * fix * add credits for debt * creditsTransaction add region * refactor debt status: Normal\LowBalance\CriticalBalance\Debt\DebtDeletion\Final Period. * refactor debt status: Normal\LowBalance\CriticalBalance\Debt\DebtDeletion\Final Period. * add retry transaction * optimize determine status * support card pay & subscription plan & operator service * add pay notify & redirect url * fix * optimize * add error test log * fix req time * fix * fix * add subscription payment api * only processes the `CAPTURE_RESULT` notify type * fix * fix * fixed notify structure parsing * fix * fix * init a Free initial subscription plan √/ Initialize credits Create √ * init resourcequota wiht subscription * fix * fix * fix * fix * fix * fix * fix * fix * fix card type * fix * Subscribe controller: real-time monitoring subscriptionTransaction processing created/upgrade/downgrade * fix * fix * fix * determine current debt status with subscription * optimize pay api resp * process subscription auto renewal * optimize log * fix * fix * add GetAppResourceCosts api * fix * add GetLastSubscriptionTransaction api * add GetSubscriptionUpgradeAmount api * add /subscription/flush-quota api * fix * add remote flush subscription quota * go mod tidy * fix * add retry flush subscription quota * add custom debt status send email body * fix * fix * fix * fix * fix * add free process subscription * fix * add default pay expire time * optimize * support kyc & optimize * optimiz * add descributed lock with gorm db * optimize debt reconcile * optimize send email * optimize split sms vms code map; handler failure reflush debt status. * optimize * add email username * optimize * skip zero user * optimize flush svc * add convert test func * fix * optimize log * use the k8s client with cache * fix golang ci lint
70 lines
2.7 KiB
AMPL
70 lines
2.7 KiB
AMPL
module github.com/labring/sealos/service
|
|
|
|
go 1.22.5
|
|
|
|
toolchain go1.23.1
|
|
|
|
replace (
|
|
github.com/labring/sealos/service => ../service
|
|
github.com/labring/sealos/service/account => ../service/account
|
|
github.com/labring/sealos/service/database => ../service/database
|
|
github.com/labring/sealos/service/exceptionmonitor => ../service/exceptionmonitor
|
|
github.com/labring/sealos/service/pkg => ../pkg
|
|
)
|
|
|
|
require (
|
|
github.com/alipay/global-open-sdk-go v1.2.11
|
|
github.com/google/uuid v1.6.0
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
k8s.io/api v0.28.4
|
|
k8s.io/apimachinery v0.28.4
|
|
k8s.io/client-go v0.28.4
|
|
)
|
|
|
|
require (
|
|
github.com/Masterminds/goutils v1.1.1 // indirect
|
|
github.com/Masterminds/semver v1.5.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/emicklei/go-restful/v3 v3.10.1 // indirect
|
|
github.com/go-logr/logr v1.2.4 // indirect
|
|
github.com/go-openapi/jsonpointer v0.19.6 // indirect
|
|
github.com/go-openapi/jsonreference v0.20.2 // indirect
|
|
github.com/go-openapi/swag v0.22.3 // indirect
|
|
github.com/go-task/slim-sprig v2.20.0+incompatible // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/google/gnostic-models v0.6.8 // indirect
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
|
github.com/google/pprof v0.0.0-20230323073829-e72429f035bd // indirect
|
|
github.com/huandu/xstrings v1.4.0 // indirect
|
|
github.com/imdario/mergo v0.3.16 // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/onsi/ginkgo/v2 v2.10.0 // indirect
|
|
github.com/onsi/gomega v1.27.8 // indirect
|
|
github.com/rogpeppe/go-internal v1.11.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/stretchr/testify v1.8.4 // indirect
|
|
golang.org/x/net v0.17.0 // indirect
|
|
golang.org/x/oauth2 v0.8.0 // indirect
|
|
golang.org/x/sys v0.13.0 // indirect
|
|
golang.org/x/term v0.13.0 // indirect
|
|
golang.org/x/text v0.13.0 // indirect
|
|
golang.org/x/time v0.3.0 // indirect
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
google.golang.org/protobuf v1.31.0 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
k8s.io/klog/v2 v2.100.1 // indirect
|
|
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
|
|
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
|
|
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
|
|
sigs.k8s.io/yaml v1.3.0 // indirect
|
|
)
|