messages

package
v1.0.2-beta10 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

View Source
const (
	//AuthenticationFailed indicate authentication to IAM endpoint failed. e,g IAM_TOKEN refresh
	AuthenticationFailed = "AuthenticationFailed"
	//VolumeAttachFailed indicates if volume attach to instance is failed
	VolumeAttachFailed = "VolumeAttachFailed"
	//VolumeDetachFailed indicates if volume detach from instance is failed
	VolumeDetachFailed = "VolumeDetachFailed"
	//VolumeAttachFindFailed indicates if the volume attachment is not found with given request
	VolumeAttachFindFailed = "VolumeAttachFindFailed"
	//VolumeAttachTimedOut indicates the volume attach is not completed within the specified time out
	VolumeAttachTimedOut = "VolumeAttachTimedOut"
	//VolumeDetachTimedOut indicates the volume detach is not completed within the specified time out
	VolumeDetachTimedOut = "VolumeDetachTimedOut"
)

Variables

View Source
var MessagesEn map[string]util.Message

MessagesEn ...

Functions

func GetUserErr

func GetUserErr(code string, err error, args ...interface{}) error

GetUserErr ...

func GetUserError

func GetUserError(code string, err error, args ...interface{}) error

GetUserError ...

func GetUserMsg

func GetUserMsg(code string, args ...interface{}) util.Message

GetUserMsg ...

func InitMessages

func InitMessages() map[string]util.Message

InitMessages ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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