storagepb

package
v0.4.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package storagepb is a generated protocol buffer package.

It is generated from these files:

storage/storagepb/storage.proto

It has these top-level messages:

GetLatestToLSNRequest
GetLatestToLSNResponse
GetKeysAtPointRequest
GetKeysAtPointResponse
BackupFileInfo
GetFileByKeyRequest
FileStream
PurgePrevBackupRequest
PurgePrevBackupResponse
GetBestStartTimeRequest
GetBestStartTimeResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterStorageServiceServer

func RegisterStorageServiceServer(s *grpc.Server, srv StorageServiceServer)

Types

type BackupFileInfo

type BackupFileInfo struct {
	StorageType string `protobuf:"bytes,1,opt,name=storage_type,json=storageType" json:"storage_type,omitempty"`
	BackupType  string `protobuf:"bytes,2,opt,name=backup_type,json=backupType" json:"backup_type,omitempty"`
	Key         string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"`
	Size        int64  `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
}

func (*BackupFileInfo) Descriptor

func (*BackupFileInfo) Descriptor() ([]byte, []int)

func (*BackupFileInfo) GetBackupType

func (m *BackupFileInfo) GetBackupType() string

func (*BackupFileInfo) GetKey

func (m *BackupFileInfo) GetKey() string

func (*BackupFileInfo) GetSize

func (m *BackupFileInfo) GetSize() int64

func (*BackupFileInfo) GetStorageType

func (m *BackupFileInfo) GetStorageType() string

func (*BackupFileInfo) ProtoMessage

func (*BackupFileInfo) ProtoMessage()

func (*BackupFileInfo) Reset

func (m *BackupFileInfo) Reset()

func (*BackupFileInfo) String

func (m *BackupFileInfo) String() string

type FileStream

type FileStream struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*FileStream) Descriptor

func (*FileStream) Descriptor() ([]byte, []int)

func (*FileStream) GetContent

func (m *FileStream) GetContent() []byte

func (*FileStream) ProtoMessage

func (*FileStream) ProtoMessage()

func (*FileStream) Reset

func (m *FileStream) Reset()

func (*FileStream) String

func (m *FileStream) String() string

type GetBestStartTimeRequest

type GetBestStartTimeRequest struct {
}

func (*GetBestStartTimeRequest) Descriptor

func (*GetBestStartTimeRequest) Descriptor() ([]byte, []int)

func (*GetBestStartTimeRequest) ProtoMessage

func (*GetBestStartTimeRequest) ProtoMessage()

func (*GetBestStartTimeRequest) Reset

func (m *GetBestStartTimeRequest) Reset()

func (*GetBestStartTimeRequest) String

func (m *GetBestStartTimeRequest) String() string

type GetBestStartTimeResponse

type GetBestStartTimeResponse struct {
	Minute int32 `protobuf:"varint,1,opt,name=minute" json:"minute,omitempty"`
	Hour   int32 `protobuf:"varint,2,opt,name=hour" json:"hour,omitempty"`
}

func (*GetBestStartTimeResponse) Descriptor

func (*GetBestStartTimeResponse) Descriptor() ([]byte, []int)

func (*GetBestStartTimeResponse) GetHour

func (m *GetBestStartTimeResponse) GetHour() int32

func (*GetBestStartTimeResponse) GetMinute

func (m *GetBestStartTimeResponse) GetMinute() int32

func (*GetBestStartTimeResponse) ProtoMessage

func (*GetBestStartTimeResponse) ProtoMessage()

func (*GetBestStartTimeResponse) Reset

func (m *GetBestStartTimeResponse) Reset()

func (*GetBestStartTimeResponse) String

func (m *GetBestStartTimeResponse) String() string

type GetFileByKeyRequest

type GetFileByKeyRequest struct {
	Key         string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	StorageType string `protobuf:"bytes,2,opt,name=storage_type,json=storageType" json:"storage_type,omitempty"`
}

func (*GetFileByKeyRequest) Descriptor

func (*GetFileByKeyRequest) Descriptor() ([]byte, []int)

func (*GetFileByKeyRequest) GetKey

func (m *GetFileByKeyRequest) GetKey() string

func (*GetFileByKeyRequest) GetStorageType

func (m *GetFileByKeyRequest) GetStorageType() string

func (*GetFileByKeyRequest) ProtoMessage

func (*GetFileByKeyRequest) ProtoMessage()

func (*GetFileByKeyRequest) Reset

func (m *GetFileByKeyRequest) Reset()

func (*GetFileByKeyRequest) String

func (m *GetFileByKeyRequest) String() string

type GetKeysAtPointRequest

type GetKeysAtPointRequest struct {
	Db   string `protobuf:"bytes,1,opt,name=db" json:"db,omitempty"`
	From string `protobuf:"bytes,2,opt,name=from" json:"from,omitempty"`
}

func (*GetKeysAtPointRequest) Descriptor

func (*GetKeysAtPointRequest) Descriptor() ([]byte, []int)

func (*GetKeysAtPointRequest) GetDb

func (m *GetKeysAtPointRequest) GetDb() string

func (*GetKeysAtPointRequest) GetFrom

func (m *GetKeysAtPointRequest) GetFrom() string

func (*GetKeysAtPointRequest) ProtoMessage

func (*GetKeysAtPointRequest) ProtoMessage()

func (*GetKeysAtPointRequest) Reset

func (m *GetKeysAtPointRequest) Reset()

func (*GetKeysAtPointRequest) String

func (m *GetKeysAtPointRequest) String() string

type GetKeysAtPointResponse

type GetKeysAtPointResponse struct {
	Keys []*BackupFileInfo `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"`
}

func (*GetKeysAtPointResponse) Descriptor

func (*GetKeysAtPointResponse) Descriptor() ([]byte, []int)

func (*GetKeysAtPointResponse) GetKeys

func (m *GetKeysAtPointResponse) GetKeys() []*BackupFileInfo

func (*GetKeysAtPointResponse) ProtoMessage

func (*GetKeysAtPointResponse) ProtoMessage()

func (*GetKeysAtPointResponse) Reset

func (m *GetKeysAtPointResponse) Reset()

func (*GetKeysAtPointResponse) String

func (m *GetKeysAtPointResponse) String() string

type GetLatestToLSNRequest

type GetLatestToLSNRequest struct {
	Db string `protobuf:"bytes,1,opt,name=db" json:"db,omitempty"`
}

func (*GetLatestToLSNRequest) Descriptor

func (*GetLatestToLSNRequest) Descriptor() ([]byte, []int)

func (*GetLatestToLSNRequest) GetDb

func (m *GetLatestToLSNRequest) GetDb() string

func (*GetLatestToLSNRequest) ProtoMessage

func (*GetLatestToLSNRequest) ProtoMessage()

func (*GetLatestToLSNRequest) Reset

func (m *GetLatestToLSNRequest) Reset()

func (*GetLatestToLSNRequest) String

func (m *GetLatestToLSNRequest) String() string

type GetLatestToLSNResponse

type GetLatestToLSNResponse struct {
	Lsn string `protobuf:"bytes,1,opt,name=lsn" json:"lsn,omitempty"`
}

func (*GetLatestToLSNResponse) Descriptor

func (*GetLatestToLSNResponse) Descriptor() ([]byte, []int)

func (*GetLatestToLSNResponse) GetLsn

func (m *GetLatestToLSNResponse) GetLsn() string

func (*GetLatestToLSNResponse) ProtoMessage

func (*GetLatestToLSNResponse) ProtoMessage()

func (*GetLatestToLSNResponse) Reset

func (m *GetLatestToLSNResponse) Reset()

func (*GetLatestToLSNResponse) String

func (m *GetLatestToLSNResponse) String() string

type PurgePrevBackupRequest

type PurgePrevBackupRequest struct {
	Db string `protobuf:"bytes,1,opt,name=db" json:"db,omitempty"`
}

func (*PurgePrevBackupRequest) Descriptor

func (*PurgePrevBackupRequest) Descriptor() ([]byte, []int)

func (*PurgePrevBackupRequest) GetDb

func (m *PurgePrevBackupRequest) GetDb() string

func (*PurgePrevBackupRequest) ProtoMessage

func (*PurgePrevBackupRequest) ProtoMessage()

func (*PurgePrevBackupRequest) Reset

func (m *PurgePrevBackupRequest) Reset()

func (*PurgePrevBackupRequest) String

func (m *PurgePrevBackupRequest) String() string

type PurgePrevBackupResponse

type PurgePrevBackupResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}

func (*PurgePrevBackupResponse) Descriptor

func (*PurgePrevBackupResponse) Descriptor() ([]byte, []int)

func (*PurgePrevBackupResponse) GetMessage

func (m *PurgePrevBackupResponse) GetMessage() string

func (*PurgePrevBackupResponse) ProtoMessage

func (*PurgePrevBackupResponse) ProtoMessage()

func (*PurgePrevBackupResponse) Reset

func (m *PurgePrevBackupResponse) Reset()

func (*PurgePrevBackupResponse) String

func (m *PurgePrevBackupResponse) String() string

type StorageService_GetFileByKeyClient

type StorageService_GetFileByKeyClient interface {
	Recv() (*FileStream, error)
	grpc.ClientStream
}

type StorageService_GetFileByKeyServer

type StorageService_GetFileByKeyServer interface {
	Send(*FileStream) error
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL