This is an automated email from the ASF dual-hosted git repository.
dahn pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-go.git
from 75d368f Merge pull request #93 from apache/sdk-4.20
add fd3145e update listApis to Cloudstack 4.20
add f8d42b4 Add generated 4.20 code
add 25d94b9 replace deprecated github.com/golang/mock package
add f184c7c Remove ShutdownService_test.go because ReadyForShutdown() is
a part of ManagementService
new d654fcc Add missing API calls for Cloudstack 4.20 #91
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/build.yml | 2 +-
Makefile | 3 +-
cloudstack/APIDiscoveryService_mock.go | 10 +-
cloudstack/ASNumberRangeService.go | 399 +
cloudstack/ASNumberRangeService_mock.go | 146 +
cloudstack/ASNumberService.go | 483 +
cloudstack/ASNumberService_mock.go | 117 +
cloudstack/AccountService.go | 264 +-
cloudstack/AccountService_mock.go | 119 +-
cloudstack/AddressService.go | 396 +
cloudstack/AddressService_mock.go | 117 +-
cloudstack/AffinityGroupService_mock.go | 40 +-
cloudstack/AlertService.go | 52 +
cloudstack/AlertService_mock.go | 65 +-
cloudstack/AnnotationService_mock.go | 26 +-
cloudstack/AsyncjobService_mock.go | 14 +-
cloudstack/AuthenticationService.go | 181 +
cloudstack/AuthenticationService_mock.go | 43 +-
cloudstack/AutoScaleService.go | 135 +
cloudstack/AutoScaleService_mock.go | 173 +-
cloudstack/BGPPeerService.go | 1402 +
cloudstack/BGPPeerService_mock.go | 283 +
cloudstack/BaremetalService_mock.go | 42 +-
cloudstack/BigSwitchBCFService_mock.go | 18 +-
cloudstack/BrocadeVCSService_mock.go | 28 +-
cloudstack/CertificateService.go | 1289 +-
cloudstack/CertificateService_mock.go | 242 +-
cloudstack/CloudIdentifierService_mock.go | 12 +-
cloudstack/{QuotaService.go => CloudianService.go} | 29 +-
cloudstack/CloudianService_mock.go | 88 +
cloudstack/ClusterService.go | 428 +
cloudstack/ClusterService_mock.go | 194 +-
cloudstack/ConfigurationService.go | 157 +
cloudstack/ConfigurationService_mock.go | 55 +-
cloudstack/ConsoleEndpointService_mock.go | 12 +-
cloudstack/CustomService_mock.go | 8 +-
cloudstack/DiagnosticsService.go | 164 +
cloudstack/DiagnosticsService_mock.go | 41 +-
cloudstack/DiskOfferingService_mock.go | 40 +-
cloudstack/DomainService.go | 142 +
cloudstack/DomainService_mock.go | 89 +-
cloudstack/EventService_mock.go | 22 +-
cloudstack/FirewallService.go | 2218 +-
cloudstack/FirewallService_mock.go | 239 +-
cloudstack/GuestOSService_mock.go | 84 +-
cloudstack/HostService.go | 141 +-
cloudstack/HostService_mock.go | 199 +-
cloudstack/HypervisorService_mock.go | 20 +-
cloudstack/IPQuarantineService.go | 457 +
cloudstack/IPQuarantineService_mock.go | 146 +
cloudstack/ISOService.go | 366 +
cloudstack/ISOService_mock.go | 99 +-
cloudstack/ImageStoreService.go | 242 +-
cloudstack/ImageStoreService_mock.go | 125 +-
cloudstack/InfrastructureUsageService.go | 318 -
cloudstack/InfrastructureUsageService_mock.go | 102 +-
cloudstack/InternalLBService_mock.go | 52 +-
cloudstack/KubernetesService_mock.go | 94 +-
cloudstack/LDAPService_mock.go | 38 +-
cloudstack/LimitService_mock.go | 22 +-
cloudstack/LoadBalancerService.go | 1265 +-
cloudstack/LoadBalancerService_mock.go | 381 +-
cloudstack/ManagementService.go | 601 +
cloudstack/ManagementService_mock.go | 236 +-
cloudstack/MetricsService_mock.go | 10 +-
cloudstack/MiscService.go | 105 +
cloudstack/MiscService_mock.go | 88 +
cloudstack/NATService_mock.go | 32 +-
cloudstack/NetscalerService.go | 1578 +
cloudstack/NetscalerService_mock.go | 341 +
cloudstack/NetworkACLService.go | 199 +
cloudstack/NetworkACLService_mock.go | 93 +-
cloudstack/NetworkDeviceService_mock.go | 16 +-
cloudstack/NetworkOfferingService_mock.go | 38 +-
cloudstack/NetworkService.go | 1024 +-
cloudstack/NetworkService_mock.go | 391 +-
cloudstack/NicService_mock.go | 24 +-
cloudstack/NiciraNVPService_mock.go | 18 +-
cloudstack/OauthService_mock.go | 36 +-
cloudstack/ObjectStoreService.go | 2 +
cloudstack/ObjectStoreService_mock.go | 40 +-
cloudstack/OutofbandManagementService_mock.go | 20 +-
cloudstack/OvsElementService_mock.go | 20 +-
cloudstack/PodService.go | 433 +
cloudstack/PodService_mock.go | 112 +-
cloudstack/PoolService.go | 79 +
cloudstack/PoolService_mock.go | 77 +-
cloudstack/PortableIPService_mock.go | 24 +-
cloudstack/ProjectService_mock.go | 108 +-
cloudstack/QuotaService_mock.go | 10 +-
cloudstack/RegionService_mock.go | 22 +-
cloudstack/RegistrationService_mock.go | 12 +-
cloudstack/ResourceIconService.go | 400 +
cloudstack/ResourceIconService_mock.go | 146 +
cloudstack/ResourceService.go | 185 +
cloudstack/ResourceService_mock.go | 88 +
cloudstack/ResourcemetadataService.go | 97 +
cloudstack/ResourcemetadataService_mock.go | 53 +-
cloudstack/ResourcetagsService_mock.go | 26 +-
cloudstack/RoleService.go | 192 +
cloudstack/RoleService_mock.go | 126 +-
cloudstack/RollingMaintenanceService.go | 284 +
cloudstack/RollingMaintenanceService_mock.go | 88 +
cloudstack/RouterService.go | 94 +
cloudstack/RouterService_mock.go | 93 +-
cloudstack/SSHService_mock.go | 44 +-
cloudstack/SecurityGroupService.go | 145 +
cloudstack/SecurityGroupService_mock.go | 75 +-
cloudstack/ServiceOfferingService_mock.go | 40 +-
cloudstack/SharedFileSystemService.go | 2412 +
cloudstack/SharedFileSystemService_mock.go | 470 +
cloudstack/ShutdownService.go | 101 -
cloudstack/ShutdownService_mock.go | 82 -
cloudstack/SnapshotService.go | 1010 +-
cloudstack/SnapshotService_mock.go | 192 +-
cloudstack/SolidFireService.go | 282 +
cloudstack/SolidFireService_mock.go | 146 +
cloudstack/StoragePoolService.go | 401 +-
cloudstack/StoragePoolService_mock.go | 161 +-
cloudstack/StratosphereSSPService_mock.go | 16 +-
cloudstack/SwiftService_mock.go | 20 +-
cloudstack/SystemCapacityService_mock.go | 10 +-
cloudstack/SystemVMService.go | 332 +
cloudstack/SystemVMService_mock.go | 150 +-
cloudstack/TemplateService.go | 337 +-
cloudstack/TemplateService_mock.go | 159 +-
cloudstack/UCSService_mock.go | 48 +-
cloudstack/UsageService_mock.go | 58 +-
cloudstack/UserService.go | 347 +-
cloudstack/UserService_mock.go | 177 +-
cloudstack/VLANService_mock.go | 44 +-
cloudstack/VMGroupService_mock.go | 40 +-
cloudstack/VPCService.go | 225 +
cloudstack/VPCService_mock.go | 137 +-
cloudstack/VPNService_mock.go | 120 +-
cloudstack/VirtualMachineService.go | 871 +-
cloudstack/VirtualMachineService_mock.go | 242 +-
cloudstack/VirtualNetworkFunctionsService.go | 5166 +
cloudstack/VirtualNetworkFunctionsService_mock.go | 359 +
cloudstack/VolumeService.go | 5518 +-
cloudstack/VolumeService_mock.go | 321 +-
cloudstack/WebhookService.go | 1916 +
cloudstack/WebhookService_mock.go | 388 +
cloudstack/ZoneService.go | 2059 +-
cloudstack/ZoneService_mock.go | 305 +-
cloudstack/cloudstack.go | 313 +-
examples/mock_test.go | 2 +-
generate/layout.go | 182 +-
generate/listApis.json | 194125 +++++++++---------
go.mod | 12 +-
go.sum | 52 +-
...ervice_test.go => ASNumberRangeService_test.go} | 40 +-
...wiftService_test.go => ASNumberService_test.go} | 27 +-
test/AccountService_test.go | 22 +-
test/AddressService_test.go | 39 +
test/AlertService_test.go | 12 +
test/AuthenticationService_test.go | 12 +
test/AutoScaleService_test.go | 12 +
...{PoolService_test.go => BGPPeerService_test.go} | 79 +-
test/CertificateService_test.go | 97 +-
...downService_test.go => CloudianService_test.go} | 14 +-
test/ClusterService_test.go | 42 +
test/ConfigurationService_test.go | 12 +
test/DiagnosticsService_test.go | 12 +
test/DomainService_test.go | 15 +
test/FirewallService_test.go | 54 +
test/HostService_test.go | 17 +-
...Service_test.go => IPQuarantineService_test.go} | 37 +-
test/ISOService_test.go | 12 +
test/ImageStoreService_test.go | 14 +-
test/InfrastructureUsageService_test.go | 12 -
test/LoadBalancerService_test.go | 71 +-
test/ManagementService_test.go | 60 +
...{MetricsService_test.go => MiscService_test.go} | 14 +-
test/NetscalerService_test.go | 149 +
test/NetworkACLService_test.go | 15 +
test/NetworkService_test.go | 79 +-
test/PodService_test.go | 27 +
test/PoolService_test.go | 12 +
...Service_test.go => ResourceIconService_test.go} | 34 +-
...ricsService_test.go => ResourceService_test.go} | 14 +-
test/ResourcemetadataService_test.go | 12 +
test/RoleService_test.go | 24 +
...e_test.go => RollingMaintenanceService_test.go} | 14 +-
test/RouterService_test.go | 12 +
test/SecurityGroupService_test.go | 15 +
test/SharedFileSystemService_test.go | 200 +
test/SnapshotService_test.go | 60 +
...sorService_test.go => SolidFireService_test.go} | 37 +-
test/StoragePoolService_test.go | 24 +
test/SystemVMService_test.go | 12 +
test/TemplateService_test.go | 24 -
test/UserService_test.go | 39 +
test/VPCService_test.go | 15 +
test/VirtualMachineService_test.go | 27 +
...t.go => VirtualNetworkFunctionsService_test.go} | 73 +-
test/VolumeService_test.go | 108 +-
...{PoolService_test.go => WebhookService_test.go} | 82 +-
test/ZoneService_test.go | 104 +-
199 files changed, 135621 insertions(+), 107768 deletions(-)
create mode 100644 cloudstack/ASNumberRangeService.go
create mode 100644 cloudstack/ASNumberRangeService_mock.go
create mode 100644 cloudstack/ASNumberService.go
create mode 100644 cloudstack/ASNumberService_mock.go
create mode 100644 cloudstack/BGPPeerService.go
create mode 100644 cloudstack/BGPPeerService_mock.go
copy cloudstack/{QuotaService.go => CloudianService.go} (60%)
create mode 100644 cloudstack/CloudianService_mock.go
create mode 100644 cloudstack/IPQuarantineService.go
create mode 100644 cloudstack/IPQuarantineService_mock.go
create mode 100644 cloudstack/MiscService.go
create mode 100644 cloudstack/MiscService_mock.go
create mode 100644 cloudstack/NetscalerService.go
create mode 100644 cloudstack/NetscalerService_mock.go
create mode 100644 cloudstack/ResourceIconService.go
create mode 100644 cloudstack/ResourceIconService_mock.go
create mode 100644 cloudstack/ResourceService.go
create mode 100644 cloudstack/ResourceService_mock.go
create mode 100644 cloudstack/RollingMaintenanceService.go
create mode 100644 cloudstack/RollingMaintenanceService_mock.go
create mode 100644 cloudstack/SharedFileSystemService.go
create mode 100644 cloudstack/SharedFileSystemService_mock.go
delete mode 100644 cloudstack/ShutdownService.go
delete mode 100644 cloudstack/ShutdownService_mock.go
create mode 100644 cloudstack/SolidFireService.go
create mode 100644 cloudstack/SolidFireService_mock.go
create mode 100644 cloudstack/VirtualNetworkFunctionsService.go
create mode 100644 cloudstack/VirtualNetworkFunctionsService_mock.go
create mode 100644 cloudstack/WebhookService.go
create mode 100644 cloudstack/WebhookService_mock.go
copy test/{OauthService_test.go => ASNumberRangeService_test.go} (65%)
copy test/{SwiftService_test.go => ASNumberService_test.go} (71%)
copy test/{PoolService_test.go => BGPPeerService_test.go} (52%)
rename test/{ShutdownService_test.go => CloudianService_test.go} (79%)
copy test/{HypervisorService_test.go => IPQuarantineService_test.go} (61%)
copy test/{MetricsService_test.go => MiscService_test.go} (78%)
create mode 100644 test/NetscalerService_test.go
copy test/{CertificateService_test.go => ResourceIconService_test.go} (61%)
copy test/{MetricsService_test.go => ResourceService_test.go} (78%)
copy test/{CloudIdentifierService_test.go =>
RollingMaintenanceService_test.go} (75%)
create mode 100644 test/SharedFileSystemService_test.go
copy test/{HypervisorService_test.go => SolidFireService_test.go} (59%)
copy test/{PoolService_test.go => VirtualNetworkFunctionsService_test.go} (52%)
copy test/{PoolService_test.go => WebhookService_test.go} (51%)