MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / ServerResourceResponse

Struct ServerResourceResponse

cli/internal/model/response/resource.go:21–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19package response
20
21type ServerResourceResponse struct {
22 GVA_MODEL
23 Type ReourceTypeEnum `json:"type"`
24 Name string `json:"name"`
25 AuthenticationType AuthenticationTypeEnum `json:"authentication_type"`
26 IP string `json:"ip" `
27 Port int `json:"port" `
28 Status ResourceStatusEnum `json:"status" `
29 // ssh 模式下的用户名 && k8s ingress 用户名
30 UserName string `json:"username" `
31 // ssh 模式 用户名密码验证方式的密码 && k8s ingress 密码
32 Password string `json:"password" `
33 SSHKey string `json:"sshkey" `
34
35 KubeConfigContent string `json:"kube_config"`
36 KubeBaseDNS string `json:"kube_ingress_base_dns" `
37 KubeContext string `json:"kube_context" `
38
39 //KubeUserName string `json:"kube_ingress_user_name"`
40 //KubePassword string `json:"kube_ingress_password"`
41
42 OwnerGUID string `json:"ownerGuid" `
43 OwnerName string `json:"ownerName" `
44}
45
46// 资源类型
47type ReourceTypeEnum int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected