Documentation
¶
Overview ¶
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Cloud-Barista Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func BackupHandler(ctx echo.Context) error
- func BackupRootHandler(ctx echo.Context)
- func GenerateDynamoDBGetHandler(ctx echo.Context) error
- func GenerateDynamoDBPostHandler(ctx echo.Context) error
- func GenerateFirestoreGetHandler(ctx echo.Context) error
- func GenerateFirestorePostHandler(ctx echo.Context) error
- func GenerateGCPGetHandler(ctx echo.Context) error
- func GenerateGCPPostHandler(ctx echo.Context) error
- func GenerateLinuxGetHandler(ctx echo.Context) error
- func GenerateLinuxPostHandler(ctx echo.Context) error
- func GenerateMongoDBGetHandler(ctx echo.Context) error
- func GenerateMongoDBPostHandler(ctx echo.Context) error
- func GenerateMySQLGetHandler(ctx echo.Context) error
- func GenerateMySQLPostHandler(ctx echo.Context) error
- func GenerateNCPGetHandler(ctx echo.Context) error
- func GenerateNCPPostHandler(ctx echo.Context) error
- func GenerateS3GetHandler(ctx echo.Context) error
- func GenerateS3PostHandler(ctx echo.Context) error
- func GenerateWindowsGetHandler(ctx echo.Context) error
- func GenerateWindowsPostHandler(ctx echo.Context) error
- func GetAWSRegions() []string
- func GetGCPRegions() []string
- func GetNCPRegions() []string
- func MainGetHandler(ctx echo.Context) error
- func MigrationDynamoDBToFirestoreGetHandler(ctx echo.Context) error
- func MigrationDynamoDBToFirestorePostHandler(ctx echo.Context) error
- func MigrationDynamoDBToMongoDBGetHandler(ctx echo.Context) error
- func MigrationDynamoDBToMongoDBPostHandler(ctx echo.Context) error
- func MigrationFirestoreToDynamoDBGetHandler(ctx echo.Context) error
- func MigrationFirestoreToDynamoDBPostHandler(ctx echo.Context) error
- func MigrationFirestoreToMongoDBGetHandler(ctx echo.Context) error
- func MigrationFirestoreToMongoDBPostHandler(ctx echo.Context) error
- func MigrationGCPToLinuxGetHandler(ctx echo.Context) error
- func MigrationGCPToLinuxPostHandler(ctx echo.Context) error
- func MigrationGCPToNCPGetHandler(ctx echo.Context) error
- func MigrationGCPToNCPPostHandler(ctx echo.Context) error
- func MigrationGCPToS3GetHandler(ctx echo.Context) error
- func MigrationGCPToS3PostHandler(ctx echo.Context) error
- func MigrationGCPToWindowsGetHandler(ctx echo.Context) error
- func MigrationGCPToWindowsPostHandler(ctx echo.Context) error
- func MigrationLinuxToGCPGetHandler(ctx echo.Context) error
- func MigrationLinuxToGCPPostHandler(ctx echo.Context) error
- func MigrationLinuxToNCPGetHandler(ctx echo.Context) error
- func MigrationLinuxToNCPPostHandler(ctx echo.Context) error
- func MigrationLinuxToS3GetHandler(ctx echo.Context) error
- func MigrationLinuxToS3PostHandler(ctx echo.Context) error
- func MigrationMongoDBToDynamoDBGetHandler(ctx echo.Context) error
- func MigrationMongoDBToDynamoDBPostHandler(ctx echo.Context) error
- func MigrationMongoDBToFirestoreGetHandler(ctx echo.Context) error
- func MigrationMongoDBToFirestorePostHandler(ctx echo.Context) error
- func MigrationMySQLGetHandler(ctx echo.Context) error
- func MigrationMySQLPostHandler(ctx echo.Context) error
- func MigrationNCPToGCPGetHandler(ctx echo.Context) error
- func MigrationNCPToGCPPostHandler(ctx echo.Context) error
- func MigrationNCPToLinuxGetHandler(ctx echo.Context) error
- func MigrationNCPToLinuxPostHandler(ctx echo.Context) error
- func MigrationNCPToS3GetHandler(ctx echo.Context) error
- func MigrationNCPToS3PostHandler(ctx echo.Context) error
- func MigrationNCPToWindowsGetHandler(ctx echo.Context) error
- func MigrationNCPToWindowsPostHandler(ctx echo.Context) error
- func MigrationS3ToGCPGetHandler(ctx echo.Context) error
- func MigrationS3ToGCPPostHandler(ctx echo.Context) error
- func MigrationS3ToLinuxGetHandler(ctx echo.Context) error
- func MigrationS3ToLinuxPostHandler(ctx echo.Context) error
- func MigrationS3ToNCPGetHandler(ctx echo.Context) error
- func MigrationS3ToNCPPostHandler(ctx echo.Context) error
- func MigrationS3ToWindowsGetHandler(ctx echo.Context) error
- func MigrationS3ToWindowsPostHandler(ctx echo.Context) error
- func MigrationWindowsToGCPGetHandler(ctx echo.Context) error
- func MigrationWindowsToGCPPostHandler(ctx echo.Context) error
- func MigrationWindowsToNCPGetHandler(ctx echo.Context) error
- func MigrationWindowsToNCPPostHandler(ctx echo.Context) error
- func MigrationWindowsToS3GetHandler(ctx echo.Context) error
- func MigrationWindowsToS3PostHandler(ctx echo.Context) error
- type AWSMigrationParams
- type GCPMigrationParams
- type GenDataParams
- type GenFirestoreParams
- type GenMySQLParams
- type GenerateS3PostHandlerResponseBody
- type LinuxMigrationParams
- type MigrationForm
- type MigrationMySQLForm
- type MigrationMySQLParams
- type MongoDBParams
- type MongoMigrationParams
- type MySQLParams
- type NCPMigrationParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupHandler ¶
func BackupRootHandler ¶
func GenerateDynamoDBPostHandler ¶
GenerateDynamoDBPostHandler godoc
@Summary Generate test data on AWS DynamoDB
@Description Generate test data on AWS DynamoDB.
@Tags [Test Data Generation]
@Accept json
@Produce json
@Param RequestBody body GenDataParams true "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully generated test data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /generate/dynamodb [post]
func GenerateFirestorePostHandler ¶
GenerateFirestorePostHandler godoc
@Summary Generate test data on GCP Firestore
@Description Generate test data on GCP Firestore.
@Tags [Test Data Generation]
@Accept multipart/form-data
@Produce json
@Param GenFirestoreParams formData GenFirestoreParams true "Parameters required to generate test data"
@Param gcpCredential formData file false "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully generated test data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /generate/firestore [post]
func GenerateGCPGetHandler ¶
func GenerateGCPPostHandler ¶
GenerateGCPPostHandler godoc
@Summary Generate test data on GCP Cloud Storage
@Description Generate test data on GCP Cloud Storage.
@Tags [Test Data Generation]
@Accept multipart/form-data
@Produce json
@Param RequestBody formData GenDataParams true "Parameters required to generate test data"
@Param gcpCredential formData file false "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully generated test data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /generate/gcp [post]
func GenerateLinuxGetHandler ¶
func GenerateLinuxPostHandler ¶
GenerateLinuxPostHandler godoc
@Summary Generate test data on on-premise Linux
@Description Generate test data on on-premise Linux.
@Tags [Test Data Generation]
@Accept json
@Produce json
@Param RequestBody body GenDataParams true "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully generated test data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /generate/linux [post]
func GenerateMongoDBPostHandler ¶
GenerateMongoDBPostHandler godoc
@Summary Generate test data on NCP MongoDB
@Description Generate test data on NCP MongoDB.
@Tags [Test Data Generation]
@Accept json
@Produce json
@Param RequestBody body GenDataParams true "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully generated test data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /generate/mongodb [post]
func GenerateMySQLGetHandler ¶
func GenerateMySQLPostHandler ¶
GenerateMySQLPostHandler godoc
@Summary Generate test data on MySQL
@Description Generate test data on MySQL.
@Tags [Test Data Generation]
@Accept json
@Produce json
@Param RequestBody body GenMySQLParams true "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully generated test data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /generate/mysql [post]
func GenerateNCPGetHandler ¶
func GenerateNCPPostHandler ¶
GenerateNCPPostHandler godoc
@Summary Generate test data on NCP Object Storage
@Description Generate test data on NCP Object Storage.
@Tags [Test Data Generation]
@Accept json
@Produce json
@Param RequestBody body GenDataParams true "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully generated test data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /generate/ncp [post]
func GenerateS3GetHandler ¶
func GenerateS3PostHandler ¶
GenerateS3PostHandler godoc
@Summary Generate test data on AWS S3
@Description Generate test data on AWS S3.
@Tags [Test Data Generation]
@Accept json
@Produce json
@Param RequestBody body GenDataParams true "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully generated test data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /generate/s3 [post]
func GenerateWindowsPostHandler ¶
GenerateWindowsPostHandler godoc
@Summary Generate test data on on-premise Windows
@Description Generate test data on on-premise Windows.
@Tags [Test Data Generation]
@Accept json
@Produce json
@Param RequestBody body GenDataParams true "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully generated test data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /generate/windows [post]
func GetAWSRegions ¶
func GetAWSRegions() []string
func GetGCPRegions ¶
func GetGCPRegions() []string
func GetNCPRegions ¶
func GetNCPRegions() []string
func MainGetHandler ¶
func MigrationDynamoDBToFirestorePostHandler ¶
MigrationDynamoDBToFirestorePostHandler godoc @Summary Migrate data from DynamoDB to Firestore @Description Migrate data stored in AWS DynamoDB to Google Cloud Firestore. @Tags [Data Migration] @Accept multipart/form-data @Produce json @Param AWSMigrationParams formData AWSMigrationParams true "Parameters required for Linux migration" @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" @Param gcpCredential formData file false "Parameters required to generate test data" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/dynamodb/firestore [post]
func MigrationDynamoDBToMongoDBPostHandler ¶
MigrationDynamoDBToMongoDBPostHandler godoc @Summary Migrate data from DynamoDB to MongoDB @Description Migrate data stored in AWS DynamoDB to Naver Cloud MongoDB. @Tags [Data Migration] @Accept json @Produce json @Param AWSMigrationParams body AWSMigrationParams true "Parameters required for AWS migration" @Param MongoMigrationParams body MongoMigrationParams true "Parameters required for NCP migration" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/dynamodb/mongodb [post]
func MigrationFirestoreToDynamoDBPostHandler ¶
MigrationFirestoreToDynamoDBPostHandler godoc @Summary Migrate data from Firestore to DynamoDB @Description Migrate data stored in Google Cloud Firestore to AWS DynamoDB. @Tags [Data Migration] @Accept multipart/form-data @Produce json @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" @Param AWSMigrationParams formData AWSMigrationParams true "Parameters required for AWS migration" @Param gcpCredential formData file false "Parameters required to generate test data" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/firestore/dynamodb [post]
func MigrationFirestoreToMongoDBPostHandler ¶
MigrationFirestoreToMongoDBPostHandler godoc @Summary Migrate data from Firestore to MongoDB @Description Migrate data stored in Google Cloud Firestore to Naver Cloud MongoDB. @Tags [Data Migration] @Accept multipart/form-data @Produce json @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" @Param MongoMigrationParams formData MongoMigrationParams true "Parameters required for NCP migration" @Param gcpCredential formData file false "Parameters required to generate test data" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/firestore/mongodb [post]
func MigrationGCPToLinuxPostHandler ¶
MigrationGCPToLinuxPostHandler godoc
@Summary Migrate data from GCP to Linux
@Description Migrate data stored in GCP Cloud Storage to a Linux-based system.
@Tags [Data Migration]
@Accept multipart/form-data
@Produce json
@Param RequestBody formData MigrationForm true "Parameters required for migration"
@Param gcpCredential formData file false "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/gcp/linux [post]
func MigrationGCPToNCPPostHandler ¶
MigrationGCPToNCPPostHandler godoc
@Summary Migrate data from GCP to NCP Object Storage
@Description Migrate data stored in GCP Cloud Storage to NCP Object Storage.
@Tags [Data Migration]
@Accept multipart/form-data
@Produce json
@Param RequestBody formData MigrationForm true "Parameters required for migration"
@Param gcpCredential formData file false "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/gcp/ncp [post]
func MigrationGCPToS3PostHandler ¶
MigrationGCPToS3PostHandler godoc
@Summary Migrate data from GCP to AWS S3
@Description Migrate data stored in GCP Cloud Storage to AWS S3.
@Tags [Data Migration]
@Accept multipart/form-data
@Produce json
@Param RequestBody formData MigrationForm true "Parameters required for migration"
@Param gcpCredential formData file false "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/gcp/s3 [post]
func MigrationGCPToWindowsPostHandler ¶
MigrationGCPToWindowsPostHandler godoc
@Summary Migrate data from GCP to Windows
@Description Migrate data stored in GCP Cloud Storage to a Windows-based system.
@Tags [Data Migration]
@Accept multipart/form-data
@Produce json
@Param RequestBody formData MigrationForm true "Parameters required for migration"
@Param gcpCredential formData file false "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/gcp/windows [post]
func MigrationLinuxToGCPPostHandler ¶
MigrationLinuxToGCPPostHandler godoc
@Summary Migrate data from Linux to GCP Cloud Storage
@Description Migrate data stored in a Linux-based system to GCP Cloud Storage.
@Tags [Data Migration]
@Accept multipart/form-data
@Produce json
@Param RequestBody formData MigrationForm true "Parameters required for migration"
@Param gcpCredential formData file false "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/linux/gcp [post]
func MigrationLinuxToNCPPostHandler ¶
MigrationLinuxToNCPPostHandler godoc
@Summary Migrate data from Linux to NCP Object Storage
@Description Migrate data stored in a Linux-based system to NCP Object Storage.
@Tags [Data Migration]
@Accept json
@Produce json
@Param RequestBody body MigrationForm true "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/linux/ncp [post]
func MigrationLinuxToS3PostHandler ¶
MigrationLinuxToS3PostHandler godoc
@Summary Migrate data from Linux to AWS S3
@Description Migrate data stored in a Linux-based system to AWS S3.
@Tags [Data Migration]
@Accept json
@Produce json
@Param RequestBody body MigrationForm true "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/linux/s3 [post]
func MigrationMongoDBToDynamoDBPostHandler ¶
MigrationMongoDBToDynamoDBPostHandler godoc @Summary Migrate data from MongoDB to DynamoDB @Description Migrate data stored in Naver Cloud MongoDB to AWS DynamoDB. @Tags [Data Migration] @Accept json @Produce json @Param MongoMigrationParams formData MongoMigrationParams true "Parameters required for NCP migration" @Param AWSMigrationParams formData AWSMigrationParams true "Parameters required for AWS migration" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/mongodb/dynamodb [post]
func MigrationMongoDBToFirestorePostHandler ¶
MigrationMongoDBToFirestorePostHandler godoc @Summary Migrate data from MongoDB to Firestore @Description Migrate data stored in Naver Cloud MongoDB to Google Cloud Firestore. @Tags [Data Migration] @Accept multipart/form-data @Produce json @Param MongoMigrationParams formData MongoMigrationParams true "Parameters required for NCP migration" @Param GCPMigrationParams formData GCPMigrationParams true "Parameters required for GCP migration" @Param gcpCredential formData file false "Parameters required to generate test data" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/mongodb/firestore [post]
func MigrationMySQLPostHandler ¶
MigrationMySQLPostHandler godoc
@Summary Migrate data from MySQL to MySQL
@Description Migrate data from one MySQL database to another MySQL database.
@Tags [Data Migration]
@Accept json
@Produce json
@Param RequestBody body MigrationMySQLForm true "Parameters required for MySQL migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/mysql [post]
func MigrationNCPToGCPPostHandler ¶
MigrationNCPToGCPPostHandler godoc
@Summary Migrate data from NCP to GCP Cloud Storage
@Description Migrate data stored in NCP Object Storage to GCP Cloud Storage.
@Tags [Data Migration]
@Accept multipart/form-data
@Produce json
@Param RequestBody formData MigrationForm true "Parameters required for migration"
@Param gcpCredential formData file false "Parameters required to generate test data"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/ncp/gcp [post]
func MigrationNCPToLinuxPostHandler ¶
MigrationNCPToLinuxPostHandler godoc
@Summary Migrate data from NCP to Linux
@Description Migrate data stored in NCP Object Storage to a Linux-based system.
@Tags [Data Migration]
@Accept json
@Produce json
@Param LinuxMigrationParams body LinuxMigrationParams true "Parameters required for Linux migration"
@Param NCPMigrationParams body NCPMigrationParams true "Parameters required for NCP migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/ncp/linux [post]
func MigrationNCPToS3PostHandler ¶
MigrationNCPToS3PostHandler godoc
@Summary Migrate data from NCP to AWS S3
@Description Migrate data stored in NCP Object Storage to AWS S3.
@Tags [Data Migration]
@Accept json
@Produce json
@Param RequestBody body MigrationForm true "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/ncp/s3 [post]
func MigrationNCPToWindowsPostHandler ¶
MigrationNCPToWindowsPostHandler godoc
@Summary Migrate data from NCP to Windows
@Description Migrate data stored in NCP Object Storage to a Windows-based system.
@Tags [Data Migration]
@Accept json
@Produce json
@Param RequestBody body MigrationForm true "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/ncp/windows [post]
func MigrationS3ToGCPPostHandler ¶
MigrationS3ToGCPPostHandler godoc @Summary Migrate data from AWS S3 to GCP @Description Migrate data stored in AWS S3 to Google Cloud Storage. @Tags [Data Migration] @Accept multipart/form-data @Produce json @Param RequestBody formData MigrationForm true "Parameters required for migration" @Param gcpCredential formData file false "Parameters required to generate test data" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/s3/gcp [post]
func MigrationS3ToLinuxPostHandler ¶
MigrationS3ToLinuxPostHandler godoc @Summary Migrate data from AWS S3 to Linux @Description Migrate data stored in AWS S3 to a Linux-based system. @Tags [Data Migration] @Accept json @Produce json @Param RequestBody body MigrationForm true "Parameters required for migration" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 400 {object} models.BasicResponse "Invalid Request" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/s3/linux [post]
func MigrationS3ToNCPPostHandler ¶
MigrationS3ToNCPPostHandler godoc @Summary Migrate data from AWS S3 to NCP @Description Migrate data stored in AWS S3 to Naver Cloud Object Storage. @Tags [Data Migration] @Accept json @Produce json @Param RequestBody body MigrationForm true "Parameters required for migration" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/s3/ncp [post]
func MigrationS3ToWindowsPostHandler ¶
MigrationS3ToWindowsPostHandler godoc @Summary Migrate data from AWS S3 to Windows @Description Migrate data stored in AWS S3 to a Windows-based system. @Tags [Data Migration] @Accept json @Produce json @Param RequestBody body MigrationForm true "Parameters required for migration" @Success 200 {object} models.BasicResponse "Successfully migrated data" @Failure 400 {object} models.BasicResponse "Invalid Request" @Failure 500 {object} models.BasicResponse "Internal Server Error" @Router /migration/s3/windows [post]
func MigrationWindowsToGCPPostHandler ¶
MigrationWindowsToGCPPostHandler godoc
@Summary Migrate data from Windows to GCP Cloud Storage
@Description Migrate data stored in a Windows-based system to GCP Cloud Storage.
@Tags [Data Migration]
@Accept multipart/form-data
@Produce json
@Param RequestBody formData MigrationForm true "Parameters required for migration"
@Param gcpCredential formData file false "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/windows/gcp [post]
func MigrationWindowsToNCPPostHandler ¶
MigrationWindowsToNCPPostHandler godoc
@Summary Migrate data from Windows to NCP Object Storage
@Description Migrate data stored in a Windows-based system to NCP Object Storage.
@Tags [Data Migration]
@Accept json
@Produce json
@Param RequestBody body MigrationForm true "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/windows/ncp [post]
func MigrationWindowsToS3PostHandler ¶
MigrationWindowsToS3PostHandler godoc
@Summary Migrate data from Windows to AWS S3
@Description Migrate data stored in a Windows-based system to AWS S3.
@Tags [Data Migration]
@Accept json
@Produce json
@Param RequestBody body MigrationForm true "Parameters required for migration"
@Success 200 {object} models.BasicResponse "Successfully migrated data"
@Failure 400 {object} models.BasicResponse "Invalid Request"
@Failure 500 {object} models.BasicResponse "Internal Server Error"
@Router /migration/windows/s3 [post]
Types ¶
type AWSMigrationParams ¶
type GCPMigrationParams ¶
type GCPMigrationParams struct {
ProjectID string `json:"projectId" form:"projectId"`
DatabaseID string `json:"databaseId" form:"databaseId"`
GCPRegion string `form:"gcpRegion" json:"gcpRegion"`
GCPBucket string `form:"gcpBucket" json:"gcpBucket"`
GCPCredentialJson string `form:"gcpCredentialJson" json:"gcpCredentialJson"`
GCPCredential *multipart.FileHeader `form:"gcpCredential" json:"-" swaggerignore:"true"`
}
type GenDataParams ¶
type GenDataParams struct {
Region string `json:"region" form:"region"`
AccessKey string `json:"accessKey" form:"accessKey"`
SecretKey string `json:"secretKey" form:"secretKey"`
Bucket string `json:"bucket" form:"bucket"`
Endpoint string `json:"endpoint" form:"endpoint"`
DummyPath string `json:"path" form:"path"`
CheckSQL string `json:"checkSQL" form:"checkSQL"`
CheckCSV string `json:"checkCSV" form:"checkCSV"`
CheckTXT string `json:"checkTXT" form:"checkTXT"`
CheckPNG string `json:"checkPNG" form:"checkPNG"`
CheckGIF string `json:"checkGIF" form:"checkGIF"`
CheckZIP string `json:"checkZIP" form:"checkZIP"`
CheckJSON string `json:"checkJSON" form:"checkJSON"`
CheckXML string `json:"checkXML" form:"checkXML"`
CheckServerJSON string `json:"checkServerJSON" form:"checkServerJSON"`
CheckServerSQL string `json:"checkServerSQL" form:"checkServerSQL"`
SizeSQL string `json:"sizeSQL" form:"sizeSQL"`
SizeCSV string `json:"sizeCSV" form:"sizeCSV"`
SizeTXT string `json:"sizeTXT" form:"sizeTXT"`
SizePNG string `json:"sizePNG" form:"sizePNG"`
SizeGIF string `json:"sizeGIF" form:"sizeGIF"`
SizeZIP string `json:"sizeZIP" form:"sizeZIP"`
SizeJSON string `json:"sizeJSON" form:"sizeJSON"`
SizeXML string `json:"sizeXML" form:"sizeXML"`
SizeServerJSON string `json:"sizeServerJSON" form:"sizeServerJSON"`
SizeServerSQL string `json:"sizeServerSQL" form:"sizeServerSQL"`
DBProvider string `json:"provider" form:"provider"`
DBHost string `json:"host" form:"host"`
DBPort string `json:"port" form:"port"`
DBUser string `json:"username" form:"username"`
DBPassword string `json:"password" form:"password"`
DatabaseName string `json:"databaseName" form:"databaseName"`
GCPCredential *multipart.FileHeader `json:"-" form:"gcpCredential" swaggerignore:"true"`
GCPCredentialJson string `json:"gcpCredentialJson" form:"gcpCredentialJson"`
DatabaseID string `json:"databaseId" form:"databaseId"`
ProjectID string `json:"projectId" form:"projectId"`
}
type GenFirestoreParams ¶
type GenFirestoreParams struct {
Region string `json:"region" form:"region"`
GCPCredential *multipart.FileHeader `json:"-" form:"gcpCredential" swaggerignore:"true"`
GCPCredentialJson string `json:"gcpCredentialJson" form:"gcpCredentialJson"`
DatabaseID string `json:"databaseId" form:"databaseId"`
ProjectID string `json:"projectId" form:"projectId"`
}
type GenMySQLParams ¶
type GenMySQLParams struct {
DBProvider string `json:"provider" form:"provider"`
DBHost string `json:"host" form:"host"`
DBPort string `json:"port" form:"port"`
DBUser string `json:"username" form:"username"`
DBPassword string `json:"password" form:"password"`
DatabaseName string `json:"databaseName" form:"databaseName"`
}
type GenerateS3PostHandlerResponseBody ¶
type GenerateS3PostHandlerResponseBody struct {
models.BasicResponse
}
type LinuxMigrationParams ¶
type LinuxMigrationParams struct {
Path string `form:"path" json:"path"`
}
type MigrationForm ¶
type MigrationForm struct {
Path string `form:"path" json:"path"`
AWSRegion string `form:"awsRegion" json:"awsRegion"`
AWSAccessKey string `form:"awsAccessKey" json:"awsAccessKey"`
AWSSecretKey string `form:"awsSecretKey" json:"awsSecretKey"`
AWSBucket string `form:"awsBucket" json:"awsBucket"`
ProjectID string `json:"projectId" form:"projectId"`
DatabaseID string `json:"databaseId" form:"databaseId"`
GCPRegion string `form:"gcpRegion" json:"gcpRegion"`
GCPBucket string `form:"gcpBucket" json:"gcpBucket"`
GCPCredentialJson string `form:"gcpCredentialJson" json:"gcpCredentialJson"`
GCPCredential *multipart.FileHeader `form:"gcpCredential" json:"-" swaggerignore:"true"`
NCPRegion string `form:"ncpRegion" json:"ncpRegion"`
NCPAccessKey string `form:"ncpAccessKey" json:"ncpAccessKey"`
NCPSecretKey string `form:"ncpSecretKey" json:"ncpSecretKey"`
NCPEndPoint string `form:"ncpEndpoint" json:"ncpEndpoint"`
NCPBucket string `form:"ncpBucket" json:"ncpBucket"`
MongoHost string `form:"host" json:"host"`
MongoPort string `form:"port" json:"port"`
MongoUsername string `form:"username" json:"username"`
MongoPassword string `form:"password" json:"password"`
MongoDBName string `form:"databaseName" json:"databaseName"`
}
MigrationForm represents the form data required for migration processes. @Description MigrationForm contains all the necessary fields for migrating data between different services.
type MigrationMySQLForm ¶
type MigrationMySQLForm struct {
SProvider string `json:"srcProvider" form:"srcProvider"`
SHost string `json:"srcHost" form:"srcHost"`
SPort string `json:"srcPort" form:"srcPort"`
SUsername string `json:"srcUsername" form:"srcUsername"`
SPassword string `json:"srcPassword" form:"srcPassword"`
SDatabaseName string `json:"srcDatabaseName" form:"srcDatabaseName"`
DProvider string `json:"destProvider" form:"destProvider"`
DHost string `json:"destHost" form:"destHost"`
DPort string `json:"destPort" form:"destPort"`
DUsername string `json:"destUsername" form:"destUsername"`
DPassword string `json:"destPassword" form:"destPassword"`
DDatabaseName string `json:"destDatabaseName" form:"destDatabaseName"`
}
type MigrationMySQLParams ¶
type MigrationMySQLParams struct {
Source MySQLParams
Dest MySQLParams
}
func GetMigrationParamsFormFormData ¶
func GetMigrationParamsFormFormData(form MigrationMySQLForm) MigrationMySQLParams
type MongoDBParams ¶
type MongoMigrationParams ¶
type MySQLParams ¶
type NCPMigrationParams ¶
type NCPMigrationParams struct {
NCPRegion string `form:"ncpRegion" json:"ncpRegion"`
NCPAccessKey string `form:"ncpAccessKey" json:"ncpAccessKey"`
NCPSecretKey string `form:"ncpSecretKey" json:"ncpSecretKey"`
NCPEndPoint string `form:"ncpEndpoint" json:"ncpEndpoint"`
NCPBucket string `form:"ncpBucket" json:"ncpBucket"`
}