# Functions

No description provided by the author
No description provided by the author
CodeForError returns the grpc error code that maps to the http error code for the passed in user googleapi error or context error.
ConvertLabelsStringToMap converts the labels from string to map example: "key1=value1,key2=value2" gets converted into {"key1": "value1", "key2": "value2"} See https://cloud.google.com/compute/docs/labeling-resources#label_format for details.
ConvertMiStringToInt64 converts a GiB string to int64.
ConvertStringToAvailabilityClass converts a string to an availability class string.
ConvertStringToBool converts a string to a boolean.
ConvertStringToInt64 converts a string to int64.
ConvertTagsStringToMap converts the tags from string to Tag slice example: "parent_id1/tag_key1/tag_value1,parent_id2/tag_key2/tag_value2" gets converted into {"parent_id1/tag_key1":"tag_value1", "parent_id2/tag_key2":"tag_value2"} See https://cloud.google.com/resource-manager/docs/tags/tags-overview, https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing for details.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewCombinedError tries to return an appropriate wrapped error that captures useful information as an error code If there are multiple errors, it extracts the first "retryable" error as interpreted by the CSI sidecar.
NewLimiter returns a token bucket based request rate limiter after initializing the passed values for limit, burst (or token bucket) size.
No description provided by the author
No description provided by the author
No description provided by the author
ParseMachineType returns an extracted machineType from a URL, or empty if not found.
ParseStoragePools returns an error if none of the given storagePools (delimited by a comma) are in the format projects/project/zones/zone/storagePools/storagePool.
No description provided by the author
ProcessStorageLocations trims and normalizes storage location to lower letters.
No description provided by the author
No description provided by the author
StoragePoolZones returns the unique zones of the given storage pool resource names.
No description provided by the author
ValidateSnapshotType validates the type.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
Label that is set on a disk when it is used by a 'multi-zone' VolumeHandle.
Keyword indicating a 'multi-zone' volumeHandle.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Keys for PV and PVC parameters as reported by external-provisioner.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Parameters for VolumeSnapshotClass.
No description provided by the author
Parameters for StorageClass.
No description provided by the author
Keys for Snapshot and SnapshotContent parameters as reported by external-snapshotter.
No description provided by the author
Parameters for AvailabilityClass.
No description provided by the author
Keys for Topology.
No description provided by the author
VolumeAttributes for Partition.
No description provided by the author

# Structs

DiskParameters contains normalized and defaulted disk parameters.
No description provided by the author
SnapshotParameters contains normalized and defaulted parameters for snapshots.
No description provided by the author
TemporaryError wraps an error with a temporary error code.
VolumeLocks implements a map with atomic operations.