util

package
v0.0.0-...-db80e62 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SOURCE_TYPE                   string
	SOURCE_ENDPOINT               string
	SOURCE_USE_SSL                bool
	SOURCE_IGNORE_SSL_CERT        bool
	SOURCE_ACCESS_KEY_ID          string
	SOURCE_ACCESS_KEY_SECRET      string
	DESTINATION_ENDPOINT          string
	DESTINATION_ACCESS_KEY_ID     string
	DESTINATION_ACCESS_KEY_SECRET string
	DESTINATION_USE_SSL           bool
	DESTINATION_IGNORE_SSL_CERT   bool
	DESTINATION_BUCKET            string
	DESTINATION_FILE_PREFIX       string
)

Functions

func LoadEnv

func LoadEnv() error

LoadEnv loads OS environment variables

func Zip

func Zip(source string, target string) error

Zip compresses a directory to a zip file

Types

This section is empty.

Jump to

Keyboard shortcuts

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