| 28 | ) |
| 29 | |
| 30 | type ISOServiceIface interface { |
| 31 | AttachIso(p *AttachIsoParams) (*AttachIsoResponse, error) |
| 32 | NewAttachIsoParams(id string, virtualmachineid string) *AttachIsoParams |
| 33 | CopyIso(p *CopyIsoParams) (*CopyIsoResponse, error) |
| 34 | NewCopyIsoParams(id string) *CopyIsoParams |
| 35 | DeleteIso(p *DeleteIsoParams) (*DeleteIsoResponse, error) |
| 36 | NewDeleteIsoParams(id string) *DeleteIsoParams |
| 37 | DetachIso(p *DetachIsoParams) (*DetachIsoResponse, error) |
| 38 | NewDetachIsoParams(virtualmachineid string) *DetachIsoParams |
| 39 | ExtractIso(p *ExtractIsoParams) (*ExtractIsoResponse, error) |
| 40 | NewExtractIsoParams(id string, mode string) *ExtractIsoParams |
| 41 | GetUploadParamsForIso(p *GetUploadParamsForIsoParams) (*GetUploadParamsForIsoResponse, error) |
| 42 | NewGetUploadParamsForIsoParams(format string, name string, zoneid string) *GetUploadParamsForIsoParams |
| 43 | ListIsoPermissions(p *ListIsoPermissionsParams) (*ListIsoPermissionsResponse, error) |
| 44 | NewListIsoPermissionsParams(id string) *ListIsoPermissionsParams |
| 45 | GetIsoPermissionByID(id string, opts ...OptionFunc) (*IsoPermission, int, error) |
| 46 | ListIsos(p *ListIsosParams) (*ListIsosResponse, error) |
| 47 | NewListIsosParams() *ListIsosParams |
| 48 | GetIsoID(name string, isofilter string, zoneid string, opts ...OptionFunc) (string, int, error) |
| 49 | GetIsoByName(name string, isofilter string, zoneid string, opts ...OptionFunc) (*Iso, int, error) |
| 50 | GetIsoByID(id string, opts ...OptionFunc) (*Iso, int, error) |
| 51 | RegisterIso(p *RegisterIsoParams) (*RegisterIsoResponse, error) |
| 52 | NewRegisterIsoParams(displaytext string, name string, url string, zoneid string) *RegisterIsoParams |
| 53 | UpdateIso(p *UpdateIsoParams) (*UpdateIsoResponse, error) |
| 54 | NewUpdateIsoParams(id string) *UpdateIsoParams |
| 55 | UpdateIsoPermissions(p *UpdateIsoPermissionsParams) (*UpdateIsoPermissionsResponse, error) |
| 56 | NewUpdateIsoPermissionsParams(id string) *UpdateIsoPermissionsParams |
| 57 | } |
| 58 | |
| 59 | type AttachIsoParams struct { |
| 60 | p map[string]interface{} |
no outgoing calls
no test coverage detected