errors

package
v0.11.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckSumMismatchError = errors.New("checksum mismatch")
View Source
var CompileFailed = errors.New("failed to compile kcl.")
View Source
var EntryFileNotFound = errors.New("entry file cannot be found, please make sure the '--input' entry file can be found")
View Source
var FailedDownloadError = errors.New("failed to download dependency")
View Source
var FailedLogin = errors.New("failed to login, please check registry, username and password is valid.")

Invalid oci

View Source
var FailedLogout = errors.New("failed to logout, the registry not logged in.")
View Source
var FailedPull = errors.New("failed to pull kcl package")
View Source
var FailedPushToOci = errors.New("failed to push kcl package tar to oci.")
View Source
var FailedToLoadPackage = errors.New("failed to load package, please check the package path is valid.")
View Source
var FailedToPackage = errors.New("failed to package.")
View Source
var FailedToVendorDependency = errors.New("failed to vendor dependency")
View Source
var FailedUnTarKclPackage = errors.New("failed to untar kcl package, please re-download")
View Source
var InternalBug = errors.New("internal bug, please contact us and we will fix the problem.")
View Source
var InvalidAddOptions = errors.New("invalid 'kpm add' argument, you must provide a package name or url for the package")

Invalid 'kpm add'

View Source
var InvalidAddOptionsInvalidGitUrl = errors.New("invalid 'kpm add' argument, you must provide a Git Url for the package.")
View Source
var InvalidAddOptionsInvalidOciRef = errors.New("invalid 'kpm add' argument, you must provide a valid Oci Ref for the package.")
View Source
var InvalidAddOptionsInvalidOciReg = errors.New("invalid 'kpm add' argument, you must provide a Reg for the package.")
View Source
var InvalidAddOptionsInvalidOciRepo = errors.New("invalid 'kpm add' argument, you must provide a Repo for the package.")
View Source
var InvalidDependency = errors.New("invalid dependency.")
View Source
var InvalidInitOptions = errors.New("invalid 'kpm init' argument, you must provide a name for the package to be initialized.")

Invalid Options Format Errors Invalid 'kpm init'

View Source
var InvalidKclPacakgeTar = errors.New("the kcl package tar path is an invalid *.tar file")
View Source
var InvalidKpmHomeInCurrentPkg = errors.New("environment variable KCL_PKG_PATH cannot be set to the same path as the current KCL package.")

Invalid KCL_PKG_PATH

View Source
var InvalidOciRef = errors.New("invalid oci reference.")
View Source
var InvalidOciUrl = errors.New("invalid oci url")
View Source
var InvalidPkg = errors.New("invalid kcl package.")
View Source
var InvalidRunOptionsWithoutEntryFiles = errors.New("invalid 'kpm run' argument, you must provide an entry file.")

Invalid 'kpm run'

View Source
var InvalidVersionFormat = errors.New("failed to parse version.")

Invalid Version

View Source
var IsOciRef = errors.New("oci ref is not an url.")
View Source
var KclPacakgeTarNotFound = errors.New("the kcl package tar path is not found")
View Source
var MultipleSources = errors.New("multiple sources found, there must be a single source.")

Invalid 'kpm update'

View Source
var NoKclFiles = errors.New("No input KCL files")

No kcl files

View Source
var NotOciUrl = errors.New("url is not an oci url.")
View Source
var PathIsEmpty = errors.New("path is empty.")
View Source
var PathNotFound = errors.New("path not found.")
View Source
var UnknownEnv = errors.New("invalid environment variable")
View Source
var UnknownTarFormat = errors.New("unknown tar format.")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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