mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-01 23:10:26 +08:00
20 lines
721 B
Go
20 lines
721 B
Go
package form
|
|
|
|
import (
|
|
tagentity "mayfly-go/internal/tag/domain/entity"
|
|
)
|
|
|
|
type InstanceForm struct {
|
|
Id uint64 `json:"id"`
|
|
Protocol string `binding:"required" json:"protocol"`
|
|
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"`
|
|
|
|
AuthCerts []*tagentity.ResourceAuthCert `json:"authCerts"` // 资产授权凭证信息列表
|
|
TagCodePaths []string `binding:"required" json:"tagCodePaths"`
|
|
}
|