Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDataUnmarshal will happen when translate the string to the struct, or cannot translate structure from one type to the other. ErrDataUnmarshal = newKappError(commonErrCode, http.StatusBadRequest, 1, "Data unmarshal error.") // ErrServiceInstall has some problem for CloudNativeService deploying failed. May because of cluster disconnection, or cluster limitation problems. ErrServiceInstall = newKappError(serviceErrCode, http.StatusBadRequest, 2, "Service install error.") // ErrServiceParam cannot analysis or get the param from request ErrServiceParam = newKappError(serviceErrCode, http.StatusBadRequest, 3, "Parameter is invalid.") // ErrServiceDelete cannot delete the service in cluster ErrServiceDelete = newKappError(serviceErrCode, http.StatusBadRequest, 4, "ServiceBinding delete error.") // ErrServiceInstanceCreate cannot deploy the user's instance into cluster ErrServiceInstanceCreate = newKappError(serviceInstanceErrCode, http.StatusInternalServerError, 1, "Service Instance create error.") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.