Documentation
¶
Index ¶
- Constants
- type Model
- type Repo
- func (r *Repo) GetPostgres(ctx context.Context, id string) (*client.PostgresDetail, error)
- func (r *Repo) GetPostgresConnectionInfo(ctx context.Context, id string) (*client.PostgresConnectionInfo, error)
- func (r *Repo) ListPostgres(ctx context.Context, params *client.ListPostgresParams) ([]*client.Postgres, error)
- func (r *Repo) RestartPostgresDatabase(ctx context.Context, id string) error
- type Service
Constants ¶
View Source
const PostgresType = "Postgres"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { Postgres *client.Postgres `json:"postgres,omitempty"` Project *client.Project `json:"project,omitempty"` Environment *client.Environment `json:"environment,omitempty"` }
func (Model) EnvironmentName ¶
func (Model) ProjectName ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func NewRepo ¶
func NewRepo(c *client.ClientWithResponses) *Repo
func (*Repo) GetPostgres ¶
func (*Repo) GetPostgresConnectionInfo ¶
func (*Repo) ListPostgres ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) GetPostgres ¶
func (*Service) ListPostgres ¶
Click to show internal directories.
Click to hide internal directories.