storagemanager

package
v0.0.0-...-3ec4577 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptArtifact

func EncryptArtifact(artifactPath string) (string, error)

EncryptArtifact encrypts the given artifact and returns the path to the encrypted file

func SwitchBackend

func SwitchBackend(env string) string

SwitchBackend determines the appropriate storage backend based on the environment

func UploadArtifact

func UploadArtifact(encryptedArtifactPath, backend string) error

UploadArtifact uploads the encrypted artifact to the specified storage backend

Types

This section is empty.

Jump to

Keyboard shortcuts

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