Discover Packages
github.com/necais/cnfut
command
module
Version:
v0.0.0-...-1c4a6df
Opens a new window with list of versions in this module.
Published: Jan 24, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
qa34hj7wj9d4
CNFUT is a cloud native solution for copying files and directories between public clouds and file systems.
Supported systems are: S3, Google, Azure and Local
S3 supported systems
Google cloud storage
Azure Blob Storage
Local file copies
Deploy to kubernetes
necais/cnfut could be used for deployment in kubernetes. Instructions for sample deployment can be found
here :
Usage
Copies file between two systems
URL
/api/v1/
Method:
POST
Data Params
Parameter
Explanation
Type
Default values
Example
Mandatory
source
Where is the source of data located(file, folder)
String
None
/data/data3
Yes
destination
Where to copy the data(file or folder)
String
None
/data/
Yes
sourceType
Source type: s3, google, azure, local
String
None
local
Yes
destinationType
Destination type: s3, google, azure, local
String
None
s3
Yes
Concurrent
Should copy executed concurrently
Boolean
None
true
No
Region
Region of the resource(AWS Region)
String
us-east-1
us-east-1
No
Bucket
Bucket name in the cloud
String
None
data
No
GoogleCredentialPath
Credential file path for Google
String
None
/home/necais
No
S3AccessKeyId
S3 access key
String
None
ieuwqhefbdsnbfs
No
S3SecretAccessKey
S3 secret key
String
None
fdsgdfbcvbchghf
No
Endpoint
URL to endpoint
String
None
https://cnfut.blob.core.windows.net
No
Success Response:
Code: 202 Accepted
Content: { status : Accepted }
Error Response:
Code: 400 Bad Request
Content: { error : "Fields are not provided" }
Sample Call:
{
"source": "/data/data/data3",
"destination": "data1",
"sourceType": "local",
"destinationType": "azure",
"bucket": "cnfut-container",
"endpoint": "https://cnfut.blob.core.windows.net"
}
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.