tempbackuppb

package
v0.4.5 Latest Latest
Warning

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

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

Documentation

Overview

Package tempbackuppb is a generated protocol buffer package.

It is generated from these files:

tempbackup/tempbackuppb/backup.proto

It has these top-level messages:

FullBackupContentStream
IncBackupContentStream
BackupReply
PostCheckpointsRequest
PostCheckpointsResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBackupTransferServiceServer

func RegisterBackupTransferServiceServer(s *grpc.Server, srv BackupTransferServiceServer)

Types

type BackupReply

type BackupReply struct {
	Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
	Key     string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
}

func (*BackupReply) Descriptor

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

func (*BackupReply) GetKey

func (m *BackupReply) GetKey() string

func (*BackupReply) GetMessage

func (m *BackupReply) GetMessage() string

func (*BackupReply) ProtoMessage

func (*BackupReply) ProtoMessage()

func (*BackupReply) Reset

func (m *BackupReply) Reset()

func (*BackupReply) String

func (m *BackupReply) String() string

type BackupTransferServiceClient

type BackupTransferServiceClient interface {
	TransferFullBackup(ctx context.Context, opts ...grpc.CallOption) (BackupTransferService_TransferFullBackupClient, error)
	TransferIncBackup(ctx context.Context, opts ...grpc.CallOption) (BackupTransferService_TransferIncBackupClient, error)
	PostCheckpoints(ctx context.Context, in *PostCheckpointsRequest, opts ...grpc.CallOption) (*PostCheckpointsResponse, error)
}

func NewBackupTransferServiceClient

func NewBackupTransferServiceClient(cc *grpc.ClientConn) BackupTransferServiceClient

type BackupTransferService_TransferFullBackupClient

type BackupTransferService_TransferFullBackupClient interface {
	Send(*FullBackupContentStream) error
	CloseAndRecv() (*BackupReply, error)
	grpc.ClientStream
}

type BackupTransferService_TransferFullBackupServer

type BackupTransferService_TransferFullBackupServer interface {
	SendAndClose(*BackupReply) error
	Recv() (*FullBackupContentStream, error)
	grpc.ServerStream
}

type BackupTransferService_TransferIncBackupClient

type BackupTransferService_TransferIncBackupClient interface {
	Send(*IncBackupContentStream) error
	CloseAndRecv() (*BackupReply, error)
	grpc.ClientStream
}

type BackupTransferService_TransferIncBackupServer

type BackupTransferService_TransferIncBackupServer interface {
	SendAndClose(*BackupReply) error
	Recv() (*IncBackupContentStream, error)
	grpc.ServerStream
}

type FullBackupContentStream

type FullBackupContentStream struct {
	Db      string `protobuf:"bytes,1,opt,name=db" json:"db,omitempty"`
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

func (*FullBackupContentStream) Descriptor

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

func (*FullBackupContentStream) GetContent

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

func (*FullBackupContentStream) GetDb

func (m *FullBackupContentStream) GetDb() string

func (*FullBackupContentStream) ProtoMessage

func (*FullBackupContentStream) ProtoMessage()

func (*FullBackupContentStream) Reset

func (m *FullBackupContentStream) Reset()

func (*FullBackupContentStream) String

func (m *FullBackupContentStream) String() string

type IncBackupContentStream

type IncBackupContentStream struct {
	Db      string `protobuf:"bytes,1,opt,name=db" json:"db,omitempty"`
	Lsn     string `protobuf:"bytes,2,opt,name=lsn" json:"lsn,omitempty"`
	Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
}

func (*IncBackupContentStream) Descriptor

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

func (*IncBackupContentStream) GetContent

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

func (*IncBackupContentStream) GetDb

func (m *IncBackupContentStream) GetDb() string

func (*IncBackupContentStream) GetLsn

func (m *IncBackupContentStream) GetLsn() string

func (*IncBackupContentStream) ProtoMessage

func (*IncBackupContentStream) ProtoMessage()

func (*IncBackupContentStream) Reset

func (m *IncBackupContentStream) Reset()

func (*IncBackupContentStream) String

func (m *IncBackupContentStream) String() string

type PostCheckpointsRequest

type PostCheckpointsRequest struct {
	Key     string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

func (*PostCheckpointsRequest) Descriptor

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

func (*PostCheckpointsRequest) GetContent

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

func (*PostCheckpointsRequest) GetKey

func (m *PostCheckpointsRequest) GetKey() string

func (*PostCheckpointsRequest) ProtoMessage

func (*PostCheckpointsRequest) ProtoMessage()

func (*PostCheckpointsRequest) Reset

func (m *PostCheckpointsRequest) Reset()

func (*PostCheckpointsRequest) String

func (m *PostCheckpointsRequest) String() string

type PostCheckpointsResponse

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

func (*PostCheckpointsResponse) Descriptor

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

func (*PostCheckpointsResponse) GetMessage

func (m *PostCheckpointsResponse) GetMessage() string

func (*PostCheckpointsResponse) ProtoMessage

func (*PostCheckpointsResponse) ProtoMessage()

func (*PostCheckpointsResponse) Reset

func (m *PostCheckpointsResponse) Reset()

func (*PostCheckpointsResponse) String

func (m *PostCheckpointsResponse) String() string

Jump to

Keyboard shortcuts

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