# Packages
Package mocks is a generated GoMock package.
# Constants
DefaultMaxPowerScaleConnections is the number of workers that can query powerscale at a time.
DirectoryQuotaType is the type of Quota corresponding to a volume.
ExpectedVolumeHandleProperties is the number of properties that the VolumeHandle contains.
# Structs
ClusterCapacityStatsMetrics contains the capacity stats metrics related to a cluster.
ClusterCapacityStatsMetricsRecord used for holding output of the capacity statistics for cluster.
ClusterMeta is the details of a cluster.
ClusterPerformanceStatsMetrics contains the performance stats metrics related to a cluster.
ClusterPerformanceStatsMetricsRecord used for holding output of the performance statistics for cluster.
ClusterQuotaMetrics contains quota capacity in all directories.
ClusterQuotaRecord used for holding output of the Volume stat query results.
MetricsWrapper contains data used for pushing metrics data.
PowerScaleCluster is a struct that stores all PowerScale connection information.
PowerScaleService represents the service for getting metrics data for a PowerScale system.
VolumeMeta is the details of a volume.
VolumeQuotaMetrics contains volume quota metrics data.
VolumeQuotaMetricsRecord used for holding output of the Volume stat query results.
# Interfaces
AsyncMetricCreator to create AsyncInt64/AsyncFloat64 InstrumentProvider
go:generate mockgen -destination=mocks/asyncint64mock/instrument_asyncint64_provider_mocks.go -package=asyncint64mock go.opentelemetry.io/otel/metric/instrument/asyncint64 InstrumentProvidergo:generate mockgen -destination=mocks/asyncfloat64mock/instrument_asyncfloat64_provider_mocks.go -package=asyncfloat64mock go.opentelemetry.io/otel/metric/instrument/asyncfloat64 InstrumentProvider.
LeaderElector will elect a leader
go:generate mockgen -destination=mocks/leader_elector_mocks.go -package=mocks github.com/dell/csm-metrics-powerscale/internal/service LeaderElector.
MetricsRecorder supports recording volume and cluster metric
go:generate mockgen -destination=mocks/metrics_mocks.go -package=mocks github.com/dell/csm-metrics-powerscale/internal/service MetricsRecorder,AsyncMetricCreator.
PowerScaleClient contains operations for accessing the PowerScale API
go:generate mockgen -destination=mocks/powerscale_client_mocks.go -package=mocks github.com/dell/csm-metrics-powerscale/internal/service PowerScaleClient.
Service contains operations that would be used to interact with a PowerScale system
go:generate mockgen -destination=mocks/service_mocks.go -package=mocks github.com/dell/csm-metrics-powerscale/internal/service Service.
StorageClassFinder is used to find storage classes in kubernetes
go:generate mockgen -destination=mocks/storage_class_finder_mocks.go -package=mocks github.com/dell/csm-metrics-powerscale/internal/service StorageClassFinder.
VolumeFinder is used to find volume information in kubernetes
go:generate mockgen -destination=mocks/volume_finder_mocks.go -package=mocks github.com/dell/csm-metrics-powerscale/internal/service VolumeFinder.