Delete cloudstack dir, revendor

This commit is contained in:
Megan Marsh
2021-04-20 13:46:11 -07:00
parent dc63b9a7a4
commit 9044deeb05
91 changed files with 872 additions and 3418 deletions
+2 -22
View File
@@ -148,8 +148,6 @@ type CreatePodResponse struct {
Forsystemvms []string `json:"forsystemvms"`
Gateway string `json:"gateway"`
Id string `json:"id"`
JobID string `json:"jobid"`
Jobstatus int `json:"jobstatus"`
Name string `json:"name"`
Netmask string `json:"netmask"`
Startip []string `json:"startip"`
@@ -264,12 +262,11 @@ func (s *PodService) DedicatePod(p *DedicatePodParams) (*DedicatePodResponse, er
}
type DedicatePodResponse struct {
JobID string `json:"jobid"`
Accountid string `json:"accountid"`
Affinitygroupid string `json:"affinitygroupid"`
Domainid string `json:"domainid"`
Id string `json:"id"`
JobID string `json:"jobid"`
Jobstatus int `json:"jobstatus"`
Podid string `json:"podid"`
Podname string `json:"podname"`
}
@@ -323,8 +320,6 @@ func (s *PodService) DeletePod(p *DeletePodParams) (*DeletePodResponse, error) {
type DeletePodResponse struct {
Displaytext string `json:"displaytext"`
JobID string `json:"jobid"`
Jobstatus int `json:"jobstatus"`
Success bool `json:"success"`
}
@@ -343,14 +338,6 @@ func (r *DeletePodResponse) UnmarshalJSON(b []byte) error {
}
}
if ostypeid, ok := m["ostypeid"].(float64); ok {
m["ostypeid"] = strconv.Itoa(int(ostypeid))
b, err = json.Marshal(m)
if err != nil {
return err
}
}
type alias DeletePodResponse
return json.Unmarshal(b, (*alias)(r))
}
@@ -479,8 +466,6 @@ type DedicatedPod struct {
Affinitygroupid string `json:"affinitygroupid"`
Domainid string `json:"domainid"`
Id string `json:"id"`
JobID string `json:"jobid"`
Jobstatus int `json:"jobstatus"`
Podid string `json:"podid"`
Podname string `json:"podname"`
}
@@ -706,8 +691,6 @@ type Pod struct {
Forsystemvms []string `json:"forsystemvms"`
Gateway string `json:"gateway"`
Id string `json:"id"`
JobID string `json:"jobid"`
Jobstatus int `json:"jobstatus"`
Name string `json:"name"`
Netmask string `json:"netmask"`
Startip []string `json:"startip"`
@@ -794,9 +777,8 @@ func (s *PodService) ReleaseDedicatedPod(p *ReleaseDedicatedPodParams) (*Release
}
type ReleaseDedicatedPodResponse struct {
Displaytext string `json:"displaytext"`
JobID string `json:"jobid"`
Jobstatus int `json:"jobstatus"`
Displaytext string `json:"displaytext"`
Success bool `json:"success"`
}
@@ -920,8 +902,6 @@ type UpdatePodResponse struct {
Forsystemvms []string `json:"forsystemvms"`
Gateway string `json:"gateway"`
Id string `json:"id"`
JobID string `json:"jobid"`
Jobstatus int `json:"jobstatus"`
Name string `json:"name"`
Netmask string `json:"netmask"`
Startip []string `json:"startip"`