@@ -34,24 +34,26 @@ type DeploymentCreate struct {
3434
3535// DeploymentResponse represents a deployment response
3636type DeploymentResponse struct {
37- ID string `json:"id"`
38- ClientID string `json:"client_id"`
39- AppName string `json:"app_name"`
40- Image string `json:"image"`
41- Replicas int `json:"replicas"`
42- CPULimit string `json:"cpu_limit"`
43- MemoryLimit string `json:"memory_limit"`
44- CPURequest string `json:"cpu_request"`
45- MemoryRequest string `json:"memory_request"`
46- HTTPPort * int `json:"http_port"`
47- TCPPort * int `json:"tcp_port"`
48- TCPNodePort * int `json:"tcp_node_port"`
49- EnvironmentVars map [string ]string `json:"environment_vars"`
50- Status string `json:"status"`
51- CreatedAt time.Time `json:"created_at"`
52- UpdatedAt * time.Time `json:"updated_at"`
53- URL * string `json:"url"`
54- TCPConnection * string `json:"tcp_connection"`
37+ ID string `json:"id"`
38+ ClientID string `json:"client_id"`
39+ AppName string `json:"app_name"`
40+ Image string `json:"image"`
41+ Replicas int `json:"replicas"`
42+ CPULimit string `json:"cpu_limit"`
43+ MemoryLimit string `json:"memory_limit"`
44+ CPURequest string `json:"cpu_request"`
45+ MemoryRequest string `json:"memory_request"`
46+ HTTPPort * int `json:"http_port"`
47+ TCPPort * int `json:"tcp_port"`
48+ TCPNodePort * int `json:"tcp_node_port"`
49+ EnvironmentVars map [string ]string `json:"environment_vars"`
50+ PersistentVolumeSize string `json:"persistent_volume_size,omitempty"`
51+ PersistentVolumeMountPath string `json:"persistent_volume_mount_path,omitempty"`
52+ Status string `json:"status"`
53+ CreatedAt time.Time `json:"created_at"`
54+ UpdatedAt * time.Time `json:"updated_at"`
55+ URL * string `json:"url"`
56+ TCPConnection * string `json:"tcp_connection"`
5557}
5658
5759// DeploymentList represents a list of deployments
@@ -62,15 +64,17 @@ type DeploymentList struct {
6264
6365// DeploymentStatus represents deployment status details
6466type DeploymentStatus struct {
65- AppName string `json:"app_name"`
66- Status string `json:"status"`
67- ReplicasReady int `json:"replicas_ready"`
68- ReplicasDesired int `json:"replicas_desired"`
69- Pods []map [string ]string `json:"pods"`
70- URL * string `json:"url"`
71- TCPConnection * string `json:"tcp_connection"`
72- URLNote * string `json:"url_note,omitempty"`
73- TLSCertificate * TLSCertificateInfo `json:"tls_certificate,omitempty"`
67+ AppName string `json:"app_name"`
68+ Status string `json:"status"`
69+ ReplicasReady int `json:"replicas_ready"`
70+ ReplicasDesired int `json:"replicas_desired"`
71+ Pods []map [string ]string `json:"pods"`
72+ URL * string `json:"url"`
73+ TCPConnection * string `json:"tcp_connection"`
74+ URLNote * string `json:"url_note,omitempty"`
75+ TLSCertificate * TLSCertificateInfo `json:"tls_certificate,omitempty"`
76+ PersistentVolumeSize string `json:"persistent_volume_size,omitempty"`
77+ PersistentVolumeMountPath string `json:"persistent_volume_mount_path,omitempty"`
7478}
7579
7680// TLSCertificateInfo represents TLS certificate status
0 commit comments