Documentation
¶
Overview ¶
Package mysql contains business logic of working with Remote MySQL instances.
Index ¶
- type Instance
- type Service
- func (svc *Service) Add(ctx context.Context, name, address string, port uint32, ...) (int32, error)
- func (svc *Service) ApplyPrometheusConfiguration(ctx context.Context, q *reform.Querier) error
- func (svc *Service) List(ctx context.Context) ([]Instance, error)
- func (svc *Service) Remove(ctx context.Context, id int32) error
- func (svc *Service) Restore(ctx context.Context, tx *reform.TX) error
- type ServiceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
Node models.RemoteNode
Service models.MySQLService
}
type Service ¶
type Service struct {
*ServiceConfig
// contains filtered or unexported fields
}
Service is responsible for interactions with AWS RDS.
func NewService ¶
func NewService(config *ServiceConfig) (*Service, error)
NewService creates a new service.
func (*Service) ApplyPrometheusConfiguration ¶
type ServiceConfig ¶
Click to show internal directories.
Click to hide internal directories.