Documentation
¶
Index ¶
- func IsKsError(err error) bool
- type Error
- func AlreadyKeystoneProject(cause error) *Error
- func AlreadySubscribed(cause error) *Error
- func AsKsError(err error) *Error
- func BackupDenied(cause error) *Error
- func BadDeviceName(cause error) *Error
- func BadOrganizationName(cause error) *Error
- func CannotAddFile(path string, cause error) *Error
- func CannotAddMembers(cause error) *Error
- func CannotCopyFile(path string, cachepath string, cause error) *Error
- func CannotCreateDirectory(path string, cause error) *Error
- func CannotFindProjectID(cause error) *Error
- func CannotGetEnvironmentKeys(environment string, cause error) *Error
- func CannotReadEnvironment(path string, cause error) *Error
- func CannotRemoveDirectory(path string, cause error) *Error
- func CannotRemoveDirectoryContents(path string, cause error) *Error
- func CannotRemoveFile(path string, cause error) *Error
- func CannotRemoveMembers(cause error) *Error
- func CannotSaveConfig(cause error) *Error
- func CannotSaveFiles(filelist string, cause error) *Error
- func CannotSetFile(path string, cause error) *Error
- func CannotUpgrade(cause error) *Error
- func CiServiceAlreadyExists(servicename string, cause error) *Error
- func CopyFailed(source string, destination string, cause error) *Error
- func CouldNotAddService(servicename string, cause error) *Error
- func CouldNotChangeService(servicename string, cause error) *Error
- func CouldNotCleanService(cause error) *Error
- func CouldNotCreateArchive(cause error) *Error
- func CouldNotDecryptMessages(message string, cause error) *Error
- func CouldNotEncryptMessages(cause error) *Error
- func CouldNotParseMessage(cause error) *Error
- func CouldNotRemoveLocalFiles(cause error) *Error
- func CouldNotRemoveService(cause error) *Error
- func CouldNotSendToCIService(cause error) *Error
- func CouldntSendInvite(cause error) *Error
- func CouldntSetRole(cause error) *Error
- func DeviceNotRegistered(cause error) *Error
- func EncryptionFailed(cause error) *Error
- func EnvironmentDoesntExist(environment string, available string, cause error) *Error
- func EnvironmentsHaveChanged(environmentsname string, cause error) *Error
- func FailedCheckingChanges(path string, cause error) *Error
- func FailedToReadBackup(cause error) *Error
- func FailedToReadDotEnv(path string, cause error) *Error
- func FailedToReadKeystoneFile(path string, cause error) *Error
- func FailedToSetCurrentEnvironment(environment string, path string, cause error) *Error
- func FailedToUpdateDotEnv(path string, cause error) *Error
- func FailedToUpdateKeystoneFile(cause error) *Error
- func FailedToWriteBackup(cause error) *Error
- func FeatureRequiresToUpgrade(cause error) *Error
- func FileDoesNotExist(filename string, cause error) *Error
- func FileHasChanged(filepath string, affectedenvironments string, cause error) *Error
- func FileNotInEnvironment(path string, environment string, cause error) *Error
- func FileNotInWorkingDirectory(filepath string, wd string, cause error) *Error
- func InitFailed(cause error) *Error
- func InvalidConnectionToken(cause error) *Error
- func InvalidFileContent(path string, cause error) *Error
- func ManagementInaccessible(cause error) *Error
- func MemberHasNoAccessToEnv(cause error) *Error
- func MissingCIInformation(servicename string, cause error) *Error
- func MustBeLoggedIn(cause error) *Error
- func MustOwnTheOrganization(cause error) *Error
- func NameDoesNotMatch(cause error) *Error
- func NewError(name string, help string, meta map[string]interface{}, cause error) *Error
- func NoCIServices(cause error) *Error
- func NoSuchService(servicename string, cause error) *Error
- func NoWorkingDirectory(cause error) *Error
- func NotAKeystoneProject(path string, cause error) *Error
- func OrganizationDoesNotExist(cause error) *Error
- func OrganizationNameAlreadyTaken(cause error) *Error
- func OrganizationNotPaid(cause error) *Error
- func PayloadErrors(cause error) *Error
- func PermissionDenied(environment string, cause error) *Error
- func ProjectDoesntExist(projectname string, projectid string, cause error) *Error
- func RequiredFilesAreMissing(missingfiles []string, environmentname string, cause error) *Error
- func RequiredSecretsAreMissing(missingsecrets []string, environmentname string, cause error) *Error
- func RestoreDenied(cause error) *Error
- func RoleDoesNotExist(rolename string, cause error) *Error
- func RoleNeedsUpgrade(cause error) *Error
- func SecretDoesNotExist(secret string, cause error) *Error
- func SecretHasChanged(secret string, values string, cause error) *Error
- func SecretRequired(secret string, cause error) *Error
- func ServiceNotAvailable(cause error) *Error
- func UnkownError(cause error) *Error
- func UnsupportedFlag(flag string, cause error) *Error
- func UsersDontExist(message string, cause error) *Error
- func YouDoNotOwnTheOrganization(organizationname string, cause error) *Error
- func YouHaveLocallyModifiedFiles(environment string, files []string, cause error) *Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func AlreadyKeystoneProject ¶
func AlreadySubscribed ¶
func AsKsError ¶
AsKsError function dynamically casts an `error` into a keystone `Error`. You should use `IsKsError(error) bool` beforehand to ensure this cast will wor
func BackupDenied ¶
func BadDeviceName ¶
func BadOrganizationName ¶
func CannotAddFile ¶
func CannotAddMembers ¶
func CannotCreateDirectory ¶
func CannotFindProjectID ¶
func CannotReadEnvironment ¶
func CannotRemoveDirectory ¶
func CannotRemoveFile ¶
func CannotRemoveMembers ¶
func CannotSaveConfig ¶
func CannotSaveFiles ¶
func CannotSetFile ¶
func CannotUpgrade ¶
func CiServiceAlreadyExists ¶
func CouldNotAddService ¶
func CouldNotChangeService ¶
func CouldNotCleanService ¶
func CouldNotCreateArchive ¶
func CouldNotDecryptMessages ¶
func CouldNotEncryptMessages ¶
func CouldNotParseMessage ¶
func CouldNotRemoveService ¶
func CouldNotSendToCIService ¶
func CouldntSendInvite ¶
func CouldntSetRole ¶
func DeviceNotRegistered ¶
func EncryptionFailed ¶
func EnvironmentDoesntExist ¶
func EnvironmentsHaveChanged ¶
func FailedCheckingChanges ¶
func FailedToReadBackup ¶
func FailedToReadDotEnv ¶
func FailedToUpdateDotEnv ¶
func FailedToWriteBackup ¶
func FileDoesNotExist ¶
func FileHasChanged ¶
func FileNotInEnvironment ¶
func InitFailed ¶
func InvalidConnectionToken ¶
func InvalidFileContent ¶
func ManagementInaccessible ¶
func MemberHasNoAccessToEnv ¶
func MissingCIInformation ¶
func MustBeLoggedIn ¶
func MustOwnTheOrganization ¶
func NameDoesNotMatch ¶
func NoCIServices ¶
func NoSuchService ¶
func NoWorkingDirectory ¶
func NotAKeystoneProject ¶
func OrganizationNotPaid ¶
func PayloadErrors ¶
func PermissionDenied ¶
func ProjectDoesntExist ¶
func RequiredFilesAreMissing ¶
func RestoreDenied ¶
func RoleDoesNotExist ¶
func RoleNeedsUpgrade ¶
func SecretDoesNotExist ¶
func SecretRequired ¶
func ServiceNotAvailable ¶
func UnkownError ¶
func UnsupportedFlag ¶
func UsersDontExist ¶
Click to show internal directories.
Click to hide internal directories.