apps

package
v0.122.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download added in v0.97.0

func Download(remoteURL string) (string, error)

Download downloads a file from remoteURL to a temp directory and returns the path to the downloaded file

func IsRemote added in v0.97.0

func IsRemote(name string) bool

IsRemote (naively) checks if the given string is a remote url

func IsStorageReference added in v0.69.0

func IsStorageReference(link string) bool

IsStorageReference checks if a link is an entry of app-storage.

func StandardizeReferenceLink(storageRef string) string

StandardizeReferenceLink standardize the provided storageID reference to make it work for VMD and RDC.

func Validate

func Validate(kind, app string, validExt []string) error

Validate validates that the apps is valid (storageID / File / URL).

Types

This section is empty.

Jump to

Keyboard shortcuts

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