mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 11:46:06 +00:00
819 lines
26 KiB
Go
819 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11-devel
|
|
// protoc v4.25.2
|
|
// source: VolumeSnapshotter.proto
|
|
|
|
package generated
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type CreateVolumeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
SnapshotID string `protobuf:"bytes,2,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"`
|
|
VolumeType string `protobuf:"bytes,3,opt,name=volumeType,proto3" json:"volumeType,omitempty"`
|
|
VolumeAZ string `protobuf:"bytes,4,opt,name=volumeAZ,proto3" json:"volumeAZ,omitempty"`
|
|
Iops int64 `protobuf:"varint,5,opt,name=iops,proto3" json:"iops,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateVolumeRequest) Reset() {
|
|
*x = CreateVolumeRequest{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateVolumeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateVolumeRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateVolumeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateVolumeRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateVolumeRequest) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateVolumeRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateVolumeRequest) GetSnapshotID() string {
|
|
if x != nil {
|
|
return x.SnapshotID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateVolumeRequest) GetVolumeType() string {
|
|
if x != nil {
|
|
return x.VolumeType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateVolumeRequest) GetVolumeAZ() string {
|
|
if x != nil {
|
|
return x.VolumeAZ
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateVolumeRequest) GetIops() int64 {
|
|
if x != nil {
|
|
return x.Iops
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateVolumeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeID string `protobuf:"bytes,1,opt,name=volumeID,proto3" json:"volumeID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateVolumeResponse) Reset() {
|
|
*x = CreateVolumeResponse{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateVolumeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateVolumeResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateVolumeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateVolumeResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateVolumeResponse) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateVolumeResponse) GetVolumeID() string {
|
|
if x != nil {
|
|
return x.VolumeID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetVolumeInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
VolumeID string `protobuf:"bytes,2,opt,name=volumeID,proto3" json:"volumeID,omitempty"`
|
|
VolumeAZ string `protobuf:"bytes,3,opt,name=volumeAZ,proto3" json:"volumeAZ,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetVolumeInfoRequest) Reset() {
|
|
*x = GetVolumeInfoRequest{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetVolumeInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetVolumeInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetVolumeInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetVolumeInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetVolumeInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GetVolumeInfoRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetVolumeInfoRequest) GetVolumeID() string {
|
|
if x != nil {
|
|
return x.VolumeID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetVolumeInfoRequest) GetVolumeAZ() string {
|
|
if x != nil {
|
|
return x.VolumeAZ
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetVolumeInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeType string `protobuf:"bytes,1,opt,name=volumeType,proto3" json:"volumeType,omitempty"`
|
|
Iops int64 `protobuf:"varint,2,opt,name=iops,proto3" json:"iops,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetVolumeInfoResponse) Reset() {
|
|
*x = GetVolumeInfoResponse{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetVolumeInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetVolumeInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetVolumeInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetVolumeInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetVolumeInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetVolumeInfoResponse) GetVolumeType() string {
|
|
if x != nil {
|
|
return x.VolumeType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetVolumeInfoResponse) GetIops() int64 {
|
|
if x != nil {
|
|
return x.Iops
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateSnapshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
VolumeID string `protobuf:"bytes,2,opt,name=volumeID,proto3" json:"volumeID,omitempty"`
|
|
VolumeAZ string `protobuf:"bytes,3,opt,name=volumeAZ,proto3" json:"volumeAZ,omitempty"`
|
|
Tags map[string]string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateSnapshotRequest) Reset() {
|
|
*x = CreateSnapshotRequest{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateSnapshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSnapshotRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CreateSnapshotRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSnapshotRequest) GetVolumeID() string {
|
|
if x != nil {
|
|
return x.VolumeID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSnapshotRequest) GetVolumeAZ() string {
|
|
if x != nil {
|
|
return x.VolumeAZ
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSnapshotRequest) GetTags() map[string]string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateSnapshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SnapshotID string `protobuf:"bytes,1,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateSnapshotResponse) Reset() {
|
|
*x = CreateSnapshotResponse{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateSnapshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSnapshotResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateSnapshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CreateSnapshotResponse) GetSnapshotID() string {
|
|
if x != nil {
|
|
return x.SnapshotID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteSnapshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
SnapshotID string `protobuf:"bytes,2,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteSnapshotRequest) Reset() {
|
|
*x = DeleteSnapshotRequest{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteSnapshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteSnapshotRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DeleteSnapshotRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteSnapshotRequest) GetSnapshotID() string {
|
|
if x != nil {
|
|
return x.SnapshotID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetVolumeIDRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
PersistentVolume []byte `protobuf:"bytes,2,opt,name=persistentVolume,proto3" json:"persistentVolume,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetVolumeIDRequest) Reset() {
|
|
*x = GetVolumeIDRequest{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetVolumeIDRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetVolumeIDRequest) ProtoMessage() {}
|
|
|
|
func (x *GetVolumeIDRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetVolumeIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetVolumeIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetVolumeIDRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetVolumeIDRequest) GetPersistentVolume() []byte {
|
|
if x != nil {
|
|
return x.PersistentVolume
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetVolumeIDResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeID string `protobuf:"bytes,1,opt,name=volumeID,proto3" json:"volumeID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetVolumeIDResponse) Reset() {
|
|
*x = GetVolumeIDResponse{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetVolumeIDResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetVolumeIDResponse) ProtoMessage() {}
|
|
|
|
func (x *GetVolumeIDResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetVolumeIDResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetVolumeIDResponse) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetVolumeIDResponse) GetVolumeID() string {
|
|
if x != nil {
|
|
return x.VolumeID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetVolumeIDRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
PersistentVolume []byte `protobuf:"bytes,2,opt,name=persistentVolume,proto3" json:"persistentVolume,omitempty"`
|
|
VolumeID string `protobuf:"bytes,3,opt,name=volumeID,proto3" json:"volumeID,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetVolumeIDRequest) Reset() {
|
|
*x = SetVolumeIDRequest{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetVolumeIDRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetVolumeIDRequest) ProtoMessage() {}
|
|
|
|
func (x *SetVolumeIDRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetVolumeIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetVolumeIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SetVolumeIDRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetVolumeIDRequest) GetPersistentVolume() []byte {
|
|
if x != nil {
|
|
return x.PersistentVolume
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetVolumeIDRequest) GetVolumeID() string {
|
|
if x != nil {
|
|
return x.VolumeID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetVolumeIDResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PersistentVolume []byte `protobuf:"bytes,1,opt,name=persistentVolume,proto3" json:"persistentVolume,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetVolumeIDResponse) Reset() {
|
|
*x = SetVolumeIDResponse{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetVolumeIDResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetVolumeIDResponse) ProtoMessage() {}
|
|
|
|
func (x *SetVolumeIDResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetVolumeIDResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetVolumeIDResponse) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *SetVolumeIDResponse) GetPersistentVolume() []byte {
|
|
if x != nil {
|
|
return x.PersistentVolume
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeSnapshotterInitRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Config map[string]string `protobuf:"bytes,2,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeSnapshotterInitRequest) Reset() {
|
|
*x = VolumeSnapshotterInitRequest{}
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeSnapshotterInitRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeSnapshotterInitRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeSnapshotterInitRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_VolumeSnapshotter_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeSnapshotterInitRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeSnapshotterInitRequest) Descriptor() ([]byte, []int) {
|
|
return file_VolumeSnapshotter_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *VolumeSnapshotterInitRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeSnapshotterInitRequest) GetConfig() map[string]string {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_VolumeSnapshotter_proto protoreflect.FileDescriptor
|
|
|
|
const file_VolumeSnapshotter_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x17VolumeSnapshotter.proto\x12\tgenerated\x1a\fShared.proto\"\x9d\x01\n" +
|
|
"\x13CreateVolumeRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x1e\n" +
|
|
"\n" +
|
|
"snapshotID\x18\x02 \x01(\tR\n" +
|
|
"snapshotID\x12\x1e\n" +
|
|
"\n" +
|
|
"volumeType\x18\x03 \x01(\tR\n" +
|
|
"volumeType\x12\x1a\n" +
|
|
"\bvolumeAZ\x18\x04 \x01(\tR\bvolumeAZ\x12\x12\n" +
|
|
"\x04iops\x18\x05 \x01(\x03R\x04iops\"2\n" +
|
|
"\x14CreateVolumeResponse\x12\x1a\n" +
|
|
"\bvolumeID\x18\x01 \x01(\tR\bvolumeID\"f\n" +
|
|
"\x14GetVolumeInfoRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x1a\n" +
|
|
"\bvolumeID\x18\x02 \x01(\tR\bvolumeID\x12\x1a\n" +
|
|
"\bvolumeAZ\x18\x03 \x01(\tR\bvolumeAZ\"K\n" +
|
|
"\x15GetVolumeInfoResponse\x12\x1e\n" +
|
|
"\n" +
|
|
"volumeType\x18\x01 \x01(\tR\n" +
|
|
"volumeType\x12\x12\n" +
|
|
"\x04iops\x18\x02 \x01(\x03R\x04iops\"\xe0\x01\n" +
|
|
"\x15CreateSnapshotRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x1a\n" +
|
|
"\bvolumeID\x18\x02 \x01(\tR\bvolumeID\x12\x1a\n" +
|
|
"\bvolumeAZ\x18\x03 \x01(\tR\bvolumeAZ\x12>\n" +
|
|
"\x04tags\x18\x04 \x03(\v2*.generated.CreateSnapshotRequest.TagsEntryR\x04tags\x1a7\n" +
|
|
"\tTagsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"8\n" +
|
|
"\x16CreateSnapshotResponse\x12\x1e\n" +
|
|
"\n" +
|
|
"snapshotID\x18\x01 \x01(\tR\n" +
|
|
"snapshotID\"O\n" +
|
|
"\x15DeleteSnapshotRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x1e\n" +
|
|
"\n" +
|
|
"snapshotID\x18\x02 \x01(\tR\n" +
|
|
"snapshotID\"X\n" +
|
|
"\x12GetVolumeIDRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12*\n" +
|
|
"\x10persistentVolume\x18\x02 \x01(\fR\x10persistentVolume\"1\n" +
|
|
"\x13GetVolumeIDResponse\x12\x1a\n" +
|
|
"\bvolumeID\x18\x01 \x01(\tR\bvolumeID\"t\n" +
|
|
"\x12SetVolumeIDRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12*\n" +
|
|
"\x10persistentVolume\x18\x02 \x01(\fR\x10persistentVolume\x12\x1a\n" +
|
|
"\bvolumeID\x18\x03 \x01(\tR\bvolumeID\"A\n" +
|
|
"\x13SetVolumeIDResponse\x12*\n" +
|
|
"\x10persistentVolume\x18\x01 \x01(\fR\x10persistentVolume\"\xbe\x01\n" +
|
|
"\x1cVolumeSnapshotterInitRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12K\n" +
|
|
"\x06config\x18\x02 \x03(\v23.generated.VolumeSnapshotterInitRequest.ConfigEntryR\x06config\x1a9\n" +
|
|
"\vConfigEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x012\xc0\x04\n" +
|
|
"\x11VolumeSnapshotter\x12A\n" +
|
|
"\x04Init\x12'.generated.VolumeSnapshotterInitRequest\x1a\x10.generated.Empty\x12[\n" +
|
|
"\x18CreateVolumeFromSnapshot\x12\x1e.generated.CreateVolumeRequest\x1a\x1f.generated.CreateVolumeResponse\x12R\n" +
|
|
"\rGetVolumeInfo\x12\x1f.generated.GetVolumeInfoRequest\x1a .generated.GetVolumeInfoResponse\x12U\n" +
|
|
"\x0eCreateSnapshot\x12 .generated.CreateSnapshotRequest\x1a!.generated.CreateSnapshotResponse\x12D\n" +
|
|
"\x0eDeleteSnapshot\x12 .generated.DeleteSnapshotRequest\x1a\x10.generated.Empty\x12L\n" +
|
|
"\vGetVolumeID\x12\x1d.generated.GetVolumeIDRequest\x1a\x1e.generated.GetVolumeIDResponse\x12L\n" +
|
|
"\vSetVolumeID\x12\x1d.generated.SetVolumeIDRequest\x1a\x1e.generated.SetVolumeIDResponseB5Z3github.com/vmware-tanzu/velero/pkg/plugin/generatedb\x06proto3"
|
|
|
|
var (
|
|
file_VolumeSnapshotter_proto_rawDescOnce sync.Once
|
|
file_VolumeSnapshotter_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_VolumeSnapshotter_proto_rawDescGZIP() []byte {
|
|
file_VolumeSnapshotter_proto_rawDescOnce.Do(func() {
|
|
file_VolumeSnapshotter_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_VolumeSnapshotter_proto_rawDesc), len(file_VolumeSnapshotter_proto_rawDesc)))
|
|
})
|
|
return file_VolumeSnapshotter_proto_rawDescData
|
|
}
|
|
|
|
var file_VolumeSnapshotter_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
var file_VolumeSnapshotter_proto_goTypes = []any{
|
|
(*CreateVolumeRequest)(nil), // 0: generated.CreateVolumeRequest
|
|
(*CreateVolumeResponse)(nil), // 1: generated.CreateVolumeResponse
|
|
(*GetVolumeInfoRequest)(nil), // 2: generated.GetVolumeInfoRequest
|
|
(*GetVolumeInfoResponse)(nil), // 3: generated.GetVolumeInfoResponse
|
|
(*CreateSnapshotRequest)(nil), // 4: generated.CreateSnapshotRequest
|
|
(*CreateSnapshotResponse)(nil), // 5: generated.CreateSnapshotResponse
|
|
(*DeleteSnapshotRequest)(nil), // 6: generated.DeleteSnapshotRequest
|
|
(*GetVolumeIDRequest)(nil), // 7: generated.GetVolumeIDRequest
|
|
(*GetVolumeIDResponse)(nil), // 8: generated.GetVolumeIDResponse
|
|
(*SetVolumeIDRequest)(nil), // 9: generated.SetVolumeIDRequest
|
|
(*SetVolumeIDResponse)(nil), // 10: generated.SetVolumeIDResponse
|
|
(*VolumeSnapshotterInitRequest)(nil), // 11: generated.VolumeSnapshotterInitRequest
|
|
nil, // 12: generated.CreateSnapshotRequest.TagsEntry
|
|
nil, // 13: generated.VolumeSnapshotterInitRequest.ConfigEntry
|
|
(*Empty)(nil), // 14: generated.Empty
|
|
}
|
|
var file_VolumeSnapshotter_proto_depIdxs = []int32{
|
|
12, // 0: generated.CreateSnapshotRequest.tags:type_name -> generated.CreateSnapshotRequest.TagsEntry
|
|
13, // 1: generated.VolumeSnapshotterInitRequest.config:type_name -> generated.VolumeSnapshotterInitRequest.ConfigEntry
|
|
11, // 2: generated.VolumeSnapshotter.Init:input_type -> generated.VolumeSnapshotterInitRequest
|
|
0, // 3: generated.VolumeSnapshotter.CreateVolumeFromSnapshot:input_type -> generated.CreateVolumeRequest
|
|
2, // 4: generated.VolumeSnapshotter.GetVolumeInfo:input_type -> generated.GetVolumeInfoRequest
|
|
4, // 5: generated.VolumeSnapshotter.CreateSnapshot:input_type -> generated.CreateSnapshotRequest
|
|
6, // 6: generated.VolumeSnapshotter.DeleteSnapshot:input_type -> generated.DeleteSnapshotRequest
|
|
7, // 7: generated.VolumeSnapshotter.GetVolumeID:input_type -> generated.GetVolumeIDRequest
|
|
9, // 8: generated.VolumeSnapshotter.SetVolumeID:input_type -> generated.SetVolumeIDRequest
|
|
14, // 9: generated.VolumeSnapshotter.Init:output_type -> generated.Empty
|
|
1, // 10: generated.VolumeSnapshotter.CreateVolumeFromSnapshot:output_type -> generated.CreateVolumeResponse
|
|
3, // 11: generated.VolumeSnapshotter.GetVolumeInfo:output_type -> generated.GetVolumeInfoResponse
|
|
5, // 12: generated.VolumeSnapshotter.CreateSnapshot:output_type -> generated.CreateSnapshotResponse
|
|
14, // 13: generated.VolumeSnapshotter.DeleteSnapshot:output_type -> generated.Empty
|
|
8, // 14: generated.VolumeSnapshotter.GetVolumeID:output_type -> generated.GetVolumeIDResponse
|
|
10, // 15: generated.VolumeSnapshotter.SetVolumeID:output_type -> generated.SetVolumeIDResponse
|
|
9, // [9:16] is the sub-list for method output_type
|
|
2, // [2:9] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_VolumeSnapshotter_proto_init() }
|
|
func file_VolumeSnapshotter_proto_init() {
|
|
if File_VolumeSnapshotter_proto != nil {
|
|
return
|
|
}
|
|
file_Shared_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_VolumeSnapshotter_proto_rawDesc), len(file_VolumeSnapshotter_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 14,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_VolumeSnapshotter_proto_goTypes,
|
|
DependencyIndexes: file_VolumeSnapshotter_proto_depIdxs,
|
|
MessageInfos: file_VolumeSnapshotter_proto_msgTypes,
|
|
}.Build()
|
|
File_VolumeSnapshotter_proto = out.File
|
|
file_VolumeSnapshotter_proto_goTypes = nil
|
|
file_VolumeSnapshotter_proto_depIdxs = nil
|
|
}
|