Documentation ¶
Index ¶
Constants ¶
View Source
const ( SUCCESS = "SUCCESS" FAIL = "FAIL" CONFIG_PENDING = "CONFIG_PENDING" INVALID_PARAMETERS = "INVALID_PARAMETERS" RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND" RESOURCE_ALREADY_EXIST = "RESOURCE_ALREADY_EXIST" PARAMETER_ILLEGAL = "PARAMETER_ILLEGAL" INVALID_POST_DATA = "INVALID_POST_DATA" SERVER_ERROR = "SERVER_ERROR" RESOURCE_NUM_EXCEEDED = "RESOURCE_NUM_EXCEEDED" SELECTED_RESOURCES_NUM_EXCEEDED = "SELECTED_RESOURCES_NUM_EXCEEDED" SERVICE_UNAVAILABLE = "SERVICE_UNAVAILABLE" GET_ORG_DB_FAIL = "GET_ORG_DB_FAIL" K8S_SET_VTAP_FAIL = "K8S_SET_VTAP_FAIL" ORG_ID_INVALID = "ORG_ID_INVALID" CHECK_SCOPE_TEAMS_FAIL = "CHECK_SCOPE_TEAMS_FAIL" SET_RESOUORCE_FAIL = "SET_RESOUORCE_FAIL" NO_PERMISSIONS = "NO_PERMISSIONS" // http status codes STATUES_PARTIAL_CONTENT = "STATUES_PARTIAL_CONTENT" // 206 )
Variables ¶
View Source
var ( ERR_NO_PERMISSIONS = errors.New("NO_PERMISSIONS") ERR_FPERMIT_EXCEPTION = errors.New("FPERMIT_EXCEPTION") )
View Source
var ( ErrorFail = errors.New("FAIL") ErrorPending = errors.New("PENDING") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.