From d5782abb594b72b6ee4f253813e438e69ce6666d Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Thu, 11 May 2017 12:09:08 +0200 Subject: [PATCH] govendor: update go-cloudstack dependency (#14385) Fixes #14044 --- .../cloudstack/APIDiscoveryService.go | 1 + .../cloudstack/AccountService.go | 12 +++++++ .../cloudstack/AddressService.go | 4 +++ .../cloudstack/AffinityGroupService.go | 5 +++ .../go-cloudstack/cloudstack/AlertService.go | 4 +++ .../cloudstack/AsyncjobService.go | 2 ++ .../cloudstack/AuthenticationService.go | 2 ++ .../cloudstack/AutoScaleService.go | 20 +++++++++++ .../cloudstack/BaremetalService.go | 8 +++++ .../cloudstack/CertificateService.go | 1 + .../cloudstack/CloudIdentifierService.go | 1 + .../cloudstack/ClusterService.go | 7 ++++ .../cloudstack/ConfigurationService.go | 7 ++++ .../cloudstack/DiskOfferingService.go | 4 +++ .../go-cloudstack/cloudstack/DomainService.go | 6 ++++ .../go-cloudstack/cloudstack/EventService.go | 4 +++ .../cloudstack/FirewallService.go | 36 +++++++++++++++++++ .../cloudstack/GuestOSService.go | 9 +++++ .../go-cloudstack/cloudstack/HostService.go | 17 +++++++++ .../cloudstack/HypervisorService.go | 3 ++ .../go-cloudstack/cloudstack/ISOService.go | 10 ++++++ .../cloudstack/ImageStoreService.go | 8 +++++ .../cloudstack/InternalLBService.go | 6 ++++ .../go-cloudstack/cloudstack/LDAPService.go | 1 + .../go-cloudstack/cloudstack/LimitService.go | 5 +++ .../cloudstack/LoadBalancerService.go | 34 ++++++++++++++++++ .../go-cloudstack/cloudstack/NATService.go | 5 +++ .../cloudstack/NetworkACLService.go | 9 +++++ .../cloudstack/NetworkDeviceService.go | 3 ++ .../cloudstack/NetworkOfferingService.go | 4 +++ .../cloudstack/NetworkService.go | 27 ++++++++++++++ .../go-cloudstack/cloudstack/NicService.go | 4 +++ .../cloudstack/NiciraNVPService.go | 3 ++ .../cloudstack/OvsElementService.go | 2 ++ .../go-cloudstack/cloudstack/PodService.go | 7 ++++ .../go-cloudstack/cloudstack/PoolService.go | 5 +++ .../cloudstack/PortableIPService.go | 3 ++ .../cloudstack/ProjectService.go | 9 +++++ .../go-cloudstack/cloudstack/QuotaService.go | 1 + .../go-cloudstack/cloudstack/RegionService.go | 4 +++ .../cloudstack/ResourcemetadataService.go | 3 ++ .../cloudstack/ResourcetagsService.go | 4 +++ .../go-cloudstack/cloudstack/RouterService.go | 9 +++++ .../go-cloudstack/cloudstack/SSHService.go | 5 +++ .../cloudstack/SecurityGroupService.go | 7 ++++ .../cloudstack/ServiceOfferingService.go | 4 +++ .../cloudstack/SnapshotService.go | 12 +++++++ .../cloudstack/StoragePoolService.go | 3 ++ .../cloudstack/StratosphereSSPService.go | 1 + .../go-cloudstack/cloudstack/SwiftService.go | 2 ++ .../cloudstack/SystemCapacityService.go | 1 + .../cloudstack/SystemVMService.go | 8 +++++ .../cloudstack/TemplateService.go | 12 +++++++ .../go-cloudstack/cloudstack/UCSService.go | 5 +++ .../go-cloudstack/cloudstack/UsageService.go | 12 +++++++ .../go-cloudstack/cloudstack/UserService.go | 12 +++++++ .../go-cloudstack/cloudstack/VLANService.go | 6 ++++ .../cloudstack/VMGroupService.go | 4 +++ .../go-cloudstack/cloudstack/VPCService.go | 15 ++++++++ .../go-cloudstack/cloudstack/VPNService.go | 20 +++++++++++ .../cloudstack/VirtualMachineService.go | 21 +++++++++++ .../go-cloudstack/cloudstack/VolumeService.go | 14 ++++++++ .../go-cloudstack/cloudstack/ZoneService.go | 7 ++++ vendor/vendor.json | 6 ++-- 64 files changed, 493 insertions(+), 3 deletions(-) diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/APIDiscoveryService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/APIDiscoveryService.go index 490d36d65..0b9029e6c 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/APIDiscoveryService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/APIDiscoveryService.go @@ -63,6 +63,7 @@ func (s *APIDiscoveryService) ListApis(p *ListApisParams) (*ListApisResponse, er if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AccountService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AccountService.go index 28b50b66a..3a2bf1c95 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AccountService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AccountService.go @@ -210,6 +210,7 @@ func (s *AccountService) CreateAccount(p *CreateAccountParams) (*CreateAccountRe if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -345,6 +346,7 @@ func (s *AccountService) DeleteAccount(p *DeleteAccountParams) (*DeleteAccountRe return nil, err } } + return &r, nil } @@ -457,6 +459,7 @@ func (s *AccountService) UpdateAccount(p *UpdateAccountParams) (*UpdateAccountRe if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -631,6 +634,7 @@ func (s *AccountService) DisableAccount(p *DisableAccountParams) (*DisableAccoun return nil, err } } + return &r, nil } @@ -773,6 +777,7 @@ func (s *AccountService) EnableAccount(p *EnableAccountParams) (*EnableAccountRe if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -905,6 +910,7 @@ func (s *AccountService) LockAccount(p *LockAccountParams) (*LockAccountResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1223,6 +1229,7 @@ func (s *AccountService) ListAccounts(p *ListAccountsParams) (*ListAccountsRespo if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1392,6 +1399,7 @@ func (s *AccountService) MarkDefaultZoneForAccount(p *MarkDefaultZoneForAccountP return nil, err } } + return &r, nil } @@ -1550,6 +1558,7 @@ func (s *AccountService) AddAccountToProject(p *AddAccountToProjectParams) (*Add return nil, err } } + return &r, nil } @@ -1629,6 +1638,7 @@ func (s *AccountService) DeleteAccountFromProject(p *DeleteAccountFromProjectPar return nil, err } } + return &r, nil } @@ -1775,6 +1785,7 @@ func (s *AccountService) ListProjectAccounts(p *ListProjectAccountsParams) (*Lis if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1895,6 +1906,7 @@ func (s *AccountService) GetSolidFireAccountId(p *GetSolidFireAccountIdParams) ( if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AddressService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AddressService.go index 9ffc6d9b8..698558218 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AddressService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AddressService.go @@ -177,6 +177,7 @@ func (s *AddressService) AssociateIpAddress(p *AssociateIpAddressParams) (*Assoc return nil, err } } + return &r, nil } @@ -283,6 +284,7 @@ func (s *AddressService) DisassociateIpAddress(p *DisassociateIpAddressParams) ( return nil, err } } + return &r, nil } @@ -624,6 +626,7 @@ func (s *AddressService) ListPublicIpAddresses(p *ListPublicIpAddressesParams) ( if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -762,6 +765,7 @@ func (s *AddressService) UpdateIpAddress(p *UpdateIpAddressParams) (*UpdateIpAdd return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AffinityGroupService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AffinityGroupService.go index 48f1b0f93..c62b40146 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AffinityGroupService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AffinityGroupService.go @@ -143,6 +143,7 @@ func (s *AffinityGroupService) CreateAffinityGroup(p *CreateAffinityGroupParams) return nil, err } } + return &r, nil } @@ -261,6 +262,7 @@ func (s *AffinityGroupService) DeleteAffinityGroup(p *DeleteAffinityGroupParams) return nil, err } } + return &r, nil } @@ -528,6 +530,7 @@ func (s *AffinityGroupService) ListAffinityGroups(p *ListAffinityGroupsParams) ( if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -636,6 +639,7 @@ func (s *AffinityGroupService) UpdateVMAffinityGroup(p *UpdateVMAffinityGroupPar return nil, err } } + return &r, nil } @@ -882,6 +886,7 @@ func (s *AffinityGroupService) ListAffinityGroupTypes(p *ListAffinityGroupTypesP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AlertService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AlertService.go index dc73a2177..df6d5bfdc 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AlertService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AlertService.go @@ -206,6 +206,7 @@ func (s *AlertService) ListAlerts(p *ListAlertsParams) (*ListAlertsResponse, err if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -298,6 +299,7 @@ func (s *AlertService) ArchiveAlerts(p *ArchiveAlertsParams) (*ArchiveAlertsResp if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -382,6 +384,7 @@ func (s *AlertService) DeleteAlerts(p *DeleteAlertsParams) (*DeleteAlertsRespons if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -495,6 +498,7 @@ func (s *AlertService) GenerateAlert(p *GenerateAlertParams) (*GenerateAlertResp return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AsyncjobService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AsyncjobService.go index b3e1fd89a..cafc3d87a 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AsyncjobService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AsyncjobService.go @@ -76,6 +76,7 @@ func (s *AsyncjobService) QueryAsyncJobResult(p *QueryAsyncJobResultParams) (*Qu if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -216,6 +217,7 @@ func (s *AsyncjobService) ListAsyncJobs(p *ListAsyncJobsParams) (*ListAsyncJobsR if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AuthenticationService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AuthenticationService.go index b97e70cfa..21094548d 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AuthenticationService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AuthenticationService.go @@ -100,6 +100,7 @@ func (s *AuthenticationService) Login(p *LoginParams) (*LoginResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -148,6 +149,7 @@ func (s *AuthenticationService) Logout(p *LogoutParams) (*LogoutResponse, error) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AutoScaleService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AutoScaleService.go index 27e328616..f3fd54e49 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/AutoScaleService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/AutoScaleService.go @@ -111,6 +111,7 @@ func (s *AutoScaleService) CreateCounter(p *CreateCounterParams) (*CreateCounter return nil, err } } + return &r, nil } @@ -233,6 +234,7 @@ func (s *AutoScaleService) CreateCondition(p *CreateConditionParams) (*CreateCon return nil, err } } + return &r, nil } @@ -351,6 +353,7 @@ func (s *AutoScaleService) CreateAutoScalePolicy(p *CreateAutoScalePolicyParams) return nil, err } } + return &r, nil } @@ -517,6 +520,7 @@ func (s *AutoScaleService) CreateAutoScaleVmProfile(p *CreateAutoScaleVmProfileP return nil, err } } + return &r, nil } @@ -688,6 +692,7 @@ func (s *AutoScaleService) CreateAutoScaleVmGroup(p *CreateAutoScaleVmGroupParam return nil, err } } + return &r, nil } @@ -768,6 +773,7 @@ func (s *AutoScaleService) DeleteCounter(p *DeleteCounterParams) (*DeleteCounter return nil, err } } + return &r, nil } @@ -835,6 +841,7 @@ func (s *AutoScaleService) DeleteCondition(p *DeleteConditionParams) (*DeleteCon return nil, err } } + return &r, nil } @@ -902,6 +909,7 @@ func (s *AutoScaleService) DeleteAutoScalePolicy(p *DeleteAutoScalePolicyParams) return nil, err } } + return &r, nil } @@ -969,6 +977,7 @@ func (s *AutoScaleService) DeleteAutoScaleVmProfile(p *DeleteAutoScaleVmProfileP return nil, err } } + return &r, nil } @@ -1036,6 +1045,7 @@ func (s *AutoScaleService) DeleteAutoScaleVmGroup(p *DeleteAutoScaleVmGroupParam return nil, err } } + return &r, nil } @@ -1227,6 +1237,7 @@ func (s *AutoScaleService) ListCounters(p *ListCountersParams) (*ListCountersRes if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1421,6 +1432,7 @@ func (s *AutoScaleService) ListConditions(p *ListConditionsParams) (*ListConditi if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1631,6 +1643,7 @@ func (s *AutoScaleService) ListAutoScalePolicies(p *ListAutoScalePoliciesParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1875,6 +1888,7 @@ func (s *AutoScaleService) ListAutoScaleVmProfiles(p *ListAutoScaleVmProfilesPar if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2122,6 +2136,7 @@ func (s *AutoScaleService) ListAutoScaleVmGroups(p *ListAutoScaleVmGroupsParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2211,6 +2226,7 @@ func (s *AutoScaleService) EnableAutoScaleVmGroup(p *EnableAutoScaleVmGroupParam return nil, err } } + return &r, nil } @@ -2296,6 +2312,7 @@ func (s *AutoScaleService) DisableAutoScaleVmGroup(p *DisableAutoScaleVmGroupPar return nil, err } } + return &r, nil } @@ -2417,6 +2434,7 @@ func (s *AutoScaleService) UpdateAutoScalePolicy(p *UpdateAutoScalePolicyParams) return nil, err } } + return &r, nil } @@ -2570,6 +2588,7 @@ func (s *AutoScaleService) UpdateAutoScaleVmProfile(p *UpdateAutoScaleVmProfileP return nil, err } } + return &r, nil } @@ -2736,6 +2755,7 @@ func (s *AutoScaleService) UpdateAutoScaleVmGroup(p *UpdateAutoScaleVmGroupParam return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/BaremetalService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/BaremetalService.go index c1b7eaaba..861d16b3e 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/BaremetalService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/BaremetalService.go @@ -156,6 +156,7 @@ func (s *BaremetalService) AddBaremetalPxeKickStartServer(p *AddBaremetalPxeKick return nil, err } } + return &r, nil } @@ -344,6 +345,7 @@ func (s *BaremetalService) AddBaremetalPxePingServer(p *AddBaremetalPxePingServe return nil, err } } + return &r, nil } @@ -465,6 +467,7 @@ func (s *BaremetalService) AddBaremetalDhcp(p *AddBaremetalDhcpParams) (*AddBare return nil, err } } + return &r, nil } @@ -578,6 +581,7 @@ func (s *BaremetalService) ListBaremetalDhcp(p *ListBaremetalDhcpParams) (*ListB if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -684,6 +688,7 @@ func (s *BaremetalService) ListBaremetalPxeServers(p *ListBaremetalPxeServersPar if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -762,6 +767,7 @@ func (s *BaremetalService) AddBaremetalRct(p *AddBaremetalRctParams) (*AddBareme return nil, err } } + return &r, nil } @@ -829,6 +835,7 @@ func (s *BaremetalService) DeleteBaremetalRct(p *DeleteBaremetalRctParams) (*Del return nil, err } } + return &r, nil } @@ -904,6 +911,7 @@ func (s *BaremetalService) ListBaremetalRct(p *ListBaremetalRctParams) (*ListBar if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/CertificateService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/CertificateService.go index a13fcdfc2..24052d415 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/CertificateService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/CertificateService.go @@ -131,6 +131,7 @@ func (s *CertificateService) UploadCustomCertificate(p *UploadCustomCertificateP return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/CloudIdentifierService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/CloudIdentifierService.go index 99eeba2c8..7bc4acb7c 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/CloudIdentifierService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/CloudIdentifierService.go @@ -64,6 +64,7 @@ func (s *CloudIdentifierService) GetCloudIdentifier(p *GetCloudIdentifierParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ClusterService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ClusterService.go index 0ba05b4d9..ea5984228 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ClusterService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ClusterService.go @@ -269,6 +269,7 @@ func (s *ClusterService) AddCluster(p *AddClusterParams) (*AddClusterResponse, e if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -343,6 +344,7 @@ func (s *ClusterService) DeleteCluster(p *DeleteClusterParams) (*DeleteClusterRe if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -449,6 +451,7 @@ func (s *ClusterService) UpdateCluster(p *UpdateClusterParams) (*UpdateClusterRe if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -729,6 +732,7 @@ func (s *ClusterService) ListClusters(p *ListClustersParams) (*ListClustersRespo if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -851,6 +855,7 @@ func (s *ClusterService) DedicateCluster(p *DedicateClusterParams) (*DedicateClu return nil, err } } + return &r, nil } @@ -922,6 +927,7 @@ func (s *ClusterService) ReleaseDedicatedCluster(p *ReleaseDedicatedClusterParam return nil, err } } + return &r, nil } @@ -1041,6 +1047,7 @@ func (s *ClusterService) ListDedicatedClusters(p *ListDedicatedClustersParams) ( if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ConfigurationService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ConfigurationService.go index b4a6a7b1b..280c7e654 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ConfigurationService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ConfigurationService.go @@ -120,6 +120,7 @@ func (s *ConfigurationService) UpdateConfiguration(p *UpdateConfigurationParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -264,6 +265,7 @@ func (s *ConfigurationService) ListConfigurations(p *ListConfigurationsParams) ( if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -312,6 +314,7 @@ func (s *ConfigurationService) ListCapabilities(p *ListCapabilitiesParams) (*Lis if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -403,6 +406,7 @@ func (s *ConfigurationService) ListDeploymentPlanners(p *ListDeploymentPlannersP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -504,6 +508,7 @@ func (s *ConfigurationService) ListLdapConfigurations(p *ListLdapConfigurationsP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -573,6 +578,7 @@ func (s *ConfigurationService) AddLdapConfiguration(p *AddLdapConfigurationParam if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -624,6 +630,7 @@ func (s *ConfigurationService) DeleteLdapConfiguration(p *DeleteLdapConfiguratio if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/DiskOfferingService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/DiskOfferingService.go index ee85a07e3..3ecc3e0d0 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/DiskOfferingService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/DiskOfferingService.go @@ -255,6 +255,7 @@ func (s *DiskOfferingService) CreateDiskOffering(p *CreateDiskOfferingParams) (* if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -371,6 +372,7 @@ func (s *DiskOfferingService) UpdateDiskOffering(p *UpdateDiskOfferingParams) (* if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -441,6 +443,7 @@ func (s *DiskOfferingService) DeleteDiskOffering(p *DeleteDiskOfferingParams) (* if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -655,6 +658,7 @@ func (s *DiskOfferingService) ListDiskOfferings(p *ListDiskOfferingsParams) (*Li if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/DomainService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/DomainService.go index e21afbd82..eed3310fe 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/DomainService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/DomainService.go @@ -100,6 +100,7 @@ func (s *DomainService) CreateDomain(p *CreateDomainParams) (*CreateDomainRespon if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -216,6 +217,7 @@ func (s *DomainService) UpdateDomain(p *UpdateDomainParams) (*UpdateDomainRespon if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -337,6 +339,7 @@ func (s *DomainService) DeleteDomain(p *DeleteDomainParams) (*DeleteDomainRespon return nil, err } } + return &r, nil } @@ -541,6 +544,7 @@ func (s *DomainService) ListDomains(p *ListDomainsParams) (*ListDomainsResponse, if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -792,6 +796,7 @@ func (s *DomainService) ListDomainChildren(p *ListDomainChildrenParams) (*ListDo if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -939,6 +944,7 @@ func (s *DomainService) LinkDomainToLdap(p *LinkDomainToLdapParams) (*LinkDomain if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/EventService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/EventService.go index 84a8b9273..32e6ba92d 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/EventService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/EventService.go @@ -259,6 +259,7 @@ func (s *EventService) ListEvents(p *ListEventsParams) (*ListEventsResponse, err if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -314,6 +315,7 @@ func (s *EventService) ListEventTypes(p *ListEventTypesParams) (*ListEventTypesR if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -402,6 +404,7 @@ func (s *EventService) ArchiveEvents(p *ArchiveEventsParams) (*ArchiveEventsResp if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -486,6 +489,7 @@ func (s *EventService) DeleteEvents(p *DeleteEventsParams) (*DeleteEventsRespons if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/FirewallService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/FirewallService.go index 566643ab8..c0b6740ee 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/FirewallService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/FirewallService.go @@ -287,10 +287,16 @@ func (s *FirewallService) ListPortForwardingRules(p *ListPortForwardingRulesPara return nil, err } + resp, err = convertFirewallServiceResponse(resp) + if err != nil { + return nil, err + } + var r ListPortForwardingRulesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -530,6 +536,7 @@ func (s *FirewallService) CreatePortForwardingRule(p *CreatePortForwardingRulePa return nil, err } } + return &r, nil } @@ -628,6 +635,7 @@ func (s *FirewallService) DeletePortForwardingRule(p *DeletePortForwardingRulePa return nil, err } } + return &r, nil } @@ -762,6 +770,7 @@ func (s *FirewallService) UpdatePortForwardingRule(p *UpdatePortForwardingRulePa return nil, err } } + return &r, nil } @@ -960,6 +969,7 @@ func (s *FirewallService) CreateFirewallRule(p *CreateFirewallRuleParams) (*Crea return nil, err } } + return &r, nil } @@ -1054,6 +1064,7 @@ func (s *FirewallService) DeleteFirewallRule(p *DeleteFirewallRuleParams) (*Dele return nil, err } } + return &r, nil } @@ -1276,10 +1287,16 @@ func (s *FirewallService) ListFirewallRules(p *ListFirewallRulesParams) (*ListFi return nil, err } + resp, err = convertFirewallServiceResponse(resp) + if err != nil { + return nil, err + } + var r ListFirewallRulesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1406,6 +1423,7 @@ func (s *FirewallService) UpdateFirewallRule(p *UpdateFirewallRuleParams) (*Upda return nil, err } } + return &r, nil } @@ -1600,6 +1618,7 @@ func (s *FirewallService) CreateEgressFirewallRule(p *CreateEgressFirewallRulePa return nil, err } } + return &r, nil } @@ -1694,6 +1713,7 @@ func (s *FirewallService) DeleteEgressFirewallRule(p *DeleteEgressFirewallRulePa return nil, err } } + return &r, nil } @@ -1916,10 +1936,16 @@ func (s *FirewallService) ListEgressFirewallRules(p *ListEgressFirewallRulesPara return nil, err } + resp, err = convertFirewallServiceResponse(resp) + if err != nil { + return nil, err + } + var r ListEgressFirewallRulesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2046,6 +2072,7 @@ func (s *FirewallService) UpdateEgressFirewallRule(p *UpdateEgressFirewallRulePa return nil, err } } + return &r, nil } @@ -2193,6 +2220,7 @@ func (s *FirewallService) AddPaloAltoFirewall(p *AddPaloAltoFirewallParams) (*Ad return nil, err } } + return &r, nil } @@ -2279,6 +2307,7 @@ func (s *FirewallService) DeletePaloAltoFirewall(p *DeletePaloAltoFirewallParams return nil, err } } + return &r, nil } @@ -2368,6 +2397,7 @@ func (s *FirewallService) ConfigurePaloAltoFirewall(p *ConfigurePaloAltoFirewall return nil, err } } + return &r, nil } @@ -2475,10 +2505,16 @@ func (s *FirewallService) ListPaloAltoFirewalls(p *ListPaloAltoFirewallsParams) return nil, err } + resp, err = convertFirewallServiceResponse(resp) + if err != nil { + return nil, err + } + var r ListPaloAltoFirewallsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/GuestOSService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/GuestOSService.go index 2f7810044..d5cfa4030 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/GuestOSService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/GuestOSService.go @@ -156,6 +156,7 @@ func (s *GuestOSService) ListOsTypes(p *ListOsTypesParams) (*ListOsTypesResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -342,6 +343,7 @@ func (s *GuestOSService) ListOsCategories(p *ListOsCategoriesParams) (*ListOsCat if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -441,6 +443,7 @@ func (s *GuestOSService) AddGuestOs(p *AddGuestOsParams) (*AddGuestOsResponse, e return nil, err } } + return &r, nil } @@ -527,6 +530,7 @@ func (s *GuestOSService) UpdateGuestOs(p *UpdateGuestOsParams) (*UpdateGuestOsRe return nil, err } } + return &r, nil } @@ -596,6 +600,7 @@ func (s *GuestOSService) RemoveGuestOs(p *RemoveGuestOsParams) (*RemoveGuestOsRe return nil, err } } + return &r, nil } @@ -748,6 +753,7 @@ func (s *GuestOSService) ListGuestOsMapping(p *ListGuestOsMappingParams) (*ListG if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -875,6 +881,7 @@ func (s *GuestOSService) AddGuestOsMapping(p *AddGuestOsMappingParams) (*AddGues return nil, err } } + return &r, nil } @@ -964,6 +971,7 @@ func (s *GuestOSService) UpdateGuestOsMapping(p *UpdateGuestOsMappingParams) (*U return nil, err } } + return &r, nil } @@ -1036,6 +1044,7 @@ func (s *GuestOSService) RemoveGuestOsMapping(p *RemoveGuestOsMappingParams) (*R return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/HostService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/HostService.go index 4306b5a9d..4510ef846 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/HostService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/HostService.go @@ -172,6 +172,7 @@ func (s *HostService) AddHost(p *AddHostParams) (*AddHostResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -299,6 +300,7 @@ func (s *HostService) ReconnectHost(p *ReconnectHostParams) (*ReconnectHostRespo return nil, err } } + return &r, nil } @@ -452,6 +454,7 @@ func (s *HostService) UpdateHost(p *UpdateHostParams) (*UpdateHostResponse, erro if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -583,6 +586,7 @@ func (s *HostService) DeleteHost(p *DeleteHostParams) (*DeleteHostResponse, erro if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -654,6 +658,7 @@ func (s *HostService) PrepareHostForMaintenance(p *PrepareHostForMaintenancePara return nil, err } } + return &r, nil } @@ -782,6 +787,7 @@ func (s *HostService) CancelHostMaintenance(p *CancelHostMaintenanceParams) (*Ca return nil, err } } + return &r, nil } @@ -1130,6 +1136,7 @@ func (s *HostService) ListHosts(p *ListHostsParams) (*ListHostsResponse, error) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1301,6 +1308,7 @@ func (s *HostService) ListHostTags(p *ListHostTagsParams) (*ListHostTagsResponse if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1393,6 +1401,7 @@ func (s *HostService) FindHostsForMigration(p *FindHostsForMigrationParams) (*Fi if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1497,6 +1506,7 @@ func (s *HostService) AddSecondaryStorage(p *AddSecondaryStorageParams) (*AddSec if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1601,6 +1611,7 @@ func (s *HostService) UpdateHostPassword(p *UpdateHostPasswordParams) (*UpdateHo if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1667,6 +1678,7 @@ func (s *HostService) ReleaseHostReservation(p *ReleaseHostReservationParams) (* return nil, err } } + return &r, nil } @@ -1835,6 +1847,7 @@ func (s *HostService) AddBaremetalHost(p *AddBaremetalHostParams) (*AddBaremetal if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1985,6 +1998,7 @@ func (s *HostService) DedicateHost(p *DedicateHostParams) (*DedicateHostResponse return nil, err } } + return &r, nil } @@ -2056,6 +2070,7 @@ func (s *HostService) ReleaseDedicatedHost(p *ReleaseDedicatedHostParams) (*Rele return nil, err } } + return &r, nil } @@ -2175,6 +2190,7 @@ func (s *HostService) ListDedicatedHosts(p *ListDedicatedHostsParams) (*ListDedi if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2286,6 +2302,7 @@ func (s *HostService) AddGloboDnsHost(p *AddGloboDnsHostParams) (*AddGloboDnsHos return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/HypervisorService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/HypervisorService.go index c172615c9..31cc6a777 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/HypervisorService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/HypervisorService.go @@ -66,6 +66,7 @@ func (s *HypervisorService) ListHypervisors(p *ListHypervisorsParams) (*ListHype if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -144,6 +145,7 @@ func (s *HypervisorService) UpdateHypervisorCapabilities(p *UpdateHypervisorCapa if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -279,6 +281,7 @@ func (s *HypervisorService) ListHypervisorCapabilities(p *ListHypervisorCapabili if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ISOService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ISOService.go index a4ad582a6..1bb5fc026 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ISOService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ISOService.go @@ -99,6 +99,7 @@ func (s *ISOService) AttachIso(p *AttachIsoParams) (*AttachIsoResponse, error) { return nil, err } } + return &r, nil } @@ -342,6 +343,7 @@ func (s *ISOService) DetachIso(p *DetachIsoParams) (*DetachIsoResponse, error) { return nil, err } } + return &r, nil } @@ -849,6 +851,7 @@ func (s *ISOService) ListIsos(p *ListIsosParams) (*ListIsosResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1112,6 +1115,7 @@ func (s *ISOService) RegisterIso(p *RegisterIsoParams) (*RegisterIsoResponse, er if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1340,6 +1344,7 @@ func (s *ISOService) UpdateIso(p *UpdateIsoParams) (*UpdateIsoResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1462,6 +1467,7 @@ func (s *ISOService) DeleteIso(p *DeleteIsoParams) (*DeleteIsoResponse, error) { return nil, err } } + return &r, nil } @@ -1557,6 +1563,7 @@ func (s *ISOService) CopyIso(p *CopyIsoParams) (*CopyIsoResponse, error) { return nil, err } } + return &r, nil } @@ -1725,6 +1732,7 @@ func (s *ISOService) UpdateIsoPermissions(p *UpdateIsoPermissionsParams) (*Updat if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1809,6 +1817,7 @@ func (s *ISOService) ListIsoPermissions(p *ListIsoPermissionsParams) (*ListIsoPe if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1922,6 +1931,7 @@ func (s *ISOService) ExtractIso(p *ExtractIsoParams) (*ExtractIsoResponse, error return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ImageStoreService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ImageStoreService.go index 58fce6e82..5af10c9f2 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ImageStoreService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ImageStoreService.go @@ -116,6 +116,7 @@ func (s *ImageStoreService) AddImageStore(p *AddImageStoreParams) (*AddImageStor if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -293,6 +294,7 @@ func (s *ImageStoreService) AddImageStoreS3(p *AddImageStoreS3Params) (*AddImage if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -512,6 +514,7 @@ func (s *ImageStoreService) ListImageStores(p *ListImageStoresParams) (*ListImag if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -575,6 +578,7 @@ func (s *ImageStoreService) DeleteImageStore(p *DeleteImageStoreParams) (*Delete if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -675,6 +679,7 @@ func (s *ImageStoreService) CreateSecondaryStagingStore(p *CreateSecondaryStagin if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -894,6 +899,7 @@ func (s *ImageStoreService) ListSecondaryStagingStores(p *ListSecondaryStagingSt if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -957,6 +963,7 @@ func (s *ImageStoreService) DeleteSecondaryStagingStore(p *DeleteSecondaryStagin if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1046,6 +1053,7 @@ func (s *ImageStoreService) UpdateCloudToUseObjectStore(p *UpdateCloudToUseObjec if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/InternalLBService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/InternalLBService.go index ba86b3ee3..513005b3f 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/InternalLBService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/InternalLBService.go @@ -100,6 +100,7 @@ func (s *InternalLBService) ConfigureInternalLoadBalancerElement(p *ConfigureInt return nil, err } } + return &r, nil } @@ -173,6 +174,7 @@ func (s *InternalLBService) CreateInternalLoadBalancerElement(p *CreateInternalL return nil, err } } + return &r, nil } @@ -316,6 +318,7 @@ func (s *InternalLBService) ListInternalLoadBalancerElements(p *ListInternalLoad if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -405,6 +408,7 @@ func (s *InternalLBService) StopInternalLoadBalancerVM(p *StopInternalLoadBalanc return nil, err } } + return &r, nil } @@ -543,6 +547,7 @@ func (s *InternalLBService) StartInternalLoadBalancerVM(p *StartInternalLoadBala return nil, err } } + return &r, nil } @@ -924,6 +929,7 @@ func (s *InternalLBService) ListInternalLoadBalancerVMs(p *ListInternalLoadBalan if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/LDAPService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/LDAPService.go index 18935c294..fe7f52703 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/LDAPService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/LDAPService.go @@ -161,6 +161,7 @@ func (s *LDAPService) LdapCreateAccount(p *LdapCreateAccountParams) (*LdapCreate if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/LimitService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/LimitService.go index 276abecf8..d44d49813 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/LimitService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/LimitService.go @@ -111,6 +111,7 @@ func (s *LimitService) UpdateResourceLimit(p *UpdateResourceLimitParams) (*Updat if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -201,6 +202,7 @@ func (s *LimitService) UpdateResourceCount(p *UpdateResourceCountParams) (*Updat if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -361,6 +363,7 @@ func (s *LimitService) ListResourceLimits(p *ListResourceLimitsParams) (*ListRes if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -410,6 +413,7 @@ func (s *LimitService) GetApiLimit(p *GetApiLimitParams) (*GetApiLimitResponse, if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -463,6 +467,7 @@ func (s *LimitService) ResetApiLimit(p *ResetApiLimitParams) (*ResetApiLimitResp if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/LoadBalancerService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/LoadBalancerService.go index 9900a0715..6c7c76e98 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/LoadBalancerService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/LoadBalancerService.go @@ -238,6 +238,7 @@ func (s *LoadBalancerService) CreateLoadBalancerRule(p *CreateLoadBalancerRulePa return nil, err } } + return &r, nil } @@ -334,6 +335,7 @@ func (s *LoadBalancerService) DeleteLoadBalancerRule(p *DeleteLoadBalancerRulePa return nil, err } } + return &r, nil } @@ -429,6 +431,7 @@ func (s *LoadBalancerService) RemoveFromLoadBalancerRule(p *RemoveFromLoadBalanc return nil, err } } + return &r, nil } @@ -524,6 +527,7 @@ func (s *LoadBalancerService) AssignToLoadBalancerRule(p *AssignToLoadBalancerRu return nil, err } } + return &r, nil } @@ -659,6 +663,7 @@ func (s *LoadBalancerService) CreateLBStickinessPolicy(p *CreateLBStickinessPoli return nil, err } } + return &r, nil } @@ -769,6 +774,7 @@ func (s *LoadBalancerService) UpdateLBStickinessPolicy(p *UpdateLBStickinessPoli return nil, err } } + return &r, nil } @@ -851,6 +857,7 @@ func (s *LoadBalancerService) DeleteLBStickinessPolicy(p *DeleteLBStickinessPoli return nil, err } } + return &r, nil } @@ -1160,6 +1167,7 @@ func (s *LoadBalancerService) ListLoadBalancerRules(p *ListLoadBalancerRulesPara if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1335,6 +1343,7 @@ func (s *LoadBalancerService) ListLBStickinessPolicies(p *ListLBStickinessPolici if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1496,6 +1505,7 @@ func (s *LoadBalancerService) ListLBHealthCheckPolicies(p *ListLBHealthCheckPoli if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1668,6 +1678,7 @@ func (s *LoadBalancerService) CreateLBHealthCheckPolicy(p *CreateLBHealthCheckPo return nil, err } } + return &r, nil } @@ -1777,6 +1788,7 @@ func (s *LoadBalancerService) UpdateLBHealthCheckPolicy(p *UpdateLBHealthCheckPo return nil, err } } + return &r, nil } @@ -1858,6 +1870,7 @@ func (s *LoadBalancerService) DeleteLBHealthCheckPolicy(p *DeleteLBHealthCheckPo return nil, err } } + return &r, nil } @@ -2002,6 +2015,7 @@ func (s *LoadBalancerService) ListLoadBalancerRuleInstances(p *ListLoadBalancerR if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2135,6 +2149,7 @@ func (s *LoadBalancerService) UpdateLoadBalancerRule(p *UpdateLoadBalancerRulePa return nil, err } } + return &r, nil } @@ -2283,6 +2298,7 @@ func (s *LoadBalancerService) UploadSslCert(p *UploadSslCertParams) (*UploadSslC if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2342,6 +2358,7 @@ func (s *LoadBalancerService) DeleteSslCert(p *DeleteSslCertParams) (*DeleteSslC if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2425,6 +2442,7 @@ func (s *LoadBalancerService) ListSslCerts(p *ListSslCertsParams) (*ListSslCerts if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2516,6 +2534,7 @@ func (s *LoadBalancerService) AssignCertToLoadBalancer(p *AssignCertToLoadBalanc return nil, err } } + return &r, nil } @@ -2583,6 +2602,7 @@ func (s *LoadBalancerService) RemoveCertFromLoadBalancer(p *RemoveCertFromLoadBa return nil, err } } + return &r, nil } @@ -2749,6 +2769,7 @@ func (s *LoadBalancerService) AddNetscalerLoadBalancer(p *AddNetscalerLoadBalanc return nil, err } } + return &r, nil } @@ -2829,6 +2850,7 @@ func (s *LoadBalancerService) DeleteNetscalerLoadBalancer(p *DeleteNetscalerLoad return nil, err } } + return &r, nil } @@ -2949,6 +2971,7 @@ func (s *LoadBalancerService) ConfigureNetscalerLoadBalancer(p *ConfigureNetscal return nil, err } } + return &r, nil } @@ -3059,6 +3082,7 @@ func (s *LoadBalancerService) ListNetscalerLoadBalancers(p *ListNetscalerLoadBal if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -3240,6 +3264,7 @@ func (s *LoadBalancerService) CreateGlobalLoadBalancerRule(p *CreateGlobalLoadBa return nil, err } } + return &r, nil } @@ -3351,6 +3376,7 @@ func (s *LoadBalancerService) DeleteGlobalLoadBalancerRule(p *DeleteGlobalLoadBa return nil, err } } + return &r, nil } @@ -3456,6 +3482,7 @@ func (s *LoadBalancerService) UpdateGlobalLoadBalancerRule(p *UpdateGlobalLoadBa return nil, err } } + return &r, nil } @@ -3754,6 +3781,7 @@ func (s *LoadBalancerService) ListGlobalLoadBalancerRules(p *ListGlobalLoadBalan if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -3898,6 +3926,7 @@ func (s *LoadBalancerService) AssignToGlobalLoadBalancerRule(p *AssignToGlobalLo return nil, err } } + return &r, nil } @@ -3978,6 +4007,7 @@ func (s *LoadBalancerService) RemoveFromGlobalLoadBalancerRule(p *RemoveFromGlob return nil, err } } + return &r, nil } @@ -4158,6 +4188,7 @@ func (s *LoadBalancerService) CreateLoadBalancer(p *CreateLoadBalancerParams) (* return nil, err } } + return &r, nil } @@ -4501,6 +4532,7 @@ func (s *LoadBalancerService) ListLoadBalancers(p *ListLoadBalancersParams) (*Li if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -4606,6 +4638,7 @@ func (s *LoadBalancerService) DeleteLoadBalancer(p *DeleteLoadBalancerParams) (* return nil, err } } + return &r, nil } @@ -4701,6 +4734,7 @@ func (s *LoadBalancerService) UpdateLoadBalancer(p *UpdateLoadBalancerParams) (* return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NATService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NATService.go index daaf10ede..20b897771 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NATService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NATService.go @@ -101,6 +101,7 @@ func (s *NATService) EnableStaticNat(p *EnableStaticNatParams) (*EnableStaticNat if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -233,6 +234,7 @@ func (s *NATService) CreateIpForwardingRule(p *CreateIpForwardingRuleParams) (*C return nil, err } } + return &r, nil } @@ -326,6 +328,7 @@ func (s *NATService) DeleteIpForwardingRule(p *DeleteIpForwardingRuleParams) (*D return nil, err } } + return &r, nil } @@ -524,6 +527,7 @@ func (s *NATService) ListIpForwardingRules(p *ListIpForwardingRulesParams) (*Lis if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -621,6 +625,7 @@ func (s *NATService) DisableStaticNat(p *DisableStaticNatParams) (*DisableStatic return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkACLService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkACLService.go index 8a53ddf6e..0a1a32d9f 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkACLService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkACLService.go @@ -215,6 +215,7 @@ func (s *NetworkACLService) CreateNetworkACL(p *CreateNetworkACLParams) (*Create return nil, err } } + return &r, nil } @@ -438,6 +439,7 @@ func (s *NetworkACLService) UpdateNetworkACLItem(p *UpdateNetworkACLItemParams) return nil, err } } + return &r, nil } @@ -528,6 +530,7 @@ func (s *NetworkACLService) DeleteNetworkACL(p *DeleteNetworkACLParams) (*Delete return nil, err } } + return &r, nil } @@ -787,6 +790,7 @@ func (s *NetworkACLService) ListNetworkACLs(p *ListNetworkACLsParams) (*ListNetw if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -921,6 +925,7 @@ func (s *NetworkACLService) CreateNetworkACLList(p *CreateNetworkACLListParams) return nil, err } } + return &r, nil } @@ -991,6 +996,7 @@ func (s *NetworkACLService) DeleteNetworkACLList(p *DeleteNetworkACLListParams) return nil, err } } + return &r, nil } @@ -1080,6 +1086,7 @@ func (s *NetworkACLService) ReplaceNetworkACLList(p *ReplaceNetworkACLListParams return nil, err } } + return &r, nil } @@ -1351,6 +1358,7 @@ func (s *NetworkACLService) ListNetworkACLLists(p *ListNetworkACLListsParams) (* if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1448,6 +1456,7 @@ func (s *NetworkACLService) UpdateNetworkACLList(p *UpdateNetworkACLListParams) return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkDeviceService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkDeviceService.go index 878d5286e..36e8adc32 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkDeviceService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkDeviceService.go @@ -81,6 +81,7 @@ func (s *NetworkDeviceService) AddNetworkDevice(p *AddNetworkDeviceParams) (*Add if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -181,6 +182,7 @@ func (s *NetworkDeviceService) ListNetworkDevice(p *ListNetworkDeviceParams) (*L if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -236,6 +238,7 @@ func (s *NetworkDeviceService) DeleteNetworkDevice(p *DeleteNetworkDeviceParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkOfferingService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkOfferingService.go index e0adf29af..bc5428b3a 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkOfferingService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkOfferingService.go @@ -297,6 +297,7 @@ func (s *NetworkOfferingService) CreateNetworkOffering(p *CreateNetworkOfferingP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -463,6 +464,7 @@ func (s *NetworkOfferingService) UpdateNetworkOffering(p *UpdateNetworkOfferingP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -550,6 +552,7 @@ func (s *NetworkOfferingService) DeleteNetworkOffering(p *DeleteNetworkOfferingP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -901,6 +904,7 @@ func (s *NetworkOfferingService) ListNetworkOfferings(p *ListNetworkOfferingsPar if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkService.go index ce07a3b9e..28c9d0f13 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NetworkService.go @@ -101,6 +101,7 @@ func (s *NetworkService) DedicatePublicIpRange(p *DedicatePublicIpRangeParams) ( if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -172,6 +173,7 @@ func (s *NetworkService) ReleasePublicIpRange(p *ReleasePublicIpRangeParams) (*R if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -485,6 +487,7 @@ func (s *NetworkService) CreateNetwork(p *CreateNetworkParams) (*CreateNetworkRe if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -636,6 +639,7 @@ func (s *NetworkService) DeleteNetwork(p *DeleteNetworkParams) (*DeleteNetworkRe return nil, err } } + return &r, nil } @@ -1028,6 +1032,7 @@ func (s *NetworkService) ListNetworks(p *ListNetworksParams) (*ListNetworksRespo if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1189,6 +1194,7 @@ func (s *NetworkService) RestartNetwork(p *RestartNetworkParams) (*RestartNetwor return nil, err } } + return &r, nil } @@ -1390,6 +1396,7 @@ func (s *NetworkService) UpdateNetwork(p *UpdateNetworkParams) (*UpdateNetworkRe return nil, err } } + return &r, nil } @@ -1615,6 +1622,7 @@ func (s *NetworkService) CreatePhysicalNetwork(p *CreatePhysicalNetworkParams) ( return nil, err } } + return &r, nil } @@ -1690,6 +1698,7 @@ func (s *NetworkService) DeletePhysicalNetwork(p *DeletePhysicalNetworkParams) ( return nil, err } } + return &r, nil } @@ -1881,6 +1890,7 @@ func (s *NetworkService) ListPhysicalNetworks(p *ListPhysicalNetworksParams) (*L if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2010,6 +2020,7 @@ func (s *NetworkService) UpdatePhysicalNetwork(p *UpdatePhysicalNetworkParams) ( return nil, err } } + return &r, nil } @@ -2115,6 +2126,7 @@ func (s *NetworkService) ListSupportedNetworkServices(p *ListSupportedNetworkSer if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2239,6 +2251,7 @@ func (s *NetworkService) AddNetworkServiceProvider(p *AddNetworkServiceProviderP return nil, err } } + return &r, nil } @@ -2311,6 +2324,7 @@ func (s *NetworkService) DeleteNetworkServiceProvider(p *DeleteNetworkServicePro return nil, err } } + return &r, nil } @@ -2455,6 +2469,7 @@ func (s *NetworkService) ListNetworkServiceProviders(p *ListNetworkServiceProvid if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2559,6 +2574,7 @@ func (s *NetworkService) UpdateNetworkServiceProvider(p *UpdateNetworkServicePro return nil, err } } + return &r, nil } @@ -2695,6 +2711,7 @@ func (s *NetworkService) CreateStorageNetworkIpRange(p *CreateStorageNetworkIpRa return nil, err } } + return &r, nil } @@ -2769,6 +2786,7 @@ func (s *NetworkService) DeleteStorageNetworkIpRange(p *DeleteStorageNetworkIpRa return nil, err } } + return &r, nil } @@ -2910,6 +2928,7 @@ func (s *NetworkService) ListStorageNetworkIpRange(p *ListStorageNetworkIpRangeP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -3038,6 +3057,7 @@ func (s *NetworkService) UpdateStorageNetworkIpRange(p *UpdateStorageNetworkIpRa return nil, err } } + return &r, nil } @@ -3169,6 +3189,7 @@ func (s *NetworkService) ListPaloAltoFirewallNetworks(p *ListPaloAltoFirewallNet if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -3370,6 +3391,7 @@ func (s *NetworkService) ListNetscalerLoadBalancerNetworks(p *ListNetscalerLoadB if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -3571,6 +3593,7 @@ func (s *NetworkService) ListNiciraNvpDeviceNetworks(p *ListNiciraNvpDeviceNetwo if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -3723,6 +3746,7 @@ func (s *NetworkService) ListNetworkIsolationMethods(p *ListNetworkIsolationMeth if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -3834,6 +3858,7 @@ func (s *NetworkService) AddOpenDaylightController(p *AddOpenDaylightControllerP return nil, err } } + return &r, nil } @@ -3909,6 +3934,7 @@ func (s *NetworkService) DeleteOpenDaylightController(p *DeleteOpenDaylightContr return nil, err } } + return &r, nil } @@ -4007,6 +4033,7 @@ func (s *NetworkService) ListOpenDaylightControllers(p *ListOpenDaylightControll if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NicService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NicService.go index d83e07567..1f83135a3 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NicService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NicService.go @@ -96,6 +96,7 @@ func (s *NicService) AddIpToNic(p *AddIpToNicParams) (*AddIpToNicResponse, error return nil, err } } + return &r, nil } @@ -166,6 +167,7 @@ func (s *NicService) RemoveIpFromNic(p *RemoveIpFromNicParams) (*RemoveIpFromNic return nil, err } } + return &r, nil } @@ -249,6 +251,7 @@ func (s *NicService) UpdateVmNicIp(p *UpdateVmNicIpParams) (*UpdateVmNicIpRespon return nil, err } } + return &r, nil } @@ -541,6 +544,7 @@ func (s *NicService) ListNics(p *ListNicsParams) (*ListNicsResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NiciraNVPService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NiciraNVPService.go index 2efcd1587..a97d71bdd 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/NiciraNVPService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/NiciraNVPService.go @@ -144,6 +144,7 @@ func (s *NiciraNVPService) AddNiciraNvpDevice(p *AddNiciraNvpDeviceParams) (*Add return nil, err } } + return &r, nil } @@ -216,6 +217,7 @@ func (s *NiciraNVPService) DeleteNiciraNvpDevice(p *DeleteNiciraNvpDeviceParams) return nil, err } } + return &r, nil } @@ -313,6 +315,7 @@ func (s *NiciraNVPService) ListNiciraNvpDevices(p *ListNiciraNvpDevicesParams) ( if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/OvsElementService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/OvsElementService.go index a86d61f28..f030be742 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/OvsElementService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/OvsElementService.go @@ -100,6 +100,7 @@ func (s *OvsElementService) ConfigureOvsElement(p *ConfigureOvsElementParams) (* return nil, err } } + return &r, nil } @@ -248,6 +249,7 @@ func (s *OvsElementService) ListOvsElements(p *ListOvsElementsParams) (*ListOvsE if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/PodService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/PodService.go index 2f0af1eec..dfb59acbb 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/PodService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/PodService.go @@ -137,6 +137,7 @@ func (s *PodService) CreatePod(p *CreatePodParams) (*CreatePodResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -273,6 +274,7 @@ func (s *PodService) UpdatePod(p *UpdatePodParams) (*UpdatePodResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -343,6 +345,7 @@ func (s *PodService) DeletePod(p *DeletePodParams) (*DeletePodResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -556,6 +559,7 @@ func (s *PodService) ListPods(p *ListPodsParams) (*ListPodsResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -674,6 +678,7 @@ func (s *PodService) DedicatePod(p *DedicatePodParams) (*DedicatePodResponse, er return nil, err } } + return &r, nil } @@ -745,6 +750,7 @@ func (s *PodService) ReleaseDedicatedPod(p *ReleaseDedicatedPodParams) (*Release return nil, err } } + return &r, nil } @@ -864,6 +870,7 @@ func (s *PodService) ListDedicatedPods(p *ListDedicatedPodsParams) (*ListDedicat if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/PoolService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/PoolService.go index f2f8fce99..13bdc8735 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/PoolService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/PoolService.go @@ -261,6 +261,7 @@ func (s *PoolService) ListStoragePools(p *ListStoragePoolsParams) (*ListStorageP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -480,6 +481,7 @@ func (s *PoolService) CreateStoragePool(p *CreateStoragePoolParams) (*CreateStor if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -600,6 +602,7 @@ func (s *PoolService) UpdateStoragePool(p *UpdateStoragePoolParams) (*UpdateStor if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -684,6 +687,7 @@ func (s *PoolService) DeleteStoragePool(p *DeleteStoragePoolParams) (*DeleteStor if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -770,6 +774,7 @@ func (s *PoolService) FindStoragePoolsForMigration(p *FindStoragePoolsForMigrati if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/PortableIPService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/PortableIPService.go index 2896ae2bb..be4958af8 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/PortableIPService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/PortableIPService.go @@ -147,6 +147,7 @@ func (s *PortableIPService) CreatePortableIpRange(p *CreatePortableIpRangeParams return nil, err } } + return &r, nil } @@ -231,6 +232,7 @@ func (s *PortableIPService) DeletePortableIpRange(p *DeletePortableIpRangeParams return nil, err } } + return &r, nil } @@ -362,6 +364,7 @@ func (s *PortableIPService) ListPortableIpRanges(p *ListPortableIpRangesParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ProjectService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ProjectService.go index 8b9c0e86f..e701d36d2 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ProjectService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ProjectService.go @@ -121,6 +121,7 @@ func (s *ProjectService) CreateProject(p *CreateProjectParams) (*CreateProjectRe return nil, err } } + return &r, nil } @@ -240,6 +241,7 @@ func (s *ProjectService) DeleteProject(p *DeleteProjectParams) (*DeleteProjectRe return nil, err } } + return &r, nil } @@ -334,6 +336,7 @@ func (s *ProjectService) UpdateProject(p *UpdateProjectParams) (*UpdateProjectRe return nil, err } } + return &r, nil } @@ -458,6 +461,7 @@ func (s *ProjectService) ActivateProject(p *ActivateProjectParams) (*ActivatePro return nil, err } } + return &r, nil } @@ -582,6 +586,7 @@ func (s *ProjectService) SuspendProject(p *SuspendProjectParams) (*SuspendProjec return nil, err } } + return &r, nil } @@ -898,6 +903,7 @@ func (s *ProjectService) ListProjects(p *ListProjectsParams) (*ListProjectsRespo if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1153,6 +1159,7 @@ func (s *ProjectService) ListProjectInvitations(p *ListProjectInvitationsParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1264,6 +1271,7 @@ func (s *ProjectService) UpdateProjectInvitation(p *UpdateProjectInvitationParam return nil, err } } + return &r, nil } @@ -1331,6 +1339,7 @@ func (s *ProjectService) DeleteProjectInvitation(p *DeleteProjectInvitationParam return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/QuotaService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/QuotaService.go index 896a4d798..9ae21e690 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/QuotaService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/QuotaService.go @@ -52,6 +52,7 @@ func (s *QuotaService) QuotaIsEnabled(p *QuotaIsEnabledParams) (*QuotaIsEnabledR if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/RegionService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/RegionService.go index a434f8513..94dc503c5 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/RegionService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/RegionService.go @@ -90,6 +90,7 @@ func (s *RegionService) AddRegion(p *AddRegionParams) (*AddRegionResponse, error if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -167,6 +168,7 @@ func (s *RegionService) UpdateRegion(p *UpdateRegionParams) (*UpdateRegionRespon if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -222,6 +224,7 @@ func (s *RegionService) RemoveRegion(p *RemoveRegionParams) (*RemoveRegionRespon if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -319,6 +322,7 @@ func (s *RegionService) ListRegions(p *ListRegionsParams) (*ListRegionsResponse, if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ResourcemetadataService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ResourcemetadataService.go index 136b9d3b1..cf0e28ed4 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ResourcemetadataService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ResourcemetadataService.go @@ -122,6 +122,7 @@ func (s *ResourcemetadataService) AddResourceDetail(p *AddResourceDetailParams) return nil, err } } + return &r, nil } @@ -212,6 +213,7 @@ func (s *ResourcemetadataService) RemoveResourceDetail(p *RemoveResourceDetailPa return nil, err } } + return &r, nil } @@ -401,6 +403,7 @@ func (s *ResourcemetadataService) ListResourceDetails(p *ListResourceDetailsPara if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ResourcetagsService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ResourcetagsService.go index b285a2466..6995533d2 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ResourcetagsService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ResourcetagsService.go @@ -126,6 +126,7 @@ func (s *ResourcetagsService) ListStorageTags(p *ListStorageTagsParams) (*ListSt if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -239,6 +240,7 @@ func (s *ResourcetagsService) CreateTags(p *CreateTagsParams) (*CreateTagsRespon return nil, err } } + return &r, nil } @@ -335,6 +337,7 @@ func (s *ResourcetagsService) DeleteTags(p *DeleteTagsParams) (*DeleteTagsRespon return nil, err } } + return &r, nil } @@ -522,6 +525,7 @@ func (s *ResourcetagsService) ListTags(p *ListTagsParams) (*ListTagsResponse, er if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/RouterService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/RouterService.go index 05496b530..94efd9162 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/RouterService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/RouterService.go @@ -87,6 +87,7 @@ func (s *RouterService) StartRouter(p *StartRouterParams) (*StartRouterResponse, return nil, err } } + return &r, nil } @@ -225,6 +226,7 @@ func (s *RouterService) RebootRouter(p *RebootRouterParams) (*RebootRouterRespon return nil, err } } + return &r, nil } @@ -375,6 +377,7 @@ func (s *RouterService) StopRouter(p *StopRouterParams) (*StopRouterResponse, er return nil, err } } + return &r, nil } @@ -513,6 +516,7 @@ func (s *RouterService) DestroyRouter(p *DestroyRouterParams) (*DestroyRouterRes return nil, err } } + return &r, nil } @@ -643,6 +647,7 @@ func (s *RouterService) ChangeServiceForRouter(p *ChangeServiceForRouterParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1045,6 +1050,7 @@ func (s *RouterService) ListRouters(p *ListRoutersParams) (*ListRoutersResponse, if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1257,6 +1263,7 @@ func (s *RouterService) ListVirtualRouterElements(p *ListVirtualRouterElementsPa if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1352,6 +1359,7 @@ func (s *RouterService) ConfigureVirtualRouterElement(p *ConfigureVirtualRouterE return nil, err } } + return &r, nil } @@ -1441,6 +1449,7 @@ func (s *RouterService) CreateVirtualRouterElement(p *CreateVirtualRouterElement return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SSHService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SSHService.go index 2221a5921..f1e413313 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SSHService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SSHService.go @@ -130,6 +130,7 @@ func (s *SSHService) ResetSSHKeyForVirtualMachine(p *ResetSSHKeyForVirtualMachin return nil, err } } + return &r, nil } @@ -402,6 +403,7 @@ func (s *SSHService) RegisterSSHKeyPair(p *RegisterSSHKeyPairParams) (*RegisterS if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -493,6 +495,7 @@ func (s *SSHService) CreateSSHKeyPair(p *CreateSSHKeyPairParams) (*CreateSSHKeyP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -576,6 +579,7 @@ func (s *SSHService) DeleteSSHKeyPair(p *DeleteSSHKeyPairParams) (*DeleteSSHKeyP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -729,6 +733,7 @@ func (s *SSHService) ListSSHKeyPairs(p *ListSSHKeyPairsParams) (*ListSSHKeyPairs if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SecurityGroupService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SecurityGroupService.go index 7a56c1cbb..8e7c61499 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SecurityGroupService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SecurityGroupService.go @@ -147,6 +147,7 @@ func (s *SecurityGroupService) CreateSecurityGroup(p *CreateSecurityGroupParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -307,6 +308,7 @@ func (s *SecurityGroupService) DeleteSecurityGroup(p *DeleteSecurityGroupParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -513,6 +515,7 @@ func (s *SecurityGroupService) AuthorizeSecurityGroupIngress(p *AuthorizeSecurit return nil, err } } + return &r, nil } @@ -599,6 +602,7 @@ func (s *SecurityGroupService) RevokeSecurityGroupIngress(p *RevokeSecurityGroup return nil, err } } + return &r, nil } @@ -806,6 +810,7 @@ func (s *SecurityGroupService) AuthorizeSecurityGroupEgress(p *AuthorizeSecurity return nil, err } } + return &r, nil } @@ -892,6 +897,7 @@ func (s *SecurityGroupService) RevokeSecurityGroupEgress(p *RevokeSecurityGroupE return nil, err } } + return &r, nil } @@ -1156,6 +1162,7 @@ func (s *SecurityGroupService) ListSecurityGroups(p *ListSecurityGroupsParams) ( if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ServiceOfferingService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ServiceOfferingService.go index 95e764703..bfd657912 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ServiceOfferingService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ServiceOfferingService.go @@ -368,6 +368,7 @@ func (s *ServiceOfferingService) CreateServiceOffering(p *CreateServiceOfferingP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -448,6 +449,7 @@ func (s *ServiceOfferingService) DeleteServiceOffering(p *DeleteServiceOfferingP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -533,6 +535,7 @@ func (s *ServiceOfferingService) UpdateServiceOffering(p *UpdateServiceOfferingP if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -810,6 +813,7 @@ func (s *ServiceOfferingService) ListServiceOfferings(p *ListServiceOfferingsPar if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SnapshotService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SnapshotService.go index c81dea323..c1c432de1 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SnapshotService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SnapshotService.go @@ -143,6 +143,7 @@ func (s *SnapshotService) CreateSnapshot(p *CreateSnapshotParams) (*CreateSnapsh return nil, err } } + return &r, nil } @@ -467,6 +468,7 @@ func (s *SnapshotService) ListSnapshots(p *ListSnapshotsParams) (*ListSnapshotsR if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -565,6 +567,7 @@ func (s *SnapshotService) DeleteSnapshot(p *DeleteSnapshotParams) (*DeleteSnapsh return nil, err } } + return &r, nil } @@ -678,6 +681,7 @@ func (s *SnapshotService) CreateSnapshotPolicy(p *CreateSnapshotPolicyParams) (* if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -776,6 +780,7 @@ func (s *SnapshotService) UpdateSnapshotPolicy(p *UpdateSnapshotPolicyParams) (* return nil, err } } + return &r, nil } @@ -844,6 +849,7 @@ func (s *SnapshotService) DeleteSnapshotPolicies(p *DeleteSnapshotPoliciesParams if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -985,6 +991,7 @@ func (s *SnapshotService) ListSnapshotPolicies(p *ListSnapshotPoliciesParams) (* if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1066,6 +1073,7 @@ func (s *SnapshotService) RevertSnapshot(p *RevertSnapshotParams) (*RevertSnapsh return nil, err } } + return &r, nil } @@ -1321,6 +1329,7 @@ func (s *SnapshotService) ListVMSnapshot(p *ListVMSnapshotParams) (*ListVMSnapsh if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1458,6 +1467,7 @@ func (s *SnapshotService) CreateVMSnapshot(p *CreateVMSnapshotParams) (*CreateVM return nil, err } } + return &r, nil } @@ -1540,6 +1550,7 @@ func (s *SnapshotService) DeleteVMSnapshot(p *DeleteVMSnapshotParams) (*DeleteVM return nil, err } } + return &r, nil } @@ -1612,6 +1623,7 @@ func (s *SnapshotService) RevertToVMSnapshot(p *RevertToVMSnapshotParams) (*Reve return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/StoragePoolService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/StoragePoolService.go index 227678fe0..ec264e694 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/StoragePoolService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/StoragePoolService.go @@ -100,6 +100,7 @@ func (s *StoragePoolService) ListStorageProviders(p *ListStorageProvidersParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -176,6 +177,7 @@ func (s *StoragePoolService) EnableStorageMaintenance(p *EnableStorageMaintenanc return nil, err } } + return &r, nil } @@ -269,6 +271,7 @@ func (s *StoragePoolService) CancelStorageMaintenance(p *CancelStorageMaintenanc return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/StratosphereSSPService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/StratosphereSSPService.go index 4e638f843..227b2b6e7 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/StratosphereSSPService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/StratosphereSSPService.go @@ -121,6 +121,7 @@ func (s *StratosphereSSPService) AddStratosphereSsp(p *AddStratosphereSspParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SwiftService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SwiftService.go index 72bcfc608..0a82f79a8 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SwiftService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SwiftService.go @@ -99,6 +99,7 @@ func (s *SwiftService) AddSwift(p *AddSwiftParams) (*AddSwiftResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -228,6 +229,7 @@ func (s *SwiftService) ListSwifts(p *ListSwiftsParams) (*ListSwiftsResponse, err if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SystemCapacityService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SystemCapacityService.go index fc30665c3..f137cb896 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SystemCapacityService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SystemCapacityService.go @@ -156,6 +156,7 @@ func (s *SystemCapacityService) ListCapacity(p *ListCapacityParams) (*ListCapaci if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SystemVMService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SystemVMService.go index 18b697a85..f169ca73c 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/SystemVMService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/SystemVMService.go @@ -87,6 +87,7 @@ func (s *SystemVMService) StartSystemVm(p *StartSystemVmParams) (*StartSystemVmR return nil, err } } + return &r, nil } @@ -185,6 +186,7 @@ func (s *SystemVMService) RebootSystemVm(p *RebootSystemVmParams) (*RebootSystem return nil, err } } + return &r, nil } @@ -295,6 +297,7 @@ func (s *SystemVMService) StopSystemVm(p *StopSystemVmParams) (*StopSystemVmResp return nil, err } } + return &r, nil } @@ -393,6 +396,7 @@ func (s *SystemVMService) DestroySystemVm(p *DestroySystemVmParams) (*DestroySys return nil, err } } + return &r, nil } @@ -665,6 +669,7 @@ func (s *SystemVMService) ListSystemVms(p *ListSystemVmsParams) (*ListSystemVmsR if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -779,6 +784,7 @@ func (s *SystemVMService) MigrateSystemVm(p *MigrateSystemVmParams) (*MigrateSys return nil, err } } + return &r, nil } @@ -885,6 +891,7 @@ func (s *SystemVMService) ChangeServiceForSystemVm(p *ChangeServiceForSystemVmPa if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1010,6 +1017,7 @@ func (s *SystemVMService) ScaleSystemVm(p *ScaleSystemVmParams) (*ScaleSystemVmR return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/TemplateService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/TemplateService.go index 30498c7c6..3ccf39316 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/TemplateService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/TemplateService.go @@ -265,6 +265,7 @@ func (s *TemplateService) CreateTemplate(p *CreateTemplateParams) (*CreateTempla return nil, err } } + return &r, nil } @@ -613,6 +614,7 @@ func (s *TemplateService) RegisterTemplate(p *RegisterTemplateParams) (*Register if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -846,6 +848,7 @@ func (s *TemplateService) UpdateTemplate(p *UpdateTemplateParams) (*UpdateTempla if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -985,6 +988,7 @@ func (s *TemplateService) CopyTemplate(p *CopyTemplateParams) (*CopyTemplateResp return nil, err } } + return &r, nil } @@ -1108,6 +1112,7 @@ func (s *TemplateService) DeleteTemplate(p *DeleteTemplateParams) (*DeleteTempla return nil, err } } + return &r, nil } @@ -1410,6 +1415,7 @@ func (s *TemplateService) ListTemplates(p *ListTemplatesParams) (*ListTemplatesR if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1582,6 +1588,7 @@ func (s *TemplateService) UpdateTemplatePermissions(p *UpdateTemplatePermissions if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1666,6 +1673,7 @@ func (s *TemplateService) ListTemplatePermissions(p *ListTemplatePermissionsPara if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1779,6 +1787,7 @@ func (s *TemplateService) ExtractTemplate(p *ExtractTemplateParams) (*ExtractTem return nil, err } } + return &r, nil } @@ -1866,6 +1875,7 @@ func (s *TemplateService) PrepareTemplate(p *PrepareTemplateParams) (*PrepareTem if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2016,6 +2026,7 @@ func (s *TemplateService) UpgradeRouterTemplate(p *UpgradeRouterTemplateParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2306,6 +2317,7 @@ func (s *TemplateService) GetUploadParamsForTemplate(p *GetUploadParamsForTempla if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/UCSService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/UCSService.go index 3d5fbd33a..66e1b6c0b 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/UCSService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/UCSService.go @@ -114,6 +114,7 @@ func (s *UCSService) AddUcsManager(p *AddUcsManagerParams) (*AddUcsManagerRespon if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -295,6 +296,7 @@ func (s *UCSService) ListUcsManagers(p *ListUcsManagersParams) (*ListUcsManagers if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -388,6 +390,7 @@ func (s *UCSService) ListUcsProfiles(p *ListUcsProfilesParams) (*ListUcsProfiles if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -478,6 +481,7 @@ func (s *UCSService) ListUcsBlades(p *ListUcsBladesParams) (*ListUcsBladesRespon if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -581,6 +585,7 @@ func (s *UCSService) AssociateUcsProfileToBlade(p *AssociateUcsProfileToBladePar return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/UsageService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/UsageService.go index fb6e34306..67b683f95 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/UsageService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/UsageService.go @@ -175,6 +175,7 @@ func (s *UsageService) AddTrafficType(p *AddTrafficTypeParams) (*AddTrafficTypeR return nil, err } } + return &r, nil } @@ -248,6 +249,7 @@ func (s *UsageService) DeleteTrafficType(p *DeleteTrafficTypeParams) (*DeleteTra return nil, err } } + return &r, nil } @@ -372,6 +374,7 @@ func (s *UsageService) ListTrafficTypes(p *ListTrafficTypesParams) (*ListTraffic if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -508,6 +511,7 @@ func (s *UsageService) UpdateTrafficType(p *UpdateTrafficTypeParams) (*UpdateTra return nil, err } } + return &r, nil } @@ -600,6 +604,7 @@ func (s *UsageService) ListTrafficTypeImplementors(p *ListTrafficTypeImplementor if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -679,6 +684,7 @@ func (s *UsageService) GenerateUsageRecords(p *GenerateUsageRecordsParams) (*Gen if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -844,6 +850,7 @@ func (s *UsageService) ListUsageRecords(p *ListUsageRecordsParams) (*ListUsageRe if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -914,6 +921,7 @@ func (s *UsageService) ListUsageTypes(p *ListUsageTypesParams) (*ListUsageTypesR if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -971,6 +979,7 @@ func (s *UsageService) RemoveRawUsageRecords(p *RemoveRawUsageRecordsParams) (*R if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1056,6 +1065,7 @@ func (s *UsageService) AddTrafficMonitor(p *AddTrafficMonitorParams) (*AddTraffi if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1110,6 +1120,7 @@ func (s *UsageService) DeleteTrafficMonitor(p *DeleteTrafficMonitorParams) (*Del if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1196,6 +1207,7 @@ func (s *UsageService) ListTrafficMonitors(p *ListTrafficMonitorsParams) (*ListT if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/UserService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/UserService.go index cf091225d..100920af4 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/UserService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/UserService.go @@ -160,6 +160,7 @@ func (s *UserService) CreateUser(p *CreateUserParams) (*CreateUserResponse, erro if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -226,6 +227,7 @@ func (s *UserService) DeleteUser(p *DeleteUserParams) (*DeleteUserResponse, erro if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -365,6 +367,7 @@ func (s *UserService) UpdateUser(p *UpdateUserParams) (*UpdateUserResponse, erro if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -578,6 +581,7 @@ func (s *UserService) ListUsers(p *ListUsersParams) (*ListUsersResponse, error) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -649,6 +653,7 @@ func (s *UserService) LockUser(p *LockUserParams) (*LockUserResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -735,6 +740,7 @@ func (s *UserService) DisableUser(p *DisableUserParams) (*DisableUserResponse, e return nil, err } } + return &r, nil } @@ -802,6 +808,7 @@ func (s *UserService) EnableUser(p *EnableUserParams) (*EnableUserResponse, erro if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -868,6 +875,7 @@ func (s *UserService) GetUser(p *GetUserParams) (*GetUserResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -934,6 +942,7 @@ func (s *UserService) GetVirtualMachineUserData(p *GetVirtualMachineUserDataPara if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -985,6 +994,7 @@ func (s *UserService) RegisterUserKeys(p *RegisterUserKeysParams) (*RegisterUser if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1070,6 +1080,7 @@ func (s *UserService) ListLdapUsers(p *ListLdapUsersParams) (*ListLdapUsersRespo if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1226,6 +1237,7 @@ func (s *UserService) ImportLdapUsers(p *ImportLdapUsersParams) (*ImportLdapUser if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VLANService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VLANService.go index 0809b6dae..7c9b63795 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VLANService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VLANService.go @@ -243,6 +243,7 @@ func (s *VLANService) CreateVlanIpRange(p *CreateVlanIpRangeParams) (*CreateVlan if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -314,6 +315,7 @@ func (s *VLANService) DeleteVlanIpRange(p *DeleteVlanIpRangeParams) (*DeleteVlan if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -532,6 +534,7 @@ func (s *VLANService) ListVlanIpRanges(p *ListVlanIpRangesParams) (*ListVlanIpRa if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -655,6 +658,7 @@ func (s *VLANService) DedicateGuestVlanRange(p *DedicateGuestVlanRangeParams) (* if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -728,6 +732,7 @@ func (s *VLANService) ReleaseDedicatedGuestVlanRange(p *ReleaseDedicatedGuestVla return nil, err } } + return &r, nil } @@ -913,6 +918,7 @@ func (s *VLANService) ListDedicatedGuestVlanRanges(p *ListDedicatedGuestVlanRang if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VMGroupService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VMGroupService.go index d66768447..3e97bba64 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VMGroupService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VMGroupService.go @@ -100,6 +100,7 @@ func (s *VMGroupService) CreateInstanceGroup(p *CreateInstanceGroupParams) (*Cre if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -157,6 +158,7 @@ func (s *VMGroupService) DeleteInstanceGroup(p *DeleteInstanceGroupParams) (*Del if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -219,6 +221,7 @@ func (s *VMGroupService) UpdateInstanceGroup(p *UpdateInstanceGroupParams) (*Upd if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -461,6 +464,7 @@ func (s *VMGroupService) ListInstanceGroups(p *ListInstanceGroupsParams) (*ListI if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VPCService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VPCService.go index 86d8a5948..d2f735485 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VPCService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VPCService.go @@ -203,6 +203,7 @@ func (s *VPCService) CreateVPC(p *CreateVPCParams) (*CreateVPCResponse, error) { return nil, err } } + return &r, nil } @@ -671,6 +672,7 @@ func (s *VPCService) ListVPCs(p *ListVPCsParams) (*ListVPCsResponse, error) { if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -866,6 +868,7 @@ func (s *VPCService) DeleteVPC(p *DeleteVPCParams) (*DeleteVPCResponse, error) { return nil, err } } + return &r, nil } @@ -983,6 +986,7 @@ func (s *VPCService) UpdateVPC(p *UpdateVPCParams) (*UpdateVPCResponse, error) { return nil, err } } + return &r, nil } @@ -1203,6 +1207,7 @@ func (s *VPCService) RestartVPC(p *RestartVPCParams) (*RestartVPCResponse, error return nil, err } } + return &r, nil } @@ -1467,6 +1472,7 @@ func (s *VPCService) CreateVPCOffering(p *CreateVPCOfferingParams) (*CreateVPCOf return nil, err } } + return &r, nil } @@ -1595,6 +1601,7 @@ func (s *VPCService) UpdateVPCOffering(p *UpdateVPCOfferingParams) (*UpdateVPCOf return nil, err } } + return &r, nil } @@ -1685,6 +1692,7 @@ func (s *VPCService) DeleteVPCOffering(p *DeleteVPCOfferingParams) (*DeleteVPCOf return nil, err } } + return &r, nil } @@ -1911,6 +1919,7 @@ func (s *VPCService) ListVPCOfferings(p *ListVPCOfferingsParams) (*ListVPCOfferi if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2103,6 +2112,7 @@ func (s *VPCService) CreatePrivateGateway(p *CreatePrivateGatewayParams) (*Creat return nil, err } } + return &r, nil } @@ -2338,6 +2348,7 @@ func (s *VPCService) ListPrivateGateways(p *ListPrivateGatewaysParams) (*ListPri if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2424,6 +2435,7 @@ func (s *VPCService) DeletePrivateGateway(p *DeletePrivateGatewayParams) (*Delet return nil, err } } + return &r, nil } @@ -2508,6 +2520,7 @@ func (s *VPCService) CreateStaticRoute(p *CreateStaticRouteParams) (*CreateStati return nil, err } } + return &r, nil } @@ -2595,6 +2608,7 @@ func (s *VPCService) DeleteStaticRoute(p *DeleteStaticRouteParams) (*DeleteStati return nil, err } } + return &r, nil } @@ -2809,6 +2823,7 @@ func (s *VPCService) ListStaticRoutes(p *ListStaticRoutesParams) (*ListStaticRou if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VPNService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VPNService.go index 544b17324..94962c6bd 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VPNService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VPNService.go @@ -144,6 +144,7 @@ func (s *VPNService) CreateRemoteAccessVpn(p *CreateRemoteAccessVpnParams) (*Cre return nil, err } } + return &r, nil } @@ -221,6 +222,7 @@ func (s *VPNService) DeleteRemoteAccessVpn(p *DeleteRemoteAccessVpnParams) (*Del return nil, err } } + return &r, nil } @@ -431,6 +433,7 @@ func (s *VPNService) ListRemoteAccessVpns(p *ListRemoteAccessVpnsParams) (*ListR if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -540,6 +543,7 @@ func (s *VPNService) UpdateRemoteAccessVpn(p *UpdateRemoteAccessVpnParams) (*Upd return nil, err } } + return &r, nil } @@ -667,6 +671,7 @@ func (s *VPNService) AddVpnUser(p *AddVpnUserParams) (*AddVpnUserResponse, error return nil, err } } + return &r, nil } @@ -773,6 +778,7 @@ func (s *VPNService) RemoveVpnUser(p *RemoveVpnUserParams) (*RemoveVpnUserRespon return nil, err } } + return &r, nil } @@ -960,6 +966,7 @@ func (s *VPNService) ListVpnUsers(p *ListVpnUsersParams) (*ListVpnUsersResponse, if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1182,6 +1189,7 @@ func (s *VPNService) CreateVpnCustomerGateway(p *CreateVpnCustomerGatewayParams) return nil, err } } + return &r, nil } @@ -1282,6 +1290,7 @@ func (s *VPNService) CreateVpnGateway(p *CreateVpnGatewayParams) (*CreateVpnGate return nil, err } } + return &r, nil } @@ -1398,6 +1407,7 @@ func (s *VPNService) CreateVpnConnection(p *CreateVpnConnectionParams) (*CreateV return nil, err } } + return &r, nil } @@ -1486,6 +1496,7 @@ func (s *VPNService) DeleteVpnCustomerGateway(p *DeleteVpnCustomerGatewayParams) return nil, err } } + return &r, nil } @@ -1553,6 +1564,7 @@ func (s *VPNService) DeleteVpnGateway(p *DeleteVpnGatewayParams) (*DeleteVpnGate return nil, err } } + return &r, nil } @@ -1620,6 +1632,7 @@ func (s *VPNService) DeleteVpnConnection(p *DeleteVpnConnectionParams) (*DeleteV return nil, err } } + return &r, nil } @@ -1833,6 +1846,7 @@ func (s *VPNService) UpdateVpnCustomerGateway(p *UpdateVpnCustomerGatewayParams) return nil, err } } + return &r, nil } @@ -1943,6 +1957,7 @@ func (s *VPNService) ResetVpnConnection(p *ResetVpnConnectionParams) (*ResetVpnC return nil, err } } + return &r, nil } @@ -2190,6 +2205,7 @@ func (s *VPNService) ListVpnCustomerGateways(p *ListVpnCustomerGatewaysParams) ( if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2409,6 +2425,7 @@ func (s *VPNService) ListVpnGateways(p *ListVpnGatewaysParams) (*ListVpnGateways if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2620,6 +2637,7 @@ func (s *VPNService) ListVpnConnections(p *ListVpnConnectionsParams) (*ListVpnCo if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2740,6 +2758,7 @@ func (s *VPNService) UpdateVpnConnection(p *UpdateVpnConnectionParams) (*UpdateV return nil, err } } + return &r, nil } @@ -2856,6 +2875,7 @@ func (s *VPNService) UpdateVpnGateway(p *UpdateVpnGatewayParams) (*UpdateVpnGate return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VirtualMachineService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VirtualMachineService.go index 8be3066f4..e0149dc6a 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VirtualMachineService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VirtualMachineService.go @@ -427,6 +427,7 @@ func (s *VirtualMachineService) DeployVirtualMachine(p *DeployVirtualMachinePara return nil, err } } + return &r, nil } @@ -682,6 +683,7 @@ func (s *VirtualMachineService) DestroyVirtualMachine(p *DestroyVirtualMachinePa return nil, err } } + return &r, nil } @@ -925,6 +927,7 @@ func (s *VirtualMachineService) RebootVirtualMachine(p *RebootVirtualMachinePara return nil, err } } + return &r, nil } @@ -1190,6 +1193,7 @@ func (s *VirtualMachineService) StartVirtualMachine(p *StartVirtualMachineParams return nil, err } } + return &r, nil } @@ -1445,6 +1449,7 @@ func (s *VirtualMachineService) StopVirtualMachine(p *StopVirtualMachineParams) return nil, err } } + return &r, nil } @@ -1688,6 +1693,7 @@ func (s *VirtualMachineService) ResetPasswordForVirtualMachine(p *ResetPasswordF return nil, err } } + return &r, nil } @@ -2040,6 +2046,7 @@ func (s *VirtualMachineService) UpdateVirtualMachine(p *UpdateVirtualMachinePara if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2685,6 +2692,7 @@ func (s *VirtualMachineService) ListVirtualMachines(p *ListVirtualMachinesParams if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2912,6 +2920,7 @@ func (s *VirtualMachineService) GetVMPassword(p *GetVMPasswordParams) (*GetVMPas if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2993,6 +3002,7 @@ func (s *VirtualMachineService) RestoreVirtualMachine(p *RestoreVirtualMachinePa return nil, err } } + return &r, nil } @@ -3244,6 +3254,7 @@ func (s *VirtualMachineService) ChangeServiceForVirtualMachine(p *ChangeServiceF if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -3509,6 +3520,7 @@ func (s *VirtualMachineService) ScaleVirtualMachine(p *ScaleVirtualMachineParams return nil, err } } + return &r, nil } @@ -3609,6 +3621,7 @@ func (s *VirtualMachineService) AssignVirtualMachine(p *AssignVirtualMachinePara if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -3873,6 +3886,7 @@ func (s *VirtualMachineService) MigrateVirtualMachine(p *MigrateVirtualMachinePa return nil, err } } + return &r, nil } @@ -4144,6 +4158,7 @@ func (s *VirtualMachineService) MigrateVirtualMachineWithVolume(p *MigrateVirtua return nil, err } } + return &r, nil } @@ -4367,6 +4382,7 @@ func (s *VirtualMachineService) RecoverVirtualMachine(p *RecoverVirtualMachinePa if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -4604,6 +4620,7 @@ func (s *VirtualMachineService) ExpungeVirtualMachine(p *ExpungeVirtualMachinePa return nil, err } } + return &r, nil } @@ -4659,6 +4676,7 @@ func (s *VirtualMachineService) CleanVMReservations(p *CleanVMReservationsParams return nil, err } } + return &r, nil } @@ -4754,6 +4772,7 @@ func (s *VirtualMachineService) AddNicToVirtualMachine(p *AddNicToVirtualMachine return nil, err } } + return &r, nil } @@ -5009,6 +5028,7 @@ func (s *VirtualMachineService) RemoveNicFromVirtualMachine(p *RemoveNicFromVirt return nil, err } } + return &r, nil } @@ -5264,6 +5284,7 @@ func (s *VirtualMachineService) UpdateDefaultNicForVirtualMachine(p *UpdateDefau return nil, err } } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VolumeService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VolumeService.go index 5b18eb4a5..6eb10f071 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/VolumeService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/VolumeService.go @@ -111,6 +111,7 @@ func (s *VolumeService) AttachVolume(p *AttachVolumeParams) (*AttachVolumeRespon return nil, err } } + return &r, nil } @@ -345,6 +346,7 @@ func (s *VolumeService) UploadVolume(p *UploadVolumeParams) (*UploadVolumeRespon return nil, err } } + return &r, nil } @@ -499,6 +501,7 @@ func (s *VolumeService) DetachVolume(p *DetachVolumeParams) (*DetachVolumeRespon return nil, err } } + return &r, nil } @@ -766,6 +769,7 @@ func (s *VolumeService) CreateVolume(p *CreateVolumeParams) (*CreateVolumeRespon return nil, err } } + return &r, nil } @@ -878,6 +882,7 @@ func (s *VolumeService) DeleteVolume(p *DeleteVolumeParams) (*DeleteVolumeRespon if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1219,6 +1224,7 @@ func (s *VolumeService) ListVolumes(p *ListVolumesParams) (*ListVolumesResponse, if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -1390,6 +1396,7 @@ func (s *VolumeService) ExtractVolume(p *ExtractVolumeParams) (*ExtractVolumeRes return nil, err } } + return &r, nil } @@ -1498,6 +1505,7 @@ func (s *VolumeService) MigrateVolume(p *MigrateVolumeParams) (*MigrateVolumeRes return nil, err } } + return &r, nil } @@ -1689,6 +1697,7 @@ func (s *VolumeService) ResizeVolume(p *ResizeVolumeParams) (*ResizeVolumeRespon return nil, err } } + return &r, nil } @@ -1887,6 +1896,7 @@ func (s *VolumeService) UpdateVolume(p *UpdateVolumeParams) (*UpdateVolumeRespon return nil, err } } + return &r, nil } @@ -2011,6 +2021,7 @@ func (s *VolumeService) GetSolidFireVolumeSize(p *GetSolidFireVolumeSizeParams) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2073,6 +2084,7 @@ func (s *VolumeService) GetSolidFireVolumeAccessGroupId(p *GetSolidFireVolumeAcc if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2123,6 +2135,7 @@ func (s *VolumeService) GetSolidFireVolumeIscsiName(p *GetSolidFireVolumeIscsiNa if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -2263,6 +2276,7 @@ func (s *VolumeService) GetUploadParamsForVolume(p *GetUploadParamsForVolumePara if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ZoneService.go b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ZoneService.go index d02e4dcd7..c64d61856 100644 --- a/vendor/github.com/xanzy/go-cloudstack/cloudstack/ZoneService.go +++ b/vendor/github.com/xanzy/go-cloudstack/cloudstack/ZoneService.go @@ -215,6 +215,7 @@ func (s *ZoneService) CreateZone(p *CreateZoneParams) (*CreateZoneResponse, erro if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -482,6 +483,7 @@ func (s *ZoneService) UpdateZone(p *UpdateZoneParams) (*UpdateZoneResponse, erro if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -576,6 +578,7 @@ func (s *ZoneService) DeleteZone(p *DeleteZoneParams) (*DeleteZoneResponse, erro if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -817,6 +820,7 @@ func (s *ZoneService) ListZones(p *ListZonesParams) (*ListZonesResponse, error) if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } @@ -959,6 +963,7 @@ func (s *ZoneService) DedicateZone(p *DedicateZoneParams) (*DedicateZoneResponse return nil, err } } + return &r, nil } @@ -1030,6 +1035,7 @@ func (s *ZoneService) ReleaseDedicatedZone(p *ReleaseDedicatedZoneParams) (*Rele return nil, err } } + return &r, nil } @@ -1149,6 +1155,7 @@ func (s *ZoneService) ListDedicatedZones(p *ListDedicatedZonesParams) (*ListDedi if err := json.Unmarshal(resp, &r); err != nil { return nil, err } + return &r, nil } diff --git a/vendor/vendor.json b/vendor/vendor.json index 268e12f5b..a60f6187e 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -3077,11 +3077,11 @@ "revision": "9051bd6b44125d9472e0c148b5965692ab283d4a" }, { - "checksumSHA1": "tWnkfXhmDWitjF0TMHY7gy3Kt0k=", + "checksumSHA1": "YmVWv8lTvJ16glHkHyl+BkL83O4=", "comment": "v2.1.3", "path": "github.com/xanzy/go-cloudstack/cloudstack", - "revision": "deca6e17c056012b540aa2d2eae3ea1e63203b85", - "revisionTime": "2016-10-26T18:16:49Z" + "revision": "fc8ab599c1a9b707303676d54b7bb64221916c88", + "revisionTime": "2017-05-11T07:54:48Z" }, { "checksumSHA1": "1mR4/KWIQEL8rzyDlCR4CRrTqGQ=",