2025-05-21 04:42:30 +00:00
|
|
|
package form
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
tagentity "mayfly-go/internal/tag/domain/entity"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type InstanceForm struct {
|
2025-05-24 16:22:54 +08:00
|
|
|
Id uint64 `json:"id"`
|
2025-10-23 15:29:27 +08:00
|
|
|
Protocol string `binding:"required" json:"protocol"`
|
2025-05-24 16:22:54 +08:00
|
|
|
Name string `binding:"required" json:"name"`
|
|
|
|
|
Host string `binding:"required" json:"host"`
|
|
|
|
|
Port int `binding:"required" json:"port"`
|
|
|
|
|
Version string `json:"version"`
|
|
|
|
|
Remark *string `json:"remark"`
|
|
|
|
|
SshTunnelMachineId int `json:"sshTunnelMachineId"`
|
2025-05-21 04:42:30 +00:00
|
|
|
|
|
|
|
|
AuthCerts []*tagentity.ResourceAuthCert `json:"authCerts"` // 资产授权凭证信息列表
|
|
|
|
|
TagCodePaths []string `binding:"required" json:"tagCodePaths"`
|
|
|
|
|
}
|