# README
internal/proto package documentation for developers
The *.pb.go
files in this directory are automatically generated with the
make generate-protobuf
command.
New *.proto
files will need to be added to the generate.go
file, with a
+generate
and go:generate
build-tag.
It is expected that the protobuf compiler (protoc
) is available on the
system. Plugins for the compiler to generate Go code (protoc-gen-go
) and
Go-GRPC interfaces (protoc-gen-go-grpc
) will be automatically installed
through the tools.go
in the root the project.
# Functions
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
# Constants
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
No description provided by the author
No description provided by the author
# Variables
EncryptionKeyRotation_ServiceDesc is the grpc.ServiceDesc for EncryptionKeyRotation service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NetworkFence_ServiceDesc is the grpc.ServiceDesc for NetworkFence service.
ReclaimSpace_ServiceDesc is the grpc.ServiceDesc for ReclaimSpace service.
Replication_ServiceDesc is the grpc.ServiceDesc for Replication service.
# Structs
DemoteVolumeRequest holds the required information to demote volume on local cluster.
DemoteVolumeResponse holds the information to send when volume is successfully demoted.
DisableVolumeReplicationRequest holds the required information to disable replication on a volume.
DisableVolumeReplicationResponse holds the information to send when replication is successfully disabled on a volume.
EnableVolumeReplicationRequest holds the required information to enable replication on a volume.
EnableVolumeReplicationResponse holds the information to send when replication is successfully enabled on a volume.
EncryptionKeyRotateRequest contains the information needed to identify the volume by the csi-addons sidecar and access any backend services so that the key can be rotated.
EncryptionKeyRotateResponse holds the information about the result of the EncryptionKeyRotateRequest call.
getVolumeReplicationInfoRequest holds the required information to get the Volume replication info.
GetVolumeReplicationInfoResponse holds the information to send the volume replication info.
NetworkFenceRequest holds the required information to fence/unfence the cluster network.
NetworkFenceResponse is returned by the CSI-driver as a result of the FenceRequest call.
PromoteVolumeRequest holds the required information to promote volume as a primary on local cluster.
PromoteVolumeResponse holds the information to send when volume is successfully promoted.
ReclaimSpaceRequest contains the information i.e., pv_name received from the CSIAddons controller for performing the reclaim operation.
ReclaimSpaceResponse holds the information about the result of the ControllerReclaimSpaceRequest/NodeReclaimSpaceRequest call.
Specifies what source the replication will be created from.
No description provided by the author
No description provided by the author
VolumeGroupSource contains the details about the volume group to be replication.
VolumeSource contains the details about the volume to be replication.
ResyncVolumeRequest holds the required information to resync volume.
ResyncVolumeResponse holds the information to send when volume is successfully resynced.
StorageConsumption contains the usage in bytes.
UnimplementedEncryptionKeyRotationServer must be embedded to have forward compatible implementations.
UnimplementedNetworkFenceServer must be embedded to have forward compatible implementations.
UnimplementedReclaimSpaceServer must be embedded to have forward compatible implementations.
UnimplementedReplicationServer must be embedded to have forward compatible implementations.
# Interfaces
EncryptionKeyRotationClient is the client API for EncryptionKeyRotation service.
EncryptionKeyRotationServer is the server API for EncryptionKeyRotation service.
NetworkFenceClient is the client API for NetworkFence service.
NetworkFenceServer is the server API for NetworkFence service.
ReclaimSpaceClient is the client API for ReclaimSpace service.
ReclaimSpaceServer is the server API for ReclaimSpace service.
ReplicationClient is the client API for Replication service.
ReplicationServer is the server API for Replication service.
UnsafeEncryptionKeyRotationServer may be embedded to opt out of forward compatibility for this service.
UnsafeNetworkFenceServer may be embedded to opt out of forward compatibility for this service.
UnsafeReclaimSpaceServer may be embedded to opt out of forward compatibility for this service.
UnsafeReplicationServer may be embedded to opt out of forward compatibility for this service.