-
Notifications
You must be signed in to change notification settings - Fork 1
/
constant.go
34 lines (23 loc) · 1.1 KB
/
constant.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package service
// NormalMode is the literal of normal mode returned from gql.
const NormalMode = "Normal"
// ReadOnlyMode is the literal of read-only mode returned from gql.
const ReadOnlyMode = "ReadOnly"
// DirectUploadMethod is the literal used in the arags of the import command.
const DirectUploadMethod = "direct"
// S3UploadMethod is the literal used in the arags of the import command.
const S3UploadMethod = "s3"
// MinioUploadMethod is the literal used in the arags of the import command.
const MinioUploadMethod = "minio"
// OSSUploadMethod is the literal used in the arags of the import command.
const OSSUploadMethod = "oss"
// Pending represents the image or model or meta pending state.
const Pending = "Pending"
// Ready represents the image or model or meta ready state.
const Ready = "Ready"
// Failed represents the image or model or meta failed state.
const Failed = "Failed"
// Yes represents an answer of yes.
const Yes = "YES"
// ValidMetafileNames specifies the valid metafile names.
var ValidMetafileNames = []string{"camera.txt", "pose.txt", "group.txt", "initial.xms", "initial.xms.zip"}