mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 19:56:06 +00:00
881 lines
27 KiB
Go
881 lines
27 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11-devel
|
|
// protoc v4.25.2
|
|
// source: ObjectStore.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 PutObjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
|
|
Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutObjectRequest) Reset() {
|
|
*x = PutObjectRequest{}
|
|
mi := &file_ObjectStore_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutObjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutObjectRequest) ProtoMessage() {}
|
|
|
|
func (x *PutObjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 PutObjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutObjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetBody() []byte {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ObjectExistsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ObjectExistsRequest) Reset() {
|
|
*x = ObjectExistsRequest{}
|
|
mi := &file_ObjectStore_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ObjectExistsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ObjectExistsRequest) ProtoMessage() {}
|
|
|
|
func (x *ObjectExistsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 ObjectExistsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ObjectExistsRequest) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ObjectExistsRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ObjectExistsRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ObjectExistsRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ObjectExistsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ObjectExistsResponse) Reset() {
|
|
*x = ObjectExistsResponse{}
|
|
mi := &file_ObjectStore_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ObjectExistsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ObjectExistsResponse) ProtoMessage() {}
|
|
|
|
func (x *ObjectExistsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 ObjectExistsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ObjectExistsResponse) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ObjectExistsResponse) GetExists() bool {
|
|
if x != nil {
|
|
return x.Exists
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetObjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetObjectRequest) Reset() {
|
|
*x = GetObjectRequest{}
|
|
mi := &file_ObjectStore_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetObjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetObjectRequest) ProtoMessage() {}
|
|
|
|
func (x *GetObjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 GetObjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetObjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetObjectRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Bytes struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Bytes) Reset() {
|
|
*x = Bytes{}
|
|
mi := &file_ObjectStore_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Bytes) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Bytes) ProtoMessage() {}
|
|
|
|
func (x *Bytes) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 Bytes.ProtoReflect.Descriptor instead.
|
|
func (*Bytes) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Bytes) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListCommonPrefixesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Delimiter string `protobuf:"bytes,3,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
|
|
Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListCommonPrefixesRequest) Reset() {
|
|
*x = ListCommonPrefixesRequest{}
|
|
mi := &file_ObjectStore_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListCommonPrefixesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCommonPrefixesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListCommonPrefixesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 ListCommonPrefixesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListCommonPrefixesRequest) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ListCommonPrefixesRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCommonPrefixesRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCommonPrefixesRequest) GetDelimiter() string {
|
|
if x != nil {
|
|
return x.Delimiter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCommonPrefixesRequest) GetPrefix() string {
|
|
if x != nil {
|
|
return x.Prefix
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListCommonPrefixesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Prefixes []string `protobuf:"bytes,1,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListCommonPrefixesResponse) Reset() {
|
|
*x = ListCommonPrefixesResponse{}
|
|
mi := &file_ObjectStore_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListCommonPrefixesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCommonPrefixesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListCommonPrefixesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 ListCommonPrefixesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListCommonPrefixesResponse) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ListCommonPrefixesResponse) GetPrefixes() []string {
|
|
if x != nil {
|
|
return x.Prefixes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListObjectsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListObjectsRequest) Reset() {
|
|
*x = ListObjectsRequest{}
|
|
mi := &file_ObjectStore_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListObjectsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListObjectsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 ListObjectsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListObjectsRequest) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ListObjectsRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectsRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectsRequest) GetPrefix() string {
|
|
if x != nil {
|
|
return x.Prefix
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListObjectsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListObjectsResponse) Reset() {
|
|
*x = ListObjectsResponse{}
|
|
mi := &file_ObjectStore_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListObjectsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListObjectsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 ListObjectsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListObjectsResponse) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ListObjectsResponse) GetKeys() []string {
|
|
if x != nil {
|
|
return x.Keys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteObjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteObjectRequest) Reset() {
|
|
*x = DeleteObjectRequest{}
|
|
mi := &file_ObjectStore_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteObjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteObjectRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 DeleteObjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteObjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *DeleteObjectRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteObjectRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteObjectRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateSignedURLRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
|
|
Ttl int64 `protobuf:"varint,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateSignedURLRequest) Reset() {
|
|
*x = CreateSignedURLRequest{}
|
|
mi := &file_ObjectStore_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateSignedURLRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSignedURLRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateSignedURLRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 CreateSignedURLRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateSignedURLRequest) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *CreateSignedURLRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSignedURLRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSignedURLRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSignedURLRequest) GetTtl() int64 {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateSignedURLResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateSignedURLResponse) Reset() {
|
|
*x = CreateSignedURLResponse{}
|
|
mi := &file_ObjectStore_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateSignedURLResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSignedURLResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateSignedURLResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_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 CreateSignedURLResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateSignedURLResponse) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *CreateSignedURLResponse) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ObjectStoreInitRequest 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 *ObjectStoreInitRequest) Reset() {
|
|
*x = ObjectStoreInitRequest{}
|
|
mi := &file_ObjectStore_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ObjectStoreInitRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ObjectStoreInitRequest) ProtoMessage() {}
|
|
|
|
func (x *ObjectStoreInitRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_ObjectStore_proto_msgTypes[12]
|
|
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 ObjectStoreInitRequest.ProtoReflect.Descriptor instead.
|
|
func (*ObjectStoreInitRequest) Descriptor() ([]byte, []int) {
|
|
return file_ObjectStore_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ObjectStoreInitRequest) GetPlugin() string {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ObjectStoreInitRequest) GetConfig() map[string]string {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_ObjectStore_proto protoreflect.FileDescriptor
|
|
|
|
const file_ObjectStore_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x11ObjectStore.proto\x12\tgenerated\x1a\fShared.proto\"h\n" +
|
|
"\x10PutObjectRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x16\n" +
|
|
"\x06bucket\x18\x02 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x03 \x01(\tR\x03key\x12\x12\n" +
|
|
"\x04body\x18\x04 \x01(\fR\x04body\"W\n" +
|
|
"\x13ObjectExistsRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x16\n" +
|
|
"\x06bucket\x18\x02 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x03 \x01(\tR\x03key\".\n" +
|
|
"\x14ObjectExistsResponse\x12\x16\n" +
|
|
"\x06exists\x18\x01 \x01(\bR\x06exists\"T\n" +
|
|
"\x10GetObjectRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x16\n" +
|
|
"\x06bucket\x18\x02 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x03 \x01(\tR\x03key\"\x1b\n" +
|
|
"\x05Bytes\x12\x12\n" +
|
|
"\x04data\x18\x01 \x01(\fR\x04data\"\x81\x01\n" +
|
|
"\x19ListCommonPrefixesRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x16\n" +
|
|
"\x06bucket\x18\x02 \x01(\tR\x06bucket\x12\x1c\n" +
|
|
"\tdelimiter\x18\x03 \x01(\tR\tdelimiter\x12\x16\n" +
|
|
"\x06prefix\x18\x04 \x01(\tR\x06prefix\"8\n" +
|
|
"\x1aListCommonPrefixesResponse\x12\x1a\n" +
|
|
"\bprefixes\x18\x01 \x03(\tR\bprefixes\"\\\n" +
|
|
"\x12ListObjectsRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x16\n" +
|
|
"\x06bucket\x18\x02 \x01(\tR\x06bucket\x12\x16\n" +
|
|
"\x06prefix\x18\x03 \x01(\tR\x06prefix\")\n" +
|
|
"\x13ListObjectsResponse\x12\x12\n" +
|
|
"\x04keys\x18\x01 \x03(\tR\x04keys\"W\n" +
|
|
"\x13DeleteObjectRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x16\n" +
|
|
"\x06bucket\x18\x02 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x03 \x01(\tR\x03key\"l\n" +
|
|
"\x16CreateSignedURLRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12\x16\n" +
|
|
"\x06bucket\x18\x02 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x03 \x01(\tR\x03key\x12\x10\n" +
|
|
"\x03ttl\x18\x04 \x01(\x03R\x03ttl\"+\n" +
|
|
"\x17CreateSignedURLResponse\x12\x10\n" +
|
|
"\x03url\x18\x01 \x01(\tR\x03url\"\xb2\x01\n" +
|
|
"\x16ObjectStoreInitRequest\x12\x16\n" +
|
|
"\x06plugin\x18\x01 \x01(\tR\x06plugin\x12E\n" +
|
|
"\x06config\x18\x02 \x03(\v2-.generated.ObjectStoreInitRequest.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\xe4\x04\n" +
|
|
"\vObjectStore\x12;\n" +
|
|
"\x04Init\x12!.generated.ObjectStoreInitRequest\x1a\x10.generated.Empty\x12<\n" +
|
|
"\tPutObject\x12\x1b.generated.PutObjectRequest\x1a\x10.generated.Empty(\x01\x12O\n" +
|
|
"\fObjectExists\x12\x1e.generated.ObjectExistsRequest\x1a\x1f.generated.ObjectExistsResponse\x12<\n" +
|
|
"\tGetObject\x12\x1b.generated.GetObjectRequest\x1a\x10.generated.Bytes0\x01\x12a\n" +
|
|
"\x12ListCommonPrefixes\x12$.generated.ListCommonPrefixesRequest\x1a%.generated.ListCommonPrefixesResponse\x12L\n" +
|
|
"\vListObjects\x12\x1d.generated.ListObjectsRequest\x1a\x1e.generated.ListObjectsResponse\x12@\n" +
|
|
"\fDeleteObject\x12\x1e.generated.DeleteObjectRequest\x1a\x10.generated.Empty\x12X\n" +
|
|
"\x0fCreateSignedURL\x12!.generated.CreateSignedURLRequest\x1a\".generated.CreateSignedURLResponseB5Z3github.com/vmware-tanzu/velero/pkg/plugin/generatedb\x06proto3"
|
|
|
|
var (
|
|
file_ObjectStore_proto_rawDescOnce sync.Once
|
|
file_ObjectStore_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_ObjectStore_proto_rawDescGZIP() []byte {
|
|
file_ObjectStore_proto_rawDescOnce.Do(func() {
|
|
file_ObjectStore_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ObjectStore_proto_rawDesc), len(file_ObjectStore_proto_rawDesc)))
|
|
})
|
|
return file_ObjectStore_proto_rawDescData
|
|
}
|
|
|
|
var file_ObjectStore_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
var file_ObjectStore_proto_goTypes = []any{
|
|
(*PutObjectRequest)(nil), // 0: generated.PutObjectRequest
|
|
(*ObjectExistsRequest)(nil), // 1: generated.ObjectExistsRequest
|
|
(*ObjectExistsResponse)(nil), // 2: generated.ObjectExistsResponse
|
|
(*GetObjectRequest)(nil), // 3: generated.GetObjectRequest
|
|
(*Bytes)(nil), // 4: generated.Bytes
|
|
(*ListCommonPrefixesRequest)(nil), // 5: generated.ListCommonPrefixesRequest
|
|
(*ListCommonPrefixesResponse)(nil), // 6: generated.ListCommonPrefixesResponse
|
|
(*ListObjectsRequest)(nil), // 7: generated.ListObjectsRequest
|
|
(*ListObjectsResponse)(nil), // 8: generated.ListObjectsResponse
|
|
(*DeleteObjectRequest)(nil), // 9: generated.DeleteObjectRequest
|
|
(*CreateSignedURLRequest)(nil), // 10: generated.CreateSignedURLRequest
|
|
(*CreateSignedURLResponse)(nil), // 11: generated.CreateSignedURLResponse
|
|
(*ObjectStoreInitRequest)(nil), // 12: generated.ObjectStoreInitRequest
|
|
nil, // 13: generated.ObjectStoreInitRequest.ConfigEntry
|
|
(*Empty)(nil), // 14: generated.Empty
|
|
}
|
|
var file_ObjectStore_proto_depIdxs = []int32{
|
|
13, // 0: generated.ObjectStoreInitRequest.config:type_name -> generated.ObjectStoreInitRequest.ConfigEntry
|
|
12, // 1: generated.ObjectStore.Init:input_type -> generated.ObjectStoreInitRequest
|
|
0, // 2: generated.ObjectStore.PutObject:input_type -> generated.PutObjectRequest
|
|
1, // 3: generated.ObjectStore.ObjectExists:input_type -> generated.ObjectExistsRequest
|
|
3, // 4: generated.ObjectStore.GetObject:input_type -> generated.GetObjectRequest
|
|
5, // 5: generated.ObjectStore.ListCommonPrefixes:input_type -> generated.ListCommonPrefixesRequest
|
|
7, // 6: generated.ObjectStore.ListObjects:input_type -> generated.ListObjectsRequest
|
|
9, // 7: generated.ObjectStore.DeleteObject:input_type -> generated.DeleteObjectRequest
|
|
10, // 8: generated.ObjectStore.CreateSignedURL:input_type -> generated.CreateSignedURLRequest
|
|
14, // 9: generated.ObjectStore.Init:output_type -> generated.Empty
|
|
14, // 10: generated.ObjectStore.PutObject:output_type -> generated.Empty
|
|
2, // 11: generated.ObjectStore.ObjectExists:output_type -> generated.ObjectExistsResponse
|
|
4, // 12: generated.ObjectStore.GetObject:output_type -> generated.Bytes
|
|
6, // 13: generated.ObjectStore.ListCommonPrefixes:output_type -> generated.ListCommonPrefixesResponse
|
|
8, // 14: generated.ObjectStore.ListObjects:output_type -> generated.ListObjectsResponse
|
|
14, // 15: generated.ObjectStore.DeleteObject:output_type -> generated.Empty
|
|
11, // 16: generated.ObjectStore.CreateSignedURL:output_type -> generated.CreateSignedURLResponse
|
|
9, // [9:17] is the sub-list for method output_type
|
|
1, // [1:9] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_ObjectStore_proto_init() }
|
|
func file_ObjectStore_proto_init() {
|
|
if File_ObjectStore_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_ObjectStore_proto_rawDesc), len(file_ObjectStore_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 14,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_ObjectStore_proto_goTypes,
|
|
DependencyIndexes: file_ObjectStore_proto_depIdxs,
|
|
MessageInfos: file_ObjectStore_proto_msgTypes,
|
|
}.Build()
|
|
File_ObjectStore_proto = out.File
|
|
file_ObjectStore_proto_goTypes = nil
|
|
file_ObjectStore_proto_depIdxs = nil
|
|
}
|