| skipped 94 lines |
95 | 95 | | ReportType string `gorm:"type:varchar(255);default:'text'" json:"report_type"` |
96 | 96 | | } |
97 | 97 | | |
98 | | - | // // CloudInstance store cloud scan information to check |
99 | | - | // type CloudInstance struct { |
100 | | - | // Model |
101 | | - | // InstanceName string `gorm:"type:varchar(255)" json:"instance_name"` |
102 | | - | // Token string `gorm:"type:varchar(255)" json:"token"` |
103 | | - | // AccessKeyId string `gorm:"type:varchar(255)" json:"access_key_id"` |
104 | | - | // SecretKey string `gorm:"type:varchar(255)" json:"secret_key"` |
105 | | - | // Provider string `gorm:"type:varchar(255)" json:"provider"` |
106 | | - | |
107 | | - | // InputName string `gorm:"type:varchar(255)" json:"input_name"` |
108 | | - | // IPAddress string `gorm:"type:varchar(255)" json:"ip_address"` |
109 | | - | // InstanceID string `gorm:"type:varchar(255)" json:"instance_id"` |
110 | | - | // SnapShotID string `gorm:"type:varchar(255)" json:"snap_shot_id"` |
111 | | - | |
112 | | - | // // running / deleted / preparing |
113 | | - | // Status string `gorm:"type:varchar(255)" json:"status"` |
114 | | - | // IsError bool `json:"is_error"` |
115 | | - | |
116 | | - | // IsChunk bool `json:"is_chunk"` |
117 | | - | // } |
118 | | - | |