package
Version:
v0.0.0-...-f3f878c
Opens a new window with list of versions in this module.
Published: Dec 22, 2022
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Upload(file *os.File, host string, namespace, name, system, version string) error
-
func UploadDir(dir, host, namespace, name, system, version string) error
-
func Zip(dir string) (*os.File, func() error, error)
upload to registry host with the /modules/namespaces/name/provider/version/upload endpoint
func UploadDir(dir, host, namespace, name, system, version string) error
create archtive and upload to registry host
Upload uploads a file to S3.
takes the the dir path, creates a tar zip and uploads to a server with the /.../upload endpoint
Source Files
¶
Click to show internal directories.
Click to hide internal directories.