auth

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteNRDMFunc

func DeleteNRDMFunc(datamoldParams *DatamoldParams) error

func DeleteOSFunc

func DeleteOSFunc(datamoldParams *DatamoldParams) error

func DeleteRDMFunc

func DeleteRDMFunc(datamoldParams *DatamoldParams) error

func ExportNRDMFunc

func ExportNRDMFunc(datamoldParams *DatamoldParams) error

func ExportOSFunc

func ExportOSFunc(datamoldParams *DatamoldParams) error

func ExportRDMFunc

func ExportRDMFunc(datamoldParams *DatamoldParams) error

func GetConfig

func GetConfig(credPath string, ConfigData *map[string]map[string]map[string]string) error

func GetDstNRDMS

func GetDstNRDMS(datamoldParams *DatamoldParams) (*nrdbc.NRDBController, error)

func GetDstOS

func GetDstOS(datamoldParams *DatamoldParams) (*osc.OSController, error)

func GetDstRDMS

func GetDstRDMS(datamoldParams *DatamoldParams) (*rdbc.RDBController, error)

func GetSrcNRDMS

func GetSrcNRDMS(datamoldParams *DatamoldParams) (*nrdbc.NRDBController, error)

func GetSrcOS

func GetSrcOS(datamoldParams *DatamoldParams) (*osc.OSController, error)

func GetSrcRDMS

func GetSrcRDMS(datamoldParams *DatamoldParams) (*rdbc.RDBController, error)

func ImportNRDMFunc

func ImportNRDMFunc(datamoldParams *DatamoldParams) error

func ImportOSFunc

func ImportOSFunc(datamoldParams *DatamoldParams) error

func ImportRDMFunc

func ImportRDMFunc(datamoldParams *DatamoldParams) error

func MigrationNRDMFunc

func MigrationNRDMFunc(datamoldParams *DatamoldParams) error

func MigrationOSFunc

func MigrationOSFunc(datamoldParams *DatamoldParams) error

func MigrationRDMFunc

func MigrationRDMFunc(datamoldParams *DatamoldParams) error

func PreRun

func PreRun(task string, datamoldParams *DatamoldParams, use string)

Types

type DatamoldParams

type DatamoldParams struct {
	// credential
	CredentialPath string
	ConfigData     map[string]map[string]map[string]string
	TaskTarget     bool

	//src
	SrcProvider    string
	SrcAccessKey   string
	SrcSecretKey   string
	SrcRegion      string
	SrcBucketName  string
	SrcGcpCredPath string
	SrcGcpCredJson string
	SrcProjectID   string
	SrcDatabaseID  string
	SrcEndpoint    string
	SrcUsername    string
	SrcPassword    string
	SrcHost        string
	SrcPort        string
	SrcDBName      string

	//dst
	DstProvider    string
	DstAccessKey   string
	DstSecretKey   string
	DstRegion      string
	DstBucketName  string
	DstGcpCredPath string
	DstGcpCredJson string
	DstProjectID   string
	DstDatabaseID  string
	DstEndpoint    string
	DstUsername    string
	DstPassword    string
	DstHost        string
	DstPort        string
	DstDBName      string

	// dummy
	DstPath  string
	SqlSize  int
	CsvSize  int
	JsonSize int
	XmlSize  int
	TxtSize  int
	PngSize  int
	GifSize  int
	ZipSize  int

	DeleteDBList    []string
	DeleteTableList []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL