diff --git a/api/everest-server.gen.go b/api/everest-server.gen.go index c8ed6e01..a95dc0b0 100644 --- a/api/everest-server.gen.go +++ b/api/everest-server.gen.go @@ -823,6 +823,12 @@ type CreateBackupStorageJSONRequestBody = CreateBackupStorageParams // UpdateBackupStorageJSONRequestBody defines body for UpdateBackupStorage for application/json ContentType. type UpdateBackupStorageJSONRequestBody = UpdateBackupStorageParams +// CreateMonitoringInstanceJSONRequestBody defines body for CreateMonitoringInstance for application/json ContentType. +type CreateMonitoringInstanceJSONRequestBody = MonitoringInstanceCreateParams + +// UpdateMonitoringInstanceJSONRequestBody defines body for UpdateMonitoringInstance for application/json ContentType. +type UpdateMonitoringInstanceJSONRequestBody = MonitoringInstanceUpdateParams + // CreateDatabaseClusterBackupJSONRequestBody defines body for CreateDatabaseClusterBackup for application/json ContentType. type CreateDatabaseClusterBackupJSONRequestBody = DatabaseClusterBackup @@ -838,12 +844,6 @@ type CreateDatabaseClusterJSONRequestBody = DatabaseCluster // UpdateDatabaseClusterJSONRequestBody defines body for UpdateDatabaseCluster for application/json ContentType. type UpdateDatabaseClusterJSONRequestBody = DatabaseCluster -// CreateMonitoringInstanceJSONRequestBody defines body for CreateMonitoringInstance for application/json ContentType. -type CreateMonitoringInstanceJSONRequestBody = MonitoringInstanceCreateParams - -// UpdateMonitoringInstanceJSONRequestBody defines body for UpdateMonitoringInstance for application/json ContentType. -type UpdateMonitoringInstanceJSONRequestBody = MonitoringInstanceUpdateParams - // UpdateDatabaseEngineJSONRequestBody defines body for UpdateDatabaseEngine for application/json ContentType. type UpdateDatabaseEngineJSONRequestBody = DatabaseEngine @@ -1301,54 +1301,6 @@ type ServerInterface interface { // Get the cluster type and storage classes of a kubernetes cluster // (GET /cluster-info) GetKubernetesClusterInfo(ctx echo.Context) error - // Create a database cluster backup - // (POST /database-cluster-backups) - CreateDatabaseClusterBackup(ctx echo.Context) error - // Delete the specified cluster backup - // (DELETE /database-cluster-backups/{name}) - DeleteDatabaseClusterBackup(ctx echo.Context, name string) error - // Returns the specified cluster backup - // (GET /database-cluster-backups/{name}) - GetDatabaseClusterBackup(ctx echo.Context, name string) error - // Create a database cluster restore - // (POST /database-cluster-restores) - CreateDatabaseClusterRestore(ctx echo.Context) error - // Delete the specified cluster restore - // (DELETE /database-cluster-restores/{name}) - DeleteDatabaseClusterRestore(ctx echo.Context, name string) error - // Returns the specified cluster restore - // (GET /database-cluster-restores/{name}) - GetDatabaseClusterRestore(ctx echo.Context, name string) error - // Replace the specified cluster restore - // (PUT /database-cluster-restores/{name}) - UpdateDatabaseClusterRestore(ctx echo.Context, name string) error - // List of the created database clusters - // (GET /database-clusters) - ListDatabaseClusters(ctx echo.Context) error - // Create a database cluster - // (POST /database-clusters) - CreateDatabaseCluster(ctx echo.Context) error - // Delete the specified database cluster - // (DELETE /database-clusters/{name}) - DeleteDatabaseCluster(ctx echo.Context, name string) error - // Get the specified database cluster - // (GET /database-clusters/{name}) - GetDatabaseCluster(ctx echo.Context, name string) error - // Replace the specified database cluster - // (PUT /database-clusters/{name}) - UpdateDatabaseCluster(ctx echo.Context, name string) error - // List of the created database cluster backups - // (GET /database-clusters/{name}/backups) - ListDatabaseClusterBackups(ctx echo.Context, name string) error - // Get the specified database cluster credentials - // (GET /database-clusters/{name}/credentials) - GetDatabaseClusterCredentials(ctx echo.Context, name string) error - // Get the Point-in-Time related data for the specified database cluster - // (GET /database-clusters/{name}/pitr) - GetDatabaseClusterPitr(ctx echo.Context, name string) error - // List of the created database cluster restores - // (GET /database-clusters/{name}/restores) - ListDatabaseClusterRestores(ctx echo.Context, name string) error // List of the created monitoring instances // (GET /monitoring-instances) ListMonitoringInstances(ctx echo.Context) error @@ -1367,6 +1319,54 @@ type ServerInterface interface { // Get all namespaces managed by Everest // (GET /namespaces) ListNamespaces(ctx echo.Context) error + // Create a database cluster backup + // (POST /namespaces/{namespace}/database-cluster-backups) + CreateDatabaseClusterBackup(ctx echo.Context, namespace string) error + // Delete the specified cluster backup + // (DELETE /namespaces/{namespace}/database-cluster-backups/{name}) + DeleteDatabaseClusterBackup(ctx echo.Context, namespace string, name string) error + // Returns the specified cluster backup + // (GET /namespaces/{namespace}/database-cluster-backups/{name}) + GetDatabaseClusterBackup(ctx echo.Context, namespace string, name string) error + // Create a database cluster restore + // (POST /namespaces/{namespace}/database-cluster-restores) + CreateDatabaseClusterRestore(ctx echo.Context, namespace string) error + // Delete the specified cluster restore + // (DELETE /namespaces/{namespace}/database-cluster-restores/{name}) + DeleteDatabaseClusterRestore(ctx echo.Context, namespace string, name string) error + // Returns the specified cluster restore + // (GET /namespaces/{namespace}/database-cluster-restores/{name}) + GetDatabaseClusterRestore(ctx echo.Context, namespace string, name string) error + // Replace the specified cluster restore + // (PUT /namespaces/{namespace}/database-cluster-restores/{name}) + UpdateDatabaseClusterRestore(ctx echo.Context, namespace string, name string) error + // List of the created database clusters + // (GET /namespaces/{namespace}/database-clusters) + ListDatabaseClusters(ctx echo.Context, namespace string) error + // Create a database cluster + // (POST /namespaces/{namespace}/database-clusters) + CreateDatabaseCluster(ctx echo.Context, namespace string) error + // Delete the specified database cluster + // (DELETE /namespaces/{namespace}/database-clusters/{name}) + DeleteDatabaseCluster(ctx echo.Context, namespace string, name string) error + // Get the specified database cluster + // (GET /namespaces/{namespace}/database-clusters/{name}) + GetDatabaseCluster(ctx echo.Context, namespace string, name string) error + // Replace the specified database cluster + // (PUT /namespaces/{namespace}/database-clusters/{name}) + UpdateDatabaseCluster(ctx echo.Context, namespace string, name string) error + // List of the created database cluster backups + // (GET /namespaces/{namespace}/database-clusters/{name}/backups) + ListDatabaseClusterBackups(ctx echo.Context, namespace string, name string) error + // Get the specified database cluster credentials + // (GET /namespaces/{namespace}/database-clusters/{name}/credentials) + GetDatabaseClusterCredentials(ctx echo.Context, namespace string, name string) error + // Get the Point-in-Time related data for the specified database cluster + // (GET /namespaces/{namespace}/database-clusters/{name}/pitr) + GetDatabaseClusterPitr(ctx echo.Context, namespace string, name string) error + // List of the created database cluster restores + // (GET /namespaces/{namespace}/database-clusters/{name}/restores) + ListDatabaseClusterRestores(ctx echo.Context, namespace string, name string) error // List of the available database engines // (GET /namespaces/{namespace}/database-engines) ListDatabaseEngines(ctx echo.Context, namespace string) error @@ -1464,18 +1464,108 @@ func (w *ServerInterfaceWrapper) GetKubernetesClusterInfo(ctx echo.Context) erro return err } +// ListMonitoringInstances converts echo context to params. +func (w *ServerInterfaceWrapper) ListMonitoringInstances(ctx echo.Context) error { + var err error + + // Invoke the callback with all the unmarshaled arguments + err = w.Handler.ListMonitoringInstances(ctx) + return err +} + +// CreateMonitoringInstance converts echo context to params. +func (w *ServerInterfaceWrapper) CreateMonitoringInstance(ctx echo.Context) error { + var err error + + // Invoke the callback with all the unmarshaled arguments + err = w.Handler.CreateMonitoringInstance(ctx) + return err +} + +// DeleteMonitoringInstance converts echo context to params. +func (w *ServerInterfaceWrapper) DeleteMonitoringInstance(ctx echo.Context) error { + var err error + // ------------- Path parameter "name" ------------- + var name string + + err = runtime.BindStyledParameterWithLocation("simple", false, "name", runtime.ParamLocationPath, ctx.Param("name"), &name) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter name: %s", err)) + } + + // Invoke the callback with all the unmarshaled arguments + err = w.Handler.DeleteMonitoringInstance(ctx, name) + return err +} + +// GetMonitoringInstance converts echo context to params. +func (w *ServerInterfaceWrapper) GetMonitoringInstance(ctx echo.Context) error { + var err error + // ------------- Path parameter "name" ------------- + var name string + + err = runtime.BindStyledParameterWithLocation("simple", false, "name", runtime.ParamLocationPath, ctx.Param("name"), &name) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter name: %s", err)) + } + + // Invoke the callback with all the unmarshaled arguments + err = w.Handler.GetMonitoringInstance(ctx, name) + return err +} + +// UpdateMonitoringInstance converts echo context to params. +func (w *ServerInterfaceWrapper) UpdateMonitoringInstance(ctx echo.Context) error { + var err error + // ------------- Path parameter "name" ------------- + var name string + + err = runtime.BindStyledParameterWithLocation("simple", false, "name", runtime.ParamLocationPath, ctx.Param("name"), &name) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter name: %s", err)) + } + + // Invoke the callback with all the unmarshaled arguments + err = w.Handler.UpdateMonitoringInstance(ctx, name) + return err +} + +// ListNamespaces converts echo context to params. +func (w *ServerInterfaceWrapper) ListNamespaces(ctx echo.Context) error { + var err error + + // Invoke the callback with all the unmarshaled arguments + err = w.Handler.ListNamespaces(ctx) + return err +} + // CreateDatabaseClusterBackup converts echo context to params. func (w *ServerInterfaceWrapper) CreateDatabaseClusterBackup(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.CreateDatabaseClusterBackup(ctx) + err = w.Handler.CreateDatabaseClusterBackup(ctx, namespace) return err } // DeleteDatabaseClusterBackup converts echo context to params. func (w *ServerInterfaceWrapper) DeleteDatabaseClusterBackup(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } + // ------------- Path parameter "name" ------------- var name string @@ -1485,13 +1575,21 @@ func (w *ServerInterfaceWrapper) DeleteDatabaseClusterBackup(ctx echo.Context) e } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.DeleteDatabaseClusterBackup(ctx, name) + err = w.Handler.DeleteDatabaseClusterBackup(ctx, namespace, name) return err } // GetDatabaseClusterBackup converts echo context to params. func (w *ServerInterfaceWrapper) GetDatabaseClusterBackup(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } + // ------------- Path parameter "name" ------------- var name string @@ -1501,22 +1599,37 @@ func (w *ServerInterfaceWrapper) GetDatabaseClusterBackup(ctx echo.Context) erro } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.GetDatabaseClusterBackup(ctx, name) + err = w.Handler.GetDatabaseClusterBackup(ctx, namespace, name) return err } // CreateDatabaseClusterRestore converts echo context to params. func (w *ServerInterfaceWrapper) CreateDatabaseClusterRestore(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.CreateDatabaseClusterRestore(ctx) + err = w.Handler.CreateDatabaseClusterRestore(ctx, namespace) return err } // DeleteDatabaseClusterRestore converts echo context to params. func (w *ServerInterfaceWrapper) DeleteDatabaseClusterRestore(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } + // ------------- Path parameter "name" ------------- var name string @@ -1526,13 +1639,21 @@ func (w *ServerInterfaceWrapper) DeleteDatabaseClusterRestore(ctx echo.Context) } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.DeleteDatabaseClusterRestore(ctx, name) + err = w.Handler.DeleteDatabaseClusterRestore(ctx, namespace, name) return err } // GetDatabaseClusterRestore converts echo context to params. func (w *ServerInterfaceWrapper) GetDatabaseClusterRestore(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } + // ------------- Path parameter "name" ------------- var name string @@ -1542,13 +1663,21 @@ func (w *ServerInterfaceWrapper) GetDatabaseClusterRestore(ctx echo.Context) err } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.GetDatabaseClusterRestore(ctx, name) + err = w.Handler.GetDatabaseClusterRestore(ctx, namespace, name) return err } // UpdateDatabaseClusterRestore converts echo context to params. func (w *ServerInterfaceWrapper) UpdateDatabaseClusterRestore(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } + // ------------- Path parameter "name" ------------- var name string @@ -1558,31 +1687,53 @@ func (w *ServerInterfaceWrapper) UpdateDatabaseClusterRestore(ctx echo.Context) } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.UpdateDatabaseClusterRestore(ctx, name) + err = w.Handler.UpdateDatabaseClusterRestore(ctx, namespace, name) return err } // ListDatabaseClusters converts echo context to params. func (w *ServerInterfaceWrapper) ListDatabaseClusters(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.ListDatabaseClusters(ctx) + err = w.Handler.ListDatabaseClusters(ctx, namespace) return err } // CreateDatabaseCluster converts echo context to params. func (w *ServerInterfaceWrapper) CreateDatabaseCluster(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.CreateDatabaseCluster(ctx) + err = w.Handler.CreateDatabaseCluster(ctx, namespace) return err } // DeleteDatabaseCluster converts echo context to params. func (w *ServerInterfaceWrapper) DeleteDatabaseCluster(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } + // ------------- Path parameter "name" ------------- var name string @@ -1592,13 +1743,21 @@ func (w *ServerInterfaceWrapper) DeleteDatabaseCluster(ctx echo.Context) error { } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.DeleteDatabaseCluster(ctx, name) + err = w.Handler.DeleteDatabaseCluster(ctx, namespace, name) return err } // GetDatabaseCluster converts echo context to params. func (w *ServerInterfaceWrapper) GetDatabaseCluster(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } + // ------------- Path parameter "name" ------------- var name string @@ -1608,13 +1767,21 @@ func (w *ServerInterfaceWrapper) GetDatabaseCluster(ctx echo.Context) error { } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.GetDatabaseCluster(ctx, name) + err = w.Handler.GetDatabaseCluster(ctx, namespace, name) return err } // UpdateDatabaseCluster converts echo context to params. func (w *ServerInterfaceWrapper) UpdateDatabaseCluster(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string + + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } + // ------------- Path parameter "name" ------------- var name string @@ -1624,29 +1791,21 @@ func (w *ServerInterfaceWrapper) UpdateDatabaseCluster(ctx echo.Context) error { } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.UpdateDatabaseCluster(ctx, name) + err = w.Handler.UpdateDatabaseCluster(ctx, namespace, name) return err } // ListDatabaseClusterBackups converts echo context to params. func (w *ServerInterfaceWrapper) ListDatabaseClusterBackups(ctx echo.Context) error { var err error - // ------------- Path parameter "name" ------------- - var name string + // ------------- Path parameter "namespace" ------------- + var namespace string - err = runtime.BindStyledParameterWithLocation("simple", false, "name", runtime.ParamLocationPath, ctx.Param("name"), &name) + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) if err != nil { - return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter name: %s", err)) + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) } - // Invoke the callback with all the unmarshaled arguments - err = w.Handler.ListDatabaseClusterBackups(ctx, name) - return err -} - -// GetDatabaseClusterCredentials converts echo context to params. -func (w *ServerInterfaceWrapper) GetDatabaseClusterCredentials(ctx echo.Context) error { - var err error // ------------- Path parameter "name" ------------- var name string @@ -1656,29 +1815,21 @@ func (w *ServerInterfaceWrapper) GetDatabaseClusterCredentials(ctx echo.Context) } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.GetDatabaseClusterCredentials(ctx, name) + err = w.Handler.ListDatabaseClusterBackups(ctx, namespace, name) return err } -// GetDatabaseClusterPitr converts echo context to params. -func (w *ServerInterfaceWrapper) GetDatabaseClusterPitr(ctx echo.Context) error { +// GetDatabaseClusterCredentials converts echo context to params. +func (w *ServerInterfaceWrapper) GetDatabaseClusterCredentials(ctx echo.Context) error { var err error - // ------------- Path parameter "name" ------------- - var name string + // ------------- Path parameter "namespace" ------------- + var namespace string - err = runtime.BindStyledParameterWithLocation("simple", false, "name", runtime.ParamLocationPath, ctx.Param("name"), &name) + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) if err != nil { - return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter name: %s", err)) + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) } - // Invoke the callback with all the unmarshaled arguments - err = w.Handler.GetDatabaseClusterPitr(ctx, name) - return err -} - -// ListDatabaseClusterRestores converts echo context to params. -func (w *ServerInterfaceWrapper) ListDatabaseClusterRestores(ctx echo.Context) error { - var err error // ------------- Path parameter "name" ------------- var name string @@ -1688,31 +1839,21 @@ func (w *ServerInterfaceWrapper) ListDatabaseClusterRestores(ctx echo.Context) e } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.ListDatabaseClusterRestores(ctx, name) - return err -} - -// ListMonitoringInstances converts echo context to params. -func (w *ServerInterfaceWrapper) ListMonitoringInstances(ctx echo.Context) error { - var err error - - // Invoke the callback with all the unmarshaled arguments - err = w.Handler.ListMonitoringInstances(ctx) + err = w.Handler.GetDatabaseClusterCredentials(ctx, namespace, name) return err } -// CreateMonitoringInstance converts echo context to params. -func (w *ServerInterfaceWrapper) CreateMonitoringInstance(ctx echo.Context) error { +// GetDatabaseClusterPitr converts echo context to params. +func (w *ServerInterfaceWrapper) GetDatabaseClusterPitr(ctx echo.Context) error { var err error + // ------------- Path parameter "namespace" ------------- + var namespace string - // Invoke the callback with all the unmarshaled arguments - err = w.Handler.CreateMonitoringInstance(ctx) - return err -} + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) + if err != nil { + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) + } -// DeleteMonitoringInstance converts echo context to params. -func (w *ServerInterfaceWrapper) DeleteMonitoringInstance(ctx echo.Context) error { - var err error // ------------- Path parameter "name" ------------- var name string @@ -1722,29 +1863,21 @@ func (w *ServerInterfaceWrapper) DeleteMonitoringInstance(ctx echo.Context) erro } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.DeleteMonitoringInstance(ctx, name) + err = w.Handler.GetDatabaseClusterPitr(ctx, namespace, name) return err } -// GetMonitoringInstance converts echo context to params. -func (w *ServerInterfaceWrapper) GetMonitoringInstance(ctx echo.Context) error { +// ListDatabaseClusterRestores converts echo context to params. +func (w *ServerInterfaceWrapper) ListDatabaseClusterRestores(ctx echo.Context) error { var err error - // ------------- Path parameter "name" ------------- - var name string + // ------------- Path parameter "namespace" ------------- + var namespace string - err = runtime.BindStyledParameterWithLocation("simple", false, "name", runtime.ParamLocationPath, ctx.Param("name"), &name) + err = runtime.BindStyledParameterWithLocation("simple", false, "namespace", runtime.ParamLocationPath, ctx.Param("namespace"), &namespace) if err != nil { - return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter name: %s", err)) + return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter namespace: %s", err)) } - // Invoke the callback with all the unmarshaled arguments - err = w.Handler.GetMonitoringInstance(ctx, name) - return err -} - -// UpdateMonitoringInstance converts echo context to params. -func (w *ServerInterfaceWrapper) UpdateMonitoringInstance(ctx echo.Context) error { - var err error // ------------- Path parameter "name" ------------- var name string @@ -1754,16 +1887,7 @@ func (w *ServerInterfaceWrapper) UpdateMonitoringInstance(ctx echo.Context) erro } // Invoke the callback with all the unmarshaled arguments - err = w.Handler.UpdateMonitoringInstance(ctx, name) - return err -} - -// ListNamespaces converts echo context to params. -func (w *ServerInterfaceWrapper) ListNamespaces(ctx echo.Context) error { - var err error - - // Invoke the callback with all the unmarshaled arguments - err = w.Handler.ListNamespaces(ctx) + err = w.Handler.ListDatabaseClusterRestores(ctx, namespace, name) return err } @@ -1882,28 +2006,28 @@ func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL router.GET(baseURL+"/backup-storages/:name", wrapper.GetBackupStorage) router.PATCH(baseURL+"/backup-storages/:name", wrapper.UpdateBackupStorage) router.GET(baseURL+"/cluster-info", wrapper.GetKubernetesClusterInfo) - router.POST(baseURL+"/database-cluster-backups", wrapper.CreateDatabaseClusterBackup) - router.DELETE(baseURL+"/database-cluster-backups/:name", wrapper.DeleteDatabaseClusterBackup) - router.GET(baseURL+"/database-cluster-backups/:name", wrapper.GetDatabaseClusterBackup) - router.POST(baseURL+"/database-cluster-restores", wrapper.CreateDatabaseClusterRestore) - router.DELETE(baseURL+"/database-cluster-restores/:name", wrapper.DeleteDatabaseClusterRestore) - router.GET(baseURL+"/database-cluster-restores/:name", wrapper.GetDatabaseClusterRestore) - router.PUT(baseURL+"/database-cluster-restores/:name", wrapper.UpdateDatabaseClusterRestore) - router.GET(baseURL+"/database-clusters", wrapper.ListDatabaseClusters) - router.POST(baseURL+"/database-clusters", wrapper.CreateDatabaseCluster) - router.DELETE(baseURL+"/database-clusters/:name", wrapper.DeleteDatabaseCluster) - router.GET(baseURL+"/database-clusters/:name", wrapper.GetDatabaseCluster) - router.PUT(baseURL+"/database-clusters/:name", wrapper.UpdateDatabaseCluster) - router.GET(baseURL+"/database-clusters/:name/backups", wrapper.ListDatabaseClusterBackups) - router.GET(baseURL+"/database-clusters/:name/credentials", wrapper.GetDatabaseClusterCredentials) - router.GET(baseURL+"/database-clusters/:name/pitr", wrapper.GetDatabaseClusterPitr) - router.GET(baseURL+"/database-clusters/:name/restores", wrapper.ListDatabaseClusterRestores) router.GET(baseURL+"/monitoring-instances", wrapper.ListMonitoringInstances) router.POST(baseURL+"/monitoring-instances", wrapper.CreateMonitoringInstance) router.DELETE(baseURL+"/monitoring-instances/:name", wrapper.DeleteMonitoringInstance) router.GET(baseURL+"/monitoring-instances/:name", wrapper.GetMonitoringInstance) router.PATCH(baseURL+"/monitoring-instances/:name", wrapper.UpdateMonitoringInstance) router.GET(baseURL+"/namespaces", wrapper.ListNamespaces) + router.POST(baseURL+"/namespaces/:namespace/database-cluster-backups", wrapper.CreateDatabaseClusterBackup) + router.DELETE(baseURL+"/namespaces/:namespace/database-cluster-backups/:name", wrapper.DeleteDatabaseClusterBackup) + router.GET(baseURL+"/namespaces/:namespace/database-cluster-backups/:name", wrapper.GetDatabaseClusterBackup) + router.POST(baseURL+"/namespaces/:namespace/database-cluster-restores", wrapper.CreateDatabaseClusterRestore) + router.DELETE(baseURL+"/namespaces/:namespace/database-cluster-restores/:name", wrapper.DeleteDatabaseClusterRestore) + router.GET(baseURL+"/namespaces/:namespace/database-cluster-restores/:name", wrapper.GetDatabaseClusterRestore) + router.PUT(baseURL+"/namespaces/:namespace/database-cluster-restores/:name", wrapper.UpdateDatabaseClusterRestore) + router.GET(baseURL+"/namespaces/:namespace/database-clusters", wrapper.ListDatabaseClusters) + router.POST(baseURL+"/namespaces/:namespace/database-clusters", wrapper.CreateDatabaseCluster) + router.DELETE(baseURL+"/namespaces/:namespace/database-clusters/:name", wrapper.DeleteDatabaseCluster) + router.GET(baseURL+"/namespaces/:namespace/database-clusters/:name", wrapper.GetDatabaseCluster) + router.PUT(baseURL+"/namespaces/:namespace/database-clusters/:name", wrapper.UpdateDatabaseCluster) + router.GET(baseURL+"/namespaces/:namespace/database-clusters/:name/backups", wrapper.ListDatabaseClusterBackups) + router.GET(baseURL+"/namespaces/:namespace/database-clusters/:name/credentials", wrapper.GetDatabaseClusterCredentials) + router.GET(baseURL+"/namespaces/:namespace/database-clusters/:name/pitr", wrapper.GetDatabaseClusterPitr) + router.GET(baseURL+"/namespaces/:namespace/database-clusters/:name/restores", wrapper.ListDatabaseClusterRestores) router.GET(baseURL+"/namespaces/:namespace/database-engines", wrapper.ListDatabaseEngines) router.GET(baseURL+"/namespaces/:namespace/database-engines/:name", wrapper.GetDatabaseEngine) router.PUT(baseURL+"/namespaces/:namespace/database-engines/:name", wrapper.UpdateDatabaseEngine) @@ -1913,139 +2037,139 @@ func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL // Base64 encoded, gzipped, json marshaled Swagger object var swaggerSpec = []string{ - "H4sIAAAAAAAC/+x9bXPbNtboX8Gwz0yTrkTbSbuz6y87juNtfVu3HtvZO3fj3AYiIQlrEmABULaS5r8/", - "gwOAr6BESbbjbPglsUgQL+f9HBwcfAwinmacEaZkcPgxkNGcpBj+fIWjmzy7VFzgGdEPcBxTRTnDybng", - "GRGKEhkcTnEiySiIiYwEzfT74NB+i6T5GFE25SLF8HIUZJWvPwaTPLoh6lecwhhqmZHgMJBKUDYLPjX6", - "9bxnXR8KMvN+MwruxjM+1g/H8oZmY56ZRY0zTpkiIjhUIiefRoHCYmZmJjMcmdnWl/kLlQrxKWJFG4ST", - "hN+SGCmOckmQmlOJJjVoBKOAKpJK76ztAywEXpa/PwaE5Wlw+DaQL4NRgD/kggTvRu3Pc5F4ugVo/JFT", - "QWLdB4BsVAW87cmz5HIQPvkPiZQepEYYUsNAj1ms6X8EmQaHwTd7JWXtWbLaq9OUZ73HgmBFas3OscCm", - "5+0JMNN9EEWEbNEfjiIi5c9k6cVHnTrrY1zNCYoSnsfFMKb1XsSZwpQRgVgFuttQdX3AI01SAsVkShnR", - "o+rmMIYmQjUnFYaDn69/vTSvDfuhuVKZPNzbu8knRDCiiAwp34t5JPWcI5IpuccXRCwoud275eKGstn4", - "lqr52GBf7gGl730TMzlO8IQkY3gQjAJyh9MsAVzeynFMFr5l786TkkSCqC5sfU0cW9JtFSqbcfJrrPAE", - "S3Kc5BKg3ARXowGiEujqEthZUxX8jG2ryLSS6Oj8NGw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rK29a5TfoKFdzE/XXj67ZUZJU2Q+5rcOj81NX", - "JB291x9xYUMXh+gVwYIIdJ3v77+MIPAPf5L3aA5er7HGMAL/xO4MUIayBFM2VuROQQDhCiox63dWo/OJ", - "DbVPlnbz4j0xs4lUYptqcaPeW0sAfriSzvotxFAE1Z4ZLbZ/ZCQIYeE1JMRQBQWEzomIOMPFag0rVXYK", - "D4ODcD/ct6n2DGc0OAxehvvhC1vLAqhoz2zzju02LzybEdW9a2xuIzZh1PoWsUZsQXinsf2mtpMvIdHF", - "+LIw1Iv9fbeDR8z+CVwkYlC79x/L43Zta4RIfSTIPAA6aupB4IJpnpRcomH0/T3OxGQhewZ/w2TH8D88", - "xvCnzpKxAQhiG44CmacpFsveeFZ4Jlt1UiAlKeO+wxEmR8ve51zvztlnmqG++87F5L77DqJy79+/1/99", - "1P+UMTotzeRLR7PXwci91lLEva48LnM4zEvz+6DSosgBMQ3Mz99v9O+iTZF3YUeAn402Jm3DNCD5OCJM", - "CZyMD64D3eJTsaTVa8MfckFWLg9arFhhkYCyYpG2/99xBEHl3834nctttC7XXa6qJQAM2muMGRTXbr3i", - "poT+vdC8ZySbNuThg6tKvaMaEdotBVfwuJqQYbM8Hkd6DYJrc8G1XsSskFufRi1NuPdRM8QnI8sS4i2F", - "BM+NinYRk3beVJ0lzDdNlqikpx2+9V7CaEVyOysLSjFiNXd5oYfugv867Y4qOGiaX+9adP29z4Ec6G8V", - "/fUjhm7F6bW6fiRqM/L6kainTluDzHwyNNuDvFZYelhF3kp8QlGcuPxjFzboGCFEJuHXVuWoNzX7UWGL", - "yD05wk+Dzu/frulOh+5n1wBQZIh+64JusSvoQlWD1fMlcfBm3LbGArJnM8cu8rJSJbmDnLAfDJu/1Xv9", - "zRXdGLVPfvpUlv9I7QPSnX/Agf621iA7UIOjyJu/SUuHrgbC2BGkrQcLh5hWxxc6rhvp8Ez9d148jCTv", - "uF/DL8U7lvH53dTeq+hinBf7B48/GXdRkWUnM48Xjz+PI1sTd5AgH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VnMh09aszyGbVi7WLnD", - "NkzX2YafpYjVICT+e4TEBly83kZltVuYO7UxTpLqZcwpZnhmaojb4t7eiEbtRvgHo+36Td69yboleNev", - "sQExY8vD35/KECxhM8p6xIjKW2+LGJX7dFWY9aRo01vyFrPslrfu9dMKi5q1DlGp3aNSK4mtGQc1YG8J", - "iJXkXvFrN90yNz2s2rs7cS0+L8mPeu1hFMv5UjYfLHQHDrvPnfOCCjqZqyM506vd1/FKPTXzK2eXh0vi", - "7OaUp53DOXD4vdraGzC51qDlTWhr69XiDEdULaE6aamyiw52qld7UbmQ7fGK1pajDtS3feXa7emiXbl2", - "Ud5k2EmM7samVzi6ISwubr+npuZxndjs9YcPXQ/Z3cC4vYO3clXQrcGF0Za5SILDYG9xEGi1YuHYBJbu", - "cqnm2u12OT32QqzKdfKVQ9pWsWlstPVjd2dOkHu6aiYEbdVt6VQ2enWaY4e5okpGkH/ORdmCXUYpk9P9", - "g7iagxuM8apZmNz2XK9L/undp/8NAAD//x3W6+QZ9AAA", + "H4sIAAAAAAAC/+x9+3PbNvbvv4JRvzNNuhJtJ+3Orn/ZsR1v69u69djO3rkb5zYQCUlYkwALgLKVNP/7", + "d3AA8AlK1MOOveEvbSyCeByc5wcHh58GIU9SzghTcnD4aSDDGUkw/PMYh7dZeqW4wFOif8BRRBXlDMcX", + "gqdEKErk4HCCY0mGg4jIUNBUPx8c2neRNC8jyiZcJBgeDgdp6e1Pg3EW3hL1K05gDLVIyeBwIJWgbDr4", + "XOvX85y1vSjI1PvOcHA/mvKR/nEkb2k64qlZ1CjllCkiBodKZOTzcKCwmJqZyRSHZrbVZf5CpUJ8glje", + "BuE45nckQoqjTBKkZlSicYUag+GAKpJI76ztD1gIvCj+/jQgLEsGh+8G8vVgOMAfM0EG74fN1zMRe7oF", + "avyRUUEi3QeQbFgmvO3Js+RiED7+DwmVHqTCGFLTQI+Zr+l/BJkMDgff7BWctWfZaq/KU571ngiCFak0", + "u8ACm543Z8BU90EUEbLBfzgMiZQ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vyNzm55uE4JSOUTpFBphtjAJ6DY+Wu24tV4MW+WiWYKv45qdttHf3Z8p74D3Hpx2oERWkY7S7Zu5a8Qn", + "jXvfhWVsC0KXXa5onmBDX4WjVM4Cs75S6wyCnCDotPbIbWnt3WHxg8kx1LzEeSwRTUyxPjXzeLqCKhri", + "crW0EioIb/6E5czL5fD0wkawXqc3k/4qbG3XmHwX93tyPwK58xsWrTeH+l14+F1o/qCX0m/L09oWXxO9", + "DKy4KLnNSybhcwPaUQC7HZQhjG7/JsuXhLZCBMy4y5GAos12CIDzXvpQ42kG/jam7AP+pxTwnwrBPVA4", + "/KyJmnImSbOqQisQ6Rvj5zyzxmI/Z2zClybgODBPU9FT+AAeXtt4x6MD4RACSqhAFd3KQfK7wTR9NRgO", + "pulrHW50ja9q0Up5Dr4R33chw2X7xTQPLcoS2RK2QJJS/arZOY1jWl6iuQRRrtw8OBxklKm/fg+YPZW3", + "V/Y+Rbc3zEWr44UinYdpsEm5jrTJmiou5x3l6/s8HIQ4xSFVi//StZ645TU4zj0Ylvbbx2ZFLZMzpkN+", + "c56J49jeq1umqpvvHmNJ/i9VMzhB8dy4K1VmsW/UPhnQiPFN4WxPmWtbaPG9dw16HssLw/iHr7LIzqqM", + "J82Btyo1niZJ85Cte211W4o8oewXwqbaQT3YtLPPnViqwhZbshdc7exSW+UpF9F/GNJvIG8dNs/cQih9", + "nGEnumG47usX5+cdV2hrXj+IYtGzaJgSLY6NH3FK7dcLdrHZw0o68caCL03t/x0xnMcyXZyfN4l2lZJw", + "0FFVvAUveTfc9qBcZtz5Cpd5F7Ted1M85thjD3JubfS90pQY+n71311p+0DJs/jySOunRBry1QpknM6J", + "IFI55MIfOk2yOD7hSULVNkonFVxPx5/C272beRuOtYb6KhuB8rSK3oflRfv8ZcohNMcpTXA40zy4CNLb", + "qf5BBjqaDuYHgWaBc2Ki6iZz6CelUlAuBDcIllwwNSOKhqUiUFAgbobnZIgoC+Ms0orIVOzDLEJzLCjP", + "ZH6p3DgfA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", + "Gs350/X1hdsb3daKGHUA7RDtI5rXg+4oI9bQ7tAGlvywPqduxzl1W0QU5cqwAGiT1tu21ey9rdkiP7TY", + "KgC5my1qM4dP8pjo7GbwT+MH3gzsQreITNCR89TDGAuDf2FmxM9SEcRvnGmFSQzMyedECO1lUuWl6Iry", + "vXaTil1Bv8FZyiG6GVxlcNCpY1FRXumDs6P2JgCcspPvkoStjZU3rfIbdJSpmUH99U837CiOy+KH3NHh", + "0cWZK5KOPuiXuLDQxSE6JlgQgW6y/f3XIQD/8E/yAc0g6jXeGEYQn9iTAcpQGmPKRorcKwAQrqESs35m", + "LTofW6h9vLCHFx+ImU2oYttUqxv1wXoC8Icr6ayfAoYiqI7MaH78I0NBCAtuICGGKiggdEFEyBnOV2tE", + "qXRSeDg4CPaDfZtqz3BKB4eD18F+8MrWsgAu2jPHvCN7zAu/TYlqPzU2XyM2MGr1iFhvbM54Z5F9p3KS", + "LyHRxcSyMNSr/X13gkfM+Ql8SMRs7d5/rIzbta1QItWRIPMA+KhuB0EKJllcSImm0fc7nInJQvYM/pbJ", + "luF/eIzhz5wnYwEIYhsOBzJLEiwWnfdZ4als1EmBlKSU+y5HmBwt+z3nanfOP9MC9d13DpP77jtA5T58", + "+KD/90n/p8DotDaTrx3P3gyG7rHWIu5x6ecih8M8NH8flFrkOSCmgfnz91v9d94mz7uwI8CftTYmbcM0", + "INkoJEwJHI8Obga6xed8ScvXhj9mgixdHrRYssI8AWXJIm3/v+MQQOXfzfity621LtZdrKqhAMy2VwRz", + "kH9265ibEvo74XnPSDZtyCMH16V6RxUmtEcKruBxOSHDZnk8jvbqFdf6imu1ilmitz4PG5Zw75MWiM9G", + "l8XEWwoJfjcm2iEmzbypqkiYd+oiUUpPO3zn/QijVcnNrCwoxYjVzOWFHroP/Fd5d1jag7r79b7B19/7", + "Asie/5bxXzdmaDecXq/rR6LWY68fiXrqvNXrzCfDsx3Ya4mnh1XorcQnFMWxyz92sEHLCAEyCb+2Kke1", + "qTmPChpM7sk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6t11AwW/EjSwsw18avDfEzF63axdvHhg1K+H+7aE+5aqmHXs6qa43kot5QX2nlfksV3E", + "0UN4vSAvh/DWEurO9zFWSmYTuevF8jlgdL3c7eLWxppCtwYkt1LwvJhcL3tPHH3bLOR4AnBbry92hW09", + "tPe9V7qQsDHIhVwnHbCu47xpr3ueSRZgj9g9HGJXEp0dZgTm0h0KAp9hwLFcWS6pXemgcjerffqTSute", + "zJ+8mBcb1ov5Qzj6NfnZrQFPqRIrZfuCU6ZGlI2uaUKQIHGujOy3NbYM4y/0JHpZfwayDjvVS/nGUr6t", + "JO1W+MuZ/5u773kvHfz3y6JtL+3PJbmu9+Af0IMvSc9O8k4Im1LWQaSL7+bnU3KvLpPj07zNf3/KiVlr", + "z/3bc/9SZquzvSH7euxeOg1eN0o1PSzzUk9di+dgsvLlPBdbY6nbS9guQ8ecC1qFq+WEyFsIaJWsVM+H", + "vnJxebhznXZJedrHOr2E77Qs1xpCri1o8S3VlRXvcYpDqhZQ37ww2XkHW1W8vyx90vXxyt4Xo/bct3nt", + "+835oln7fl58C7mVGd03H49xeEtY5L6HDJ/wbDCb/YDyQ39RwX3DefNacEtXBd2avTDWMhPx4HCwNz8Y", + "aLNi6Vgnlu5yoWaUTXMsyX5Ss5AEVLomYA2b3o2mfWzvzClyT1d1IGqjbougstarsxxbzBWVICf/nPP7", + "NNuMUhxM+wdxFVHWGOO4/mkT23P1yyaf33/+3wAAAP//6jMNuFv8AAA=", } // GetSwagger returns the content of the embedded swagger specification file diff --git a/client/everest-client.gen.go b/client/everest-client.gen.go index 36d5a2dd..00725140 100644 --- a/client/everest-client.gen.go +++ b/client/everest-client.gen.go @@ -824,6 +824,12 @@ type CreateBackupStorageJSONRequestBody = CreateBackupStorageParams // UpdateBackupStorageJSONRequestBody defines body for UpdateBackupStorage for application/json ContentType. type UpdateBackupStorageJSONRequestBody = UpdateBackupStorageParams +// CreateMonitoringInstanceJSONRequestBody defines body for CreateMonitoringInstance for application/json ContentType. +type CreateMonitoringInstanceJSONRequestBody = MonitoringInstanceCreateParams + +// UpdateMonitoringInstanceJSONRequestBody defines body for UpdateMonitoringInstance for application/json ContentType. +type UpdateMonitoringInstanceJSONRequestBody = MonitoringInstanceUpdateParams + // CreateDatabaseClusterBackupJSONRequestBody defines body for CreateDatabaseClusterBackup for application/json ContentType. type CreateDatabaseClusterBackupJSONRequestBody = DatabaseClusterBackup @@ -839,12 +845,6 @@ type CreateDatabaseClusterJSONRequestBody = DatabaseCluster // UpdateDatabaseClusterJSONRequestBody defines body for UpdateDatabaseCluster for application/json ContentType. type UpdateDatabaseClusterJSONRequestBody = DatabaseCluster -// CreateMonitoringInstanceJSONRequestBody defines body for CreateMonitoringInstance for application/json ContentType. -type CreateMonitoringInstanceJSONRequestBody = MonitoringInstanceCreateParams - -// UpdateMonitoringInstanceJSONRequestBody defines body for UpdateMonitoringInstance for application/json ContentType. -type UpdateMonitoringInstanceJSONRequestBody = MonitoringInstanceUpdateParams - // UpdateDatabaseEngineJSONRequestBody defines body for UpdateDatabaseEngine for application/json ContentType. type UpdateDatabaseEngineJSONRequestBody = DatabaseEngine @@ -1377,85 +1377,85 @@ type ClientInterface interface { // GetKubernetesClusterInfo request GetKubernetesClusterInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListMonitoringInstances request + ListMonitoringInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CreateMonitoringInstanceWithBody request with any body + CreateMonitoringInstanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CreateMonitoringInstance(ctx context.Context, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteMonitoringInstance request + DeleteMonitoringInstance(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetMonitoringInstance request + GetMonitoringInstance(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // UpdateMonitoringInstanceWithBody request with any body + UpdateMonitoringInstanceWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UpdateMonitoringInstance(ctx context.Context, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ListNamespaces request + ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateDatabaseClusterBackupWithBody request with any body - CreateDatabaseClusterBackupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateDatabaseClusterBackupWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - CreateDatabaseClusterBackup(ctx context.Context, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateDatabaseClusterBackup(ctx context.Context, namespace string, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteDatabaseClusterBackup request - DeleteDatabaseClusterBackup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + DeleteDatabaseClusterBackup(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDatabaseClusterBackup request - GetDatabaseClusterBackup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetDatabaseClusterBackup(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateDatabaseClusterRestoreWithBody request with any body - CreateDatabaseClusterRestoreWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateDatabaseClusterRestoreWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - CreateDatabaseClusterRestore(ctx context.Context, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateDatabaseClusterRestore(ctx context.Context, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteDatabaseClusterRestore request - DeleteDatabaseClusterRestore(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + DeleteDatabaseClusterRestore(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDatabaseClusterRestore request - GetDatabaseClusterRestore(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetDatabaseClusterRestore(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateDatabaseClusterRestoreWithBody request with any body - UpdateDatabaseClusterRestoreWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateDatabaseClusterRestoreWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - UpdateDatabaseClusterRestore(ctx context.Context, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateDatabaseClusterRestore(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListDatabaseClusters request - ListDatabaseClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ListDatabaseClusters(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateDatabaseClusterWithBody request with any body - CreateDatabaseClusterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateDatabaseClusterWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - CreateDatabaseCluster(ctx context.Context, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateDatabaseCluster(ctx context.Context, namespace string, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteDatabaseCluster request - DeleteDatabaseCluster(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + DeleteDatabaseCluster(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDatabaseCluster request - GetDatabaseCluster(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetDatabaseCluster(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateDatabaseClusterWithBody request with any body - UpdateDatabaseClusterWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateDatabaseClusterWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - UpdateDatabaseCluster(ctx context.Context, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateDatabaseCluster(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListDatabaseClusterBackups request - ListDatabaseClusterBackups(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + ListDatabaseClusterBackups(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDatabaseClusterCredentials request - GetDatabaseClusterCredentials(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetDatabaseClusterCredentials(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDatabaseClusterPitr request - GetDatabaseClusterPitr(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetDatabaseClusterPitr(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListDatabaseClusterRestores request - ListDatabaseClusterRestores(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // ListMonitoringInstances request - ListMonitoringInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - - // CreateMonitoringInstanceWithBody request with any body - CreateMonitoringInstanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - CreateMonitoringInstance(ctx context.Context, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteMonitoringInstance request - DeleteMonitoringInstance(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetMonitoringInstance request - GetMonitoringInstance(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // UpdateMonitoringInstanceWithBody request with any body - UpdateMonitoringInstanceWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - UpdateMonitoringInstance(ctx context.Context, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // ListNamespaces request - ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ListDatabaseClusterRestores(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListDatabaseEngines request ListDatabaseEngines(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1571,8 +1571,8 @@ func (c *Client) GetKubernetesClusterInfo(ctx context.Context, reqEditors ...Req return c.Client.Do(req) } -func (c *Client) CreateDatabaseClusterBackupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateDatabaseClusterBackupRequestWithBody(c.Server, contentType, body) +func (c *Client) ListMonitoringInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListMonitoringInstancesRequest(c.Server) if err != nil { return nil, err } @@ -1583,8 +1583,8 @@ func (c *Client) CreateDatabaseClusterBackupWithBody(ctx context.Context, conten return c.Client.Do(req) } -func (c *Client) CreateDatabaseClusterBackup(ctx context.Context, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateDatabaseClusterBackupRequest(c.Server, body) +func (c *Client) CreateMonitoringInstanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateMonitoringInstanceRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } @@ -1595,8 +1595,8 @@ func (c *Client) CreateDatabaseClusterBackup(ctx context.Context, body CreateDat return c.Client.Do(req) } -func (c *Client) DeleteDatabaseClusterBackup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteDatabaseClusterBackupRequest(c.Server, name) +func (c *Client) CreateMonitoringInstance(ctx context.Context, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateMonitoringInstanceRequest(c.Server, body) if err != nil { return nil, err } @@ -1607,8 +1607,8 @@ func (c *Client) DeleteDatabaseClusterBackup(ctx context.Context, name string, r return c.Client.Do(req) } -func (c *Client) GetDatabaseClusterBackup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetDatabaseClusterBackupRequest(c.Server, name) +func (c *Client) DeleteMonitoringInstance(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteMonitoringInstanceRequest(c.Server, name) if err != nil { return nil, err } @@ -1619,8 +1619,8 @@ func (c *Client) GetDatabaseClusterBackup(ctx context.Context, name string, reqE return c.Client.Do(req) } -func (c *Client) CreateDatabaseClusterRestoreWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateDatabaseClusterRestoreRequestWithBody(c.Server, contentType, body) +func (c *Client) GetMonitoringInstance(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetMonitoringInstanceRequest(c.Server, name) if err != nil { return nil, err } @@ -1631,8 +1631,8 @@ func (c *Client) CreateDatabaseClusterRestoreWithBody(ctx context.Context, conte return c.Client.Do(req) } -func (c *Client) CreateDatabaseClusterRestore(ctx context.Context, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateDatabaseClusterRestoreRequest(c.Server, body) +func (c *Client) UpdateMonitoringInstanceWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateMonitoringInstanceRequestWithBody(c.Server, name, contentType, body) if err != nil { return nil, err } @@ -1643,8 +1643,8 @@ func (c *Client) CreateDatabaseClusterRestore(ctx context.Context, body CreateDa return c.Client.Do(req) } -func (c *Client) DeleteDatabaseClusterRestore(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteDatabaseClusterRestoreRequest(c.Server, name) +func (c *Client) UpdateMonitoringInstance(ctx context.Context, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateMonitoringInstanceRequest(c.Server, name, body) if err != nil { return nil, err } @@ -1655,8 +1655,8 @@ func (c *Client) DeleteDatabaseClusterRestore(ctx context.Context, name string, return c.Client.Do(req) } -func (c *Client) GetDatabaseClusterRestore(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetDatabaseClusterRestoreRequest(c.Server, name) +func (c *Client) ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListNamespacesRequest(c.Server) if err != nil { return nil, err } @@ -1667,8 +1667,8 @@ func (c *Client) GetDatabaseClusterRestore(ctx context.Context, name string, req return c.Client.Do(req) } -func (c *Client) UpdateDatabaseClusterRestoreWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateDatabaseClusterRestoreRequestWithBody(c.Server, name, contentType, body) +func (c *Client) CreateDatabaseClusterBackupWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateDatabaseClusterBackupRequestWithBody(c.Server, namespace, contentType, body) if err != nil { return nil, err } @@ -1679,8 +1679,8 @@ func (c *Client) UpdateDatabaseClusterRestoreWithBody(ctx context.Context, name return c.Client.Do(req) } -func (c *Client) UpdateDatabaseClusterRestore(ctx context.Context, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateDatabaseClusterRestoreRequest(c.Server, name, body) +func (c *Client) CreateDatabaseClusterBackup(ctx context.Context, namespace string, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateDatabaseClusterBackupRequest(c.Server, namespace, body) if err != nil { return nil, err } @@ -1691,8 +1691,8 @@ func (c *Client) UpdateDatabaseClusterRestore(ctx context.Context, name string, return c.Client.Do(req) } -func (c *Client) ListDatabaseClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewListDatabaseClustersRequest(c.Server) +func (c *Client) DeleteDatabaseClusterBackup(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteDatabaseClusterBackupRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -1703,8 +1703,8 @@ func (c *Client) ListDatabaseClusters(ctx context.Context, reqEditors ...Request return c.Client.Do(req) } -func (c *Client) CreateDatabaseClusterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateDatabaseClusterRequestWithBody(c.Server, contentType, body) +func (c *Client) GetDatabaseClusterBackup(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetDatabaseClusterBackupRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -1715,8 +1715,8 @@ func (c *Client) CreateDatabaseClusterWithBody(ctx context.Context, contentType return c.Client.Do(req) } -func (c *Client) CreateDatabaseCluster(ctx context.Context, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateDatabaseClusterRequest(c.Server, body) +func (c *Client) CreateDatabaseClusterRestoreWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateDatabaseClusterRestoreRequestWithBody(c.Server, namespace, contentType, body) if err != nil { return nil, err } @@ -1727,8 +1727,8 @@ func (c *Client) CreateDatabaseCluster(ctx context.Context, body CreateDatabaseC return c.Client.Do(req) } -func (c *Client) DeleteDatabaseCluster(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteDatabaseClusterRequest(c.Server, name) +func (c *Client) CreateDatabaseClusterRestore(ctx context.Context, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateDatabaseClusterRestoreRequest(c.Server, namespace, body) if err != nil { return nil, err } @@ -1739,8 +1739,8 @@ func (c *Client) DeleteDatabaseCluster(ctx context.Context, name string, reqEdit return c.Client.Do(req) } -func (c *Client) GetDatabaseCluster(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetDatabaseClusterRequest(c.Server, name) +func (c *Client) DeleteDatabaseClusterRestore(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteDatabaseClusterRestoreRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -1751,8 +1751,8 @@ func (c *Client) GetDatabaseCluster(ctx context.Context, name string, reqEditors return c.Client.Do(req) } -func (c *Client) UpdateDatabaseClusterWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateDatabaseClusterRequestWithBody(c.Server, name, contentType, body) +func (c *Client) GetDatabaseClusterRestore(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetDatabaseClusterRestoreRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -1763,8 +1763,8 @@ func (c *Client) UpdateDatabaseClusterWithBody(ctx context.Context, name string, return c.Client.Do(req) } -func (c *Client) UpdateDatabaseCluster(ctx context.Context, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateDatabaseClusterRequest(c.Server, name, body) +func (c *Client) UpdateDatabaseClusterRestoreWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateDatabaseClusterRestoreRequestWithBody(c.Server, namespace, name, contentType, body) if err != nil { return nil, err } @@ -1775,8 +1775,8 @@ func (c *Client) UpdateDatabaseCluster(ctx context.Context, name string, body Up return c.Client.Do(req) } -func (c *Client) ListDatabaseClusterBackups(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewListDatabaseClusterBackupsRequest(c.Server, name) +func (c *Client) UpdateDatabaseClusterRestore(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateDatabaseClusterRestoreRequest(c.Server, namespace, name, body) if err != nil { return nil, err } @@ -1787,8 +1787,8 @@ func (c *Client) ListDatabaseClusterBackups(ctx context.Context, name string, re return c.Client.Do(req) } -func (c *Client) GetDatabaseClusterCredentials(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetDatabaseClusterCredentialsRequest(c.Server, name) +func (c *Client) ListDatabaseClusters(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListDatabaseClustersRequest(c.Server, namespace) if err != nil { return nil, err } @@ -1799,8 +1799,8 @@ func (c *Client) GetDatabaseClusterCredentials(ctx context.Context, name string, return c.Client.Do(req) } -func (c *Client) GetDatabaseClusterPitr(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetDatabaseClusterPitrRequest(c.Server, name) +func (c *Client) CreateDatabaseClusterWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateDatabaseClusterRequestWithBody(c.Server, namespace, contentType, body) if err != nil { return nil, err } @@ -1811,8 +1811,8 @@ func (c *Client) GetDatabaseClusterPitr(ctx context.Context, name string, reqEdi return c.Client.Do(req) } -func (c *Client) ListDatabaseClusterRestores(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewListDatabaseClusterRestoresRequest(c.Server, name) +func (c *Client) CreateDatabaseCluster(ctx context.Context, namespace string, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateDatabaseClusterRequest(c.Server, namespace, body) if err != nil { return nil, err } @@ -1823,8 +1823,8 @@ func (c *Client) ListDatabaseClusterRestores(ctx context.Context, name string, r return c.Client.Do(req) } -func (c *Client) ListMonitoringInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewListMonitoringInstancesRequest(c.Server) +func (c *Client) DeleteDatabaseCluster(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteDatabaseClusterRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -1835,8 +1835,8 @@ func (c *Client) ListMonitoringInstances(ctx context.Context, reqEditors ...Requ return c.Client.Do(req) } -func (c *Client) CreateMonitoringInstanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateMonitoringInstanceRequestWithBody(c.Server, contentType, body) +func (c *Client) GetDatabaseCluster(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetDatabaseClusterRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -1847,8 +1847,8 @@ func (c *Client) CreateMonitoringInstanceWithBody(ctx context.Context, contentTy return c.Client.Do(req) } -func (c *Client) CreateMonitoringInstance(ctx context.Context, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCreateMonitoringInstanceRequest(c.Server, body) +func (c *Client) UpdateDatabaseClusterWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateDatabaseClusterRequestWithBody(c.Server, namespace, name, contentType, body) if err != nil { return nil, err } @@ -1859,8 +1859,8 @@ func (c *Client) CreateMonitoringInstance(ctx context.Context, body CreateMonito return c.Client.Do(req) } -func (c *Client) DeleteMonitoringInstance(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteMonitoringInstanceRequest(c.Server, name) +func (c *Client) UpdateDatabaseCluster(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateDatabaseClusterRequest(c.Server, namespace, name, body) if err != nil { return nil, err } @@ -1871,8 +1871,8 @@ func (c *Client) DeleteMonitoringInstance(ctx context.Context, name string, reqE return c.Client.Do(req) } -func (c *Client) GetMonitoringInstance(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetMonitoringInstanceRequest(c.Server, name) +func (c *Client) ListDatabaseClusterBackups(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListDatabaseClusterBackupsRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -1883,8 +1883,8 @@ func (c *Client) GetMonitoringInstance(ctx context.Context, name string, reqEdit return c.Client.Do(req) } -func (c *Client) UpdateMonitoringInstanceWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateMonitoringInstanceRequestWithBody(c.Server, name, contentType, body) +func (c *Client) GetDatabaseClusterCredentials(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetDatabaseClusterCredentialsRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -1895,8 +1895,8 @@ func (c *Client) UpdateMonitoringInstanceWithBody(ctx context.Context, name stri return c.Client.Do(req) } -func (c *Client) UpdateMonitoringInstance(ctx context.Context, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUpdateMonitoringInstanceRequest(c.Server, name, body) +func (c *Client) GetDatabaseClusterPitr(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetDatabaseClusterPitrRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -1907,8 +1907,8 @@ func (c *Client) UpdateMonitoringInstance(ctx context.Context, name string, body return c.Client.Do(req) } -func (c *Client) ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewListNamespacesRequest(c.Server) +func (c *Client) ListDatabaseClusterRestores(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListDatabaseClusterRestoresRequest(c.Server, namespace, name) if err != nil { return nil, err } @@ -2200,97 +2200,16 @@ func NewGetKubernetesClusterInfoRequest(server string) (*http.Request, error) { return req, nil } -// NewCreateDatabaseClusterBackupRequest calls the generic CreateDatabaseClusterBackup builder with application/json body -func NewCreateDatabaseClusterBackupRequest(server string, body CreateDatabaseClusterBackupJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewCreateDatabaseClusterBackupRequestWithBody(server, "application/json", bodyReader) -} - -// NewCreateDatabaseClusterBackupRequestWithBody generates requests for CreateDatabaseClusterBackup with any type of body -func NewCreateDatabaseClusterBackupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/database-cluster-backups") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewDeleteDatabaseClusterBackupRequest generates requests for DeleteDatabaseClusterBackup -func NewDeleteDatabaseClusterBackupRequest(server string, name string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/database-cluster-backups/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewGetDatabaseClusterBackupRequest generates requests for GetDatabaseClusterBackup -func NewGetDatabaseClusterBackupRequest(server string, name string) (*http.Request, error) { +// NewListMonitoringInstancesRequest generates requests for ListMonitoringInstances +func NewListMonitoringInstancesRequest(server string) (*http.Request, error) { var err error - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/database-cluster-backups/%s", pathParam0) + operationPath := fmt.Sprintf("/monitoring-instances") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2308,19 +2227,19 @@ func NewGetDatabaseClusterBackupRequest(server string, name string) (*http.Reque return req, nil } -// NewCreateDatabaseClusterRestoreRequest calls the generic CreateDatabaseClusterRestore builder with application/json body -func NewCreateDatabaseClusterRestoreRequest(server string, body CreateDatabaseClusterRestoreJSONRequestBody) (*http.Request, error) { +// NewCreateMonitoringInstanceRequest calls the generic CreateMonitoringInstance builder with application/json body +func NewCreateMonitoringInstanceRequest(server string, body CreateMonitoringInstanceJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewCreateDatabaseClusterRestoreRequestWithBody(server, "application/json", bodyReader) + return NewCreateMonitoringInstanceRequestWithBody(server, "application/json", bodyReader) } -// NewCreateDatabaseClusterRestoreRequestWithBody generates requests for CreateDatabaseClusterRestore with any type of body -func NewCreateDatabaseClusterRestoreRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateMonitoringInstanceRequestWithBody generates requests for CreateMonitoringInstance with any type of body +func NewCreateMonitoringInstanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -2328,7 +2247,7 @@ func NewCreateDatabaseClusterRestoreRequestWithBody(server string, contentType s return nil, err } - operationPath := fmt.Sprintf("/database-cluster-restores") + operationPath := fmt.Sprintf("/monitoring-instances") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2348,8 +2267,8 @@ func NewCreateDatabaseClusterRestoreRequestWithBody(server string, contentType s return req, nil } -// NewDeleteDatabaseClusterRestoreRequest generates requests for DeleteDatabaseClusterRestore -func NewDeleteDatabaseClusterRestoreRequest(server string, name string) (*http.Request, error) { +// NewDeleteMonitoringInstanceRequest generates requests for DeleteMonitoringInstance +func NewDeleteMonitoringInstanceRequest(server string, name string) (*http.Request, error) { var err error var pathParam0 string @@ -2364,7 +2283,7 @@ func NewDeleteDatabaseClusterRestoreRequest(server string, name string) (*http.R return nil, err } - operationPath := fmt.Sprintf("/database-cluster-restores/%s", pathParam0) + operationPath := fmt.Sprintf("/monitoring-instances/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2382,8 +2301,8 @@ func NewDeleteDatabaseClusterRestoreRequest(server string, name string) (*http.R return req, nil } -// NewGetDatabaseClusterRestoreRequest generates requests for GetDatabaseClusterRestore -func NewGetDatabaseClusterRestoreRequest(server string, name string) (*http.Request, error) { +// NewGetMonitoringInstanceRequest generates requests for GetMonitoringInstance +func NewGetMonitoringInstanceRequest(server string, name string) (*http.Request, error) { var err error var pathParam0 string @@ -2398,7 +2317,7 @@ func NewGetDatabaseClusterRestoreRequest(server string, name string) (*http.Requ return nil, err } - operationPath := fmt.Sprintf("/database-cluster-restores/%s", pathParam0) + operationPath := fmt.Sprintf("/monitoring-instances/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2416,19 +2335,19 @@ func NewGetDatabaseClusterRestoreRequest(server string, name string) (*http.Requ return req, nil } -// NewUpdateDatabaseClusterRestoreRequest calls the generic UpdateDatabaseClusterRestore builder with application/json body -func NewUpdateDatabaseClusterRestoreRequest(server string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody) (*http.Request, error) { +// NewUpdateMonitoringInstanceRequest calls the generic UpdateMonitoringInstance builder with application/json body +func NewUpdateMonitoringInstanceRequest(server string, name string, body UpdateMonitoringInstanceJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewUpdateDatabaseClusterRestoreRequestWithBody(server, name, "application/json", bodyReader) + return NewUpdateMonitoringInstanceRequestWithBody(server, name, "application/json", bodyReader) } -// NewUpdateDatabaseClusterRestoreRequestWithBody generates requests for UpdateDatabaseClusterRestore with any type of body -func NewUpdateDatabaseClusterRestoreRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { +// NewUpdateMonitoringInstanceRequestWithBody generates requests for UpdateMonitoringInstance with any type of body +func NewUpdateMonitoringInstanceRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -2443,7 +2362,7 @@ func NewUpdateDatabaseClusterRestoreRequestWithBody(server string, name string, return nil, err } - operationPath := fmt.Sprintf("/database-cluster-restores/%s", pathParam0) + operationPath := fmt.Sprintf("/monitoring-instances/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2453,7 +2372,7 @@ func NewUpdateDatabaseClusterRestoreRequestWithBody(server string, name string, return nil, err } - req, err := http.NewRequest("PUT", queryURL.String(), body) + req, err := http.NewRequest("PATCH", queryURL.String(), body) if err != nil { return nil, err } @@ -2463,8 +2382,8 @@ func NewUpdateDatabaseClusterRestoreRequestWithBody(server string, name string, return req, nil } -// NewListDatabaseClustersRequest generates requests for ListDatabaseClusters -func NewListDatabaseClustersRequest(server string) (*http.Request, error) { +// NewListNamespacesRequest generates requests for ListNamespaces +func NewListNamespacesRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -2472,7 +2391,7 @@ func NewListDatabaseClustersRequest(server string) (*http.Request, error) { return nil, err } - operationPath := fmt.Sprintf("/database-clusters") + operationPath := fmt.Sprintf("/namespaces") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2490,27 +2409,34 @@ func NewListDatabaseClustersRequest(server string) (*http.Request, error) { return req, nil } -// NewCreateDatabaseClusterRequest calls the generic CreateDatabaseCluster builder with application/json body -func NewCreateDatabaseClusterRequest(server string, body CreateDatabaseClusterJSONRequestBody) (*http.Request, error) { +// NewCreateDatabaseClusterBackupRequest calls the generic CreateDatabaseClusterBackup builder with application/json body +func NewCreateDatabaseClusterBackupRequest(server string, namespace string, body CreateDatabaseClusterBackupJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewCreateDatabaseClusterRequestWithBody(server, "application/json", bodyReader) + return NewCreateDatabaseClusterBackupRequestWithBody(server, namespace, "application/json", bodyReader) } -// NewCreateDatabaseClusterRequestWithBody generates requests for CreateDatabaseCluster with any type of body -func NewCreateDatabaseClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateDatabaseClusterBackupRequestWithBody generates requests for CreateDatabaseClusterBackup with any type of body +func NewCreateDatabaseClusterBackupRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error) { var err error + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/database-clusters") + operationPath := fmt.Sprintf("/namespaces/%s/database-cluster-backups", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2530,13 +2456,20 @@ func NewCreateDatabaseClusterRequestWithBody(server string, contentType string, return req, nil } -// NewDeleteDatabaseClusterRequest generates requests for DeleteDatabaseCluster -func NewDeleteDatabaseClusterRequest(server string, name string) (*http.Request, error) { +// NewDeleteDatabaseClusterBackupRequest generates requests for DeleteDatabaseClusterBackup +func NewDeleteDatabaseClusterBackupRequest(server string, namespace string, name string) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) if err != nil { return nil, err } @@ -2546,7 +2479,7 @@ func NewDeleteDatabaseClusterRequest(server string, name string) (*http.Request, return nil, err } - operationPath := fmt.Sprintf("/database-clusters/%s", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-cluster-backups/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2564,13 +2497,20 @@ func NewDeleteDatabaseClusterRequest(server string, name string) (*http.Request, return req, nil } -// NewGetDatabaseClusterRequest generates requests for GetDatabaseCluster -func NewGetDatabaseClusterRequest(server string, name string) (*http.Request, error) { +// NewGetDatabaseClusterBackupRequest generates requests for GetDatabaseClusterBackup +func NewGetDatabaseClusterBackupRequest(server string, namespace string, name string) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) if err != nil { return nil, err } @@ -2580,7 +2520,7 @@ func NewGetDatabaseClusterRequest(server string, name string) (*http.Request, er return nil, err } - operationPath := fmt.Sprintf("/database-clusters/%s", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-cluster-backups/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2598,24 +2538,24 @@ func NewGetDatabaseClusterRequest(server string, name string) (*http.Request, er return req, nil } -// NewUpdateDatabaseClusterRequest calls the generic UpdateDatabaseCluster builder with application/json body -func NewUpdateDatabaseClusterRequest(server string, name string, body UpdateDatabaseClusterJSONRequestBody) (*http.Request, error) { +// NewCreateDatabaseClusterRestoreRequest calls the generic CreateDatabaseClusterRestore builder with application/json body +func NewCreateDatabaseClusterRestoreRequest(server string, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewUpdateDatabaseClusterRequestWithBody(server, name, "application/json", bodyReader) + return NewCreateDatabaseClusterRestoreRequestWithBody(server, namespace, "application/json", bodyReader) } -// NewUpdateDatabaseClusterRequestWithBody generates requests for UpdateDatabaseCluster with any type of body -func NewUpdateDatabaseClusterRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateDatabaseClusterRestoreRequestWithBody generates requests for CreateDatabaseClusterRestore with any type of body +func NewCreateDatabaseClusterRestoreRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } @@ -2625,7 +2565,7 @@ func NewUpdateDatabaseClusterRequestWithBody(server string, name string, content return nil, err } - operationPath := fmt.Sprintf("/database-clusters/%s", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-cluster-restores", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2635,7 +2575,7 @@ func NewUpdateDatabaseClusterRequestWithBody(server string, name string, content return nil, err } - req, err := http.NewRequest("PUT", queryURL.String(), body) + req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } @@ -2645,13 +2585,20 @@ func NewUpdateDatabaseClusterRequestWithBody(server string, name string, content return req, nil } -// NewListDatabaseClusterBackupsRequest generates requests for ListDatabaseClusterBackups -func NewListDatabaseClusterBackupsRequest(server string, name string) (*http.Request, error) { +// NewDeleteDatabaseClusterRestoreRequest generates requests for DeleteDatabaseClusterRestore +func NewDeleteDatabaseClusterRestoreRequest(server string, namespace string, name string) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) if err != nil { return nil, err } @@ -2661,7 +2608,7 @@ func NewListDatabaseClusterBackupsRequest(server string, name string) (*http.Req return nil, err } - operationPath := fmt.Sprintf("/database-clusters/%s/backups", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-cluster-restores/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2671,7 +2618,7 @@ func NewListDatabaseClusterBackupsRequest(server string, name string) (*http.Req return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } @@ -2679,23 +2626,30 @@ func NewListDatabaseClusterBackupsRequest(server string, name string) (*http.Req return req, nil } -// NewGetDatabaseClusterCredentialsRequest generates requests for GetDatabaseClusterCredentials -func NewGetDatabaseClusterCredentialsRequest(server string, name string) (*http.Request, error) { +// NewGetDatabaseClusterRestoreRequest generates requests for GetDatabaseClusterRestore +func NewGetDatabaseClusterRestoreRequest(server string, namespace string, name string) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } - serverURL, err := url.Parse(server) + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/database-clusters/%s/credentials", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-cluster-restores/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2713,13 +2667,31 @@ func NewGetDatabaseClusterCredentialsRequest(server string, name string) (*http. return req, nil } -// NewGetDatabaseClusterPitrRequest generates requests for GetDatabaseClusterPitr -func NewGetDatabaseClusterPitrRequest(server string, name string) (*http.Request, error) { +// NewUpdateDatabaseClusterRestoreRequest calls the generic UpdateDatabaseClusterRestore builder with application/json body +func NewUpdateDatabaseClusterRestoreRequest(server string, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUpdateDatabaseClusterRestoreRequestWithBody(server, namespace, name, "application/json", bodyReader) +} + +// NewUpdateDatabaseClusterRestoreRequestWithBody generates requests for UpdateDatabaseClusterRestore with any type of body +func NewUpdateDatabaseClusterRestoreRequestWithBody(server string, namespace string, name string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) if err != nil { return nil, err } @@ -2729,7 +2701,7 @@ func NewGetDatabaseClusterPitrRequest(server string, name string) (*http.Request return nil, err } - operationPath := fmt.Sprintf("/database-clusters/%s/pitr", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-cluster-restores/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2739,21 +2711,23 @@ func NewGetDatabaseClusterPitrRequest(server string, name string) (*http.Request return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), nil) + req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } -// NewListDatabaseClusterRestoresRequest generates requests for ListDatabaseClusterRestores -func NewListDatabaseClusterRestoresRequest(server string, name string) (*http.Request, error) { +// NewListDatabaseClustersRequest generates requests for ListDatabaseClusters +func NewListDatabaseClustersRequest(server string, namespace string) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } @@ -2763,7 +2737,7 @@ func NewListDatabaseClusterRestoresRequest(server string, name string) (*http.Re return nil, err } - operationPath := fmt.Sprintf("/database-clusters/%s/restores", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-clusters", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2781,16 +2755,118 @@ func NewListDatabaseClusterRestoresRequest(server string, name string) (*http.Re return req, nil } -// NewListMonitoringInstancesRequest generates requests for ListMonitoringInstances -func NewListMonitoringInstancesRequest(server string) (*http.Request, error) { +// NewCreateDatabaseClusterRequest calls the generic CreateDatabaseCluster builder with application/json body +func NewCreateDatabaseClusterRequest(server string, namespace string, body CreateDatabaseClusterJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCreateDatabaseClusterRequestWithBody(server, namespace, "application/json", bodyReader) +} + +// NewCreateDatabaseClusterRequestWithBody generates requests for CreateDatabaseCluster with any type of body +func NewCreateDatabaseClusterRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error) { var err error + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/monitoring-instances") + operationPath := fmt.Sprintf("/namespaces/%s/database-clusters", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDeleteDatabaseClusterRequest generates requests for DeleteDatabaseCluster +func NewDeleteDatabaseClusterRequest(server string, namespace string, name string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/namespaces/%s/database-clusters/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewGetDatabaseClusterRequest generates requests for GetDatabaseCluster +func NewGetDatabaseClusterRequest(server string, namespace string, name string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/namespaces/%s/database-clusters/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2808,27 +2884,41 @@ func NewListMonitoringInstancesRequest(server string) (*http.Request, error) { return req, nil } -// NewCreateMonitoringInstanceRequest calls the generic CreateMonitoringInstance builder with application/json body -func NewCreateMonitoringInstanceRequest(server string, body CreateMonitoringInstanceJSONRequestBody) (*http.Request, error) { +// NewUpdateDatabaseClusterRequest calls the generic UpdateDatabaseCluster builder with application/json body +func NewUpdateDatabaseClusterRequest(server string, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewCreateMonitoringInstanceRequestWithBody(server, "application/json", bodyReader) + return NewUpdateDatabaseClusterRequestWithBody(server, namespace, name, "application/json", bodyReader) } -// NewCreateMonitoringInstanceRequestWithBody generates requests for CreateMonitoringInstance with any type of body -func NewCreateMonitoringInstanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewUpdateDatabaseClusterRequestWithBody generates requests for UpdateDatabaseCluster with any type of body +func NewUpdateDatabaseClusterRequestWithBody(server string, namespace string, name string, contentType string, body io.Reader) (*http.Request, error) { var err error + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/monitoring-instances") + operationPath := fmt.Sprintf("/namespaces/%s/database-clusters/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2838,7 +2928,7 @@ func NewCreateMonitoringInstanceRequestWithBody(server string, contentType strin return nil, err } - req, err := http.NewRequest("POST", queryURL.String(), body) + req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } @@ -2848,13 +2938,20 @@ func NewCreateMonitoringInstanceRequestWithBody(server string, contentType strin return req, nil } -// NewDeleteMonitoringInstanceRequest generates requests for DeleteMonitoringInstance -func NewDeleteMonitoringInstanceRequest(server string, name string) (*http.Request, error) { +// NewListDatabaseClusterBackupsRequest generates requests for ListDatabaseClusterBackups +func NewListDatabaseClusterBackupsRequest(server string, namespace string, name string) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) if err != nil { return nil, err } @@ -2864,7 +2961,7 @@ func NewDeleteMonitoringInstanceRequest(server string, name string) (*http.Reque return nil, err } - operationPath := fmt.Sprintf("/monitoring-instances/%s", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-clusters/%s/backups", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2874,7 +2971,7 @@ func NewDeleteMonitoringInstanceRequest(server string, name string) (*http.Reque return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } @@ -2882,13 +2979,20 @@ func NewDeleteMonitoringInstanceRequest(server string, name string) (*http.Reque return req, nil } -// NewGetMonitoringInstanceRequest generates requests for GetMonitoringInstance -func NewGetMonitoringInstanceRequest(server string, name string) (*http.Request, error) { +// NewGetDatabaseClusterCredentialsRequest generates requests for GetDatabaseClusterCredentials +func NewGetDatabaseClusterCredentialsRequest(server string, namespace string, name string) (*http.Request, error) { var err error var pathParam0 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) if err != nil { return nil, err } @@ -2898,7 +3002,7 @@ func NewGetMonitoringInstanceRequest(server string, name string) (*http.Request, return nil, err } - operationPath := fmt.Sprintf("/monitoring-instances/%s", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-clusters/%s/credentials", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2916,24 +3020,20 @@ func NewGetMonitoringInstanceRequest(server string, name string) (*http.Request, return req, nil } -// NewUpdateMonitoringInstanceRequest calls the generic UpdateMonitoringInstance builder with application/json body -func NewUpdateMonitoringInstanceRequest(server string, name string, body UpdateMonitoringInstanceJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) +// NewGetDatabaseClusterPitrRequest generates requests for GetDatabaseClusterPitr +func NewGetDatabaseClusterPitrRequest(server string, namespace string, name string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } - bodyReader = bytes.NewReader(buf) - return NewUpdateMonitoringInstanceRequestWithBody(server, name, "application/json", bodyReader) -} - -// NewUpdateMonitoringInstanceRequestWithBody generates requests for UpdateMonitoringInstance with any type of body -func NewUpdateMonitoringInstanceRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { - var err error - var pathParam0 string + var pathParam1 string - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) if err != nil { return nil, err } @@ -2943,7 +3043,7 @@ func NewUpdateMonitoringInstanceRequestWithBody(server string, name string, cont return nil, err } - operationPath := fmt.Sprintf("/monitoring-instances/%s", pathParam0) + operationPath := fmt.Sprintf("/namespaces/%s/database-clusters/%s/pitr", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -2953,26 +3053,38 @@ func NewUpdateMonitoringInstanceRequestWithBody(server string, name string, cont return nil, err } - req, err := http.NewRequest("PATCH", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewListNamespacesRequest generates requests for ListNamespaces -func NewListNamespacesRequest(server string) (*http.Request, error) { +// NewListDatabaseClusterRestoresRequest generates requests for ListDatabaseClusterRestores +func NewListDatabaseClusterRestoresRequest(server string, namespace string, name string) (*http.Request, error) { var err error + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/namespaces") + operationPath := fmt.Sprintf("/namespaces/%s/database-clusters/%s/restores", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -3238,85 +3350,85 @@ type ClientWithResponsesInterface interface { // GetKubernetesClusterInfoWithResponse request GetKubernetesClusterInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKubernetesClusterInfoResponse, error) + // ListMonitoringInstancesWithResponse request + ListMonitoringInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMonitoringInstancesResponse, error) + + // CreateMonitoringInstanceWithBodyWithResponse request with any body + CreateMonitoringInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error) + + CreateMonitoringInstanceWithResponse(ctx context.Context, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error) + + // DeleteMonitoringInstanceWithResponse request + DeleteMonitoringInstanceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteMonitoringInstanceResponse, error) + + // GetMonitoringInstanceWithResponse request + GetMonitoringInstanceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetMonitoringInstanceResponse, error) + + // UpdateMonitoringInstanceWithBodyWithResponse request with any body + UpdateMonitoringInstanceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error) + + UpdateMonitoringInstanceWithResponse(ctx context.Context, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error) + + // ListNamespacesWithResponse request + ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error) + // CreateDatabaseClusterBackupWithBodyWithResponse request with any body - CreateDatabaseClusterBackupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error) + CreateDatabaseClusterBackupWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error) - CreateDatabaseClusterBackupWithResponse(ctx context.Context, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error) + CreateDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error) // DeleteDatabaseClusterBackupWithResponse request - DeleteDatabaseClusterBackupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterBackupResponse, error) + DeleteDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterBackupResponse, error) // GetDatabaseClusterBackupWithResponse request - GetDatabaseClusterBackupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterBackupResponse, error) + GetDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterBackupResponse, error) // CreateDatabaseClusterRestoreWithBodyWithResponse request with any body - CreateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error) + CreateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error) - CreateDatabaseClusterRestoreWithResponse(ctx context.Context, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error) + CreateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error) // DeleteDatabaseClusterRestoreWithResponse request - DeleteDatabaseClusterRestoreWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterRestoreResponse, error) + DeleteDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterRestoreResponse, error) // GetDatabaseClusterRestoreWithResponse request - GetDatabaseClusterRestoreWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterRestoreResponse, error) + GetDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterRestoreResponse, error) // UpdateDatabaseClusterRestoreWithBodyWithResponse request with any body - UpdateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error) + UpdateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error) - UpdateDatabaseClusterRestoreWithResponse(ctx context.Context, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error) + UpdateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error) // ListDatabaseClustersWithResponse request - ListDatabaseClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatabaseClustersResponse, error) + ListDatabaseClustersWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListDatabaseClustersResponse, error) // CreateDatabaseClusterWithBodyWithResponse request with any body - CreateDatabaseClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error) + CreateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error) - CreateDatabaseClusterWithResponse(ctx context.Context, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error) + CreateDatabaseClusterWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error) // DeleteDatabaseClusterWithResponse request - DeleteDatabaseClusterWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterResponse, error) + DeleteDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterResponse, error) // GetDatabaseClusterWithResponse request - GetDatabaseClusterWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterResponse, error) + GetDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterResponse, error) // UpdateDatabaseClusterWithBodyWithResponse request with any body - UpdateDatabaseClusterWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error) + UpdateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error) - UpdateDatabaseClusterWithResponse(ctx context.Context, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error) + UpdateDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error) // ListDatabaseClusterBackupsWithResponse request - ListDatabaseClusterBackupsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterBackupsResponse, error) + ListDatabaseClusterBackupsWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterBackupsResponse, error) // GetDatabaseClusterCredentialsWithResponse request - GetDatabaseClusterCredentialsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterCredentialsResponse, error) + GetDatabaseClusterCredentialsWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterCredentialsResponse, error) // GetDatabaseClusterPitrWithResponse request - GetDatabaseClusterPitrWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterPitrResponse, error) + GetDatabaseClusterPitrWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterPitrResponse, error) // ListDatabaseClusterRestoresWithResponse request - ListDatabaseClusterRestoresWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterRestoresResponse, error) - - // ListMonitoringInstancesWithResponse request - ListMonitoringInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMonitoringInstancesResponse, error) - - // CreateMonitoringInstanceWithBodyWithResponse request with any body - CreateMonitoringInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error) - - CreateMonitoringInstanceWithResponse(ctx context.Context, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error) - - // DeleteMonitoringInstanceWithResponse request - DeleteMonitoringInstanceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteMonitoringInstanceResponse, error) - - // GetMonitoringInstanceWithResponse request - GetMonitoringInstanceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetMonitoringInstanceResponse, error) - - // UpdateMonitoringInstanceWithBodyWithResponse request with any body - UpdateMonitoringInstanceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error) - - UpdateMonitoringInstanceWithResponse(ctx context.Context, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error) - - // ListNamespacesWithResponse request - ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error) + ListDatabaseClusterRestoresWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterRestoresResponse, error) // ListDatabaseEnginesWithResponse request ListDatabaseEnginesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListDatabaseEnginesResponse, error) @@ -3479,18 +3591,16 @@ func (r GetKubernetesClusterInfoResponse) StatusCode() int { return 0 } -type CreateDatabaseClusterBackupResponse struct { +type ListMonitoringInstancesResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterBackup - JSON201 *DatabaseClusterBackup - JSON202 *DatabaseClusterBackup + JSON200 *MonitoringInstancesList JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r CreateDatabaseClusterBackupResponse) Status() string { +func (r ListMonitoringInstancesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3498,23 +3608,23 @@ func (r CreateDatabaseClusterBackupResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r CreateDatabaseClusterBackupResponse) StatusCode() int { +func (r ListMonitoringInstancesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteDatabaseClusterBackupResponse struct { +type CreateMonitoringInstanceResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2 + JSON200 *MonitoringInstance JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r DeleteDatabaseClusterBackupResponse) Status() string { +func (r CreateMonitoringInstanceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3522,23 +3632,23 @@ func (r DeleteDatabaseClusterBackupResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteDatabaseClusterBackupResponse) StatusCode() int { +func (r CreateMonitoringInstanceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetDatabaseClusterBackupResponse struct { +type DeleteMonitoringInstanceResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterBackup JSON400 *Error + JSON404 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r GetDatabaseClusterBackupResponse) Status() string { +func (r DeleteMonitoringInstanceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3546,25 +3656,24 @@ func (r GetDatabaseClusterBackupResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetDatabaseClusterBackupResponse) StatusCode() int { +func (r DeleteMonitoringInstanceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type CreateDatabaseClusterRestoreResponse struct { +type GetMonitoringInstanceResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterRestore - JSON201 *DatabaseClusterRestore - JSON202 *DatabaseClusterRestore + JSON200 *MonitoringInstance JSON400 *Error + JSON404 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r CreateDatabaseClusterRestoreResponse) Status() string { +func (r GetMonitoringInstanceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3572,23 +3681,24 @@ func (r CreateDatabaseClusterRestoreResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r CreateDatabaseClusterRestoreResponse) StatusCode() int { +func (r GetMonitoringInstanceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteDatabaseClusterRestoreResponse struct { +type UpdateMonitoringInstanceResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2 + JSON200 *MonitoringInstance JSON400 *Error + JSON404 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r DeleteDatabaseClusterRestoreResponse) Status() string { +func (r UpdateMonitoringInstanceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3596,23 +3706,21 @@ func (r DeleteDatabaseClusterRestoreResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteDatabaseClusterRestoreResponse) StatusCode() int { +func (r UpdateMonitoringInstanceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetDatabaseClusterRestoreResponse struct { +type ListNamespacesResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterRestore - JSON400 *Error - JSON500 *Error + JSON200 *NamespaceList } // Status returns HTTPResponse.Status -func (r GetDatabaseClusterRestoreResponse) Status() string { +func (r ListNamespacesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3620,24 +3728,25 @@ func (r GetDatabaseClusterRestoreResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetDatabaseClusterRestoreResponse) StatusCode() int { +func (r ListNamespacesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type UpdateDatabaseClusterRestoreResponse struct { +type CreateDatabaseClusterBackupResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterRestore - JSON201 *DatabaseClusterRestore + JSON200 *DatabaseClusterBackup + JSON201 *DatabaseClusterBackup + JSON202 *DatabaseClusterBackup JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r UpdateDatabaseClusterRestoreResponse) Status() string { +func (r CreateDatabaseClusterBackupResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3645,23 +3754,23 @@ func (r UpdateDatabaseClusterRestoreResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r UpdateDatabaseClusterRestoreResponse) StatusCode() int { +func (r CreateDatabaseClusterBackupResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type ListDatabaseClustersResponse struct { +type DeleteDatabaseClusterBackupResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterList + JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2 JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r ListDatabaseClustersResponse) Status() string { +func (r DeleteDatabaseClusterBackupResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3669,25 +3778,23 @@ func (r ListDatabaseClustersResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r ListDatabaseClustersResponse) StatusCode() int { +func (r DeleteDatabaseClusterBackupResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type CreateDatabaseClusterResponse struct { +type GetDatabaseClusterBackupResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseCluster - JSON201 *DatabaseCluster - JSON202 *DatabaseCluster + JSON200 *DatabaseClusterBackup JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r CreateDatabaseClusterResponse) Status() string { +func (r GetDatabaseClusterBackupResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3695,23 +3802,25 @@ func (r CreateDatabaseClusterResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r CreateDatabaseClusterResponse) StatusCode() int { +func (r GetDatabaseClusterBackupResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteDatabaseClusterResponse struct { +type CreateDatabaseClusterRestoreResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2 + JSON200 *DatabaseClusterRestore + JSON201 *DatabaseClusterRestore + JSON202 *DatabaseClusterRestore JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r DeleteDatabaseClusterResponse) Status() string { +func (r CreateDatabaseClusterRestoreResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3719,23 +3828,23 @@ func (r DeleteDatabaseClusterResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteDatabaseClusterResponse) StatusCode() int { +func (r CreateDatabaseClusterRestoreResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetDatabaseClusterResponse struct { +type DeleteDatabaseClusterRestoreResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseCluster + JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2 JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r GetDatabaseClusterResponse) Status() string { +func (r DeleteDatabaseClusterRestoreResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3743,23 +3852,23 @@ func (r GetDatabaseClusterResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetDatabaseClusterResponse) StatusCode() int { +func (r DeleteDatabaseClusterRestoreResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type UpdateDatabaseClusterResponse struct { +type GetDatabaseClusterRestoreResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseCluster + JSON200 *DatabaseClusterRestore JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r UpdateDatabaseClusterResponse) Status() string { +func (r GetDatabaseClusterRestoreResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3767,23 +3876,24 @@ func (r UpdateDatabaseClusterResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r UpdateDatabaseClusterResponse) StatusCode() int { +func (r GetDatabaseClusterRestoreResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type ListDatabaseClusterBackupsResponse struct { +type UpdateDatabaseClusterRestoreResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterBackupList + JSON200 *DatabaseClusterRestore + JSON201 *DatabaseClusterRestore JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r ListDatabaseClusterBackupsResponse) Status() string { +func (r UpdateDatabaseClusterRestoreResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3791,23 +3901,23 @@ func (r ListDatabaseClusterBackupsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r ListDatabaseClusterBackupsResponse) StatusCode() int { +func (r UpdateDatabaseClusterRestoreResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetDatabaseClusterCredentialsResponse struct { +type ListDatabaseClustersResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterCredential + JSON200 *DatabaseClusterList JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r GetDatabaseClusterCredentialsResponse) Status() string { +func (r ListDatabaseClustersResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3815,23 +3925,25 @@ func (r GetDatabaseClusterCredentialsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetDatabaseClusterCredentialsResponse) StatusCode() int { +func (r ListDatabaseClustersResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetDatabaseClusterPitrResponse struct { +type CreateDatabaseClusterResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterPitr + JSON200 *DatabaseCluster + JSON201 *DatabaseCluster + JSON202 *DatabaseCluster JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r GetDatabaseClusterPitrResponse) Status() string { +func (r CreateDatabaseClusterResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3839,23 +3951,23 @@ func (r GetDatabaseClusterPitrResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetDatabaseClusterPitrResponse) StatusCode() int { +func (r CreateDatabaseClusterResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type ListDatabaseClusterRestoresResponse struct { +type DeleteDatabaseClusterResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *DatabaseClusterRestoreList + JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2 JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r ListDatabaseClusterRestoresResponse) Status() string { +func (r DeleteDatabaseClusterResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3863,23 +3975,23 @@ func (r ListDatabaseClusterRestoresResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r ListDatabaseClusterRestoresResponse) StatusCode() int { +func (r DeleteDatabaseClusterResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type ListMonitoringInstancesResponse struct { +type GetDatabaseClusterResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *MonitoringInstancesList + JSON200 *DatabaseCluster JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r ListMonitoringInstancesResponse) Status() string { +func (r GetDatabaseClusterResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3887,23 +3999,23 @@ func (r ListMonitoringInstancesResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r ListMonitoringInstancesResponse) StatusCode() int { +func (r GetDatabaseClusterResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type CreateMonitoringInstanceResponse struct { +type UpdateDatabaseClusterResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *MonitoringInstance + JSON200 *DatabaseCluster JSON400 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r CreateMonitoringInstanceResponse) Status() string { +func (r UpdateDatabaseClusterResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3911,23 +4023,23 @@ func (r CreateMonitoringInstanceResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r CreateMonitoringInstanceResponse) StatusCode() int { +func (r UpdateDatabaseClusterResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteMonitoringInstanceResponse struct { +type ListDatabaseClusterBackupsResponse struct { Body []byte HTTPResponse *http.Response + JSON200 *DatabaseClusterBackupList JSON400 *Error - JSON404 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r DeleteMonitoringInstanceResponse) Status() string { +func (r ListDatabaseClusterBackupsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3935,24 +4047,23 @@ func (r DeleteMonitoringInstanceResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteMonitoringInstanceResponse) StatusCode() int { +func (r ListDatabaseClusterBackupsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetMonitoringInstanceResponse struct { +type GetDatabaseClusterCredentialsResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *MonitoringInstance + JSON200 *DatabaseClusterCredential JSON400 *Error - JSON404 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r GetMonitoringInstanceResponse) Status() string { +func (r GetDatabaseClusterCredentialsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3960,24 +4071,23 @@ func (r GetMonitoringInstanceResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetMonitoringInstanceResponse) StatusCode() int { +func (r GetDatabaseClusterCredentialsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type UpdateMonitoringInstanceResponse struct { +type GetDatabaseClusterPitrResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *MonitoringInstance + JSON200 *DatabaseClusterPitr JSON400 *Error - JSON404 *Error JSON500 *Error } // Status returns HTTPResponse.Status -func (r UpdateMonitoringInstanceResponse) Status() string { +func (r GetDatabaseClusterPitrResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -3985,21 +4095,23 @@ func (r UpdateMonitoringInstanceResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r UpdateMonitoringInstanceResponse) StatusCode() int { +func (r GetDatabaseClusterPitrResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type ListNamespacesResponse struct { +type ListDatabaseClusterRestoresResponse struct { Body []byte HTTPResponse *http.Response - JSON200 *NamespaceList + JSON200 *DatabaseClusterRestoreList + JSON400 *Error + JSON500 *Error } // Status returns HTTPResponse.Status -func (r ListNamespacesResponse) Status() string { +func (r ListDatabaseClusterRestoresResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -4007,7 +4119,7 @@ func (r ListNamespacesResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r ListNamespacesResponse) StatusCode() int { +func (r ListDatabaseClusterRestoresResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -4202,258 +4314,258 @@ func (c *ClientWithResponses) GetKubernetesClusterInfoWithResponse(ctx context.C return ParseGetKubernetesClusterInfoResponse(rsp) } -// CreateDatabaseClusterBackupWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterBackupResponse -func (c *ClientWithResponses) CreateDatabaseClusterBackupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error) { - rsp, err := c.CreateDatabaseClusterBackupWithBody(ctx, contentType, body, reqEditors...) +// ListMonitoringInstancesWithResponse request returning *ListMonitoringInstancesResponse +func (c *ClientWithResponses) ListMonitoringInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMonitoringInstancesResponse, error) { + rsp, err := c.ListMonitoringInstances(ctx, reqEditors...) if err != nil { return nil, err } - return ParseCreateDatabaseClusterBackupResponse(rsp) + return ParseListMonitoringInstancesResponse(rsp) } -func (c *ClientWithResponses) CreateDatabaseClusterBackupWithResponse(ctx context.Context, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error) { - rsp, err := c.CreateDatabaseClusterBackup(ctx, body, reqEditors...) +// CreateMonitoringInstanceWithBodyWithResponse request with arbitrary body returning *CreateMonitoringInstanceResponse +func (c *ClientWithResponses) CreateMonitoringInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error) { + rsp, err := c.CreateMonitoringInstanceWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParseCreateDatabaseClusterBackupResponse(rsp) + return ParseCreateMonitoringInstanceResponse(rsp) } -// DeleteDatabaseClusterBackupWithResponse request returning *DeleteDatabaseClusterBackupResponse -func (c *ClientWithResponses) DeleteDatabaseClusterBackupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterBackupResponse, error) { - rsp, err := c.DeleteDatabaseClusterBackup(ctx, name, reqEditors...) +func (c *ClientWithResponses) CreateMonitoringInstanceWithResponse(ctx context.Context, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error) { + rsp, err := c.CreateMonitoringInstance(ctx, body, reqEditors...) if err != nil { return nil, err } - return ParseDeleteDatabaseClusterBackupResponse(rsp) + return ParseCreateMonitoringInstanceResponse(rsp) } -// GetDatabaseClusterBackupWithResponse request returning *GetDatabaseClusterBackupResponse -func (c *ClientWithResponses) GetDatabaseClusterBackupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterBackupResponse, error) { - rsp, err := c.GetDatabaseClusterBackup(ctx, name, reqEditors...) +// DeleteMonitoringInstanceWithResponse request returning *DeleteMonitoringInstanceResponse +func (c *ClientWithResponses) DeleteMonitoringInstanceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteMonitoringInstanceResponse, error) { + rsp, err := c.DeleteMonitoringInstance(ctx, name, reqEditors...) if err != nil { return nil, err } - return ParseGetDatabaseClusterBackupResponse(rsp) + return ParseDeleteMonitoringInstanceResponse(rsp) } -// CreateDatabaseClusterRestoreWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterRestoreResponse -func (c *ClientWithResponses) CreateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error) { - rsp, err := c.CreateDatabaseClusterRestoreWithBody(ctx, contentType, body, reqEditors...) +// GetMonitoringInstanceWithResponse request returning *GetMonitoringInstanceResponse +func (c *ClientWithResponses) GetMonitoringInstanceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetMonitoringInstanceResponse, error) { + rsp, err := c.GetMonitoringInstance(ctx, name, reqEditors...) if err != nil { return nil, err } - return ParseCreateDatabaseClusterRestoreResponse(rsp) + return ParseGetMonitoringInstanceResponse(rsp) } -func (c *ClientWithResponses) CreateDatabaseClusterRestoreWithResponse(ctx context.Context, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error) { - rsp, err := c.CreateDatabaseClusterRestore(ctx, body, reqEditors...) +// UpdateMonitoringInstanceWithBodyWithResponse request with arbitrary body returning *UpdateMonitoringInstanceResponse +func (c *ClientWithResponses) UpdateMonitoringInstanceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error) { + rsp, err := c.UpdateMonitoringInstanceWithBody(ctx, name, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParseCreateDatabaseClusterRestoreResponse(rsp) + return ParseUpdateMonitoringInstanceResponse(rsp) } -// DeleteDatabaseClusterRestoreWithResponse request returning *DeleteDatabaseClusterRestoreResponse -func (c *ClientWithResponses) DeleteDatabaseClusterRestoreWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterRestoreResponse, error) { - rsp, err := c.DeleteDatabaseClusterRestore(ctx, name, reqEditors...) +func (c *ClientWithResponses) UpdateMonitoringInstanceWithResponse(ctx context.Context, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error) { + rsp, err := c.UpdateMonitoringInstance(ctx, name, body, reqEditors...) if err != nil { return nil, err } - return ParseDeleteDatabaseClusterRestoreResponse(rsp) + return ParseUpdateMonitoringInstanceResponse(rsp) } -// GetDatabaseClusterRestoreWithResponse request returning *GetDatabaseClusterRestoreResponse -func (c *ClientWithResponses) GetDatabaseClusterRestoreWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterRestoreResponse, error) { - rsp, err := c.GetDatabaseClusterRestore(ctx, name, reqEditors...) +// ListNamespacesWithResponse request returning *ListNamespacesResponse +func (c *ClientWithResponses) ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error) { + rsp, err := c.ListNamespaces(ctx, reqEditors...) if err != nil { return nil, err } - return ParseGetDatabaseClusterRestoreResponse(rsp) + return ParseListNamespacesResponse(rsp) } -// UpdateDatabaseClusterRestoreWithBodyWithResponse request with arbitrary body returning *UpdateDatabaseClusterRestoreResponse -func (c *ClientWithResponses) UpdateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error) { - rsp, err := c.UpdateDatabaseClusterRestoreWithBody(ctx, name, contentType, body, reqEditors...) +// CreateDatabaseClusterBackupWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterBackupResponse +func (c *ClientWithResponses) CreateDatabaseClusterBackupWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error) { + rsp, err := c.CreateDatabaseClusterBackupWithBody(ctx, namespace, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParseUpdateDatabaseClusterRestoreResponse(rsp) + return ParseCreateDatabaseClusterBackupResponse(rsp) } -func (c *ClientWithResponses) UpdateDatabaseClusterRestoreWithResponse(ctx context.Context, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error) { - rsp, err := c.UpdateDatabaseClusterRestore(ctx, name, body, reqEditors...) +func (c *ClientWithResponses) CreateDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error) { + rsp, err := c.CreateDatabaseClusterBackup(ctx, namespace, body, reqEditors...) if err != nil { return nil, err } - return ParseUpdateDatabaseClusterRestoreResponse(rsp) + return ParseCreateDatabaseClusterBackupResponse(rsp) } -// ListDatabaseClustersWithResponse request returning *ListDatabaseClustersResponse -func (c *ClientWithResponses) ListDatabaseClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatabaseClustersResponse, error) { - rsp, err := c.ListDatabaseClusters(ctx, reqEditors...) +// DeleteDatabaseClusterBackupWithResponse request returning *DeleteDatabaseClusterBackupResponse +func (c *ClientWithResponses) DeleteDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterBackupResponse, error) { + rsp, err := c.DeleteDatabaseClusterBackup(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseListDatabaseClustersResponse(rsp) + return ParseDeleteDatabaseClusterBackupResponse(rsp) } -// CreateDatabaseClusterWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterResponse -func (c *ClientWithResponses) CreateDatabaseClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error) { - rsp, err := c.CreateDatabaseClusterWithBody(ctx, contentType, body, reqEditors...) +// GetDatabaseClusterBackupWithResponse request returning *GetDatabaseClusterBackupResponse +func (c *ClientWithResponses) GetDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterBackupResponse, error) { + rsp, err := c.GetDatabaseClusterBackup(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseCreateDatabaseClusterResponse(rsp) + return ParseGetDatabaseClusterBackupResponse(rsp) } -func (c *ClientWithResponses) CreateDatabaseClusterWithResponse(ctx context.Context, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error) { - rsp, err := c.CreateDatabaseCluster(ctx, body, reqEditors...) +// CreateDatabaseClusterRestoreWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterRestoreResponse +func (c *ClientWithResponses) CreateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error) { + rsp, err := c.CreateDatabaseClusterRestoreWithBody(ctx, namespace, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParseCreateDatabaseClusterResponse(rsp) + return ParseCreateDatabaseClusterRestoreResponse(rsp) } -// DeleteDatabaseClusterWithResponse request returning *DeleteDatabaseClusterResponse -func (c *ClientWithResponses) DeleteDatabaseClusterWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterResponse, error) { - rsp, err := c.DeleteDatabaseCluster(ctx, name, reqEditors...) +func (c *ClientWithResponses) CreateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error) { + rsp, err := c.CreateDatabaseClusterRestore(ctx, namespace, body, reqEditors...) if err != nil { return nil, err } - return ParseDeleteDatabaseClusterResponse(rsp) + return ParseCreateDatabaseClusterRestoreResponse(rsp) } -// GetDatabaseClusterWithResponse request returning *GetDatabaseClusterResponse -func (c *ClientWithResponses) GetDatabaseClusterWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterResponse, error) { - rsp, err := c.GetDatabaseCluster(ctx, name, reqEditors...) +// DeleteDatabaseClusterRestoreWithResponse request returning *DeleteDatabaseClusterRestoreResponse +func (c *ClientWithResponses) DeleteDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterRestoreResponse, error) { + rsp, err := c.DeleteDatabaseClusterRestore(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseGetDatabaseClusterResponse(rsp) + return ParseDeleteDatabaseClusterRestoreResponse(rsp) } -// UpdateDatabaseClusterWithBodyWithResponse request with arbitrary body returning *UpdateDatabaseClusterResponse -func (c *ClientWithResponses) UpdateDatabaseClusterWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error) { - rsp, err := c.UpdateDatabaseClusterWithBody(ctx, name, contentType, body, reqEditors...) +// GetDatabaseClusterRestoreWithResponse request returning *GetDatabaseClusterRestoreResponse +func (c *ClientWithResponses) GetDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterRestoreResponse, error) { + rsp, err := c.GetDatabaseClusterRestore(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseUpdateDatabaseClusterResponse(rsp) + return ParseGetDatabaseClusterRestoreResponse(rsp) } -func (c *ClientWithResponses) UpdateDatabaseClusterWithResponse(ctx context.Context, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error) { - rsp, err := c.UpdateDatabaseCluster(ctx, name, body, reqEditors...) +// UpdateDatabaseClusterRestoreWithBodyWithResponse request with arbitrary body returning *UpdateDatabaseClusterRestoreResponse +func (c *ClientWithResponses) UpdateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error) { + rsp, err := c.UpdateDatabaseClusterRestoreWithBody(ctx, namespace, name, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParseUpdateDatabaseClusterResponse(rsp) + return ParseUpdateDatabaseClusterRestoreResponse(rsp) } -// ListDatabaseClusterBackupsWithResponse request returning *ListDatabaseClusterBackupsResponse -func (c *ClientWithResponses) ListDatabaseClusterBackupsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterBackupsResponse, error) { - rsp, err := c.ListDatabaseClusterBackups(ctx, name, reqEditors...) +func (c *ClientWithResponses) UpdateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error) { + rsp, err := c.UpdateDatabaseClusterRestore(ctx, namespace, name, body, reqEditors...) if err != nil { return nil, err } - return ParseListDatabaseClusterBackupsResponse(rsp) + return ParseUpdateDatabaseClusterRestoreResponse(rsp) } -// GetDatabaseClusterCredentialsWithResponse request returning *GetDatabaseClusterCredentialsResponse -func (c *ClientWithResponses) GetDatabaseClusterCredentialsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterCredentialsResponse, error) { - rsp, err := c.GetDatabaseClusterCredentials(ctx, name, reqEditors...) +// ListDatabaseClustersWithResponse request returning *ListDatabaseClustersResponse +func (c *ClientWithResponses) ListDatabaseClustersWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListDatabaseClustersResponse, error) { + rsp, err := c.ListDatabaseClusters(ctx, namespace, reqEditors...) if err != nil { return nil, err } - return ParseGetDatabaseClusterCredentialsResponse(rsp) + return ParseListDatabaseClustersResponse(rsp) } -// GetDatabaseClusterPitrWithResponse request returning *GetDatabaseClusterPitrResponse -func (c *ClientWithResponses) GetDatabaseClusterPitrWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterPitrResponse, error) { - rsp, err := c.GetDatabaseClusterPitr(ctx, name, reqEditors...) +// CreateDatabaseClusterWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterResponse +func (c *ClientWithResponses) CreateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error) { + rsp, err := c.CreateDatabaseClusterWithBody(ctx, namespace, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParseGetDatabaseClusterPitrResponse(rsp) + return ParseCreateDatabaseClusterResponse(rsp) } -// ListDatabaseClusterRestoresWithResponse request returning *ListDatabaseClusterRestoresResponse -func (c *ClientWithResponses) ListDatabaseClusterRestoresWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterRestoresResponse, error) { - rsp, err := c.ListDatabaseClusterRestores(ctx, name, reqEditors...) +func (c *ClientWithResponses) CreateDatabaseClusterWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error) { + rsp, err := c.CreateDatabaseCluster(ctx, namespace, body, reqEditors...) if err != nil { return nil, err } - return ParseListDatabaseClusterRestoresResponse(rsp) + return ParseCreateDatabaseClusterResponse(rsp) } -// ListMonitoringInstancesWithResponse request returning *ListMonitoringInstancesResponse -func (c *ClientWithResponses) ListMonitoringInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMonitoringInstancesResponse, error) { - rsp, err := c.ListMonitoringInstances(ctx, reqEditors...) +// DeleteDatabaseClusterWithResponse request returning *DeleteDatabaseClusterResponse +func (c *ClientWithResponses) DeleteDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterResponse, error) { + rsp, err := c.DeleteDatabaseCluster(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseListMonitoringInstancesResponse(rsp) + return ParseDeleteDatabaseClusterResponse(rsp) } -// CreateMonitoringInstanceWithBodyWithResponse request with arbitrary body returning *CreateMonitoringInstanceResponse -func (c *ClientWithResponses) CreateMonitoringInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error) { - rsp, err := c.CreateMonitoringInstanceWithBody(ctx, contentType, body, reqEditors...) +// GetDatabaseClusterWithResponse request returning *GetDatabaseClusterResponse +func (c *ClientWithResponses) GetDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterResponse, error) { + rsp, err := c.GetDatabaseCluster(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseCreateMonitoringInstanceResponse(rsp) + return ParseGetDatabaseClusterResponse(rsp) } -func (c *ClientWithResponses) CreateMonitoringInstanceWithResponse(ctx context.Context, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error) { - rsp, err := c.CreateMonitoringInstance(ctx, body, reqEditors...) +// UpdateDatabaseClusterWithBodyWithResponse request with arbitrary body returning *UpdateDatabaseClusterResponse +func (c *ClientWithResponses) UpdateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error) { + rsp, err := c.UpdateDatabaseClusterWithBody(ctx, namespace, name, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParseCreateMonitoringInstanceResponse(rsp) + return ParseUpdateDatabaseClusterResponse(rsp) } -// DeleteMonitoringInstanceWithResponse request returning *DeleteMonitoringInstanceResponse -func (c *ClientWithResponses) DeleteMonitoringInstanceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteMonitoringInstanceResponse, error) { - rsp, err := c.DeleteMonitoringInstance(ctx, name, reqEditors...) +func (c *ClientWithResponses) UpdateDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error) { + rsp, err := c.UpdateDatabaseCluster(ctx, namespace, name, body, reqEditors...) if err != nil { return nil, err } - return ParseDeleteMonitoringInstanceResponse(rsp) + return ParseUpdateDatabaseClusterResponse(rsp) } -// GetMonitoringInstanceWithResponse request returning *GetMonitoringInstanceResponse -func (c *ClientWithResponses) GetMonitoringInstanceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetMonitoringInstanceResponse, error) { - rsp, err := c.GetMonitoringInstance(ctx, name, reqEditors...) +// ListDatabaseClusterBackupsWithResponse request returning *ListDatabaseClusterBackupsResponse +func (c *ClientWithResponses) ListDatabaseClusterBackupsWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterBackupsResponse, error) { + rsp, err := c.ListDatabaseClusterBackups(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseGetMonitoringInstanceResponse(rsp) + return ParseListDatabaseClusterBackupsResponse(rsp) } -// UpdateMonitoringInstanceWithBodyWithResponse request with arbitrary body returning *UpdateMonitoringInstanceResponse -func (c *ClientWithResponses) UpdateMonitoringInstanceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error) { - rsp, err := c.UpdateMonitoringInstanceWithBody(ctx, name, contentType, body, reqEditors...) +// GetDatabaseClusterCredentialsWithResponse request returning *GetDatabaseClusterCredentialsResponse +func (c *ClientWithResponses) GetDatabaseClusterCredentialsWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterCredentialsResponse, error) { + rsp, err := c.GetDatabaseClusterCredentials(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseUpdateMonitoringInstanceResponse(rsp) + return ParseGetDatabaseClusterCredentialsResponse(rsp) } -func (c *ClientWithResponses) UpdateMonitoringInstanceWithResponse(ctx context.Context, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error) { - rsp, err := c.UpdateMonitoringInstance(ctx, name, body, reqEditors...) +// GetDatabaseClusterPitrWithResponse request returning *GetDatabaseClusterPitrResponse +func (c *ClientWithResponses) GetDatabaseClusterPitrWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterPitrResponse, error) { + rsp, err := c.GetDatabaseClusterPitr(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseUpdateMonitoringInstanceResponse(rsp) + return ParseGetDatabaseClusterPitrResponse(rsp) } -// ListNamespacesWithResponse request returning *ListNamespacesResponse -func (c *ClientWithResponses) ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error) { - rsp, err := c.ListNamespaces(ctx, reqEditors...) +// ListDatabaseClusterRestoresWithResponse request returning *ListDatabaseClusterRestoresResponse +func (c *ClientWithResponses) ListDatabaseClusterRestoresWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterRestoresResponse, error) { + rsp, err := c.ListDatabaseClusterRestores(ctx, namespace, name, reqEditors...) if err != nil { return nil, err } - return ParseListNamespacesResponse(rsp) + return ParseListDatabaseClusterRestoresResponse(rsp) } // ListDatabaseEnginesWithResponse request returning *ListDatabaseEnginesResponse @@ -4717,26 +4829,265 @@ func ParseGetKubernetesClusterInfoResponse(rsp *http.Response) (*GetKubernetesCl switch { case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest KubernetesClusterInfo + var dest KubernetesClusterInfo + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + } + + return response, nil +} + +// ParseListMonitoringInstancesResponse parses an HTTP response from a ListMonitoringInstancesWithResponse call +func ParseListMonitoringInstancesResponse(rsp *http.Response) (*ListMonitoringInstancesResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ListMonitoringInstancesResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest MonitoringInstancesList + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + } + + return response, nil +} + +// ParseCreateMonitoringInstanceResponse parses an HTTP response from a CreateMonitoringInstanceWithResponse call +func ParseCreateMonitoringInstanceResponse(rsp *http.Response) (*CreateMonitoringInstanceResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CreateMonitoringInstanceResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest MonitoringInstance + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + } + + return response, nil +} + +// ParseDeleteMonitoringInstanceResponse parses an HTTP response from a DeleteMonitoringInstanceWithResponse call +func ParseDeleteMonitoringInstanceResponse(rsp *http.Response) (*DeleteMonitoringInstanceResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteMonitoringInstanceResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON404 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + } + + return response, nil +} + +// ParseGetMonitoringInstanceResponse parses an HTTP response from a GetMonitoringInstanceWithResponse call +func ParseGetMonitoringInstanceResponse(rsp *http.Response) (*GetMonitoringInstanceResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetMonitoringInstanceResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest MonitoringInstance + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON404 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + } + + return response, nil +} + +// ParseUpdateMonitoringInstanceResponse parses an HTTP response from a UpdateMonitoringInstanceWithResponse call +func ParseUpdateMonitoringInstanceResponse(rsp *http.Response) (*UpdateMonitoringInstanceResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &UpdateMonitoringInstanceResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest MonitoringInstance + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON200 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON400 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON404 = &dest + + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: + var dest Error + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.JSON500 = &dest + + } + + return response, nil +} + +// ParseListNamespacesResponse parses an HTTP response from a ListNamespacesWithResponse call +func ParseListNamespacesResponse(rsp *http.Response) (*ListNamespacesResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ListNamespacesResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + switch { + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: + var dest NamespaceList if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - } return response, nil @@ -5431,245 +5782,6 @@ func ParseListDatabaseClusterRestoresResponse(rsp *http.Response) (*ListDatabase return response, nil } -// ParseListMonitoringInstancesResponse parses an HTTP response from a ListMonitoringInstancesWithResponse call -func ParseListMonitoringInstancesResponse(rsp *http.Response) (*ListMonitoringInstancesResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &ListMonitoringInstancesResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest MonitoringInstancesList - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - -// ParseCreateMonitoringInstanceResponse parses an HTTP response from a CreateMonitoringInstanceWithResponse call -func ParseCreateMonitoringInstanceResponse(rsp *http.Response) (*CreateMonitoringInstanceResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &CreateMonitoringInstanceResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest MonitoringInstance - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - -// ParseDeleteMonitoringInstanceResponse parses an HTTP response from a DeleteMonitoringInstanceWithResponse call -func ParseDeleteMonitoringInstanceResponse(rsp *http.Response) (*DeleteMonitoringInstanceResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteMonitoringInstanceResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - -// ParseGetMonitoringInstanceResponse parses an HTTP response from a GetMonitoringInstanceWithResponse call -func ParseGetMonitoringInstanceResponse(rsp *http.Response) (*GetMonitoringInstanceResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetMonitoringInstanceResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest MonitoringInstance - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - -// ParseUpdateMonitoringInstanceResponse parses an HTTP response from a UpdateMonitoringInstanceWithResponse call -func ParseUpdateMonitoringInstanceResponse(rsp *http.Response) (*UpdateMonitoringInstanceResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &UpdateMonitoringInstanceResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest MonitoringInstance - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON404 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500: - var dest Error - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON500 = &dest - - } - - return response, nil -} - -// ParseListNamespacesResponse parses an HTTP response from a ListNamespacesWithResponse call -func ParseListNamespacesResponse(rsp *http.Response) (*ListNamespacesResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &ListNamespacesResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest NamespaceList - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - } - - return response, nil -} - // ParseListDatabaseEnginesResponse parses an HTTP response from a ListDatabaseEnginesWithResponse call func ParseListDatabaseEnginesResponse(rsp *http.Response) (*ListDatabaseEnginesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -5857,139 +5969,139 @@ func ParseVersionInfoResponse(rsp *http.Response) (*VersionInfoResponse, error) // Base64 encoded, gzipped, json marshaled Swagger object var swaggerSpec = []string{ - "H4sIAAAAAAAC/+x9bXPbNtboX8Gwz0yTrkTbSbuz6y87juNtfVu3HtvZO3fj3AYiIQlrEmABULaS5r8/", - "gwOAr6BESbbjbPglsUgQL+f9HBwcfAwinmacEaZkcPgxkNGcpBj+fIWjmzy7VFzgGdEPcBxTRTnDybng", - "GRGKEhkcTnEiySiIiYwEzfT74NB+i6T5GFE25SLF8HIUZJWvPwaTPLoh6lecwhhqmZHgMJBKUDYLPjX6", - "9bxnXR8KMvN+MwruxjM+1g/H8oZmY56ZRY0zTpkiIjhUIiefRoHCYmZmJjMcmdnWl/kLlQrxKWJFG4ST", - "hN+SGCmOckmQmlOJJjVoBKOAKpJK76ztAywEXpa/PwaE5Wlw+DaQL4NRgD/kggTvRu3Pc5F4ugVo/JFT", - "QWLdB4BsVAW87cmz5HIQPvkPiZQepEYYUsNAj1ms6X8EmQaHwTd7JWXtWbLaq9OUZ73HgmBFas3OscCm", - "5+0JMNN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kainTluDzHwyNNuDvFZYelhF3kp8QlGcuPxjFzboGCFEJuHXVuWoNzX7UWGL", - "yD05wk+Dzu/frulOh+5n1wBQZIh+64JusSvoQlWD1fMlcfBm3LbGArJnM8cu8rJSJbmDnLAfDJu/1Xv9", - "zRXdGLVPfvpUlv9I7QPSnX/Agf621iA7UIOjyJu/SUuHrgbC2BGkrQcLh5hWxxc6rhvp8Ez9d148jCTv", - "uF/DL8U7lvH53dTeq+hinBf7B48/GXdRkWUnM48Xjz+PI1sTd5AgHr+9m3WdhIi9cF4tM7Z149fID/NN", - "l/zobYp2rBm2EDWLT3nOYpsbdWY30966UOG7omi09+ZEG1f9Avy4DdMSBjV9P8GJjfmsI0hxAbkEcjMG", - "+pGogXuehkoemMQwSU863kobuTre25iw9tt+NuxF0fgRjNii6nVPK9ZdZPDUzNgV6/gMduyK2TyuIbti", - "IoMlu4klW3Jwh/BwkF4jPXY1ZrskideaLSXJ9grZXXSxk0a+qEmNwaAdeK03ma9lt61M2i42atu0Aw99", - "RhU98Eofu3YjZslyL7NkCY421TlmZ+sr5Jcvwyq324GDVb65VT7Nk0H8VMVPP/GwlWm8WcJy615ob8py", - "A/EPmrTsuxZ7UHH3krXsQ3YHjfXJXG521y8c8zhxmN6i/qkFXp6IbO8n1JPlA8dbhkDLjoGWlRzuVR/b", - "RlTWSgNvSGUXu3Y3e3YIngz8szp4shEv9U5XXssn7ZjJwCQPq0cHLuhKft6QBTYIhqxlA2805L+LE56o", - "FfwEAh0D995XVOHeDMK9Ssrp1uEF5DrpEWV4VTQdlN9WGS9D6OThQicVQt4m+6VgqkgQqFuEE7n2fEE3", - "U6NqN+vtyeNa64G7NuSuEnwDdz2Ekdmg5i3VVUaVWMtS55wyNaZsfEVTggRJCmYvr9HexXM715MYWGxj", - "FgO4Dcy1NXPtStdb8lw1p3N7G7HopYeReFG2HZhsu/3bwUx8QDOxQsu9dnPLewfH7t6qzbjJc3Ghn5E8", - "91495LZu1zVbA+HdC+F1oN3RXOpBdvcO75Gvu7I+JIgyid5r0fW+vDcjvGavsCSxK+zu3pt6sBmJFF0Q", - "dEOWppRc/dIcRkgsa31d5tEcYTlCdGq6OkRZmr63V5m8139DZ9UvbUHq2BWrq40RdpZj8lzh9jDhuTVX", - "NXZE6866kfH5tq19194NrLxTiaZuplvLyV2qY9vN3DPv9be+/Vwv7/Q2xTqu2f3KKzh9b+b6sMP7pArj", - "yhjBT39z1k+h6/Rdz/ha2oP8fyRqN9o/e0TaH+T+wFh9QnHpVlzVUffK7OBuoVnMh09aszyGbVi7WLnD", - "NkzX2YafpYjVICT+e4TEBly83kZltVuYO7UxTpLqZcwpZnhmaojb4t7eiEbtRvgHo+36Td69yboleNev", - "sQExY8vD35/KECxhM8p6xIjKW2+LGJX7dFWY9aRo01vyFrPslrfu9dMKi5q1DlGp3aNSK4mtGQc1YG8J", - "iJXkXvFrN90yNz2s2rs7cS0+L8mPeu1hFMv5UjYfLHQHDrvPnfOCCjqZqyM506vd1/FKPTXzK2eXh0vi", - "7OaUp53DOXD4vdraGzC51qDlTWhr69XiDEdULaE6aamyiw52qld7UbmQ7fGK1pajDtS3feXa7emiXbl2", - "Ud5k2EmM7samVzi6ISwubr+npuZxndjs9YcPXQ/Z3cC4vYO3clXQrcGF0Za5SILDYG9xEGi1YuHYBJbu", - "cqnm2u12OT32QqzKdfKVQ9pWsWlstPVjd2dOkHu6aiYEbdVt6VQ2enWaY4e5okpGkH/ORdmCXUYpk9P9", - "g7iagxuM8apZmNz2XK9L/undp/8NAAD//x3W6+QZ9AAA", + "H4sIAAAAAAAC/+x9+3PbNvbvv4JRvzNNuhJtJ+3Orn/ZsR1v69u69djO3rkb5zYQCUlYkwALgLKVNP/7", + "d3AA8AlK1MOOveEvbSyCeByc5wcHh58GIU9SzghTcnD4aSDDGUkw/PMYh7dZeqW4wFOif8BRRBXlDMcX", + "gqdEKErk4HCCY0mGg4jIUNBUPx8c2neRNC8jyiZcJBgeDgdp6e1Pg3EW3hL1K05gDLVIyeBwIJWgbDr4", + "XOvX85y1vSjI1PvOcHA/mvKR/nEkb2k64qlZ1CjllCkiBodKZOTzcKCwmJqZyRSHZrbVZf5CpUJ8glje", + "BuE45nckQoqjTBKkZlSicYUag+GAKpJI76ztD1gIvCj+/jQgLEsGh+8G8vVgOMAfM0EG74fN1zMRe7oF", + "avyRUUEi3QeQbFgmvO3Js+RiED7+DwmVHqTCGFLTQI+Zr+l/BJkMDgff7BWctWfZaq/KU571ngiCFak0", + "u8ACm543Z8BU90EUEbLBfzgMiZQ/k4V3P6rcWR3jekZQGPMsyocxrfdCzhSmjAjEStTdhKurAx5plhIo", + "IhPKiB5VN4cxNBOqGSkJHPz55tcr89iIH5oplcrDvb3bbEwEI4rIgPK9iIdSzzkkqZJ7fE7EnJK7vTsu", + "bimbju6omo3M7ss94PS9byImRzEek3gEPwyGA3KPkzSGvbyTo4jMfcveXiYlCQVRbbv1NUlswbdlqqwn", + "yW+wwmMsyUmcSaBynVy1BohK4KsrEGfNVfBnZFuFppVERxdnQVPQUvovIqRlgBpnX5zZZ5a7zThz85vm", + "dTMisDmVSJBUEEmYApuif8YMmXUF6IoI/SKSM57FEQo5mxOhkCAhnzL6Me9N6i3Xw8RYEakQcBrDMZrj", + "OCNDhFmEErxAguh+UcZKPUATGaBzLox5O8yFa0pVcPs3kKyQJ0nGqFqAShB0nCku5F5E5iTek3Q6wiKc", + "UUVClQmyh1M6gskyvSgZJNE3gkieiRAkrME6t5RFTVL+TFmk9wk7/QBTLSimf9KLvjy9ukauf0NVQ8Ci", + "qSxoqelA2YQI03IieAK9EBaBiMIfYUwJU0hm44QqvUl/ZEQqTeYAnWDGuEJjgrI0wopEATpj6AQnJD7B", + "kjw4JTX15EiTzEvLhCis2bgki4WYyJSEK2XjKiVhhXkjIrX8IqmwAgVde8EjIVoTvWUST8gJZxM6zQRW", + "fnlpaYkmlMSR1mOgzwiTmdCbi80GgfkIMUMhmFktGsW7EmVsQhVIdSp4lIXQYyZJUFBszHlMMAPTCDqy", + "OT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68caCL03t/x0xnMcyXZyfN4l2lZJw", + "0FFVvAUveTfc9qBcZtz5Cpd5F7Ted1M85thjD3JubfS90pQY+n71311p+0DJs/jySOunRBry1QpknM6J", + "IFI55MIfOk2yOD7hSULVNkonFVxPx5/C272beRuOtYb6KhuB8rSK3oflRfv8ZcohNMcpTXA40zy4CNLb", + "qf5BBjqaDuYHgWaBc2Ki6iZz6CelUlAuBDcIllwwNSOKhqUiUFAgbobnZIgoC+Ms0orIVOzDLEJzLCjP", + "ZH6p3DgfAToqYI4EL6ADczbHGbhAn36Dlno6Q+Qm9tlb6UdRlnkE1D2B/m19PTopl45UUKo/oQpxVru1", + "D/yOBFGZYCQyMFaRUp5/ygJO5QSaYe1GC4PrFodnJhfOQD1UIp7iPzKSI2Jjkn8hg0oJD8wxo4VoHLBW", + "QnP0FphzQJBSwBBN2XlBydxUNmDkHmq5AJ6XH+PldD8xVDEF1kPOXKFT6EtPywJCKZeSQvm9SXml1Q9W", + "6HWHM8ymJEJcGBKoGWYIowm5QwllmSYXbK52EUhkSOK23sGVpv6To7a5t5rJvDxUvpOGlK7slLmmGeLY", + "UcpS2uzlhAqpcthniDIWEynRgmdmPoKEhOakVPyWMIOgYYYIQEYWGWqpi5mYUqRniiQnPGMeULjZplkd", + "QmZjqbdbPwOWs7OH7bib0XBWlOAB6XIXT932uwVCGZ/8TcdCzhZFCFx8vUmG1pLEkA4L9TEJa9SssDN3", + "k5IoY7eM3zHgXkNe3Y3biphMFMoYiBSL8vpvUQZuiSSC4ph+LKqM5ROlxaVk9IJQ4P8xCbG2RFSZElUK", + "hbOM6QBGz989VbZkp8GepW30sliPvfHBuOHL+prMQvLiYxutxAGxPI4AhMUMzQ+Cgx9QxF1JpdIYhve1", + "1md6G/UibKzn55TviFRUe29s+l2lRrEW3FjvH0ziBADeHKnX4woCirStb8WdPoRzJv0HucehCmpVRP76", + "/WBZEapW+31lollT06+4S12okW9l6ZzA6gB3KlE5MTGnZa5wa2hXqjhc3BEJZfaSu1Vv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Xfzfity621LtZdrKqhAMy2VwRz", + "kH9265ibEvo74XnPSDZtyCMH16V6RxUmtEcKruBxOSHDZnk8jvbqFdf6imu1ilmitz4PG5Zw75MWiM9G", + "l8XEWwoJfjcm2iEmzbypqkiYd+oiUUpPO3zn/QijVcnNrCwoxYjVzOWFHroP/Fd5d1jag7r79b7B19/7", + "Asie/5bxXzdmaDecXq/rR6LWY68fiXrqvNXrzCfDsx3Ya4mnh1XorcQnFMWxyz92sEHLCAEyCb+2Kke1", + "qTmPChpM7skRfhp8vnu/pj0duptfA0SRAfqtjbr5qaCDqnqv5zlJ8HrStsIDsnczRw55WWqS3EVOOA+G", + "w9/yd/3NJ7oxat789Jks/5XaB+Q7/4A9/21sQbbgBseRt3+Tlg+L64gjd51lPWDKc5/Rj055rsM8JNu1", + "3b7pGW8nOFXLtjsGSzyb3Q5ZHfm6K46NwEJK9EEz/IcinTa4YcdYksjle7nn5pg4JfDNRnRLFgZhrubS", + "M0IiWenrKgtnCMshohPT1SFKk+SDzXD+oP8NnZXftHkqkcOwK2MErSiN52bXw7g0K25wtvg15+2b8eVA", + "G99tuF6Ut0Ju2oVupSS3mY5NkZxz7614H5zjlZ3O8UjL7fuvHNj53sz1YYf3aRXGFZrwjEVPH17yc+gq", + "e9cRaUo6sP+PRG3H++ePyPu93u8FqwsGlmwkVS1wmAFwNrAs5sUnbVkewzes1Fto8Q2TVb7hF8G2eiXx", + "36Mk1pDi1T4qqxRnaLXGOI7LNRoSzPDUpBbZnB8volEpFPNgvF0t8NGZrRuKd/UaaxQzvjz8+/Oeq5U5", + "csCl/W4QFLtZnofS8lnaltjY/23UNRRxPul29esef3Ed3PIhWL/qbaHjlw/NO6+iTQG/2j94/Mm4L2pb", + "tWzm8erx53FkP97UwxQemKJddzjdH3np/H4TXbYpeLFCr5l3nqZeGy4bsYX4kHSvdQ34DvY24blNP3/n", + "kuve559Z8y3cZSI+gwB0zYs8PSi5G7xlbYFvAVsu4faNXE9kfySql9dnKq9beyO9WBqx7Cg5uzTE7hN8", + "m0QV9t1uYcVl3vhriCvyL+Z1DCzcR1CfWmSxZB1fILRYMpvHjS2WTKQPLtYJLgoV0qLUHKU302rbxhdt", + "Gs4bYDwVDbeex+K+1ruVy3JZUV99jNELfWfBWin3G0UZbYLbDDN6qX2+kcYG3kkvnV1CjbXEM8284pnG", + "OFzXrpqTqF5CH0FCn0cIZM+2+xBo/RBoksW9wisrvG4KaZdxyHp5/XWJ8Cf11/hBPg1A5XFEsb9OsLvr", + "BD5ua+H9LqUv6t11AwW/EjSwsw18avDfEzF63axdvHhg1K+H+7aE+5aqmHXs6qa43kot5QX2nlfksV3E", + "0UN4vSAvh/DWEurO9zFWSmYTuevF8jlgdL3c7eLWxppCtwYkt1LwvJhcL3tPHH3bLOR4AnBbry92hW09", + "tPe9V7qQsDHIhVwnHbCu47xpr3ueSRZgj9g9HGJXEp0dZgTm0h0KAp9hwLFcWS6pXemgcjerffqTSute", + "zJ+8mBcb1ov5Qzj6NfnZrQFPqRIrZfuCU6ZGlI2uaUKQIHGujOy3NbYM4y/0JHpZfwayDjvVS/nGUr6t", + "JO1W+MuZ/5u773kvHfz3y6JtL+3PJbmu9+Af0IMvSc9O8k4Im1LWQaSL7+bnU3KvLpPj07zNf3/KiVlr", + "z/3bc/9SZquzvSH7euxeOg1eN0o1PSzzUk9di+dgsvLlPBdbY6nbS9guQ8ecC1qFq+WEyFsIaJWsVM+H", + "vnJxebhznXZJedrHOr2E77Qs1xpCri1o8S3VlRXvcYpDqhZQ37ww2XkHW1W8vyx90vXxyt4Xo/bct3nt", + "+835oln7fl58C7mVGd03H49xeEtY5L6HDJ/wbDCb/YDyQ39RwX3DefNacEtXBd2avTDWMhPx4HCwNz8Y", + "aLNi6Vgnlu5yoWaUTXMsyX5Ss5AEVLomYA2b3o2mfWzvzClyT1d1IGqjbougstarsxxbzBWVICf/nPP7", + "NNuMUhxM+wdxFVHWGOO4/mkT23P1yyaf33/+3wAAAP//6jMNuFv8AAA=", } // GetSwagger returns the content of the embedded swagger specification file diff --git a/pkg/kubernetes/client/kubeclient_interface.go b/pkg/kubernetes/client/kubeclient_interface.go index 7293babd..7096cf9c 100644 --- a/pkg/kubernetes/client/kubeclient_interface.go +++ b/pkg/kubernetes/client/kubeclient_interface.go @@ -54,13 +54,13 @@ type KubeClientConnector interface { // GetDatabaseCluster returns database clusters by provided name. GetDatabaseCluster(ctx context.Context, namespace, name string) (*everestv1alpha1.DatabaseCluster, error) // ListDatabaseClusterBackups returns list of managed database cluster backups. - ListDatabaseClusterBackups(ctx context.Context, options metav1.ListOptions) (*everestv1alpha1.DatabaseClusterBackupList, error) + ListDatabaseClusterBackups(ctx context.Context, namespace string, options metav1.ListOptions) (*everestv1alpha1.DatabaseClusterBackupList, error) // GetDatabaseClusterBackup returns database cluster backups by provided name. - GetDatabaseClusterBackup(ctx context.Context, name string) (*everestv1alpha1.DatabaseClusterBackup, error) + GetDatabaseClusterBackup(ctx context.Context, namespace, name string) (*everestv1alpha1.DatabaseClusterBackup, error) // ListDatabaseClusterRestores returns list of managed database clusters. - ListDatabaseClusterRestores(ctx context.Context, options metav1.ListOptions) (*everestv1alpha1.DatabaseClusterRestoreList, error) + ListDatabaseClusterRestores(ctx context.Context, namespace string, options metav1.ListOptions) (*everestv1alpha1.DatabaseClusterRestoreList, error) // GetDatabaseClusterRestore returns database clusters by provided name. - GetDatabaseClusterRestore(ctx context.Context, name string) (*everestv1alpha1.DatabaseClusterRestore, error) + GetDatabaseClusterRestore(ctx context.Context, namespace, name string) (*everestv1alpha1.DatabaseClusterRestore, error) // ListDatabaseEngines returns list of managed database clusters. ListDatabaseEngines(ctx context.Context) (*everestv1alpha1.DatabaseEngineList, error) // GetDatabaseEngine returns database clusters by provided name. diff --git a/pkg/kubernetes/client/mock_kube_client_connector.go b/pkg/kubernetes/client/mock_kube_client_connector.go index 08e6c032..347b8492 100644 --- a/pkg/kubernetes/client/mock_kube_client_connector.go +++ b/pkg/kubernetes/client/mock_kube_client_connector.go @@ -306,9 +306,9 @@ func (_m *MockKubeClientConnector) GetDatabaseCluster(ctx context.Context, names return r0, r1 } -// GetDatabaseClusterBackup provides a mock function with given fields: ctx, name -func (_m *MockKubeClientConnector) GetDatabaseClusterBackup(ctx context.Context, name string) (*v1alpha1.DatabaseClusterBackup, error) { - ret := _m.Called(ctx, name) +// GetDatabaseClusterBackup provides a mock function with given fields: ctx, namespace, name +func (_m *MockKubeClientConnector) GetDatabaseClusterBackup(ctx context.Context, namespace string, name string) (*v1alpha1.DatabaseClusterBackup, error) { + ret := _m.Called(ctx, namespace, name) if len(ret) == 0 { panic("no return value specified for GetDatabaseClusterBackup") @@ -316,19 +316,19 @@ func (_m *MockKubeClientConnector) GetDatabaseClusterBackup(ctx context.Context, var r0 *v1alpha1.DatabaseClusterBackup var r1 error - if rf, ok := ret.Get(0).(func(context.Context, string) (*v1alpha1.DatabaseClusterBackup, error)); ok { - return rf(ctx, name) + if rf, ok := ret.Get(0).(func(context.Context, string, string) (*v1alpha1.DatabaseClusterBackup, error)); ok { + return rf(ctx, namespace, name) } - if rf, ok := ret.Get(0).(func(context.Context, string) *v1alpha1.DatabaseClusterBackup); ok { - r0 = rf(ctx, name) + if rf, ok := ret.Get(0).(func(context.Context, string, string) *v1alpha1.DatabaseClusterBackup); ok { + r0 = rf(ctx, namespace, name) } else { if ret.Get(0) != nil { r0 = ret.Get(0).(*v1alpha1.DatabaseClusterBackup) } } - if rf, ok := ret.Get(1).(func(context.Context, string) error); ok { - r1 = rf(ctx, name) + if rf, ok := ret.Get(1).(func(context.Context, string, string) error); ok { + r1 = rf(ctx, namespace, name) } else { r1 = ret.Error(1) } @@ -336,9 +336,9 @@ func (_m *MockKubeClientConnector) GetDatabaseClusterBackup(ctx context.Context, return r0, r1 } -// GetDatabaseClusterRestore provides a mock function with given fields: ctx, name -func (_m *MockKubeClientConnector) GetDatabaseClusterRestore(ctx context.Context, name string) (*v1alpha1.DatabaseClusterRestore, error) { - ret := _m.Called(ctx, name) +// GetDatabaseClusterRestore provides a mock function with given fields: ctx, namespace, name +func (_m *MockKubeClientConnector) GetDatabaseClusterRestore(ctx context.Context, namespace string, name string) (*v1alpha1.DatabaseClusterRestore, error) { + ret := _m.Called(ctx, namespace, name) if len(ret) == 0 { panic("no return value specified for GetDatabaseClusterRestore") @@ -346,19 +346,19 @@ func (_m *MockKubeClientConnector) GetDatabaseClusterRestore(ctx context.Context var r0 *v1alpha1.DatabaseClusterRestore var r1 error - if rf, ok := ret.Get(0).(func(context.Context, string) (*v1alpha1.DatabaseClusterRestore, error)); ok { - return rf(ctx, name) + if rf, ok := ret.Get(0).(func(context.Context, string, string) (*v1alpha1.DatabaseClusterRestore, error)); ok { + return rf(ctx, namespace, name) } - if rf, ok := ret.Get(0).(func(context.Context, string) *v1alpha1.DatabaseClusterRestore); ok { - r0 = rf(ctx, name) + if rf, ok := ret.Get(0).(func(context.Context, string, string) *v1alpha1.DatabaseClusterRestore); ok { + r0 = rf(ctx, namespace, name) } else { if ret.Get(0) != nil { r0 = ret.Get(0).(*v1alpha1.DatabaseClusterRestore) } } - if rf, ok := ret.Get(1).(func(context.Context, string) error); ok { - r1 = rf(ctx, name) + if rf, ok := ret.Get(1).(func(context.Context, string, string) error); ok { + r1 = rf(ctx, namespace, name) } else { r1 = ret.Error(1) } @@ -714,9 +714,9 @@ func (_m *MockKubeClientConnector) ListBackupStorages(ctx context.Context, optio return r0, r1 } -// ListDatabaseClusterBackups provides a mock function with given fields: ctx, options -func (_m *MockKubeClientConnector) ListDatabaseClusterBackups(ctx context.Context, options metav1.ListOptions) (*v1alpha1.DatabaseClusterBackupList, error) { - ret := _m.Called(ctx, options) +// ListDatabaseClusterBackups provides a mock function with given fields: ctx, namespace, options +func (_m *MockKubeClientConnector) ListDatabaseClusterBackups(ctx context.Context, namespace string, options metav1.ListOptions) (*v1alpha1.DatabaseClusterBackupList, error) { + ret := _m.Called(ctx, namespace, options) if len(ret) == 0 { panic("no return value specified for ListDatabaseClusterBackups") @@ -724,19 +724,19 @@ func (_m *MockKubeClientConnector) ListDatabaseClusterBackups(ctx context.Contex var r0 *v1alpha1.DatabaseClusterBackupList var r1 error - if rf, ok := ret.Get(0).(func(context.Context, metav1.ListOptions) (*v1alpha1.DatabaseClusterBackupList, error)); ok { - return rf(ctx, options) + if rf, ok := ret.Get(0).(func(context.Context, string, metav1.ListOptions) (*v1alpha1.DatabaseClusterBackupList, error)); ok { + return rf(ctx, namespace, options) } - if rf, ok := ret.Get(0).(func(context.Context, metav1.ListOptions) *v1alpha1.DatabaseClusterBackupList); ok { - r0 = rf(ctx, options) + if rf, ok := ret.Get(0).(func(context.Context, string, metav1.ListOptions) *v1alpha1.DatabaseClusterBackupList); ok { + r0 = rf(ctx, namespace, options) } else { if ret.Get(0) != nil { r0 = ret.Get(0).(*v1alpha1.DatabaseClusterBackupList) } } - if rf, ok := ret.Get(1).(func(context.Context, metav1.ListOptions) error); ok { - r1 = rf(ctx, options) + if rf, ok := ret.Get(1).(func(context.Context, string, metav1.ListOptions) error); ok { + r1 = rf(ctx, namespace, options) } else { r1 = ret.Error(1) } @@ -744,9 +744,9 @@ func (_m *MockKubeClientConnector) ListDatabaseClusterBackups(ctx context.Contex return r0, r1 } -// ListDatabaseClusterRestores provides a mock function with given fields: ctx, options -func (_m *MockKubeClientConnector) ListDatabaseClusterRestores(ctx context.Context, options metav1.ListOptions) (*v1alpha1.DatabaseClusterRestoreList, error) { - ret := _m.Called(ctx, options) +// ListDatabaseClusterRestores provides a mock function with given fields: ctx, namespace, options +func (_m *MockKubeClientConnector) ListDatabaseClusterRestores(ctx context.Context, namespace string, options metav1.ListOptions) (*v1alpha1.DatabaseClusterRestoreList, error) { + ret := _m.Called(ctx, namespace, options) if len(ret) == 0 { panic("no return value specified for ListDatabaseClusterRestores") @@ -754,19 +754,19 @@ func (_m *MockKubeClientConnector) ListDatabaseClusterRestores(ctx context.Conte var r0 *v1alpha1.DatabaseClusterRestoreList var r1 error - if rf, ok := ret.Get(0).(func(context.Context, metav1.ListOptions) (*v1alpha1.DatabaseClusterRestoreList, error)); ok { - return rf(ctx, options) + if rf, ok := ret.Get(0).(func(context.Context, string, metav1.ListOptions) (*v1alpha1.DatabaseClusterRestoreList, error)); ok { + return rf(ctx, namespace, options) } - if rf, ok := ret.Get(0).(func(context.Context, metav1.ListOptions) *v1alpha1.DatabaseClusterRestoreList); ok { - r0 = rf(ctx, options) + if rf, ok := ret.Get(0).(func(context.Context, string, metav1.ListOptions) *v1alpha1.DatabaseClusterRestoreList); ok { + r0 = rf(ctx, namespace, options) } else { if ret.Get(0) != nil { r0 = ret.Get(0).(*v1alpha1.DatabaseClusterRestoreList) } } - if rf, ok := ret.Get(1).(func(context.Context, metav1.ListOptions) error); ok { - r1 = rf(ctx, options) + if rf, ok := ret.Get(1).(func(context.Context, string, metav1.ListOptions) error); ok { + r1 = rf(ctx, namespace, options) } else { r1 = ret.Error(1) }