MCPcopy Index your code
hub / github.com/apache/cloudstack-go / UpdateIso

Method UpdateIso

cloudstack/ISOService.go:3441–3453  ·  view source on GitHub ↗

Updates an ISO file.

(p *UpdateIsoParams)

Source from the content-addressed store, hash-verified

3439
3440// Updates an ISO file.
3441func (s *ISOService) UpdateIso(p *UpdateIsoParams) (*UpdateIsoResponse, error) {
3442 resp, err := s.cs.newPostRequest("updateIso", p.toURLValues())
3443 if err != nil {
3444 return nil, err
3445 }
3446
3447 var r UpdateIsoResponse
3448 if err := json.Unmarshal(resp, &r); err != nil {
3449 return nil, err
3450 }
3451
3452 return &r, nil
3453}
3454
3455type UpdateIsoResponse struct {
3456 Account string `json:"account"`

Callers

nothing calls this directly

Calls 2

newPostRequestMethod · 0.80
toURLValuesMethod · 0.45

Tested by

no test coverage detected