Versions in this module Expand all Collapse all v1 v1.1.2 Jan 31, 2025 v1.1.1 Jan 30, 2025 Changes in this version + const RedisType + type Model struct + Environment *client.Environment + Project *client.Project + Redis *client.Redis + func (m Model) EnvironmentName() string + func (m Model) ID() string + func (m Model) Name() string + func (m Model) ProjectName() string + func (m Model) Type() string + type Repo struct + func NewRepo(c *client.ClientWithResponses) *Repo + func (r *Repo) GetRedis(ctx context.Context, id string) (*client.RedisDetail, error) + func (r *Repo) GetRedisConnectionInfo(ctx context.Context, id string) (*client.RedisConnectionInfo, error) + func (r *Repo) ListRedis(ctx context.Context, params *client.ListRedisParams) ([]*client.Redis, error) + type Service struct + func NewService(repo *Repo, environmentRepo *environment.Repo, projectRepo *project.Repo) *Service + func (s *Service) GetRedis(ctx context.Context, id string) (*Model, error) + func (s *Service) ListRedis(ctx context.Context, params *client.ListRedisParams) ([]*Model, error)