Codebase list golang-github-quobyte-api / ad6f131f-ffc1-44b7-b625-ce710279d6ce/upstream
Import upstream version 1.2.3 Debian Janitor 1 year, 6 months ago
2 changed file(s) with 546 addition(s) and 138 deletion(s). Raw diff Collapse all Expand all
11
22 ## Releasing new version
33
4 * Compile Quobyte source and copy generated types.go from <QUOBYTE_SOURCE>/build/golang/api/types.go
5 to <api-rep>/quobyte/types.go
6 * Run `gofmt -w <api-rep>/quobyte/types.go`
47 * `go.mod` files must be present at the root level of the project
58 * Each major release beyond V1 (such =v2[+].a.b) must provide unique import path such as `github.com/quobyte/api/vX`
69 * To get around this issue, we always use v1.x.x (**NEVER** make v2 release)
99 type AccessKeyType string
1010
1111 const (
12 // Restrict to file system and S3 access
13 AccessKeyType_DATA_ACCESS_KEY AccessKeyType = "DATA_ACCESS_KEY"
14 // All uses
15 AccessKeyType_GENERAL_ACCESS_KEY AccessKeyType = "GENERAL_ACCESS_KEY"
16 // Restrict to API and Webconsole
17 AccessKeyType_MANAGEMENT_ACCESS_KEY AccessKeyType = "MANAGEMENT_ACCESS_KEY"
18 // Obsolete, equivalent to DATA_ACCESS_KEY
1219 AccessKeyType_S3 AccessKeyType = "S3"
1320 )
1421
196203 ServiceType_WEBCONSOLE ServiceType = "WEBCONSOLE"
197204 )
198205
206 type TaskPriority string
207
208 const (
209 TaskPriority_HIGH TaskPriority = "HIGH"
210 TaskPriority_LOW TaskPriority = "LOW"
211 TaskPriority_NORMAL TaskPriority = "NORMAL"
212 TaskPriority_VERY_HIGH TaskPriority = "VERY_HIGH"
213 TaskPriority_VERY_LOW TaskPriority = "VERY_LOW"
214 )
215
199216 type TaskState string
200217
201218 const (
203220 TaskState_CANCELLING TaskState = "CANCELLING"
204221 TaskState_FAILED TaskState = "FAILED"
205222 TaskState_FINISHED TaskState = "FINISHED"
206 TaskState_RUNNING TaskState = "RUNNING"
207 TaskState_SCHEDULED TaskState = "SCHEDULED"
223 // Task is not started (held back) due to some policy circumstances (e.g.
224 // outside of maintenance window or other task already running etc.)
225 TaskState_QUEUED TaskState = "QUEUED"
226 TaskState_RUNNING TaskState = "RUNNING"
227 // Task is trying to run, but did not succeed yet. In case of a system
228 // availability issues, this state could be showing up for longer time
229 // or switch often between RUNNING and SCHEDULED states.
230 TaskState_SCHEDULED TaskState = "SCHEDULED"
208231 )
209232
210233 type TaskType string
219242 // Moves data from a device to other suitable devices.
220243 TaskType_CLEAR TaskType = "CLEAR"
221244 // Copies, moves or recodes files certain files from a source to another.
222 TaskType_COPY_FILES TaskType = "COPY_FILES"
245 TaskType_COPY_FILES TaskType = "COPY_FILES"
246 TaskType_DELETE_FILES_IN_VOLUMES TaskType = "DELETE_FILES_IN_VOLUMES"
223247 // Safely remove a device from the Quobyte installation.
224248 TaskType_DRAIN TaskType = "DRAIN"
225249 // Restores replica sets and replaces replicas of volume metadata and files
235259 TaskType_ERASE_VOLUMES TaskType = "ERASE_VOLUMES"
236260 TaskType_FSTRIM TaskType = "FSTRIM"
237261 TaskType_MAKE_DEVICE TaskType = "MAKE_DEVICE"
262 // Recreate the persistent accounting information of one or more volumes.
263 TaskType_REACCOUNT_VOLUMES TaskType = "REACCOUNT_VOLUMES"
238264 // Moves replicas from overutilized to underutilized data devices.
239265 TaskType_REBALANCE TaskType = "REBALANCE"
240266 // Moves metadata replicas between metadata devices, trying to eliminate
248274 TaskType_SCRUB TaskType = "SCRUB"
249275 // Move replicas according to there configured replication policy between
250276 // device classes.
251 TaskType_TIERING TaskType = "TIERING"
277 TaskType_TIERING TaskType = "TIERING"
278 TaskType_UPDATE_DATABASE_SCHEMA TaskType = "UPDATE_DATABASE_SCHEMA"
279 TaskType_UPDATE_FILE_SIZES TaskType = "UPDATE_FILE_SIZES"
252280 )
253281
254282 type UserDatabase string
272300 UserRole_OBSOLETE_DOMAIN_ADMIN UserRole = "OBSOLETE_DOMAIN_ADMIN"
273301 // Not effective anymore
274302 UserRole_OBSOLETE_DOMAIN_ADMIN_READONLY UserRole = "OBSOLETE_DOMAIN_ADMIN_READONLY"
275 UserRole_OBSOLETE_UNPRIVILEGED_USER UserRole = "OBSOLETE_UNPRIVILEGED_USER"
276303 UserRole_SUPER_USER UserRole = "SUPER_USER"
277304 UserRole_SUPER_USER_READONLY UserRole = "SUPER_USER_READONLY"
278 )
305 UserRole_UNPRIVILEGED_USER UserRole = "UNPRIVILEGED_USER"
306 )
307
308 type AcceptTermsAndConditionsRequest struct {
309 VersionOfTermsAndConditions string `json:"version_of_terms_and_conditions,omitempty"`
310 retryPolicy
311 }
312
313 type AcceptTermsAndConditionsResponse struct {
314 }
279315
280316 type AccessControlList struct {
281317 Entries []*AccessControlList_AccessControlEntry `json:"entries,omitempty"`
336372 // Secret access key
337373 SecretAccessKey string `json:"secret_access_key,omitempty"`
338374 // Validity time for credentials. If value is 0, the keys are non-expiring.
339 ValidUntilTimestampMs int64 `json:"valid_until_timestamp_ms,omitempty"`
340 Type AccessKeyType `json:"type,omitempty"`
341 // The tenant to use for UserCredentials.
375 ValidUntilTimestampMs int64 `json:"valid_until_timestamp_ms,omitempty"`
376 // How this access key can be used
377 Type AccessKeyType `json:"type,omitempty"`
378 // The tenant the user acts as a member of for data access (file system or S3)
342379 TenantId string `json:"tenant_id,omitempty"`
343380 }
344381
354391 TenantId string `json:"tenant_id,omitempty"`
355392 }
356393
394 type AccountingResource struct {
395 //Type of the resource
396 Type AccountingResource_Type `json:"type,omitempty"`
397 //Value of the resource
398 Value int64 `json:"value,omitempty"`
399 }
400
401 type AccountingResource_Type string
402
403 const (
404 AccountingResource_Type_DIRECTORY_COUNT AccountingResource_Type = "DIRECTORY_COUNT"
405 AccountingResource_Type_FILE_COUNT AccountingResource_Type = "FILE_COUNT"
406 AccountingResource_Type_HDD_ALLOCATED_DISK_SPACE AccountingResource_Type = "HDD_ALLOCATED_DISK_SPACE"
407 AccountingResource_Type_HDD_PHYSICAL_DISK_SPACE AccountingResource_Type = "HDD_PHYSICAL_DISK_SPACE"
408 AccountingResource_Type_LOGICAL_DISK_SPACE AccountingResource_Type = "LOGICAL_DISK_SPACE"
409 AccountingResource_Type_NVME_ALLOCATED_DISK_SPACE AccountingResource_Type = "NVME_ALLOCATED_DISK_SPACE"
410 AccountingResource_Type_NVME_PHYSICAL_DISK_SPACE AccountingResource_Type = "NVME_PHYSICAL_DISK_SPACE"
411 AccountingResource_Type_PHYSICAL_DISK_SPACE AccountingResource_Type = "PHYSICAL_DISK_SPACE"
412 AccountingResource_Type_SSD_ALLOCATED_DISK_SPACE AccountingResource_Type = "SSD_ALLOCATED_DISK_SPACE"
413 AccountingResource_Type_SSD_PHYSICAL_DISK_SPACE AccountingResource_Type = "SSD_PHYSICAL_DISK_SPACE"
414 AccountingResource_Type_VOLUME_COUNT AccountingResource_Type = "VOLUME_COUNT"
415 )
416
357417 type AcknowledgeAlertRequest struct {
358418 AlertIdentifier string `json:"alert_identifier,omitempty"`
359419 Qualifiers FiringRule `json:"qualifiers,omitempty"`
427487 }
428488
429489 type AsyncReplicationProgress struct {
430 FilesInProgress int64 `json:"files_in_progress,omitempty"`
431 InSyncUntilTimestampS int64 `json:"in_sync_until_timestamp_s,omitempty"`
432 Connected bool `json:"connected,omitempty"`
490 FilesInProgress int64 `json:"files_in_progress,omitempty"`
491 InSyncUpToTimestampS int64 `json:"in_sync_up_to_timestamp_s,omitempty"`
492 Connected bool `json:"connected,omitempty"`
433493 }
434494
435495 type AsyncReplicationSource struct {
436 // List of remote registry targets.
437 RemoteRegistryTarget []string `json:"remote_registry_target,omitempty"`
496 // List of remote registry targets (obsolete since 3.0)
497 ObsoleteRemoteRegistryTarget []string `json:"OBSOLETE_remote_registry_target,omitempty"`
498 // XOR A custer uuid
499 RemoteClusterUuid string `json:"remote_cluster_uuid,omitempty"`
438500 // UUID of the remote volume to sync with.
439501 RemoteVolumeUuid string `json:"remote_volume_uuid,omitempty"`
440502 }
486548 type CancelTaskRequest struct {
487549 // List of one or more IDs of the tasks to be canceled
488550 TaskId []string `json:"task_id,omitempty"`
551 // Set tasks to cancelled regardless of runtime state (restarting the target services is advised)
552 Force bool `json:"force,omitempty"`
553 // Remove the task from the registry database entirely (restarting the target services is advised)
554 Delete bool `json:"delete,omitempty"`
489555 retryPolicy
490556 }
491557
687753 // Optional parameters for the sensor, i.e. threshold etc.
688754 SetSensorParameters []string `json:"set_sensor_parameters,omitempty"`
689755 // List of one or more actions to be invoked
690 SetActions []*RuleAction `json:"set_actions,omitempty"`
756 ObsoleteSetActions []*RuleAction `json:"obsolete_set_actions,omitempty"`
691757 retryPolicy
692758 }
693759
697763 type ConsumingEntity struct {
698764 //Type of the entity
699765 Type ConsumingEntity_Type `json:"type,omitempty"`
700 //Identifier of the entity (ID/UUID/name)
766 // Identifier of the consuming entity such as volume uuid, tenant uuid, user or group name.
701767 Identifier string `json:"identifier,omitempty"`
702768 // Acts as a scope for USER, GROUP and VOLUME type entities. Is ignored for other entity types.
703769 TenantId string `json:"tenant_id,omitempty"`
712778 type ConsumingEntity_Type string
713779
714780 const (
715 ConsumingEntity_Type_DEVICE ConsumingEntity_Type = "DEVICE"
716 ConsumingEntity_Type_FAILURE_DOMAIN ConsumingEntity_Type = "FAILURE_DOMAIN"
717 ConsumingEntity_Type_GROUP ConsumingEntity_Type = "GROUP"
718 ConsumingEntity_Type_SYSTEM ConsumingEntity_Type = "SYSTEM"
719 ConsumingEntity_Type_TENANT ConsumingEntity_Type = "TENANT"
720 ConsumingEntity_Type_USER ConsumingEntity_Type = "USER"
721 ConsumingEntity_Type_VOLUME ConsumingEntity_Type = "VOLUME"
781 ConsumingEntity_Type_DEVICE ConsumingEntity_Type = "DEVICE"
782 ConsumingEntity_Type_FAILURE_DOMAIN ConsumingEntity_Type = "FAILURE_DOMAIN"
783 ConsumingEntity_Type_GROUP ConsumingEntity_Type = "GROUP"
784 ConsumingEntity_Type_SYSTEM ConsumingEntity_Type = "SYSTEM"
785 ConsumingEntity_Type_TENANT ConsumingEntity_Type = "TENANT"
786 ConsumingEntity_Type_USER ConsumingEntity_Type = "USER"
787 ConsumingEntity_Type_VOLUME ConsumingEntity_Type = "VOLUME"
788 ConsumingEntity_Type_VOLUME_SNAPSHOT ConsumingEntity_Type = "VOLUME_SNAPSHOT"
722789 )
723790
724791 type CopyFilesSettings struct {
737804 DestinationFileSettings CopyFilesSettings_Job_DestinationFileSettings `json:"destination_file_settings,omitempty"`
738805 // Define what happens to source and/or destination files after finishing copying. Only relevant if not doing in-place recode, but copies.
739806 CommitAction CopyFilesSettings_Job_CommitAction `json:"commit_action,omitempty"`
807 // When set to true, files that were recently modified are not counted as errors and instead are just skipped.
808 DoNotFailOnModifiedFiles bool `json:"do_not_fail_on_modified_files,omitempty"`
809 // When set to true, the task will not abort when its error threshold is reached.
810 DoNotFailOnAnyError bool `json:"do_not_fail_on_any_error,omitempty"`
811 // Sets the maximal number of running jobs. Task will try to keep the number of queued and running jobs between 50%-100% of this. Note: Increasing this will only increase the concurrency of the task, if enough data services are available.
812 MaxConcurrency int64 `json:"max_concurrency,omitempty"`
740813 }
741814
742815 type CopyFilesSettings_Job_CommitAction string
755828 type CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior string
756829
757830 const (
758 CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior_FAIL_IF_FILE_EXISTS CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior = "FAIL_IF_FILE_EXISTS"
759 CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior_OVERWRITE_EXISTING_FILE CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior = "OVERWRITE_EXISTING_FILE"
831 CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior_FAIL_IF_FILE_EXISTS CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior = "FAIL_IF_FILE_EXISTS"
832 CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior_OVERWRITE_EXISTING_FILE CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior = "OVERWRITE_EXISTING_FILE"
833 CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior_OVERWRITE_EXISTING_FILE_IF_OLDER CopyFilesSettings_Job_DestinationFileSettings_CreateBehavior = "OVERWRITE_EXISTING_FILE_IF_OLDER"
760834 )
761835
762836 type CopyFilesSettings_Job_DestinationFileSettings_RedundancySetting string
817891 AccessKeyCredentials AccessKeyCredentials `json:"access_key_credentials,omitempty"`
818892 }
819893
820 type CreateCopyFilesTaskRequest struct {
821 // Textual representation of the settings.
822 CopyFilesSettingsProtoDump string `json:"copy_files_settings_proto_dump,omitempty"`
823 // Optional comment
824 Comment string `json:"comment,omitempty"`
825 retryPolicy
826 }
827
828894 type CreateMasterKeystoreSlotRequest struct {
829895 MasterKeystoreSlotPassword string `json:"master_keystore_slot_password,omitempty"`
896 MasterKeystoreSlotName string `json:"master_keystore_slot_name,omitempty"`
830897 retryPolicy
831898 }
832899
836903 }
837904
838905 type CreateMirroredVolumeRequest struct {
839 LocalVolumeName string `json:"local_volume_name,omitempty"`
840 LocalConfigurationName string `json:"local_configuration_name,omitempty"`
841 LocalTenantId string `json:"local_tenant_id,omitempty"`
842 RemoteVolumeUuid string `json:"remote_volume_uuid,omitempty"`
843 RemoteRegistryTarget []string `json:"remote_registry_target,omitempty"`
906 LocalVolumeName string `json:"local_volume_name,omitempty"`
907 LocalConfigurationName string `json:"local_configuration_name,omitempty"`
908 LocalTenantId string `json:"local_tenant_id,omitempty"`
909 RemoteVolumeUuid string `json:"remote_volume_uuid,omitempty"`
910 ObsoleteRemoteRegistryTarget []string `json:"OBSOLETE_remote_registry_target,omitempty"`
911 RemoteClusterUuid string `json:"remote_cluster_uuid,omitempty"`
844912 retryPolicy
845913 }
846914
920988 MakeDeviceSettings MakeDeviceSettings `json:"make_device_settings,omitempty"`
921989 // Settings for COPY_FILES tasks
922990 CopyFilesSettings CopyFilesSettings `json:"copy_files_settings,omitempty"`
991 // settings for delete files task
992 DeleteFilesSettings DeleteFilesSettings `json:"delete_files_settings,omitempty"`
923993 // List of devices the task should be restricted to
924994 RestrictToDevices []int64 `json:"restrict_to_devices,omitempty"`
925995 // List of volumes the task should be restricted to
927997 // Optional comment
928998 Comment string `json:"comment,omitempty"`
929999 ObsoleteTargetUuid string `json:"OBSOLETE_target_uuid,omitempty"`
1000 // Task priority - lower priority tasks may get preempted if a higher priority task gets scheduled.
1001 TaskPriority TaskPriority `json:"task_priority,omitempty"`
9301002 retryPolicy
9311003 }
9321004
9431015 Role UserRole `json:"role,omitempty"`
9441016 MemberOfTenantId []string `json:"member_of_tenant_id,omitempty"`
9451017 MemberOfGroup []string `json:"member_of_group,omitempty"`
1018 PrimaryGroup string `json:"primary_group,omitempty"`
9461019 retryPolicy
9471020 }
9481021
10261099 Groups []string `json:"groups,omitempty"`
10271100 // Allow only read access
10281101 ReadOnly bool `json:"read_only,omitempty"`
1029 // Forbid root access
1030 ForbidRoot bool `json:"forbid_root,omitempty"`
1102 // Privileged users like root will be treated as normal users
1103 NoPrivilegedAccess bool `json:"no_privileged_access,omitempty"`
10311104 }
10321105
10331106 type DeleteAccessKeyCredentialsRequest struct {
10741147 }
10751148
10761149 type DeleteCsrResponse struct {
1150 }
1151
1152 type DeleteFilesSettings struct {
1153 DirectoryPath string `json:"directory_path,omitempty"`
10771154 }
10781155
10791156 type DeleteLabelsRequest struct {
12321309 FirmwareVersion string `json:"firmware_version,omitempty"`
12331310 MountState Device_MountState `json:"mount_state,omitempty"`
12341311 FilesystemCheckBeforeMount Device_FileSystemCheckBeforeMount `json:"filesystem_check_before_mount,omitempty"`
1312 TrimDeviceMethod Device_TrimDeviceMethod `json:"trim_device_method,omitempty"`
12351313 }
12361314
12371315 type Device_FileSystemCheckBeforeMount string
12641342 Device_Status_OFFLINE Device_Status = "OFFLINE"
12651343 Device_Status_ONLINE Device_Status = "ONLINE"
12661344 Device_Status_REGENERATE Device_Status = "REGENERATE"
1345 )
1346
1347 type Device_TrimDeviceMethod string
1348
1349 const (
1350 Device_TrimDeviceMethod_DISCARD_MOUNT_OPTION Device_TrimDeviceMethod = "DISCARD_MOUNT_OPTION"
1351 Device_TrimDeviceMethod_FSTRIM_TASK Device_TrimDeviceMethod = "FSTRIM_TASK"
1352 Device_TrimDeviceMethod_NONE Device_TrimDeviceMethod = "NONE"
12671353 )
12681354
12691355 type Device_DeviceHealth struct {
15291615 type FailureDomainPlacementPolicy_Type string
15301616
15311617 const (
1618 FailureDomainPlacementPolicy_Type_DISK FailureDomainPlacementPolicy_Type = "DISK"
15321619 FailureDomainPlacementPolicy_Type_MACHINE FailureDomainPlacementPolicy_Type = "MACHINE"
15331620 FailureDomainPlacementPolicy_Type_OBSOLETE_CLUSTER FailureDomainPlacementPolicy_Type = "OBSOLETE_CLUSTER"
15341621 FailureDomainPlacementPolicy_Type_OBSOLETE_METRO FailureDomainPlacementPolicy_Type = "OBSOLETE_METRO"
18631950 Db string `json:"db,omitempty"`
18641951 Config string `json:"config,omitempty"`
18651952 Hostname string `json:"hostname,omitempty"`
1953 TaskId string `json:"task_id,omitempty"`
18661954 // Description of the alert
18671955 UserMessage string `json:"user_message,omitempty"`
18681956 // Description of actions to be taken for a fix
19111999 }
19122000
19132001 type GetAccountingResponse_EntityUsage struct {
1914 Consumer ConsumingEntity `json:"consumer,omitempty"`
1915 Usage []*Resource `json:"usage,omitempty"`
2002 Consumer ConsumingEntity `json:"consumer,omitempty"`
2003 Usage []*AccountingResource `json:"usage,omitempty"`
19162004 }
19172005
19182006 type GetAddKeySlotDataRequest struct {
19952083 }
19962084
19972085 type GetConfigurationRequest struct {
1998 // Type of the requested configuration
2086 // Type of the requested configuration (leave empty for all configuration types)
19992087 ConfigurationType ConfigurationType `json:"configuration_type,omitempty"`
20002088 // Name of the requested configuration (leave empty for a full list)
20012089 ConfigurationName string `json:"configuration_name,omitempty"`
20032091 }
20042092
20052093 type GetConfigurationResponse struct {
2006 VolumeConfiguration []*VolumeConfiguration `json:"volume_configuration,omitempty"`
2007 FailureDomainConfiguration FailureDomainConfiguration `json:"failure_domain_configuration,omitempty"`
2008 UserConfiguration []*UserConfiguration `json:"user_configuration,omitempty"`
2009 SystemConfiguration SystemConfiguration `json:"system_configuration,omitempty"`
2010 QuotaPoolConfiguration []*QuotaPoolConfiguration `json:"quota_pool_configuration,omitempty"`
2011 RuleConfiguration []*RuleConfiguration `json:"rule_configuration,omitempty"`
2012 //Obsolete since release 1.4. Use getTenant() instead.
2013 TenantConfiguration []*TenantDomainConfiguration `json:"tenant_configuration,omitempty"`
2094 VolumeConfiguration []*VolumeConfiguration `json:"volume_configuration,omitempty"`
2095 FailureDomainConfiguration FailureDomainConfiguration `json:"failure_domain_configuration,omitempty"`
2096 TenantConfiguration []*TenantDomainConfiguration `json:"tenant_configuration,omitempty"`
2097 UserConfiguration []*UserConfiguration `json:"user_configuration,omitempty"`
2098 SystemConfiguration SystemConfiguration `json:"system_configuration,omitempty"`
2099 QuotaPoolConfiguration []*QuotaPoolConfiguration `json:"quota_pool_configuration,omitempty"`
2100 RuleConfiguration []*RuleConfiguration `json:"rule_configuration,omitempty"`
20142101 }
20152102
20162103 type GetDefaultKeyStoreSlotParamsRequest struct {
20922179 EncryptedVolumeKey EncodedEncryptedKey `json:"encrypted_volume_key,omitempty"`
20932180 }
20942181
2182 type GetFederationClustersRequest struct {
2183 retryPolicy
2184 }
2185
2186 type GetFederationClustersResponse struct {
2187 Cluster []*RemoteClusterConfiguration `json:"cluster,omitempty"`
2188 }
2189
20952190 type GetFileMetadataDumpRequest struct {
20962191 VolumeUuid string `json:"volume_uuid,omitempty"`
20972192 // as an alternative to file_id (to be resolved to file_id internally)
20982193 File string `json:"file,omitempty"`
20992194 FileId int64 `json:"file_id,omitempty"`
2100 // for segment block dumps from data services
2101 IncludeSegmentDumps bool `json:"include_segment_dumps,omitempty"`
2195 // for segment object dumps from data services
2196 IncludeObjectDumps bool `json:"include_object_dumps,omitempty"`
21022197 // optional
21032198 SegmentStartOffset int64 `json:"segment_start_offset,omitempty"`
21042199 // optional
21072202 }
21082203
21092204 type GetFileMetadataDumpResponse struct {
2110 FileMetadataDump FileMetadataDump `json:"file_metadata_dump,omitempty"`
2111 StripeBlockDump []string `json:"stripe_block_dump,omitempty"`
2205 FileMetadataDump FileMetadataDump `json:"file_metadata_dump,omitempty"`
2206 StripeMetadataDump []string `json:"stripe_metadata_dump,omitempty"`
21122207 // start offset where stopped due to size limit
21132208 LastSegmentStartOffset int64 `json:"last_segment_start_offset,omitempty"`
21142209 // stripe number where stopped due to size limit
21762271 }
21772272
21782273 type GetLicenseResponse struct {
2179 CustomerId string `json:"customer_id,omitempty"`
2180 CustomerName string `json:"customer_name,omitempty"`
2181 ProductVersion string `json:"product_version,omitempty"`
2182 ExpiryDateTimestampS int64 `json:"expiry_date_timestamp_s,omitempty"`
2183 LimitedToTotalLogicalBytes int64 `json:"limited_to_total_logical_bytes,omitempty"`
2184 CurrentUsageTotalLogicalBytes int64 `json:"current_usage_total_logical_bytes,omitempty"`
2185 LimitedToTotalPhysicalBytes int64 `json:"limited_to_total_physical_bytes,omitempty"`
2186 LicenseInfoMessage string `json:"license_info_message,omitempty"`
2187 LicenseWarningMessage string `json:"license_warning_message,omitempty"`
2274 CustomerId string `json:"customer_id,omitempty"`
2275 CustomerName string `json:"customer_name,omitempty"`
2276 ProductVersion string `json:"product_version,omitempty"`
2277 ExpiryDateTimestampS int64 `json:"expiry_date_timestamp_s,omitempty"`
2278 LimitedToTotalLogicalBytes int64 `json:"limited_to_total_logical_bytes,omitempty"`
2279 CurrentUsageTotalLogicalBytes int64 `json:"current_usage_total_logical_bytes,omitempty"`
2280 LimitedToTotalDeviceCapacityBytes int64 `json:"limited_to_total_device_capacity_bytes,omitempty"`
2281 LicenseInfoMessage string `json:"license_info_message,omitempty"`
2282 LicenseWarningMessage string `json:"license_warning_message,omitempty"`
2283 FeatureSet string `json:"feature_set,omitempty"`
2284 }
2285
2286 type GetMasterKeystoreSlotsRequest struct {
2287 retryPolicy
2288 }
2289
2290 type GetMasterKeystoreSlotsResponse struct {
2291 Slot []*MasterKeystoreSlotDescriptor `json:"slot,omitempty"`
21882292 }
21892293
21902294 type GetNetworkTestResultRequest struct {
23322436 }
23332437
23342438 type GetRulesResponse struct {
2439 Rule []*RuleDescriptor `json:"rule,omitempty"`
23352440 }
23362441
23372442 type GetServiceDumpRequest struct {
24202525 // The key in database to start the iterator at
24212526 StartAtKey string `json:"start_at_key,omitempty"`
24222527 // The state to filter to, if set.
2423 TaskState TaskState `json:"task_state,omitempty"`
2528 TaskState []*TaskState `json:"task_state,omitempty"`
24242529 // The parent task id to query its subtasks
24252530 ByParentTaskId string `json:"by_parent_task_id,omitempty"`
24262531 ObsoleteOnlyUiSampling bool `json:"OBSOLETE_only_ui_sampling,omitempty"`
24412546 Tenant []*TenantDomainConfiguration `json:"tenant,omitempty"`
24422547 }
24432548
2444 type GetTopConsumerRequest struct {
2445 Scope GetTopConsumerRequest_Scope `json:"scope,omitempty"`
2446 ScopeIdentifier string `json:"scope_identifier,omitempty"`
2447 TopConsumerLimit int32 `json:"top_consumer_limit,omitempty"`
2448 OnlyConsumerType []*ConsumingEntity_Type `json:"only_consumer_type,omitempty"`
2449 OnlyResourceType []*Resource_Type `json:"only_resource_type,omitempty"`
2450 retryPolicy
2451 }
2452
2453 type GetTopConsumerRequest_Scope string
2454
2455 const (
2456 GetTopConsumerRequest_Scope_SYSTEM GetTopConsumerRequest_Scope = "SYSTEM"
2457 GetTopConsumerRequest_Scope_TENANT GetTopConsumerRequest_Scope = "TENANT"
2458 GetTopConsumerRequest_Scope_VOLUME GetTopConsumerRequest_Scope = "VOLUME"
2459 )
2460
2461 type GetTopConsumerResponse struct {
2462 TopConsumer []*GetTopConsumerResponse_TopConsumer `json:"top_consumer,omitempty"`
2463 }
2464
2465 type GetTopConsumerResponse_Consumer struct {
2549 type GetTopCapacityConsumerRequest struct {
2550 Scope GetTopCapacityConsumerRequest_Scope `json:"scope,omitempty"`
2551 ScopeIdentifier string `json:"scope_identifier,omitempty"`
2552 TopConsumerLimit int32 `json:"top_consumer_limit,omitempty"`
2553 OnlyConsumerType []*ConsumingEntity_Type `json:"only_consumer_type,omitempty"`
2554 OnlyResourceType []*AccountingResource_Type `json:"only_resource_type,omitempty"`
2555 retryPolicy
2556 }
2557
2558 type GetTopCapacityConsumerRequest_Scope string
2559
2560 const (
2561 GetTopCapacityConsumerRequest_Scope_SYSTEM GetTopCapacityConsumerRequest_Scope = "SYSTEM"
2562 GetTopCapacityConsumerRequest_Scope_TENANT GetTopCapacityConsumerRequest_Scope = "TENANT"
2563 GetTopCapacityConsumerRequest_Scope_VOLUME GetTopCapacityConsumerRequest_Scope = "VOLUME"
2564 )
2565
2566 type GetTopCapacityConsumerResponse struct {
2567 TopConsumer []*GetTopCapacityConsumerResponse_TopConsumer `json:"top_consumer,omitempty"`
2568 }
2569
2570 type GetTopCapacityConsumerResponse_Consumer struct {
24662571 Identifier ConsumingEntity `json:"identifier,omitempty"`
24672572 Usage int64 `json:"usage,omitempty"`
24682573 }
24692574
2470 type GetTopConsumerResponse_TopConsumer struct {
2471 ConsumerType ConsumingEntity_Type `json:"consumer_type,omitempty"`
2472 ResourceType Resource_Type `json:"resource_type,omitempty"`
2473 Consumer []*GetTopConsumerResponse_Consumer `json:"consumer,omitempty"`
2575 type GetTopCapacityConsumerResponse_TopConsumer struct {
2576 ConsumerType ConsumingEntity_Type `json:"consumer_type,omitempty"`
2577 ResourceType AccountingResource_Type `json:"resource_type,omitempty"`
2578 Consumer []*GetTopCapacityConsumerResponse_Consumer `json:"consumer,omitempty"`
24742579 }
24752580
24762581 type GetUnformattedDevicesRequest struct {
24922597 }
24932598
24942599 type GetVolumeListRequest struct {
2495 //Restrict query to single volume
2496 VolumeUuid string `json:"volume_uuid,omitempty"`
2600 // Restrict query to specific uuids.
2601 VolumeUuid []string `json:"volume_uuid,omitempty"`
24972602 // Restrict query to tenant domain
24982603 TenantDomain string `json:"tenant_domain,omitempty"`
24992604 retryPolicy
26082713 InternalOnDiskFormatPolicy_PersistentFormat_V3_METADATA_HEADER_4K_BLOCK_LENGTH InternalOnDiskFormatPolicy_PersistentFormat = "V3_METADATA_HEADER_4K_BLOCK_LENGTH"
26092714 )
26102715
2716 type JoinFederationRequest struct {
2717 // Address of any registry already in the federation. Usually the DNS SRV record or a list of IP:port pairs.
2718 Registry []string `json:"registry,omitempty"`
2719 retryPolicy
2720 }
2721
2722 type JoinFederationResponse struct {
2723 }
2724
26112725 type KeyStoreSlotParams struct {
26122726 // method this slot uses to encrypt the volume keys
26132727 KeyEncryptionMethod KeyStoreSlotParams_KeyEncryptionMethod `json:"key_encryption_method,omitempty"`
26612775 ValueRegex string `json:"value_regex,omitempty"`
26622776 }
26632777
2778 type LeaveFederationRequest struct {
2779 retryPolicy
2780 }
2781
2782 type LeaveFederationResponse struct {
2783 }
2784
26642785 type ListCaRequest struct {
26652786 retryPolicy
26662787 }
27462867 MakeDeviceSettings_FsType_EXT4 MakeDeviceSettings_FsType = "EXT4"
27472868 MakeDeviceSettings_FsType_XFS MakeDeviceSettings_FsType = "XFS"
27482869 )
2870
2871 type MasterKeystoreSlotDescriptor struct {
2872 Uuid string `json:"uuid,omitempty"`
2873 Name string `json:"name,omitempty"`
2874 CreatedTimestampMs int64 `json:"created_timestamp_ms,omitempty"`
2875 CreatedByUsername string `json:"created_by_username,omitempty"`
2876 }
27492877
27502878 type MetadataReplicationPolicy struct {
27512879 ReplicationFactor int32 `json:"replication_factor,omitempty"`
28432971 RequiredDeviceTags PlacementSettings_Tags `json:"required_device_tags,omitempty"`
28442972 //* Do not place on devices that have these tags
28452973 ForbiddenDeviceTags PlacementSettings_Tags `json:"forbidden_device_tags,omitempty"`
2974 // Ignore tag requirements if no placement would be possible otherwise */
2975 SoftenTagRequirements bool `json:"soften_tag_requirements,omitempty"`
28462976 // Prefer placement on devices on the client machine.
28472977 PreferClientLocalDevice bool `json:"prefer_client_local_device,omitempty"`
28482978 // File replicas are placed to support MR locality and reduce bandwidth requirements.
30043134 type RegenerateDatabaseRequest_DatabaseType string
30053135
30063136 const (
3137 RegenerateDatabaseRequest_DatabaseType_UPDATE_SCHEMA RegenerateDatabaseRequest_DatabaseType = "UPDATE_SCHEMA"
30073138 RegenerateDatabaseRequest_DatabaseType_VOLUME_ACCOUNTING RegenerateDatabaseRequest_DatabaseType = "VOLUME_ACCOUNTING"
30083139 )
30093140
30103141 type RegenerateDatabaseResponse struct {
3142 }
3143
3144 type RemoteClusterConfiguration struct {
3145 Uuid string `json:"uuid,omitempty"`
3146 // User-visible cluster name. Can be updated at the source. Spreads globally.
3147 Name string `json:"name,omitempty"`
3148 // Registry address. Can be updated at the source. Spreads globally.
3149 Registry []string `json:"registry,omitempty"`
3150 // This is just a tombstone. Can be updated anywhere. Spreads globally.
3151 Removed bool `json:"removed,omitempty"`
3152 // For last writer wins semantics of name and registry. Updated at the source. Spreads globally.
3153 LastModifiedTimestampMillis int64 `json:"last_modified_timestamp_millis,omitempty"`
3154 // LOCAL INFORMATION Local last seen information. Does not spread.
3155 LastSeenTimestampMillis int64 `json:"last_seen_timestamp_millis,omitempty"`
3156 }
3157
3158 type RemoveClusterFromFederationRequest struct {
3159 Uuid string `json:"uuid,omitempty"`
3160 retryPolicy
3161 }
3162
3163 type RemoveClusterFromFederationResponse struct {
30113164 }
30123165
30133166 type RemoveKeystoreSlotRequest struct {
30163169 }
30173170
30183171 type RemoveKeystoreSlotResponse struct {
3172 }
3173
3174 type RemoveMasterKeystoreSlotRequest struct {
3175 KeystoreSlotUuid string `json:"keystore_slot_uuid,omitempty"`
3176 retryPolicy
3177 }
3178
3179 type RemoveMasterKeystoreSlotResponse struct {
30193180 }
30203181
30213182 type RemoveRegistryReplicaRequest struct {
30743235 }
30753236
30763237 type ResolveTenantNameRequest struct {
3238 // resolve tenant id by tenant name
30773239 TenantName string `json:"tenant_name,omitempty"`
3240 // resolve tenant name by tenant id
3241 TenantId string `json:"tenant_id,omitempty"`
30783242 retryPolicy
30793243 }
30803244
30813245 type ResolveTenantNameResponse struct {
3082 TenantId string `json:"tenant_id,omitempty"`
3246 TenantId string `json:"tenant_id,omitempty"`
3247 TenantName string `json:"tenant_name,omitempty"`
30833248 }
30843249
30853250 type ResolveVolumeNameRequest struct {
3086 VolumeName string `json:"volume_name,omitempty"`
3087 // Optional tenant domain for the volume
3251 VolumeName string `json:"volume_name,omitempty"`
30883252 TenantDomain string `json:"tenant_domain,omitempty"`
30893253 retryPolicy
30903254 }
31963360 RuleAction_ActionType_OBSOLETE_NOTIFY RuleAction_ActionType = "OBSOLETE_NOTIFY"
31973361 RuleAction_ActionType_OBSOLETE_REBALANCE_DEVICE RuleAction_ActionType = "OBSOLETE_REBALANCE_DEVICE"
31983362 RuleAction_ActionType_OBSOLETE_REGENERATE_DEVICE RuleAction_ActionType = "OBSOLETE_REGENERATE_DEVICE"
3363 RuleAction_ActionType_OBSOLETE_RESET_VOLUME_ACCOUNTING RuleAction_ActionType = "OBSOLETE_RESET_VOLUME_ACCOUNTING"
31993364 RuleAction_ActionType_OBSOLETE_SCRUB_VOLUME RuleAction_ActionType = "OBSOLETE_SCRUB_VOLUME"
32003365 RuleAction_ActionType_OBSOLETE_SET_DEVICE_DISCONNECTED RuleAction_ActionType = "OBSOLETE_SET_DEVICE_DISCONNECTED"
32013366 RuleAction_ActionType_OBSOLETE_SET_DEVICE_OFFLINE RuleAction_ActionType = "OBSOLETE_SET_DEVICE_OFFLINE"
32023367 RuleAction_ActionType_OBSOLETE_TRIGGER_VOLUME_CHECKPOINT RuleAction_ActionType = "OBSOLETE_TRIGGER_VOLUME_CHECKPOINT"
3203 RuleAction_ActionType_RESET_VOLUME_ACCOUNTING RuleAction_ActionType = "RESET_VOLUME_ACCOUNTING"
3204 RuleAction_ActionType_UNREGISTER_SERVICE RuleAction_ActionType = "UNREGISTER_SERVICE"
3368 RuleAction_ActionType_OBSOLETE_UNREGISTER_SERVICE RuleAction_ActionType = "OBSOLETE_UNREGISTER_SERVICE"
32053369 )
32063370
32073371 type RuleConfiguration struct {
32133377 // Time restrictions for alerting.
32143378 RestrictTime RestrictTime `json:"restrict_time,omitempty"`
32153379 // Actions to take when alerting.
3216 Actions []*RuleAction `json:"actions,omitempty"`
3380 ObsoleteActions []*RuleAction `json:"obsolete_actions,omitempty"`
32173381 }
32183382
32193383 type RuleDescriptor struct {
32273391 SensorMessage string `json:"sensor_message,omitempty"`
32283392 // What the user should do manually
32293393 SensorSuggestedAction string `json:"sensor_suggested_action,omitempty"`
3230 Actions []*RuleAction `json:"actions,omitempty"`
3394 ObsoleteActions []*RuleAction `json:"obsolete_actions,omitempty"`
32313395 // The set of supported actions for the rule.
3232 SupportedActions []*RuleAction `json:"supported_actions,omitempty"`
3233 Severity FiringRule_RuleSeverity `json:"severity,omitempty"`
3396 ObsoleteSupportedActions []*RuleAction `json:"obsolete_supported_actions,omitempty"`
3397 Severity FiringRule_RuleSeverity `json:"severity,omitempty"`
32343398 }
32353399
32363400 type ScrubSettings struct {
3401 // only EC files are checked and possibly repaired via plausibility cross-comparing ECs of all stripe permutations
3402 EcConsistencyCheckOnly bool `json:"ec_consistency_check_only,omitempty"`
32373403 // Obsolete since release 2.6.
32383404 SkipOpenFiles bool `json:"skip_open_files,omitempty"`
32393405 }
32583424 //additional service information
32593425 AdditionalServiceAddress ServiceDescription_NetworkEndpoint `json:"additional_service_address,omitempty"`
32603426 RdmaEnabled bool `json:"rdma_enabled,omitempty"`
3427 StatusServerToken string `json:"status_server_token,omitempty"`
32613428 }
32623429
32633430 type ServiceDescription_NetworkEndpoint struct {
33223489 ConfigurationName string `json:"configuration_name,omitempty"`
33233490 VolumeConfiguration VolumeConfiguration `json:"volume_configuration,omitempty"`
33243491 FailureDomainConfiguration FailureDomainConfiguration `json:"failure_domain_configuration,omitempty"`
3492 TenantConfiguration TenantDomainConfiguration `json:"tenant_configuration,omitempty"`
33253493 UserConfiguration UserConfiguration `json:"user_configuration,omitempty"`
33263494 SystemConfiguration SystemConfiguration `json:"system_configuration,omitempty"`
33273495 RuleConfiguration RuleConfiguration `json:"rule_configuration,omitempty"`
3328 // Obsolete since release 1.4. Use setTenant() instead.
3329 TenantConfiguration TenantDomainConfiguration `json:"tenant_configuration,omitempty"`
33303496 retryPolicy
33313497 }
33323498
33563522 type SetLabelsResponse struct {
33573523 }
33583524
3525 type SetLicenseKeyRequest struct {
3526 Key string `json:"key,omitempty"`
3527 retryPolicy
3528 }
3529
3530 type SetLicenseKeyResponse struct {
3531 VerificationResult VerifyLicenseResponse_VerificationResult `json:"verification_result,omitempty"`
3532 }
3533
33593534 type SetNotificationRuleRequest struct {
33603535 Rule NotificationRule `json:"rule,omitempty"`
33613536 retryPolicy
34173592
34183593 const (
34193594 SubjectList_Type_DEVICE SubjectList_Type = "DEVICE"
3595 SubjectList_Type_SERVICE SubjectList_Type = "SERVICE"
34203596 SubjectList_Type_SNAPSHOT SubjectList_Type = "SNAPSHOT"
34213597 SubjectList_Type_TASK SubjectList_Type = "TASK"
34223598 SubjectList_Type_UNFORMATTED_DEVICE SubjectList_Type = "UNFORMATTED_DEVICE"
34323608 // Configuration for user authentication
34333609 Security SystemConfiguration_SecurityConfig `json:"security,omitempty"`
34343610 //License key for this installation
3435 LicenseKey string `json:"license_key,omitempty"`
3611 ObsoleteLicenseKey string `json:"OBSOLETE_license_key,omitempty"`
34363612 // Configuration for the Keystone user database
34373613 Keystone SystemConfiguration_KeystoneConfig `json:"keystone,omitempty"`
34383614 Registry SystemConfiguration_RegistryConfig `json:"registry,omitempty"`
34553631
34563632 type SystemConfiguration_CatchupPolicy struct {
34573633 Enable bool `json:"enable,omitempty"`
3634 // Uses accounting information about files marked for catch up to decide on whether or not to trigger a catch up task
3635 OnDemand bool `json:"on_demand,omitempty"`
34583636 }
34593637
34603638 type SystemConfiguration_CleanupPolicy struct {
34753653
34763654 type SystemConfiguration_ClusterConfiguration struct {
34773655 ClusterName string `json:"cluster_name,omitempty"`
3656 // Do not allow any clients or services older than this to register
3657 MinimumComponentVersion string `json:"minimum_component_version,omitempty"`
3658 // Override global constant values on registration
3659 GlobalConstantOverride []*SystemConfiguration_GlobalConstantOverride `json:"global_constant_override,omitempty"`
34783660 }
34793661
34803662 type SystemConfiguration_DeviceManagerConfig struct {
34963678 Enable bool `json:"enable,omitempty"`
34973679 }
34983680
3681 type SystemConfiguration_EjectableDevicesPolicy struct {
3682 Enable bool `json:"enable,omitempty"`
3683 UnmountOnReadyToEject bool `json:"unmount_on_ready_to_eject,omitempty"`
3684 // Enable this LED when defective device is safe to eject
3685 SetLedOnReadyToEject SystemConfiguration_EjectableDevicesPolicy_LedType `json:"set_led_on_ready_to_eject,omitempty"`
3686 }
3687
3688 type SystemConfiguration_EjectableDevicesPolicy_LedType string
3689
3690 const (
3691 SystemConfiguration_EjectableDevicesPolicy_LedType_FAILURE SystemConfiguration_EjectableDevicesPolicy_LedType = "FAILURE"
3692 SystemConfiguration_EjectableDevicesPolicy_LedType_LOCATE SystemConfiguration_EjectableDevicesPolicy_LedType = "LOCATE"
3693 SystemConfiguration_EjectableDevicesPolicy_LedType_NONE SystemConfiguration_EjectableDevicesPolicy_LedType = "NONE"
3694 )
3695
34993696 type SystemConfiguration_EnforcePlacementPolicy struct {
35003697 Enable bool `json:"enable,omitempty"`
35013698 RestrictToMaintenanceWindow bool `json:"restrict_to_maintenance_window,omitempty"`
35023699 IntervalS int64 `json:"interval_s,omitempty"`
3700 // Use failure domain requirements and monitoring to decide when to trigger an enforce placement task.
3701 OnDemand bool `json:"on_demand,omitempty"`
35033702 }
35043703
35053704 type SystemConfiguration_EraseSnapshotPolicy struct {
35183717 // if true, fstrim tasks will only be started during maintenance window
35193718 RestrictToMaintenanceWindow bool `json:"restrict_to_maintenance_window,omitempty"`
35203719 // max parallel fstrim tasks scheduled per service
3521 LimitMaxTasksPerService int32 `json:"limit_max_tasks_per_service,omitempty"`
3720 ObsoleteLimitMaxTasksPerService int32 `json:"OBSOLETE_limit_max_tasks_per_service,omitempty"`
35223721 // global max parallel fstrim tasks scheduled by health manager
3523 LimitMaxTasks int32 `json:"limit_max_tasks,omitempty"`
3722 ObsoleteLimitMaxTasks int32 `json:"OBSOLETE_limit_max_tasks,omitempty"`
3723 }
3724
3725 type SystemConfiguration_GlobalConstantOverride struct {
3726 Name string `json:"name,omitempty"`
3727 Value string `json:"value,omitempty"`
35243728 }
35253729
35263730 type SystemConfiguration_HandleDefectiveDevicesPolicy struct {
35433747 type SystemConfiguration_HealthManagerConfig struct {
35443748 Enable bool `json:"enable,omitempty"`
35453749 // Some policies are restricted to run during a maintenance window. Define this window here.
3546 MaintenanceWindow []*RestrictTime `json:"maintenance_window,omitempty"`
3547 RebalancePolicy SystemConfiguration_RebalancePolicy `json:"rebalance_policy,omitempty"`
3750 MaintenanceWindow []*RestrictTime `json:"maintenance_window,omitempty"`
3751 // data device renalance policy
3752 RebalancePolicy SystemConfiguration_RebalanceDataPolicy `json:"rebalance_policy,omitempty"`
3753 // metadata device renalance policy
3754 RebalanceMetadataPolicy SystemConfiguration_RebalanceMetadataPolicy `json:"rebalance_metadata_policy,omitempty"`
35483755 CatchupPolicy SystemConfiguration_CatchupPolicy `json:"catchup_policy,omitempty"`
35493756 FstrimPolicy SystemConfiguration_FstrimPolicy `json:"fstrim_policy,omitempty"`
35503757 CleanupPolicy SystemConfiguration_CleanupPolicy `json:"cleanup_policy,omitempty"`
35513758 HandleDefectiveDevicesPolicy SystemConfiguration_HandleDefectiveDevicesPolicy `json:"handle_defective_devices_policy,omitempty"`
3552 UpdateStatesOfDrainedDevicesPolicy SystemConfiguration_UpdateStatesOfDrainedDevicesPolicy `json:"update_states_of_drained_devices_policy,omitempty"`
35533759 ScrubPolicy SystemConfiguration_ScrubPolicy `json:"scrub_policy,omitempty"`
35543760 RegenerateUnavailableDevicesPolicy SystemConfiguration_RegenerateUnavailableDevicesPolicy `json:"regenerate_unavailable_devices_policy,omitempty"`
35553761 EnforcePlacementPolicy SystemConfiguration_EnforcePlacementPolicy `json:"enforce_placement_policy,omitempty"`
35583764 ResetAccountingPolicy SystemConfiguration_ResetAccountingPolicy `json:"reset_accounting_policy,omitempty"`
35593765 AutomaticReleaseRolloutPolicy SystemConfiguration_AutomaticReleaseRolloutPolicy `json:"automatic_release_rollout_policy,omitempty"`
35603766 TieringPolicy SystemConfiguration_TieringPolicy `json:"tiering_policy,omitempty"`
3767 EjectableDevicesPolicy SystemConfiguration_EjectableDevicesPolicy `json:"ejectable_devices_policy,omitempty"`
35613768 }
35623769
35633770 type SystemConfiguration_KeystoneConfig struct {
35923799 GroupsToAttributesMapping []*GroupsToAttributesMapping `json:"groups_to_attributes_mapping,omitempty"`
35933800 //Relative distinguished names (RDN) for groups used for the LDAP_GROUP_MEMBERSHIP search.
35943801 GroupRdn []string `json:"group_rdn,omitempty"`
3595 //Attribute name of user RDN
3802 //Identifies the attribute that holds the user ID (usually used as login ID) of a user
35963803 UserRdnAttributeName string `json:"user_rdn_attribute_name,omitempty"`
35973804 // Enables/disables "referral-follow" feature for LDAP client (in case of multiple LDAP-servers should be enabled)
35983805 ReferralFollow bool `json:"referral_follow,omitempty"`
36023809 Name string `json:"name,omitempty"`
36033810 // To disable the backend
36043811 Disabled bool `json:"disabled,omitempty"`
3605 }
3812 // Specifies the encryption mode of LDAP connection
3813 ConnectionSecurity SystemConfiguration_LdapServerConfig_ConnectionSecurity `json:"connection_security,omitempty"`
3814 // This option is deprecated, use encryption mode instead
3815 LdapUseSsl bool `json:"ldap_use_ssl,omitempty"`
3816 LdapCaContainerOrFile string `json:"ldap_ca_container_or_file,omitempty"`
3817 LdapCertContainerOrFile string `json:"ldap_cert_container_or_file,omitempty"`
3818 LdapKeyContainerOrFile string `json:"ldap_key_container_or_file,omitempty"`
3819 LdapPkcs12ContainerOrFile string `json:"ldap_pkcs12_container_or_file,omitempty"`
3820 LdapAttributesMapping SystemConfiguration_LdapServerConfig_LdapAttributesMapping `json:"ldap_attributes_mapping,omitempty"`
3821 }
3822
3823 type SystemConfiguration_LdapServerConfig_ConnectionSecurity string
3824
3825 const (
3826 SystemConfiguration_LdapServerConfig_ConnectionSecurity_NONE SystemConfiguration_LdapServerConfig_ConnectionSecurity = "NONE"
3827 SystemConfiguration_LdapServerConfig_ConnectionSecurity_SSL SystemConfiguration_LdapServerConfig_ConnectionSecurity = "SSL"
3828 SystemConfiguration_LdapServerConfig_ConnectionSecurity_START_TLS SystemConfiguration_LdapServerConfig_ConnectionSecurity = "START_TLS"
3829 )
36063830
36073831 type SystemConfiguration_LdapServerConfig_DataSource string
36083832
36123836 SystemConfiguration_LdapServerConfig_DataSource_LOCAL_DATABASE SystemConfiguration_LdapServerConfig_DataSource = "LOCAL_DATABASE"
36133837 )
36143838
3839 type SystemConfiguration_LdapServerConfig_LdapAttributesMapping struct {
3840 // Specifies the parameters to retrieve the user groups
3841 GroupSearch SystemConfiguration_LdapServerConfig_LdapAttributesMapping_GroupSearch `json:"group_search,omitempty"`
3842 // Specifies the LDAP object class value that defines access keys
3843 AccessKeyObjectClass string `json:"access_key_object_class,omitempty"`
3844 // Identifies the attribute that defines access key ID
3845 AccessKeyIdAttribute string `json:"access_key_id_attribute,omitempty"`
3846 // Identifies the attribute that defines access key secret
3847 AccessKeySecretAttribute string `json:"access_key_secret_attribute,omitempty"`
3848 // Identifies the attribute that defines access key user
3849 AccessKeyMemberUidAttribute string `json:"access_key_member_uid_attribute,omitempty"`
3850 // Identifies the attribute that defines tenant associated with the access key
3851 AccessKeyTenantAttribute string `json:"access_key_tenant_attribute,omitempty"`
3852 // Identifies the attribute that defines expiration time of the access key. Supports ISO 8601 type date-time format with offset and zone (e.g 2022-12-03T17:15:30.27Z or 2022-12-03T17:15:30+01:00)
3853 AccessKeyExpirationAttribute string `json:"access_key_expiration_attribute,omitempty"`
3854 }
3855
3856 type SystemConfiguration_LdapServerConfig_LdapAttributesMapping_GroupSearch struct {
3857 // Specifies from which object class the groups should be retrieved (user or group)
3858 RetrieveFromUser bool `json:"retrieve_from_user,omitempty"`
3859 //Specifies the LDAP object class value that defines groups in the directory service
3860 GroupObjectClass string `json:"group_object_class,omitempty"`
3861 // Identifies the attribute that defines the user's group membership (e.g. memberOf), which returns the list of group DNs.
3862 UserMemberAttribute string `json:"user_member_attribute,omitempty"`
3863 // Identifies the attribute that defines the group's user member (e.g. member), which returns a list of users or user DNs.
3864 GroupMemberAttribute string `json:"group_member_attribute,omitempty"`
3865 //Identifies the attribute that defines group ID
3866 GroupIdAttribute string `json:"group_id_attribute,omitempty"`
3867 }
3868
36153869 type SystemConfiguration_NetworkConfig struct {
3616 //White-listed networks for service-service communication
3870 //White-listed preferred networks for service-service communication
36173871 EnabledServiceNetworks []string `json:"enabled_service_networks,omitempty"`
3618 //White-listed networks for client-service communication (if empty, the service network is used)
3872 // White-listed preferred networks for client-service communication (if empty, the service network is used)
36193873 EnabledClientNetworks []string `json:"enabled_client_networks,omitempty"`
3874 // Communication from IPs from these networks are trusted as coming from services (IP-based authentication of services). Usually this is equal to or a superset of enabled_service_networks. If service machines are multi-homed, this list must encompass all interfaces. If empty, all IPs are privileged to act as services, which is usually not desired.
3875 TrustedServiceNetworks []string `json:"trusted_service_networks,omitempty"`
36203876 // Pairs within these networks will encrypt their communication
36213877 EncryptedNetworkPairs []*SystemConfiguration_NetworkConfig_NetworkList `json:"encrypted_network_pairs,omitempty"`
36223878 }
36343890 Secret string `json:"secret,omitempty"`
36353891 }
36363892
3637 type SystemConfiguration_RebalancePolicy struct {
3893 type SystemConfiguration_RebalanceDataPolicy struct {
36383894 // disables the execution of the rule
36393895 Enable bool `json:"enable,omitempty"`
36403896 // parameter for dynamic threshold of "device too full" detection. The emptiest and the fullest device are determined and if (fullest% - emptiest% > keep_usage_within_band_fraction * 100), a rebalance is started for the fullest devices until all device fills are in the rebalance_band again.
36473903 RetrySuccessfulPeriodS int64 `json:"retry_successful_period_s,omitempty"`
36483904 // minimal time between an unsuccessful rebalance task and a retry
36493905 RetryFailedPeriodS int64 `json:"retry_failed_period_s,omitempty"`
3650 // rebalance tasks will max move X bytes of the device's content to enable shorter turn-around times.
3906 // this parameter is not used anymore (rebalance tasks will max move X bytes of the device's content to enable shorter turn-around times).
36513907 MaxBytesToMove int64 `json:"max_bytes_to_move,omitempty"`
3908 }
3909
3910 type SystemConfiguration_RebalanceMetadataPolicy struct {
3911 // disables the execution of the rule
3912 Enable bool `json:"enable,omitempty"`
3913 // if true, rebalance tasks will only be started during maintenance window
3914 RestrictToMaintenanceWindow bool `json:"restrict_to_maintenance_window,omitempty"`
3915 // minimal time between a successful rebalance task and a retry
3916 RetrySuccessfulPeriodS int64 `json:"retry_successful_period_s,omitempty"`
3917 // minimal time between an unsuccessful rebalance task and a retry
3918 RetryFailedPeriodS int64 `json:"retry_failed_period_s,omitempty"`
36523919 }
36533920
36543921 type SystemConfiguration_RegenerateUnavailableDevicesPolicy struct {
36833950 BrowserBucketName string `json:"browser_bucket_name,omitempty"`
36843951 // Create a new volume for each create bucket initiated via the S3 Service API, if set true.
36853952 CreateVolumePerBucket bool `json:"create_volume_per_bucket,omitempty"`
3953 EnableAccessLog bool `json:"enable_access_log,omitempty"`
36863954 }
36873955
36883956 type SystemConfiguration_S3ProxyConfig_AuthenticationType string
37243992 Enable bool `json:"enable,omitempty"`
37253993 RestrictToMaintenanceWindow bool `json:"restrict_to_maintenance_window,omitempty"`
37263994 IntervalS int64 `json:"interval_s,omitempty"`
3727 }
3728
3729 type SystemConfiguration_UpdateStatesOfDrainedDevicesPolicy struct {
3730 Enable bool `json:"enable,omitempty"`
37313995 }
37323996
37333997 type SystemStatistics struct {
37434007 DecommissionedDevice int32 `json:"decommissioned_device,omitempty"`
37444008 // Number of volumes in the system.
37454009 VolumeCount int32 `json:"volume_count,omitempty"`
4010 // Number of defective devices
4011 DefectiveDeviceCount int32 `json:"defective_device_count,omitempty"`
4012 // Number of available devices, which are not mounted
4013 UnmountedAvailableDeviceCount int32 `json:"unmounted_available_device_count,omitempty"`
4014 // Number of empty devices, which are healthy, but not in mode ONLINE
4015 NotOnlineEmptyUndefectiveDeviceCount int32 `json:"not_online_empty_undefective_device_count,omitempty"`
4016 // Number of healthy devices, which are in OFFLINE mode
4017 OfflineUndefectiveDeviceCount int32 `json:"offline_undefective_device_count,omitempty"`
4018 // Number of healthy devices in ONLINE mode, which are unavailable
4019 OnlineUnavailableUndefectiveDeviceCount int32 `json:"online_unavailable_undefective_device_count,omitempty"`
4020 // Number of unformatted devices
4021 UnformattedDeviceCount int32 `json:"unformatted_device_count,omitempty"`
37464022 // Overall physical storage capacity in bytes
37474023 TotalPhysicalCapacity int64 `json:"total_physical_capacity,omitempty"`
37484024 // Current overall physical usage in bytes
37514027 TotalLogicalCapacity int64 `json:"total_logical_capacity,omitempty"`
37524028 // Current overall logical usage in bytes
37534029 TotalLogicalUsage int64 `json:"total_logical_usage,omitempty"`
4030 // Number of active info alerts
4031 ActiveInfoAlertCount int32 `json:"active_info_alert_count,omitempty"`
4032 // Number of active warning alerts
4033 ActiveWarnAlertCount int32 `json:"active_warn_alert_count,omitempty"`
4034 // Number of active error alerts
4035 ActiveErrorAlertCount int32 `json:"active_error_alert_count,omitempty"`
4036 // Number of silenced alerts
4037 SilencedAlertCount int32 `json:"silenced_alert_count,omitempty"`
4038 // Number of acknowledged alerts
4039 AcknowledgedAlertCount int32 `json:"acknowledged_alert_count,omitempty"`
37544040 }
37554041
37564042 type SystemStatistics_TaskCount struct {
37604046 }
37614047
37624048 type TagBasedPlacementPolicy struct {
3763 RequiredTag []string `json:"required_tag,omitempty"`
3764 ForbiddenTag []string `json:"forbidden_tag,omitempty"`
3765 }
4049 RequiredTag []string `json:"required_tag,omitempty"`
4050 ForbiddenTag []string `json:"forbidden_tag,omitempty"`
4051 SoftenTagRequirements bool `json:"soften_tag_requirements,omitempty"`
4052 AutomaticConstraints TagBasedPlacementPolicy_AutomaticConstraints `json:"automatic_constraints,omitempty"`
4053 }
4054
4055 type TagBasedPlacementPolicy_AutomaticConstraints string
4056
4057 const (
4058 TagBasedPlacementPolicy_AutomaticConstraints_AUTOMATIC_HDD_SSD TagBasedPlacementPolicy_AutomaticConstraints = "AUTOMATIC_HDD_SSD"
4059 TagBasedPlacementPolicy_AutomaticConstraints_NONE TagBasedPlacementPolicy_AutomaticConstraints = "NONE"
4060 )
37664061
37674062 type TaskInfo struct {
3768 TaskId string `json:"task_id,omitempty"`
3769 TaskType TaskType `json:"task_type,omitempty"`
3770 State TaskState `json:"state,omitempty"`
4063 TaskId string `json:"task_id,omitempty"`
4064 TaskType TaskType `json:"task_type,omitempty"`
4065 State TaskState `json:"state,omitempty"`
4066 TaskPriority TaskPriority `json:"task_priority,omitempty"`
37714067 // Start date of task (ms since epoch), only set if the task is not SCHEDULED.
37724068 BeginTimestampMs int64 `json:"begin_timestamp_ms,omitempty"`
37734069 // Completion date of task (ms since epoch), only set if the task is FINISHED, CANCELLED, FAILED.
37744070 EndTimestampMs int64 `json:"end_timestamp_ms,omitempty"`
3775 // Human readable error message is only set if state == FAILED.
4071 // Human readable error message is only set if state == FAILED, but remains if CANCELLED.
37764072 ErrorMessage string `json:"error_message,omitempty"`
37774073 // Contains the 'why' of the running task.
37784074 Comment string `json:"comment,omitempty"`
37884084 MakeDeviceSettings MakeDeviceSettings `json:"make_device_settings,omitempty"`
37894085 CopyFileSettings CopyFilesSettings `json:"copy_file_settings,omitempty"`
37904086 // Summary for the origins of pending long running operations.
3791 ExecutionProblem TaskInfo_ExecutionProblem `json:"execution_problem,omitempty"`
4087 ExecutionProblem TaskInfo_ExecutionProblem `json:"execution_problem,omitempty"`
4088 SchedulingReason []*TaskInfo_SchedulingReason `json:"scheduling_reason,omitempty"`
37924089 }
37934090
37944091 type TaskInfo_OwnerType string
37964093 const (
37974094 TaskInfo_OwnerType_HEALTH_MANAGER TaskInfo_OwnerType = "HEALTH_MANAGER"
37984095 TaskInfo_OwnerType_USER TaskInfo_OwnerType = "USER"
4096 )
4097
4098 type TaskInfo_SchedulingReason string
4099
4100 const (
4101 TaskInfo_SchedulingReason_ALL_SUBTASKS_TERMINATED TaskInfo_SchedulingReason = "ALL_SUBTASKS_TERMINATED"
4102 TaskInfo_SchedulingReason_HAS_HIGHER_PRIORITY_TASK TaskInfo_SchedulingReason = "HAS_HIGHER_PRIORITY_TASK"
4103 TaskInfo_SchedulingReason_NOT_IN_MAINTENANCE_WINDOW TaskInfo_SchedulingReason = "NOT_IN_MAINTENANCE_WINDOW"
4104 TaskInfo_SchedulingReason_NUMBER_OF_INACCESSIBLE_DEVICES_LIMIT TaskInfo_SchedulingReason = "NUMBER_OF_INACCESSIBLE_DEVICES_LIMIT"
4105 TaskInfo_SchedulingReason_NUMBER_OF_TASKS_LIMIT TaskInfo_SchedulingReason = "NUMBER_OF_TASKS_LIMIT"
4106 TaskInfo_SchedulingReason_PRECONDITION_VIOLATION TaskInfo_SchedulingReason = "PRECONDITION_VIOLATION"
4107 TaskInfo_SchedulingReason_USER_ACTION TaskInfo_SchedulingReason = "USER_ACTION"
37994108 )
38004109
38014110 type TaskInfo_ErrorDetails struct {
38044113 }
38054114
38064115 type TaskInfo_ExecutionProblem struct {
3807 // Counter and list of identifiers for devices hindering operations due to their mode i.e. != ONLINE or DRAIN
4116 // Counter and list of identifiers for devices hindering operations due to their OFFLINE mode
38084117 OperationsForOfflineDevice int32 `json:"operations_for_offline_device,omitempty"`
38094118 OfflineDeviceId []int64 `json:"offline_device_id,omitempty"`
38104119 // Counter and list of identifiers for devices hindering operations due to their fill
38314140 // Counter and list of identifiers for services hindering operations due to being unavailable
38324141 OperationsForUnavailableService int32 `json:"operations_for_unavailable_service,omitempty"`
38334142 UnavailableServiceUuid []string `json:"unavailable_service_uuid,omitempty"`
4143 // Counter and list of identifiers for remote cluster hindering operations
4144 OperationsForRemoteCluster int32 `json:"operations_for_remote_cluster,omitempty"`
4145 RemoteCluster []string `json:"remote_cluster,omitempty"`
38344146 // Hit-count of long running operations summarized by RPC target.
38354147 OperationCountPerVolumeUuid []*TaskInfo_ExecutionProblem_CounterByRpcTarget `json:"operation_count_per_volume_uuid,omitempty"`
38364148 OperationCountPerDeviceId []*TaskInfo_ExecutionProblem_CounterByRpcTarget `json:"operation_count_per_device_id,omitempty"`
38874199 Details string `json:"details,omitempty"`
38884200 // Timestamp in [ms] when the operation started.
38894201 StartTimestampMs int64 `json:"start_timestamp_ms,omitempty"`
4202 // Time the operation wasn't queued but actively processing.
4203 TimeSpendProcessingMs int64 `json:"time_spend_processing_ms,omitempty"`
38904204 }
38914205
38924206 type TenantDomainConfiguration struct {
38984212 RestrictToNetwork []string `json:"restrict_to_network,omitempty"`
38994213 // List of one or more volumes accessible in the domain
39004214 VolumeAccess []*TenantDomainConfiguration_VolumeAccess `json:"volume_access,omitempty"`
4215 // List of privileged users for file system access (aka root users). If set, "root" is no longer privileged.
4216 PrivilegedUser []string `json:"privileged_user,omitempty"`
4217 // Groups whose members are considered privileged for file system access (aka root users). If set, "root" is no longer privileged. Make sure that the groups on client hosts are correct.
4218 PrivilegedGroup string `json:"privileged_group,omitempty"`
39014219 }
39024220
39034221 type TenantDomainConfiguration_VolumeAccess struct {
39134231 Uuid string `json:"uuid,omitempty"`
39144232 NameRegex string `json:"name_regex,omitempty"`
39154233 LabelPattern LabelPattern `json:"label_pattern,omitempty"`
4234 }
4235
4236 type TriggerVolumeCheckpointRequest struct {
4237 // Volume uuid
4238 VolumeUuid string `json:"volume_uuid,omitempty"`
4239 retryPolicy
4240 }
4241
4242 type TriggerVolumeCheckpointResponse struct {
39164243 }
39174244
39184245 type UnformattedDevice struct {
39684295 SetDeviceHealth Device_DeviceHealth `json:"set_device_health,omitempty"`
39694296 SetMountState Device_MountState `json:"set_mount_state,omitempty"`
39704297 SetFilesystemCheckBeforeMount Device_FileSystemCheckBeforeMount `json:"set_filesystem_check_before_mount,omitempty"`
4298 SetTrimDeviceMethod Device_TrimDeviceMethod `json:"set_trim_device_method,omitempty"`
39714299 retryPolicy
39724300 }
39734301
39924320 DeleteRoles bool `json:"delete_roles,omitempty"`
39934321 MemberOfTenantId []string `json:"member_of_tenant_id,omitempty"`
39944322 MemberOfGroup []string `json:"member_of_group,omitempty"`
4323 PrimaryGroup string `json:"primary_group,omitempty"`
39954324 retryPolicy
39964325 }
39974326
40154344 // Name of the configuration to be used for the volume
40164345 SetConfigurationName string `json:"set_configuration_name,omitempty"`
40174346 // Only for mirrored volume:
4018 RemoteRegistryTarget []string `json:"remote_registry_target,omitempty"`
4347 ObsoleteRemoteRegistryTarget []string `json:"OBSOLETE_remote_registry_target,omitempty"`
40194348 // Use publishVolume() instead.
40204349 ObsoleteBucketName string `json:"OBSOLETE_bucket_name,omitempty"`
40214350 ObsoleteBucketOwner string `json:"OBSOLETE_bucket_owner,omitempty"`
40544383 LastLoginTimestampMs int64 `json:"last_login_timestamp_ms,omitempty"`
40554384 // Access key credentials
40564385 AccessKeyCredentials []*AccessKeyCredentials `json:"access_key_credentials,omitempty"`
4386 // Primary group of the user
4387 PrimaryGroup string `json:"primary_group,omitempty"`
40574388 // Groups user is member of
40584389 Group []string `json:"group,omitempty"`
40594390 UserSource UserSource `json:"user_source,omitempty"`
41264457 LastSuccessfulScrubMs int64 `json:"last_successful_scrub_ms,omitempty"`
41274458 PrimaryDeviceId int64 `json:"primary_device_id,omitempty"`
41284459 UsedLogicalSpaceBytes int64 `json:"used_logical_space_bytes,omitempty"`
4460 UsedAllocatedSpaceBytes int64 `json:"used_allocated_space_bytes,omitempty"`
41294461 BucketNames []string `json:"bucket_names,omitempty"`
41304462 Isexclusivevolumebucket bool `json:"isExclusiveVolumeBucket,omitempty"`
41314463 // states if the bucket is default within tenant
41354467 AsyncReplicationProgress AsyncReplicationProgress `json:"async_replication_progress,omitempty"`
41364468 LastAccessTimestampS int64 `json:"last_access_timestamp_s,omitempty"`
41374469 VolumeEncryptionContext VolumeEncryptionContext `json:"volume_encryption_context,omitempty"`
4470 CreationTimestampMs int64 `json:"creation_timestamp_ms,omitempty"`
41384471 }
41394472
41404473 type VolumeConfiguration struct {
43194652 Value string `json:"value,omitempty"`
43204653 }
43214654
4655 func (client *QuobyteClient) AcceptTermsAndConditions(request *AcceptTermsAndConditionsRequest) (result *AcceptTermsAndConditionsResponse, err error) {
4656 var response AcceptTermsAndConditionsResponse
4657 if err = client.sendRequest("acceptTermsAndConditions", request, &response); err != nil {
4658 return nil, err
4659 }
4660 return &response, nil
4661 }
4662
43224663 func (client *QuobyteClient) AcknowledgeAlert(request *AcknowledgeAlertRequest) (result *AcknowledgeAlertResponse, err error) {
43234664 var response AcknowledgeAlertResponse
43244665 if err = client.sendRequest("acknowledgeAlert", request, &response); err != nil {
44154756 return &response, nil
44164757 }
44174758
4418 func (client *QuobyteClient) CreateCopyFilesTask(request *CreateCopyFilesTaskRequest) (result *CreateTaskResponse, err error) {
4419 var response CreateTaskResponse
4420 if err = client.sendRequest("createCopyFilesTask", request, &response); err != nil {
4421 return nil, err
4422 }
4423 return &response, nil
4424 }
4425
44264759 func (client *QuobyteClient) CreateMasterKeystoreSlot(request *CreateMasterKeystoreSlotRequest) (result *CreateMasterKeystoreSlotResponse, err error) {
44274760 var response CreateMasterKeystoreSlotResponse
44284761 if err = client.sendRequest("createMasterKeystoreSlot", request, &response); err != nil {
48235156 return &response, nil
48245157 }
48255158
5159 func (client *QuobyteClient) GetFederationClusters(request *GetFederationClustersRequest) (result *GetFederationClustersResponse, err error) {
5160 var response GetFederationClustersResponse
5161 if err = client.sendRequest("getFederationClusters", request, &response); err != nil {
5162 return nil, err
5163 }
5164 return &response, nil
5165 }
5166
48265167 func (client *QuobyteClient) GetFileMetadataDump(request *GetFileMetadataDumpRequest) (result *GetFileMetadataDumpResponse, err error) {
48275168 var response GetFileMetadataDumpResponse
48285169 if err = client.sendRequest("getFileMetadataDump", request, &response); err != nil {
48875228 return &response, nil
48885229 }
48895230
5231 func (client *QuobyteClient) GetMasterKeystoreSlots(request *GetMasterKeystoreSlotsRequest) (result *GetMasterKeystoreSlotsResponse, err error) {
5232 var response GetMasterKeystoreSlotsResponse
5233 if err = client.sendRequest("getMasterKeystoreSlots", request, &response); err != nil {
5234 return nil, err
5235 }
5236 return &response, nil
5237 }
5238
48905239 func (client *QuobyteClient) GetNetworkTestResult(request *GetNetworkTestResultRequest) (result *GetNetworkTestResultResponse, err error) {
48915240 var response GetNetworkTestResultResponse
48925241 if err = client.sendRequest("getNetworkTestResult", request, &response); err != nil {
49995348 return &response, nil
50005349 }
50015350
5351 func (client *QuobyteClient) GetTopCapacityConsumer(request *GetTopCapacityConsumerRequest) (result *GetTopCapacityConsumerResponse, err error) {
5352 var response GetTopCapacityConsumerResponse
5353 if err = client.sendRequest("getTopCapacityConsumer", request, &response); err != nil {
5354 return nil, err
5355 }
5356 return &response, nil
5357 }
5358
50025359 func (client *QuobyteClient) GetUnformattedDevices(request *GetUnformattedDevicesRequest) (result *GetUnformattedDevicesResponse, err error) {
50035360 var response GetUnformattedDevicesResponse
50045361 if err = client.sendRequest("getUnformattedDevices", request, &response); err != nil {
50475404 return &response, nil
50485405 }
50495406
5407 func (client *QuobyteClient) JoinFederation(request *JoinFederationRequest) (result *JoinFederationResponse, err error) {
5408 var response JoinFederationResponse
5409 if err = client.sendRequest("joinFederation", request, &response); err != nil {
5410 return nil, err
5411 }
5412 return &response, nil
5413 }
5414
5415 func (client *QuobyteClient) LeaveFederation(request *LeaveFederationRequest) (result *LeaveFederationResponse, err error) {
5416 var response LeaveFederationResponse
5417 if err = client.sendRequest("leaveFederation", request, &response); err != nil {
5418 return nil, err
5419 }
5420 return &response, nil
5421 }
5422
50505423 func (client *QuobyteClient) ListCa(request *ListCaRequest) (result *ListCaResponse, err error) {
50515424 var response ListCaResponse
50525425 if err = client.sendRequest("listCa", request, &response); err != nil {
51115484 return &response, nil
51125485 }
51135486
5487 func (client *QuobyteClient) RemoveClusterFromFederation(request *RemoveClusterFromFederationRequest) (result *RemoveClusterFromFederationResponse, err error) {
5488 var response RemoveClusterFromFederationResponse
5489 if err = client.sendRequest("removeClusterFromFederation", request, &response); err != nil {
5490 return nil, err
5491 }
5492 return &response, nil
5493 }
5494
51145495 func (client *QuobyteClient) RemoveKeystoreSlot(request *RemoveKeystoreSlotRequest) (result *RemoveKeystoreSlotResponse, err error) {
51155496 var response RemoveKeystoreSlotResponse
51165497 if err = client.sendRequest("removeKeystoreSlot", request, &response); err != nil {
51195500 return &response, nil
51205501 }
51215502
5503 func (client *QuobyteClient) RemoveMasterKeystoreSlot(request *RemoveMasterKeystoreSlotRequest) (result *RemoveMasterKeystoreSlotResponse, err error) {
5504 var response RemoveMasterKeystoreSlotResponse
5505 if err = client.sendRequest("removeMasterKeystoreSlot", request, &response); err != nil {
5506 return nil, err
5507 }
5508 return &response, nil
5509 }
5510
51225511 func (client *QuobyteClient) RemoveRegistryReplica(request *RemoveRegistryReplicaRequest) (result *RemoveRegistryReplicaResponse, err error) {
51235512 var response RemoveRegistryReplicaResponse
51245513 if err = client.sendRequest("removeRegistryReplica", request, &response); err != nil {
52235612 return &response, nil
52245613 }
52255614
5615 func (client *QuobyteClient) SetLicenseKey(request *SetLicenseKeyRequest) (result *SetLicenseKeyResponse, err error) {
5616 var response SetLicenseKeyResponse
5617 if err = client.sendRequest("setLicenseKey", request, &response); err != nil {
5618 return nil, err
5619 }
5620 return &response, nil
5621 }
5622
52265623 func (client *QuobyteClient) SetNotificationRule(request *SetNotificationRuleRequest) (result *SetNotificationRuleResponse, err error) {
52275624 var response SetNotificationRuleResponse
52285625 if err = client.sendRequest("setNotificationRule", request, &response); err != nil {
52635660 return &response, nil
52645661 }
52655662
5663 func (client *QuobyteClient) TriggerVolumeCheckpoint(request *TriggerVolumeCheckpointRequest) (result *TriggerVolumeCheckpointResponse, err error) {
5664 var response TriggerVolumeCheckpointResponse
5665 if err = client.sendRequest("triggerVolumeCheckpoint", request, &response); err != nil {
5666 return nil, err
5667 }
5668 return &response, nil
5669 }
5670
52665671 func (client *QuobyteClient) UnlockMasterKeystoreSlot(request *UnlockMasterKeystoreSlotRequest) (result *UnlockMasterKeystoreSlotResponse, err error) {
52675672 var response UnlockMasterKeystoreSlotResponse
52685673 if err = client.sendRequest("unlockMasterKeystoreSlot", request, &response); err != nil {