mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 16:30:25 +08:00 
			
		
		
		
	
		
			
	
	
		
			19 lines
		
	
	
		
			649 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			649 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package form
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import (
							 | 
						||
| 
								 | 
							
									tagentity "mayfly-go/internal/tag/domain/entity"
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type InstanceForm struct {
							 | 
						||
| 
								 | 
							
									Id                 uint64 `json:"id"`
							 | 
						||
| 
								 | 
							
									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"`
							 | 
						||
| 
								 | 
							
								}
							 |