errors

package
v1.36.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadConfigFilterErr

func BadConfigFilterErr(filter []string) error

BadConfigFilterErr specifies no configs matched the configs filter

func ConfigParsingError

func ConfigParsingError(err error) error

ConfigParsingError returns a generic config parsing error

func ConfigProfileActivationErr

func ConfigProfileActivationErr(config, file string, err error) error

ConfigProfileActivationErr specifies that profile activation failed for this config

func ConfigProfileConflictErr

func ConfigProfileConflictErr(config, file string) error

ConfigProfileConflictErr specifies that the same config is imported with different set of profiles.

func ConfigProfilesNotMatchedErr added in v1.24.0

func ConfigProfilesNotMatchedErr(profiles []string) error

ConfigProfilesNotMatchedErr specifies that the profiles selected via the `--profile` flag could not be matched against any config

func ConfigSetAbsFilePathsErr

func ConfigSetAbsFilePathsErr(config, file string, err error) error

ConfigSetAbsFilePathsErr specifies that substituting absolute filepaths failed for this config

func ConfigSetDefaultValuesErr

func ConfigSetDefaultValuesErr(config, file string, err error) error

ConfigSetDefaultValuesErr specifies that default values failed to be applied for this config

func ConfigUnknownAPIVersionErr added in v1.24.1

func ConfigUnknownAPIVersionErr(version string) error

ConfigUnknownAPIVersionErr specifies that the config API version doesn't match any known versions.

func DependencyConfigFileNotFoundErr

func DependencyConfigFileNotFoundErr(depFile, parentFile string, err error) error

DependencyConfigFileNotFoundErr specifies dependency configuration file not found

func DuplicateConfigNamesAcrossFilesErr

func DuplicateConfigNamesAcrossFilesErr(config, file1, file2 string) error

DuplicateConfigNamesAcrossFilesErr specifies that multiple configs have the same name in different files

func DuplicateConfigNamesInSameFileErr

func DuplicateConfigNamesInSameFileErr(config, file string) error

DuplicateConfigNamesInSameFileErr specifies that multiple configs have the same name in current config file

func MainConfigFileNotFoundErr

func MainConfigFileNotFoundErr(file string, err error) error

MainConfigFileNotFoundErr specifies main configuration file not found

func ZeroConfigsParsedErr

func ZeroConfigsParsedErr(file string) error

ZeroConfigsParsedErr specifies that the config file 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