Documentation
¶
Index ¶
- func NewSeverInterface(s service.ServiceInterface, auth auth.AuthInterface) apigen.ServerInterface
- func NewValidator(model model.ModelInterface, auth auth.AuthInterface) apigen.Validator
- type Controller
- func (controller *Controller) CancelDDLProgress(c *fiber.Ctx, id int32, ddlID int64) error
- func (controller *Controller) CreateCluster(c *fiber.Ctx) error
- func (controller *Controller) CreateClusterDiagnostic(c *fiber.Ctx, id int32) error
- func (controller *Controller) CreateClusterSnapshot(c *fiber.Ctx, id int32) error
- func (controller *Controller) DeleteCluster(c *fiber.Ctx, id int32, params apigen.DeleteClusterParams) error
- func (controller *Controller) DeleteClusterSnapshot(c *fiber.Ctx, id int32, snapshotId int64) error
- func (controller *Controller) DeleteDatabase(c *fiber.Ctx, id int32) error
- func (controller *Controller) DeleteMetricsStore(c *fiber.Ctx, id int32, params apigen.DeleteMetricsStoreParams) error
- func (controller *Controller) GetCluster(c *fiber.Ctx, id int32) error
- func (controller *Controller) GetClusterAutoBackupConfig(c *fiber.Ctx, id int32) error
- func (controller *Controller) GetClusterAutoDiagnosticConfig(c *fiber.Ctx, id int32) error
- func (controller *Controller) GetClusterDiagnostic(c *fiber.Ctx, id int32, diagnosticId int32) error
- func (controller *Controller) GetDDLProgress(c *fiber.Ctx, id int32) error
- func (controller *Controller) GetDatabase(c *fiber.Ctx, id int32) error
- func (controller *Controller) GetMaterializedViewThroughput(c *fiber.Ctx, clusterID int32) error
- func (controller *Controller) GetMetricsStore(c *fiber.Ctx, id int32) error
- func (controller *Controller) ImportCluster(c *fiber.Ctx) error
- func (controller *Controller) ImportDatabase(c *fiber.Ctx) error
- func (controller *Controller) ImportMetricsStore(c *fiber.Ctx) error
- func (controller *Controller) ListClusterDiagnostics(c *fiber.Ctx, id int32, params apigen.ListClusterDiagnosticsParams) error
- func (controller *Controller) ListClusterSnapshots(c *fiber.Ctx, id int32) error
- func (controller *Controller) ListClusterVersions(c *fiber.Ctx) error
- func (controller *Controller) ListClusters(c *fiber.Ctx) error
- func (controller *Controller) ListDatabases(c *fiber.Ctx) error
- func (controller *Controller) ListEvents(c *fiber.Ctx) error
- func (controller *Controller) ListMetricsStores(c *fiber.Ctx) error
- func (controller *Controller) ListTasks(c *fiber.Ctx) error
- func (controller *Controller) QueryDatabase(c *fiber.Ctx, id int32) error
- func (controller *Controller) RestoreClusterSnapshot(c *fiber.Ctx, id int32, snapshotId int64) error
- func (controller *Controller) RunRisectlCommand(c *fiber.Ctx, id int32) error
- func (controller *Controller) TestClusterConnection(c *fiber.Ctx) error
- func (controller *Controller) TestDatabaseConnection(c *fiber.Ctx) error
- func (controller *Controller) UpdateCluster(c *fiber.Ctx, id int32) error
- func (controller *Controller) UpdateClusterAutoBackupConfig(c *fiber.Ctx, id int32) error
- func (controller *Controller) UpdateClusterAutoDiagnosticConfig(c *fiber.Ctx, id int32) error
- func (controller *Controller) UpdateDatabase(c *fiber.Ctx, id int32) error
- func (controller *Controller) UpdateMetricsStore(c *fiber.Ctx, id int32) error
- type Validator
- func (v *Validator) AuthFunc(c *fiber.Ctx) error
- func (v *Validator) GetOrgID(c *fiber.Ctx) int32
- func (v *Validator) OwnDatabase(c *fiber.Ctx, orgID int32, databaseID int32) error
- func (v *Validator) PostValidate(c *fiber.Ctx) error
- func (v *Validator) PreValidate(c *fiber.Ctx) error
- func (v *Validator) PremiumAccess(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSeverInterface ¶
func NewSeverInterface(s service.ServiceInterface, auth auth.AuthInterface) apigen.ServerInterface
func NewValidator ¶
func NewValidator(model model.ModelInterface, auth auth.AuthInterface) apigen.Validator
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) CancelDDLProgress ¶
func (*Controller) CreateCluster ¶
func (controller *Controller) CreateCluster(c *fiber.Ctx) error
func (*Controller) CreateClusterDiagnostic ¶
func (controller *Controller) CreateClusterDiagnostic(c *fiber.Ctx, id int32) error
func (*Controller) CreateClusterSnapshot ¶
func (controller *Controller) CreateClusterSnapshot(c *fiber.Ctx, id int32) error
func (*Controller) DeleteCluster ¶
func (controller *Controller) DeleteCluster(c *fiber.Ctx, id int32, params apigen.DeleteClusterParams) error
func (*Controller) DeleteClusterSnapshot ¶
func (*Controller) DeleteDatabase ¶
func (controller *Controller) DeleteDatabase(c *fiber.Ctx, id int32) error
func (*Controller) DeleteMetricsStore ¶
func (controller *Controller) DeleteMetricsStore(c *fiber.Ctx, id int32, params apigen.DeleteMetricsStoreParams) error
func (*Controller) GetCluster ¶
func (controller *Controller) GetCluster(c *fiber.Ctx, id int32) error
func (*Controller) GetClusterAutoBackupConfig ¶
func (controller *Controller) GetClusterAutoBackupConfig(c *fiber.Ctx, id int32) error
func (*Controller) GetClusterAutoDiagnosticConfig ¶
func (controller *Controller) GetClusterAutoDiagnosticConfig(c *fiber.Ctx, id int32) error
func (*Controller) GetClusterDiagnostic ¶
func (*Controller) GetDDLProgress ¶
func (controller *Controller) GetDDLProgress(c *fiber.Ctx, id int32) error
func (*Controller) GetDatabase ¶
func (controller *Controller) GetDatabase(c *fiber.Ctx, id int32) error
func (*Controller) GetMaterializedViewThroughput ¶
func (controller *Controller) GetMaterializedViewThroughput(c *fiber.Ctx, clusterID int32) error
func (*Controller) GetMetricsStore ¶
func (controller *Controller) GetMetricsStore(c *fiber.Ctx, id int32) error
func (*Controller) ImportCluster ¶
func (controller *Controller) ImportCluster(c *fiber.Ctx) error
func (*Controller) ImportDatabase ¶
func (controller *Controller) ImportDatabase(c *fiber.Ctx) error
func (*Controller) ImportMetricsStore ¶
func (controller *Controller) ImportMetricsStore(c *fiber.Ctx) error
func (*Controller) ListClusterDiagnostics ¶
func (controller *Controller) ListClusterDiagnostics(c *fiber.Ctx, id int32, params apigen.ListClusterDiagnosticsParams) error
func (*Controller) ListClusterSnapshots ¶
func (controller *Controller) ListClusterSnapshots(c *fiber.Ctx, id int32) error
func (*Controller) ListClusterVersions ¶
func (controller *Controller) ListClusterVersions(c *fiber.Ctx) error
func (*Controller) ListClusters ¶
func (controller *Controller) ListClusters(c *fiber.Ctx) error
func (*Controller) ListDatabases ¶
func (controller *Controller) ListDatabases(c *fiber.Ctx) error
func (*Controller) ListEvents ¶
func (controller *Controller) ListEvents(c *fiber.Ctx) error
func (*Controller) ListMetricsStores ¶
func (controller *Controller) ListMetricsStores(c *fiber.Ctx) error
func (*Controller) QueryDatabase ¶
func (controller *Controller) QueryDatabase(c *fiber.Ctx, id int32) error
func (*Controller) RestoreClusterSnapshot ¶
func (*Controller) RunRisectlCommand ¶
func (controller *Controller) RunRisectlCommand(c *fiber.Ctx, id int32) error
func (*Controller) TestClusterConnection ¶
func (controller *Controller) TestClusterConnection(c *fiber.Ctx) error
func (*Controller) TestDatabaseConnection ¶
func (controller *Controller) TestDatabaseConnection(c *fiber.Ctx) error
func (*Controller) UpdateCluster ¶
func (controller *Controller) UpdateCluster(c *fiber.Ctx, id int32) error
func (*Controller) UpdateClusterAutoBackupConfig ¶
func (controller *Controller) UpdateClusterAutoBackupConfig(c *fiber.Ctx, id int32) error
func (*Controller) UpdateClusterAutoDiagnosticConfig ¶
func (controller *Controller) UpdateClusterAutoDiagnosticConfig(c *fiber.Ctx, id int32) error
func (*Controller) UpdateDatabase ¶
func (controller *Controller) UpdateDatabase(c *fiber.Ctx, id int32) error
func (*Controller) UpdateMetricsStore ¶
func (controller *Controller) UpdateMetricsStore(c *fiber.Ctx, id int32) error
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func (*Validator) OwnDatabase ¶
Click to show internal directories.
Click to hide internal directories.