Documentation
¶
Overview ¶
Package databases is the Azure Resource Manager management plane of Azure SQL, PostgreSQL and MySQL servers and Cache for Redis. The servers are real: each runs as a container next to pogi (the same containers RDS and ElastiCache start, through rds.Box), with the admin login and password from the PUT body. Databases are created in the engine. Without Docker the resources are metadata only.
The HTTP surface is internal/azure/arm's; this package registers one arm.Provider per resource type.
Index ¶
- type Service
- func (s *Service) Close() error
- func (s *Service) Info() core.Info
- func (s *Service) Inspect(table, name string) any
- func (s *Service) Load(b []byte) error
- func (s *Service) Reset()
- func (s *Service) Resources() []core.Table
- func (s *Service) Save() ([]byte, error)
- func (s *Service) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service holds the resources of every kind of server.
func (*Service) Inspect ¶
Inspect returns a server with pogi's side (container, admin password, note).
func (*Service) Load ¶
Load restores state and reconnects to the containers by name (--persist leaves them behind on shutdown); containers of dropped servers go.