Skip to content

Commit

Permalink
Added fixed subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSharpe committed May 9, 2024
1 parent a4ddde4 commit ad96097
Show file tree
Hide file tree
Showing 5 changed files with 585 additions and 3 deletions.
7 changes: 5 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/RedisLabs/rediscloud-go-api/service/cloud_accounts"
"github.com/RedisLabs/rediscloud-go-api/service/databases"
"github.com/RedisLabs/rediscloud-go-api/service/fixed/plans"
fixedSubscriptions "github.com/RedisLabs/rediscloud-go-api/service/fixed/subscriptions"
"github.com/RedisLabs/rediscloud-go-api/service/latest_backups"
"github.com/RedisLabs/rediscloud-go-api/service/latest_imports"
"github.com/RedisLabs/rediscloud-go-api/service/pricing"
Expand All @@ -36,7 +37,8 @@ type Client struct {
LatestImport *latest_imports.API
Pricing *pricing.API
// fixed
FixedPlans *plans.API
FixedPlans *plans.API
FixedSubscriptions *fixedSubscriptions.API
// acl
RedisRules *redis_rules.API
Roles *roles.API
Expand Down Expand Up @@ -78,7 +80,8 @@ func NewClient(configs ...Option) (*Client, error) {
LatestImport: latest_imports.NewAPI(client, t, config.logger),
Pricing: pricing.NewAPI(client),
// fixed
FixedPlans: plans.NewAPI(client, config.logger),
FixedPlans: plans.NewAPI(client, config.logger),
FixedSubscriptions: fixedSubscriptions.NewAPI(client, t, config.logger),
// acl
RedisRules: redis_rules.NewAPI(client, t, config.logger),
Roles: roles.NewAPI(client, t, config.logger),
Expand Down
Loading

0 comments on commit ad96097

Please sign in to comment.