2022-10-26 20:49:29 +08:00
|
|
|
package entity
|
|
|
|
|
|
2024-01-15 20:51:41 +08:00
|
|
|
import "time"
|
|
|
|
|
|
2022-10-26 20:49:29 +08:00
|
|
|
type MachineQuery struct {
|
2023-07-20 22:41:13 +08:00
|
|
|
Ids string `json:"ids" form:"ids"`
|
2024-04-06 18:19:17 +08:00
|
|
|
Code string `json:"code" form:"code"`
|
2023-07-08 20:05:55 +08:00
|
|
|
Name string `json:"name" form:"name"`
|
2023-11-07 21:05:21 +08:00
|
|
|
Status int8 `json:"status" form:"status"`
|
2023-07-08 20:05:55 +08:00
|
|
|
Ip string `json:"ip" form:"ip"` // IP地址
|
|
|
|
|
TagPath string `json:"tagPath" form:"tagPath"`
|
2024-04-06 04:03:38 +00:00
|
|
|
Ssh int8 `json:"ssh" form:"ssh"`
|
2023-12-05 23:03:51 +08:00
|
|
|
|
|
|
|
|
Codes []string
|
2023-07-08 20:05:55 +08:00
|
|
|
}
|
2022-10-26 20:49:29 +08:00
|
|
|
|
2023-07-08 20:05:55 +08:00
|
|
|
type AuthCertQuery struct {
|
|
|
|
|
Id uint64 `json:"id" form:"id"`
|
|
|
|
|
Name string `json:"name" form:"name"`
|
|
|
|
|
AuthMethod string `json:"authMethod" form:"authMethod"` // IP地址
|
2022-10-26 20:49:29 +08:00
|
|
|
}
|
2024-01-15 20:51:41 +08:00
|
|
|
|
|
|
|
|
type MachineTermOpQuery struct {
|
|
|
|
|
StartCreateTime *time.Time
|
|
|
|
|
}
|