messages

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BackupType_name = map[int32]string{
	0: "BACKUP_TYPE_INVALID",
	1: "BACKUP_TYPE_LOGICAL",
	2: "BACKUP_TYPE_HOTBACKUP",
}
View Source
var BackupType_value = map[string]int32{
	"BACKUP_TYPE_INVALID":   0,
	"BACKUP_TYPE_LOGICAL":   1,
	"BACKUP_TYPE_HOTBACKUP": 2,
}
View Source
var CompressionType_name = map[int32]string{
	0: "COMPRESSION_TYPE_INVALID",
	1: "COMPRESSION_TYPE_NO_COMPRESSION",
	2: "COMPRESSION_TYPE_GZIP",
	3: "COMPRESSION_TYPE_SNAPPY",
	4: "COMPRESSION_TYPE_LZ4",
}
View Source
var CompressionType_value = map[string]int32{
	"COMPRESSION_TYPE_INVALID":        0,
	"COMPRESSION_TYPE_NO_COMPRESSION": 1,
	"COMPRESSION_TYPE_GZIP":           2,
	"COMPRESSION_TYPE_SNAPPY":         3,
	"COMPRESSION_TYPE_LZ4":            4,
}
View Source
var Cypher_name = map[int32]string{
	0: "CYPHER_INVALID",
	1: "CYPHER_NO_CYPHER",
	2: "CYPHER_AES",
	3: "CYPHER_DES",
	4: "CYPHER_RC4",
	5: "CYPHER_RSA",
}
View Source
var Cypher_value = map[string]int32{
	"CYPHER_INVALID":   0,
	"CYPHER_NO_CYPHER": 1,
	"CYPHER_AES":       2,
	"CYPHER_DES":       3,
	"CYPHER_RC4":       4,
	"CYPHER_RSA":       5,
}
View Source
var ErrorType_name = map[int32]string{
	0: "ERROR_TYPE_INVALID",
	1: "ERROR_TYPE_NOT_IMPLEMENTED_YET",
	2: "ERROR_TYPE_COMMUNICATION_ERROR",
	3: "ERROR_TYPE_CLIENT_ALREADY_REGISTERED",
}
View Source
var ErrorType_value = map[string]int32{
	"ERROR_TYPE_INVALID":                   0,
	"ERROR_TYPE_NOT_IMPLEMENTED_YET":       1,
	"ERROR_TYPE_COMMUNICATION_ERROR":       2,
	"ERROR_TYPE_CLIENT_ALREADY_REGISTERED": 3,
}
View Source
var NodeType_name = map[int32]string{
	0: "NODE_TYPE_INVALID",
	1: "NODE_TYPE_MONGOD",
	2: "NODE_TYPE_MONGOD_REPLSET",
	3: "NODE_TYPE_MONGOD_SHARDSVR",
	4: "NODE_TYPE_MONGOD_CONFIGSVR",
	5: "NODE_TYPE_MONGOS",
}
View Source
var NodeType_value = map[string]int32{
	"NODE_TYPE_INVALID":          0,
	"NODE_TYPE_MONGOD":           1,
	"NODE_TYPE_MONGOD_REPLSET":   2,
	"NODE_TYPE_MONGOD_SHARDSVR":  3,
	"NODE_TYPE_MONGOD_CONFIGSVR": 4,
	"NODE_TYPE_MONGOS":           5,
}
View Source
var RestoreStatus_name = map[int32]string{
	0: "RESTORE_STATUS_INVALID",
	1: "RESTORE_STATUS_NOT_RUNNING",
	2: "RESTORE_STATUS_RESTORINGDB",
	3: "RESTORE_STATUS_RESTORINGOPLOG",
}
View Source
var RestoreStatus_value = map[string]int32{
	"RESTORE_STATUS_INVALID":        0,
	"RESTORE_STATUS_NOT_RUNNING":    1,
	"RESTORE_STATUS_RESTORINGDB":    2,
	"RESTORE_STATUS_RESTORINGOPLOG": 3,
}

Functions

func RegisterMessagesServer

func RegisterMessagesServer(s *grpc.Server, srv MessagesServer)

Types

type Ack

type Ack struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Ack) Descriptor

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

func (*Ack) ProtoMessage

func (*Ack) ProtoMessage()

func (*Ack) Reset

func (m *Ack) Reset()

func (*Ack) String

func (m *Ack) String() string

func (*Ack) XXX_DiscardUnknown

func (m *Ack) XXX_DiscardUnknown()

func (*Ack) XXX_Marshal

func (m *Ack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ack) XXX_Merge

func (m *Ack) XXX_Merge(src proto.Message)

func (*Ack) XXX_Size

func (m *Ack) XXX_Size() int

func (*Ack) XXX_Unmarshal

func (m *Ack) XXX_Unmarshal(b []byte) error

type BackupMetadata

type BackupMetadata struct {
	StartTs              int64                          `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	EndTs                int64                          `protobuf:"varint,2,opt,name=end_ts,json=endTs,proto3" json:"end_ts,omitempty"`
	BackupType           BackupType                     `protobuf:"varint,3,opt,name=backup_type,json=backupType,proto3,enum=messages.BackupType" json:"backup_type,omitempty"`
	OplogStartTime       int64                          `protobuf:"varint,4,opt,name=oplog_start_time,json=oplogStartTime,proto3" json:"oplog_start_time,omitempty"`
	LastOplogTs          int64                          `protobuf:"varint,5,opt,name=last_oplog_ts,json=lastOplogTs,proto3" json:"last_oplog_ts,omitempty"`
	Cypher               Cypher                         `protobuf:"varint,6,opt,name=cypher,proto3,enum=messages.Cypher" json:"cypher,omitempty"`
	CompressionType      CompressionType                `` /* 137-byte string literal not displayed */
	Description          string                         `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	Replicasets          map[string]*ReplicasetMetadata `` /* 163-byte string literal not displayed */
	StorageName          string                         `protobuf:"bytes,10,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
	MongodbVersion       string                         `protobuf:"bytes,11,opt,name=mongodb_version,json=mongodbVersion,proto3" json:"mongodb_version,omitempty"`
	Servers              []*Server                      `protobuf:"bytes,12,rep,name=servers,proto3" json:"servers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*BackupMetadata) Descriptor

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

func (*BackupMetadata) GetBackupType

func (m *BackupMetadata) GetBackupType() BackupType

func (*BackupMetadata) GetCompressionType

func (m *BackupMetadata) GetCompressionType() CompressionType

func (*BackupMetadata) GetCypher

func (m *BackupMetadata) GetCypher() Cypher

func (*BackupMetadata) GetDescription

func (m *BackupMetadata) GetDescription() string

func (*BackupMetadata) GetEndTs

func (m *BackupMetadata) GetEndTs() int64

func (*BackupMetadata) GetLastOplogTs

func (m *BackupMetadata) GetLastOplogTs() int64

func (*BackupMetadata) GetMongodbVersion added in v0.4.0

func (m *BackupMetadata) GetMongodbVersion() string

func (*BackupMetadata) GetOplogStartTime

func (m *BackupMetadata) GetOplogStartTime() int64

func (*BackupMetadata) GetReplicasets

func (m *BackupMetadata) GetReplicasets() map[string]*ReplicasetMetadata

func (*BackupMetadata) GetServers added in v0.4.0

func (m *BackupMetadata) GetServers() []*Server

func (*BackupMetadata) GetStartTs

func (m *BackupMetadata) GetStartTs() int64

func (*BackupMetadata) GetStorageName added in v0.3.0

func (m *BackupMetadata) GetStorageName() string

func (*BackupMetadata) ProtoMessage

func (*BackupMetadata) ProtoMessage()

func (*BackupMetadata) Reset

func (m *BackupMetadata) Reset()

func (*BackupMetadata) String

func (m *BackupMetadata) String() string

func (*BackupMetadata) XXX_DiscardUnknown

func (m *BackupMetadata) XXX_DiscardUnknown()

func (*BackupMetadata) XXX_Marshal

func (m *BackupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupMetadata) XXX_Merge

func (m *BackupMetadata) XXX_Merge(src proto.Message)

func (*BackupMetadata) XXX_Size

func (m *BackupMetadata) XXX_Size() int

func (*BackupMetadata) XXX_Unmarshal

func (m *BackupMetadata) XXX_Unmarshal(b []byte) error

type BackupSource

type BackupSource struct {
	SourceClient         string   `protobuf:"bytes,1,opt,name=source_client,json=sourceClient,proto3" json:"source_client,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BackupSource) Descriptor

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

func (*BackupSource) GetSourceClient

func (m *BackupSource) GetSourceClient() string

func (*BackupSource) ProtoMessage

func (*BackupSource) ProtoMessage()

func (*BackupSource) Reset

func (m *BackupSource) Reset()

func (*BackupSource) String

func (m *BackupSource) String() string

func (*BackupSource) XXX_DiscardUnknown

func (m *BackupSource) XXX_DiscardUnknown()

func (*BackupSource) XXX_Marshal

func (m *BackupSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupSource) XXX_Merge

func (m *BackupSource) XXX_Merge(src proto.Message)

func (*BackupSource) XXX_Size

func (m *BackupSource) XXX_Size() int

func (*BackupSource) XXX_Unmarshal

func (m *BackupSource) XXX_Unmarshal(b []byte) error

type BackupType

type BackupType int32
const (
	BackupType_BACKUP_TYPE_INVALID   BackupType = 0
	BackupType_BACKUP_TYPE_LOGICAL   BackupType = 1
	BackupType_BACKUP_TYPE_HOTBACKUP BackupType = 2
)

func (BackupType) EnumDescriptor

func (BackupType) EnumDescriptor() ([]byte, []int)

func (BackupType) String

func (x BackupType) String() string

type BalancerStatus added in v0.5.0

type BalancerStatus struct {
	Mode                 string   `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
	InBalancerRound      bool     `protobuf:"varint,2,opt,name=in_balancer_round,json=inBalancerRound,proto3" json:"in_balancer_round,omitempty"`
	NumBalancerRounds    int64    `protobuf:"varint,3,opt,name=num_balancer_rounds,json=numBalancerRounds,proto3" json:"num_balancer_rounds,omitempty"`
	Ok                   int32    `protobuf:"varint,4,opt,name=ok,proto3" json:"ok,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BalancerStatus) Descriptor added in v0.5.0

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

func (*BalancerStatus) GetInBalancerRound added in v0.5.0

func (m *BalancerStatus) GetInBalancerRound() bool

func (*BalancerStatus) GetMode added in v0.5.0

func (m *BalancerStatus) GetMode() string

func (*BalancerStatus) GetNumBalancerRounds added in v0.5.0

func (m *BalancerStatus) GetNumBalancerRounds() int64

func (*BalancerStatus) GetOk added in v0.5.0

func (m *BalancerStatus) GetOk() int32

func (*BalancerStatus) ProtoMessage added in v0.5.0

func (*BalancerStatus) ProtoMessage()

func (*BalancerStatus) Reset added in v0.5.0

func (m *BalancerStatus) Reset()

func (*BalancerStatus) String added in v0.5.0

func (m *BalancerStatus) String() string

func (*BalancerStatus) XXX_DiscardUnknown added in v0.5.0

func (m *BalancerStatus) XXX_DiscardUnknown()

func (*BalancerStatus) XXX_Marshal added in v0.5.0

func (m *BalancerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BalancerStatus) XXX_Merge added in v0.5.0

func (m *BalancerStatus) XXX_Merge(src proto.Message)

func (*BalancerStatus) XXX_Size added in v0.5.0

func (m *BalancerStatus) XXX_Size() int

func (*BalancerStatus) XXX_Unmarshal added in v0.5.0

func (m *BalancerStatus) XXX_Unmarshal(b []byte) error

type CanRestoreBackup

type CanRestoreBackup struct {
	BackupType           BackupType `protobuf:"varint,1,opt,name=backup_type,json=backupType,proto3,enum=messages.BackupType" json:"backup_type,omitempty"`
	BackupName           string     `protobuf:"bytes,2,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"`
	StorageName          string     `protobuf:"bytes,3,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*CanRestoreBackup) Descriptor

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

func (*CanRestoreBackup) GetBackupName

func (m *CanRestoreBackup) GetBackupName() string

func (*CanRestoreBackup) GetBackupType

func (m *CanRestoreBackup) GetBackupType() BackupType

func (*CanRestoreBackup) GetStorageName added in v0.3.0

func (m *CanRestoreBackup) GetStorageName() string

func (*CanRestoreBackup) ProtoMessage

func (*CanRestoreBackup) ProtoMessage()

func (*CanRestoreBackup) Reset

func (m *CanRestoreBackup) Reset()

func (*CanRestoreBackup) String

func (m *CanRestoreBackup) String() string

func (*CanRestoreBackup) XXX_DiscardUnknown

func (m *CanRestoreBackup) XXX_DiscardUnknown()

func (*CanRestoreBackup) XXX_Marshal

func (m *CanRestoreBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CanRestoreBackup) XXX_Merge

func (m *CanRestoreBackup) XXX_Merge(src proto.Message)

func (*CanRestoreBackup) XXX_Size

func (m *CanRestoreBackup) XXX_Size() int

func (*CanRestoreBackup) XXX_Unmarshal

func (m *CanRestoreBackup) XXX_Unmarshal(b []byte) error

type CanRestoreBackupResponse

type CanRestoreBackupResponse struct {
	ClientId             string   `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Replicaset           string   `protobuf:"bytes,2,opt,name=replicaset,proto3" json:"replicaset,omitempty"`
	IsPrimary            bool     `protobuf:"varint,3,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	CanRestore           bool     `protobuf:"varint,4,opt,name=can_restore,json=canRestore,proto3" json:"can_restore,omitempty"`
	Host                 string   `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
	Port                 string   `protobuf:"bytes,6,opt,name=port,proto3" json:"port,omitempty"`
	Error                string   `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CanRestoreBackupResponse) Descriptor

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

func (*CanRestoreBackupResponse) GetCanRestore

func (m *CanRestoreBackupResponse) GetCanRestore() bool

func (*CanRestoreBackupResponse) GetClientId

func (m *CanRestoreBackupResponse) GetClientId() string

func (*CanRestoreBackupResponse) GetError added in v0.3.0

func (m *CanRestoreBackupResponse) GetError() string

func (*CanRestoreBackupResponse) GetHost

func (m *CanRestoreBackupResponse) GetHost() string

func (*CanRestoreBackupResponse) GetIsPrimary

func (m *CanRestoreBackupResponse) GetIsPrimary() bool

func (*CanRestoreBackupResponse) GetPort

func (m *CanRestoreBackupResponse) GetPort() string

func (*CanRestoreBackupResponse) GetReplicaset

func (m *CanRestoreBackupResponse) GetReplicaset() string

func (*CanRestoreBackupResponse) ProtoMessage

func (*CanRestoreBackupResponse) ProtoMessage()

func (*CanRestoreBackupResponse) Reset

func (m *CanRestoreBackupResponse) Reset()

func (*CanRestoreBackupResponse) String

func (m *CanRestoreBackupResponse) String() string

func (*CanRestoreBackupResponse) XXX_DiscardUnknown

func (m *CanRestoreBackupResponse) XXX_DiscardUnknown()

func (*CanRestoreBackupResponse) XXX_Marshal

func (m *CanRestoreBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CanRestoreBackupResponse) XXX_Merge

func (m *CanRestoreBackupResponse) XXX_Merge(src proto.Message)

func (*CanRestoreBackupResponse) XXX_Size

func (m *CanRestoreBackupResponse) XXX_Size() int

func (*CanRestoreBackupResponse) XXX_Unmarshal

func (m *CanRestoreBackupResponse) XXX_Unmarshal(b []byte) error

type CancelBackup

type CancelBackup struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CancelBackup) Descriptor

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

func (*CancelBackup) ProtoMessage

func (*CancelBackup) ProtoMessage()

func (*CancelBackup) Reset

func (m *CancelBackup) Reset()

func (*CancelBackup) String

func (m *CancelBackup) String() string

func (*CancelBackup) XXX_DiscardUnknown

func (m *CancelBackup) XXX_DiscardUnknown()

func (*CancelBackup) XXX_Marshal

func (m *CancelBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelBackup) XXX_Merge

func (m *CancelBackup) XXX_Merge(src proto.Message)

func (*CancelBackup) XXX_Size

func (m *CancelBackup) XXX_Size() int

func (*CancelBackup) XXX_Unmarshal

func (m *CancelBackup) XXX_Unmarshal(b []byte) error

type ClientMessage

type ClientMessage struct {
	Version  int32  `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Types that are valid to be assigned to Payload:
	//	*ClientMessage_AckMsg
	//	*ClientMessage_BackupSourceMsg
	//	*ClientMessage_BackupFinishedMsg
	//	*ClientMessage_ErrorMsg
	//	*ClientMessage_OplogFinishedMsg
	//	*ClientMessage_LastOplogTs
	//	*ClientMessage_PongMsg
	//	*ClientMessage_RegisterMsg
	//	*ClientMessage_ReplicasetsMsg
	//	*ClientMessage_StatusMsg
	//	*ClientMessage_CanRestoreBackupMsg
	//	*ClientMessage_StorageInfo
	//	*ClientMessage_StoragesInfo
	//	*ClientMessage_WriteStatus
	//	*ClientMessage_CmdLineOpts
	//	*ClientMessage_MongodbVersion
	//	*ClientMessage_BalancerStatus
	Payload              isClientMessage_Payload `protobuf_oneof:"payload"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ClientMessage) Descriptor

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

func (*ClientMessage) GetAckMsg

func (m *ClientMessage) GetAckMsg() *Ack

func (*ClientMessage) GetBackupFinishedMsg

func (m *ClientMessage) GetBackupFinishedMsg() *DBBackupFinishStatus

func (*ClientMessage) GetBackupSourceMsg

func (m *ClientMessage) GetBackupSourceMsg() *BackupSource

func (*ClientMessage) GetBalancerStatus added in v0.5.0

func (m *ClientMessage) GetBalancerStatus() *BalancerStatus

func (*ClientMessage) GetCanRestoreBackupMsg

func (m *ClientMessage) GetCanRestoreBackupMsg() *CanRestoreBackupResponse

func (*ClientMessage) GetClientId

func (m *ClientMessage) GetClientId() string

func (*ClientMessage) GetCmdLineOpts added in v0.4.0

func (m *ClientMessage) GetCmdLineOpts() *CmdLineOpts

func (*ClientMessage) GetErrorMsg

func (m *ClientMessage) GetErrorMsg() *Error

func (*ClientMessage) GetLastOplogTs

func (m *ClientMessage) GetLastOplogTs() *LastOplogTs

func (*ClientMessage) GetMongodbVersion added in v0.4.0

func (m *ClientMessage) GetMongodbVersion() *MongoDBVersion

func (*ClientMessage) GetOplogFinishedMsg

func (m *ClientMessage) GetOplogFinishedMsg() *OplogBackupFinishStatus

func (*ClientMessage) GetPayload

func (m *ClientMessage) GetPayload() isClientMessage_Payload

func (*ClientMessage) GetPongMsg

func (m *ClientMessage) GetPongMsg() *Pong

func (*ClientMessage) GetRegisterMsg

func (m *ClientMessage) GetRegisterMsg() *Register

func (*ClientMessage) GetReplicasetsMsg

func (m *ClientMessage) GetReplicasetsMsg() *Replicasets

func (*ClientMessage) GetStatusMsg

func (m *ClientMessage) GetStatusMsg() *Status

func (*ClientMessage) GetStorageInfo added in v0.3.0

func (m *ClientMessage) GetStorageInfo() *StorageInfo

func (*ClientMessage) GetStoragesInfo added in v0.3.0

func (m *ClientMessage) GetStoragesInfo() *StoragesInfo

func (*ClientMessage) GetVersion

func (m *ClientMessage) GetVersion() int32

func (*ClientMessage) GetWriteStatus added in v0.4.0

func (m *ClientMessage) GetWriteStatus() *WriteStatus

func (*ClientMessage) ProtoMessage

func (*ClientMessage) ProtoMessage()

func (*ClientMessage) Reset

func (m *ClientMessage) Reset()

func (*ClientMessage) String

func (m *ClientMessage) String() string

func (*ClientMessage) XXX_DiscardUnknown

func (m *ClientMessage) XXX_DiscardUnknown()

func (*ClientMessage) XXX_Marshal

func (m *ClientMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientMessage) XXX_Merge

func (m *ClientMessage) XXX_Merge(src proto.Message)

func (*ClientMessage) XXX_OneofWrappers added in v0.3.0

func (*ClientMessage) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ClientMessage) XXX_Size

func (m *ClientMessage) XXX_Size() int

func (*ClientMessage) XXX_Unmarshal

func (m *ClientMessage) XXX_Unmarshal(b []byte) error

type ClientMessage_AckMsg

type ClientMessage_AckMsg struct {
	AckMsg *Ack `protobuf:"bytes,3,opt,name=ack_msg,json=ackMsg,proto3,oneof"`
}

type ClientMessage_BackupFinishedMsg

type ClientMessage_BackupFinishedMsg struct {
	BackupFinishedMsg *DBBackupFinishStatus `protobuf:"bytes,5,opt,name=backup_finished_msg,json=backupFinishedMsg,proto3,oneof"`
}

type ClientMessage_BackupSourceMsg

type ClientMessage_BackupSourceMsg struct {
	BackupSourceMsg *BackupSource `protobuf:"bytes,4,opt,name=backup_source_msg,json=backupSourceMsg,proto3,oneof"`
}

type ClientMessage_BalancerStatus added in v0.5.0

type ClientMessage_BalancerStatus struct {
	BalancerStatus *BalancerStatus `protobuf:"bytes,19,opt,name=balancer_status,json=balancerStatus,proto3,oneof"`
}

type ClientMessage_CanRestoreBackupMsg

type ClientMessage_CanRestoreBackupMsg struct {
	CanRestoreBackupMsg *CanRestoreBackupResponse `protobuf:"bytes,13,opt,name=can_restore_backup_msg,json=canRestoreBackupMsg,proto3,oneof"`
}

type ClientMessage_CmdLineOpts added in v0.4.0

type ClientMessage_CmdLineOpts struct {
	CmdLineOpts *CmdLineOpts `protobuf:"bytes,17,opt,name=cmd_line_opts,json=cmdLineOpts,proto3,oneof"`
}

type ClientMessage_ErrorMsg

type ClientMessage_ErrorMsg struct {
	ErrorMsg *Error `protobuf:"bytes,6,opt,name=error_msg,json=errorMsg,proto3,oneof"`
}

type ClientMessage_LastOplogTs

type ClientMessage_LastOplogTs struct {
	LastOplogTs *LastOplogTs `protobuf:"bytes,8,opt,name=last_oplog_ts,json=lastOplogTs,proto3,oneof"`
}

type ClientMessage_MongodbVersion added in v0.4.0

type ClientMessage_MongodbVersion struct {
	MongodbVersion *MongoDBVersion `protobuf:"bytes,18,opt,name=mongodb_version,json=mongodbVersion,proto3,oneof"`
}

type ClientMessage_OplogFinishedMsg

type ClientMessage_OplogFinishedMsg struct {
	OplogFinishedMsg *OplogBackupFinishStatus `protobuf:"bytes,7,opt,name=oplog_finished_msg,json=oplogFinishedMsg,proto3,oneof"`
}

type ClientMessage_PongMsg

type ClientMessage_PongMsg struct {
	PongMsg *Pong `protobuf:"bytes,9,opt,name=pong_msg,json=pongMsg,proto3,oneof"`
}

type ClientMessage_RegisterMsg

type ClientMessage_RegisterMsg struct {
	RegisterMsg *Register `protobuf:"bytes,10,opt,name=register_msg,json=registerMsg,proto3,oneof"`
}

type ClientMessage_ReplicasetsMsg

type ClientMessage_ReplicasetsMsg struct {
	ReplicasetsMsg *Replicasets `protobuf:"bytes,11,opt,name=replicasets_msg,json=replicasetsMsg,proto3,oneof"`
}

type ClientMessage_StatusMsg

type ClientMessage_StatusMsg struct {
	StatusMsg *Status `protobuf:"bytes,12,opt,name=status_msg,json=statusMsg,proto3,oneof"`
}

type ClientMessage_StorageInfo added in v0.3.0

type ClientMessage_StorageInfo struct {
	StorageInfo *StorageInfo `protobuf:"bytes,14,opt,name=storage_info,json=storageInfo,proto3,oneof"`
}

type ClientMessage_StoragesInfo added in v0.3.0

type ClientMessage_StoragesInfo struct {
	StoragesInfo *StoragesInfo `protobuf:"bytes,15,opt,name=storages_info,json=storagesInfo,proto3,oneof"`
}

type ClientMessage_WriteStatus added in v0.4.0

type ClientMessage_WriteStatus struct {
	WriteStatus *WriteStatus `protobuf:"bytes,16,opt,name=write_status,json=writeStatus,proto3,oneof"`
}

type CmdLineOpts added in v0.4.0

type CmdLineOpts struct {
	Options              []byte   `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CmdLineOpts) Descriptor added in v0.4.0

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

func (*CmdLineOpts) GetOptions added in v0.4.0

func (m *CmdLineOpts) GetOptions() []byte

func (*CmdLineOpts) ProtoMessage added in v0.4.0

func (*CmdLineOpts) ProtoMessage()

func (*CmdLineOpts) Reset added in v0.4.0

func (m *CmdLineOpts) Reset()

func (*CmdLineOpts) String added in v0.4.0

func (m *CmdLineOpts) String() string

func (*CmdLineOpts) XXX_DiscardUnknown added in v0.4.0

func (m *CmdLineOpts) XXX_DiscardUnknown()

func (*CmdLineOpts) XXX_Marshal added in v0.4.0

func (m *CmdLineOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdLineOpts) XXX_Merge added in v0.4.0

func (m *CmdLineOpts) XXX_Merge(src proto.Message)

func (*CmdLineOpts) XXX_Size added in v0.4.0

func (m *CmdLineOpts) XXX_Size() int

func (*CmdLineOpts) XXX_Unmarshal added in v0.4.0

func (m *CmdLineOpts) XXX_Unmarshal(b []byte) error

type CompressionType

type CompressionType int32
const (
	CompressionType_COMPRESSION_TYPE_INVALID        CompressionType = 0
	CompressionType_COMPRESSION_TYPE_NO_COMPRESSION CompressionType = 1
	CompressionType_COMPRESSION_TYPE_GZIP           CompressionType = 2
	CompressionType_COMPRESSION_TYPE_SNAPPY         CompressionType = 3
	CompressionType_COMPRESSION_TYPE_LZ4            CompressionType = 4
)

func (CompressionType) EnumDescriptor

func (CompressionType) EnumDescriptor() ([]byte, []int)

func (CompressionType) String

func (x CompressionType) String() string

type Cypher

type Cypher int32
const (
	Cypher_CYPHER_INVALID   Cypher = 0
	Cypher_CYPHER_NO_CYPHER Cypher = 1
	Cypher_CYPHER_AES       Cypher = 2
	Cypher_CYPHER_DES       Cypher = 3
	Cypher_CYPHER_RC4       Cypher = 4
	Cypher_CYPHER_RSA       Cypher = 5
)

func (Cypher) EnumDescriptor

func (Cypher) EnumDescriptor() ([]byte, []int)

func (Cypher) String

func (x Cypher) String() string

type DBBackupFinishStatus

type DBBackupFinishStatus struct {
	ClientId             string   `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Ok                   bool     `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	Ts                   int64    `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"`
	Error                string   `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DBBackupFinishStatus) Descriptor

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

func (*DBBackupFinishStatus) GetClientId

func (m *DBBackupFinishStatus) GetClientId() string

func (*DBBackupFinishStatus) GetError

func (m *DBBackupFinishStatus) GetError() string

func (*DBBackupFinishStatus) GetOk

func (m *DBBackupFinishStatus) GetOk() bool

func (*DBBackupFinishStatus) GetTs

func (m *DBBackupFinishStatus) GetTs() int64

func (*DBBackupFinishStatus) ProtoMessage

func (*DBBackupFinishStatus) ProtoMessage()

func (*DBBackupFinishStatus) Reset

func (m *DBBackupFinishStatus) Reset()

func (*DBBackupFinishStatus) String

func (m *DBBackupFinishStatus) String() string

func (*DBBackupFinishStatus) XXX_DiscardUnknown

func (m *DBBackupFinishStatus) XXX_DiscardUnknown()

func (*DBBackupFinishStatus) XXX_Marshal

func (m *DBBackupFinishStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DBBackupFinishStatus) XXX_Merge

func (m *DBBackupFinishStatus) XXX_Merge(src proto.Message)

func (*DBBackupFinishStatus) XXX_Size

func (m *DBBackupFinishStatus) XXX_Size() int

func (*DBBackupFinishStatus) XXX_Unmarshal

func (m *DBBackupFinishStatus) XXX_Unmarshal(b []byte) error

type DBBackupFinishedAck

type DBBackupFinishedAck struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DBBackupFinishedAck) Descriptor

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

func (*DBBackupFinishedAck) ProtoMessage

func (*DBBackupFinishedAck) ProtoMessage()

func (*DBBackupFinishedAck) Reset

func (m *DBBackupFinishedAck) Reset()

func (*DBBackupFinishedAck) String

func (m *DBBackupFinishedAck) String() string

func (*DBBackupFinishedAck) XXX_DiscardUnknown

func (m *DBBackupFinishedAck) XXX_DiscardUnknown()

func (*DBBackupFinishedAck) XXX_Marshal

func (m *DBBackupFinishedAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DBBackupFinishedAck) XXX_Merge

func (m *DBBackupFinishedAck) XXX_Merge(src proto.Message)

func (*DBBackupFinishedAck) XXX_Size

func (m *DBBackupFinishedAck) XXX_Size() int

func (*DBBackupFinishedAck) XXX_Unmarshal

func (m *DBBackupFinishedAck) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type Error

type Error struct {
	Message              string    `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Code                 ErrorType `protobuf:"varint,2,opt,name=code,proto3,enum=messages.ErrorType" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Error) Descriptor

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

func (*Error) GetCode

func (m *Error) GetCode() ErrorType

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error) XXX_Merge

func (m *Error) XXX_Merge(src proto.Message)

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

func (m *Error) XXX_Unmarshal(b []byte) error

type ErrorType

type ErrorType int32
const (
	ErrorType_ERROR_TYPE_INVALID                   ErrorType = 0
	ErrorType_ERROR_TYPE_NOT_IMPLEMENTED_YET       ErrorType = 1
	ErrorType_ERROR_TYPE_COMMUNICATION_ERROR       ErrorType = 2
	ErrorType_ERROR_TYPE_CLIENT_ALREADY_REGISTERED ErrorType = 3
)

func (ErrorType) EnumDescriptor

func (ErrorType) EnumDescriptor() ([]byte, []int)

func (ErrorType) String

func (x ErrorType) String() string

type Filesystem added in v0.3.0

type Filesystem struct {
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Filesystem) Descriptor added in v0.3.0

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

func (*Filesystem) GetPath added in v0.3.0

func (m *Filesystem) GetPath() string

func (*Filesystem) ProtoMessage added in v0.3.0

func (*Filesystem) ProtoMessage()

func (*Filesystem) Reset added in v0.3.0

func (m *Filesystem) Reset()

func (*Filesystem) String added in v0.3.0

func (m *Filesystem) String() string

func (*Filesystem) XXX_DiscardUnknown added in v0.3.0

func (m *Filesystem) XXX_DiscardUnknown()

func (*Filesystem) XXX_Marshal added in v0.3.0

func (m *Filesystem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Filesystem) XXX_Merge added in v0.3.0

func (m *Filesystem) XXX_Merge(src proto.Message)

func (*Filesystem) XXX_Size added in v0.3.0

func (m *Filesystem) XXX_Size() int

func (*Filesystem) XXX_Unmarshal added in v0.3.0

func (m *Filesystem) XXX_Unmarshal(b []byte) error

type GetBackupSource

type GetBackupSource struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBackupSource) Descriptor

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

func (*GetBackupSource) ProtoMessage

func (*GetBackupSource) ProtoMessage()

func (*GetBackupSource) Reset

func (m *GetBackupSource) Reset()

func (*GetBackupSource) String

func (m *GetBackupSource) String() string

func (*GetBackupSource) XXX_DiscardUnknown

func (m *GetBackupSource) XXX_DiscardUnknown()

func (*GetBackupSource) XXX_Marshal

func (m *GetBackupSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBackupSource) XXX_Merge

func (m *GetBackupSource) XXX_Merge(src proto.Message)

func (*GetBackupSource) XXX_Size

func (m *GetBackupSource) XXX_Size() int

func (*GetBackupSource) XXX_Unmarshal

func (m *GetBackupSource) XXX_Unmarshal(b []byte) error

type GetBalancerStatus added in v0.5.0

type GetBalancerStatus struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBalancerStatus) Descriptor added in v0.5.0

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

func (*GetBalancerStatus) ProtoMessage added in v0.5.0

func (*GetBalancerStatus) ProtoMessage()

func (*GetBalancerStatus) Reset added in v0.5.0

func (m *GetBalancerStatus) Reset()

func (*GetBalancerStatus) String added in v0.5.0

func (m *GetBalancerStatus) String() string

func (*GetBalancerStatus) XXX_DiscardUnknown added in v0.5.0

func (m *GetBalancerStatus) XXX_DiscardUnknown()

func (*GetBalancerStatus) XXX_Marshal added in v0.5.0

func (m *GetBalancerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBalancerStatus) XXX_Merge added in v0.5.0

func (m *GetBalancerStatus) XXX_Merge(src proto.Message)

func (*GetBalancerStatus) XXX_Size added in v0.5.0

func (m *GetBalancerStatus) XXX_Size() int

func (*GetBalancerStatus) XXX_Unmarshal added in v0.5.0

func (m *GetBalancerStatus) XXX_Unmarshal(b []byte) error

type GetCmdLineOpts added in v0.4.0

type GetCmdLineOpts struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCmdLineOpts) Descriptor added in v0.4.0

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

func (*GetCmdLineOpts) ProtoMessage added in v0.4.0

func (*GetCmdLineOpts) ProtoMessage()

func (*GetCmdLineOpts) Reset added in v0.4.0

func (m *GetCmdLineOpts) Reset()

func (*GetCmdLineOpts) String added in v0.4.0

func (m *GetCmdLineOpts) String() string

func (*GetCmdLineOpts) XXX_DiscardUnknown added in v0.4.0

func (m *GetCmdLineOpts) XXX_DiscardUnknown()

func (*GetCmdLineOpts) XXX_Marshal added in v0.4.0

func (m *GetCmdLineOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCmdLineOpts) XXX_Merge added in v0.4.0

func (m *GetCmdLineOpts) XXX_Merge(src proto.Message)

func (*GetCmdLineOpts) XXX_Size added in v0.4.0

func (m *GetCmdLineOpts) XXX_Size() int

func (*GetCmdLineOpts) XXX_Unmarshal added in v0.4.0

func (m *GetCmdLineOpts) XXX_Unmarshal(b []byte) error

type GetLastOplogTs

type GetLastOplogTs struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetLastOplogTs) Descriptor

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

func (*GetLastOplogTs) ProtoMessage

func (*GetLastOplogTs) ProtoMessage()

func (*GetLastOplogTs) Reset

func (m *GetLastOplogTs) Reset()

func (*GetLastOplogTs) String

func (m *GetLastOplogTs) String() string

func (*GetLastOplogTs) XXX_DiscardUnknown

func (m *GetLastOplogTs) XXX_DiscardUnknown()

func (*GetLastOplogTs) XXX_Marshal

func (m *GetLastOplogTs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetLastOplogTs) XXX_Merge

func (m *GetLastOplogTs) XXX_Merge(src proto.Message)

func (*GetLastOplogTs) XXX_Size

func (m *GetLastOplogTs) XXX_Size() int

func (*GetLastOplogTs) XXX_Unmarshal

func (m *GetLastOplogTs) XXX_Unmarshal(b []byte) error

type GetMongoDBVersion added in v0.4.0

type GetMongoDBVersion struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetMongoDBVersion) Descriptor added in v0.4.0

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

func (*GetMongoDBVersion) ProtoMessage added in v0.4.0

func (*GetMongoDBVersion) ProtoMessage()

func (*GetMongoDBVersion) Reset added in v0.4.0

func (m *GetMongoDBVersion) Reset()

func (*GetMongoDBVersion) String added in v0.4.0

func (m *GetMongoDBVersion) String() string

func (*GetMongoDBVersion) XXX_DiscardUnknown added in v0.4.0

func (m *GetMongoDBVersion) XXX_DiscardUnknown()

func (*GetMongoDBVersion) XXX_Marshal added in v0.4.0

func (m *GetMongoDBVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMongoDBVersion) XXX_Merge added in v0.4.0

func (m *GetMongoDBVersion) XXX_Merge(src proto.Message)

func (*GetMongoDBVersion) XXX_Size added in v0.4.0

func (m *GetMongoDBVersion) XXX_Size() int

func (*GetMongoDBVersion) XXX_Unmarshal added in v0.4.0

func (m *GetMongoDBVersion) XXX_Unmarshal(b []byte) error

type GetStatus

type GetStatus struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetStatus) Descriptor

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

func (*GetStatus) ProtoMessage

func (*GetStatus) ProtoMessage()

func (*GetStatus) Reset

func (m *GetStatus) Reset()

func (*GetStatus) String

func (m *GetStatus) String() string

func (*GetStatus) XXX_DiscardUnknown

func (m *GetStatus) XXX_DiscardUnknown()

func (*GetStatus) XXX_Marshal

func (m *GetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetStatus) XXX_Merge

func (m *GetStatus) XXX_Merge(src proto.Message)

func (*GetStatus) XXX_Size

func (m *GetStatus) XXX_Size() int

func (*GetStatus) XXX_Unmarshal

func (m *GetStatus) XXX_Unmarshal(b []byte) error

type GetStorageInfo added in v0.3.0

type GetStorageInfo struct {
	StorageName          string   `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetStorageInfo) Descriptor added in v0.3.0

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

func (*GetStorageInfo) GetStorageName added in v0.3.0

func (m *GetStorageInfo) GetStorageName() string

func (*GetStorageInfo) ProtoMessage added in v0.3.0

func (*GetStorageInfo) ProtoMessage()

func (*GetStorageInfo) Reset added in v0.3.0

func (m *GetStorageInfo) Reset()

func (*GetStorageInfo) String added in v0.3.0

func (m *GetStorageInfo) String() string

func (*GetStorageInfo) XXX_DiscardUnknown added in v0.3.0

func (m *GetStorageInfo) XXX_DiscardUnknown()

func (*GetStorageInfo) XXX_Marshal added in v0.3.0

func (m *GetStorageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetStorageInfo) XXX_Merge added in v0.3.0

func (m *GetStorageInfo) XXX_Merge(src proto.Message)

func (*GetStorageInfo) XXX_Size added in v0.3.0

func (m *GetStorageInfo) XXX_Size() int

func (*GetStorageInfo) XXX_Unmarshal added in v0.3.0

func (m *GetStorageInfo) XXX_Unmarshal(b []byte) error

type LastOplogTs

type LastOplogTs struct {
	LastOplogTs          int64    `protobuf:"varint,1,opt,name=last_oplog_ts,json=lastOplogTs,proto3" json:"last_oplog_ts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LastOplogTs) Descriptor

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

func (*LastOplogTs) GetLastOplogTs

func (m *LastOplogTs) GetLastOplogTs() int64

func (*LastOplogTs) ProtoMessage

func (*LastOplogTs) ProtoMessage()

func (*LastOplogTs) Reset

func (m *LastOplogTs) Reset()

func (*LastOplogTs) String

func (m *LastOplogTs) String() string

func (*LastOplogTs) XXX_DiscardUnknown

func (m *LastOplogTs) XXX_DiscardUnknown()

func (*LastOplogTs) XXX_Marshal

func (m *LastOplogTs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LastOplogTs) XXX_Merge

func (m *LastOplogTs) XXX_Merge(src proto.Message)

func (*LastOplogTs) XXX_Size

func (m *LastOplogTs) XXX_Size() int

func (*LastOplogTs) XXX_Unmarshal

func (m *LastOplogTs) XXX_Unmarshal(b []byte) error

type ListReplicasets

type ListReplicasets struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListReplicasets) Descriptor

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

func (*ListReplicasets) ProtoMessage

func (*ListReplicasets) ProtoMessage()

func (*ListReplicasets) Reset

func (m *ListReplicasets) Reset()

func (*ListReplicasets) String

func (m *ListReplicasets) String() string

func (*ListReplicasets) XXX_DiscardUnknown

func (m *ListReplicasets) XXX_DiscardUnknown()

func (*ListReplicasets) XXX_Marshal

func (m *ListReplicasets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListReplicasets) XXX_Merge

func (m *ListReplicasets) XXX_Merge(src proto.Message)

func (*ListReplicasets) XXX_Size

func (m *ListReplicasets) XXX_Size() int

func (*ListReplicasets) XXX_Unmarshal

func (m *ListReplicasets) XXX_Unmarshal(b []byte) error

type ListStorages added in v0.3.0

type ListStorages struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListStorages) Descriptor added in v0.3.0

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

func (*ListStorages) ProtoMessage added in v0.3.0

func (*ListStorages) ProtoMessage()

func (*ListStorages) Reset added in v0.3.0

func (m *ListStorages) Reset()

func (*ListStorages) String added in v0.3.0

func (m *ListStorages) String() string

func (*ListStorages) XXX_DiscardUnknown added in v0.3.0

func (m *ListStorages) XXX_DiscardUnknown()

func (*ListStorages) XXX_Marshal added in v0.3.0

func (m *ListStorages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListStorages) XXX_Merge added in v0.3.0

func (m *ListStorages) XXX_Merge(src proto.Message)

func (*ListStorages) XXX_Size added in v0.3.0

func (m *ListStorages) XXX_Size() int

func (*ListStorages) XXX_Unmarshal added in v0.3.0

func (m *ListStorages) XXX_Unmarshal(b []byte) error

type LogEntry

type LogEntry struct {
	ClientId             string   `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Level                uint32   `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
	Ts                   int64    `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"`
	Message              string   `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LogEntry) Descriptor

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

func (*LogEntry) GetClientId

func (m *LogEntry) GetClientId() string

func (*LogEntry) GetLevel

func (m *LogEntry) GetLevel() uint32

func (*LogEntry) GetMessage

func (m *LogEntry) GetMessage() string

func (*LogEntry) GetTs

func (m *LogEntry) GetTs() int64

func (*LogEntry) ProtoMessage

func (*LogEntry) ProtoMessage()

func (*LogEntry) Reset

func (m *LogEntry) Reset()

func (*LogEntry) String

func (m *LogEntry) String() string

func (*LogEntry) XXX_DiscardUnknown

func (m *LogEntry) XXX_DiscardUnknown()

func (*LogEntry) XXX_Marshal

func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogEntry) XXX_Merge

func (m *LogEntry) XXX_Merge(src proto.Message)

func (*LogEntry) XXX_Size

func (m *LogEntry) XXX_Size() int

func (*LogEntry) XXX_Unmarshal

func (m *LogEntry) XXX_Unmarshal(b []byte) error

type MessagesClient

type MessagesClient interface {
	// streams
	Logging(ctx context.Context, opts ...grpc.CallOption) (Messages_LoggingClient, error)
	MessagesChat(ctx context.Context, opts ...grpc.CallOption) (Messages_MessagesChatClient, error)
	// Invidividual responses
	DBBackupFinished(ctx context.Context, in *DBBackupFinishStatus, opts ...grpc.CallOption) (*DBBackupFinishedAck, error)
	OplogBackupFinished(ctx context.Context, in *OplogBackupFinishStatus, opts ...grpc.CallOption) (*OplogBackupFinishedAck, error)
	RestoreCompleted(ctx context.Context, in *RestoreComplete, opts ...grpc.CallOption) (*RestoreCompletedAck, error)
}

MessagesClient is the client API for Messages service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMessagesClient

func NewMessagesClient(cc *grpc.ClientConn) MessagesClient

type MessagesServer

type MessagesServer interface {
	// streams
	Logging(Messages_LoggingServer) error
	MessagesChat(Messages_MessagesChatServer) error
	// Invidividual responses
	DBBackupFinished(context.Context, *DBBackupFinishStatus) (*DBBackupFinishedAck, error)
	OplogBackupFinished(context.Context, *OplogBackupFinishStatus) (*OplogBackupFinishedAck, error)
	RestoreCompleted(context.Context, *RestoreComplete) (*RestoreCompletedAck, error)
}

MessagesServer is the server API for Messages service.

type Messages_LoggingClient

type Messages_LoggingClient interface {
	Send(*LogEntry) error
	CloseAndRecv() (*Ack, error)
	grpc.ClientStream
}

type Messages_LoggingServer

type Messages_LoggingServer interface {
	SendAndClose(*Ack) error
	Recv() (*LogEntry, error)
	grpc.ServerStream
}

type Messages_MessagesChatClient

type Messages_MessagesChatClient interface {
	Send(*ClientMessage) error
	Recv() (*ServerMessage, error)
	grpc.ClientStream
}

type Messages_MessagesChatServer

type Messages_MessagesChatServer interface {
	Send(*ServerMessage) error
	Recv() (*ClientMessage, error)
	grpc.ServerStream
}

type MongoDBVersion added in v0.4.0

type MongoDBVersion struct {
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MongoDBVersion) Descriptor added in v0.4.0

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

func (*MongoDBVersion) GetVersion added in v0.4.0

func (m *MongoDBVersion) GetVersion() string

func (*MongoDBVersion) ProtoMessage added in v0.4.0

func (*MongoDBVersion) ProtoMessage()

func (*MongoDBVersion) Reset added in v0.4.0

func (m *MongoDBVersion) Reset()

func (*MongoDBVersion) String added in v0.4.0

func (m *MongoDBVersion) String() string

func (*MongoDBVersion) XXX_DiscardUnknown added in v0.4.0

func (m *MongoDBVersion) XXX_DiscardUnknown()

func (*MongoDBVersion) XXX_Marshal added in v0.4.0

func (m *MongoDBVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MongoDBVersion) XXX_Merge added in v0.4.0

func (m *MongoDBVersion) XXX_Merge(src proto.Message)

func (*MongoDBVersion) XXX_Size added in v0.4.0

func (m *MongoDBVersion) XXX_Size() int

func (*MongoDBVersion) XXX_Unmarshal added in v0.4.0

func (m *MongoDBVersion) XXX_Unmarshal(b []byte) error

type NodeType

type NodeType int32
const (
	NodeType_NODE_TYPE_INVALID          NodeType = 0
	NodeType_NODE_TYPE_MONGOD           NodeType = 1
	NodeType_NODE_TYPE_MONGOD_REPLSET   NodeType = 2
	NodeType_NODE_TYPE_MONGOD_SHARDSVR  NodeType = 3
	NodeType_NODE_TYPE_MONGOD_CONFIGSVR NodeType = 4
	NodeType_NODE_TYPE_MONGOS           NodeType = 5
)

func (NodeType) EnumDescriptor

func (NodeType) EnumDescriptor() ([]byte, []int)

func (NodeType) String

func (x NodeType) String() string

type OplogBackupFinishStatus

type OplogBackupFinishStatus struct {
	ClientId             string   `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Ok                   bool     `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	Ts                   int64    `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"`
	Error                string   `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OplogBackupFinishStatus) Descriptor

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

func (*OplogBackupFinishStatus) GetClientId

func (m *OplogBackupFinishStatus) GetClientId() string

func (*OplogBackupFinishStatus) GetError

func (m *OplogBackupFinishStatus) GetError() string

func (*OplogBackupFinishStatus) GetOk

func (m *OplogBackupFinishStatus) GetOk() bool

func (*OplogBackupFinishStatus) GetTs

func (m *OplogBackupFinishStatus) GetTs() int64

func (*OplogBackupFinishStatus) ProtoMessage

func (*OplogBackupFinishStatus) ProtoMessage()

func (*OplogBackupFinishStatus) Reset

func (m *OplogBackupFinishStatus) Reset()

func (*OplogBackupFinishStatus) String

func (m *OplogBackupFinishStatus) String() string

func (*OplogBackupFinishStatus) XXX_DiscardUnknown

func (m *OplogBackupFinishStatus) XXX_DiscardUnknown()

func (*OplogBackupFinishStatus) XXX_Marshal

func (m *OplogBackupFinishStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OplogBackupFinishStatus) XXX_Merge

func (m *OplogBackupFinishStatus) XXX_Merge(src proto.Message)

func (*OplogBackupFinishStatus) XXX_Size

func (m *OplogBackupFinishStatus) XXX_Size() int

func (*OplogBackupFinishStatus) XXX_Unmarshal

func (m *OplogBackupFinishStatus) XXX_Unmarshal(b []byte) error

type OplogBackupFinishedAck

type OplogBackupFinishedAck struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OplogBackupFinishedAck) Descriptor

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

func (*OplogBackupFinishedAck) ProtoMessage

func (*OplogBackupFinishedAck) ProtoMessage()

func (*OplogBackupFinishedAck) Reset

func (m *OplogBackupFinishedAck) Reset()

func (*OplogBackupFinishedAck) String

func (m *OplogBackupFinishedAck) String() string

func (*OplogBackupFinishedAck) XXX_DiscardUnknown

func (m *OplogBackupFinishedAck) XXX_DiscardUnknown()

func (*OplogBackupFinishedAck) XXX_Marshal

func (m *OplogBackupFinishedAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OplogBackupFinishedAck) XXX_Merge

func (m *OplogBackupFinishedAck) XXX_Merge(src proto.Message)

func (*OplogBackupFinishedAck) XXX_Size

func (m *OplogBackupFinishedAck) XXX_Size() int

func (*OplogBackupFinishedAck) XXX_Unmarshal

func (m *OplogBackupFinishedAck) XXX_Unmarshal(b []byte) error

type Ping

type Ping struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Ping) Descriptor

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

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) Reset

func (m *Ping) Reset()

func (*Ping) String

func (m *Ping) String() string

func (*Ping) XXX_DiscardUnknown

func (m *Ping) XXX_DiscardUnknown()

func (*Ping) XXX_Marshal

func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ping) XXX_Merge

func (m *Ping) XXX_Merge(src proto.Message)

func (*Ping) XXX_Size

func (m *Ping) XXX_Size() int

func (*Ping) XXX_Unmarshal

func (m *Ping) XXX_Unmarshal(b []byte) error

type Pong

type Pong struct {
	Timestamp            int64    `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	NodeType             NodeType `protobuf:"varint,2,opt,name=node_type,json=nodeType,proto3,enum=messages.NodeType" json:"node_type,omitempty"`
	ReplicaSetUuid       string   `protobuf:"bytes,3,opt,name=replica_set_uuid,json=replicaSetUuid,proto3" json:"replica_set_uuid,omitempty"`
	ReplicaSetVersion    int32    `protobuf:"varint,4,opt,name=replica_set_version,json=replicaSetVersion,proto3" json:"replica_set_version,omitempty"`
	IsPrimary            bool     `protobuf:"varint,5,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	IsSecondary          bool     `protobuf:"varint,6,opt,name=is_secondary,json=isSecondary,proto3" json:"is_secondary,omitempty"`
	IsTailing            bool     `protobuf:"varint,7,opt,name=is_tailing,json=isTailing,proto3" json:"is_tailing,omitempty"`
	LastTailedTimestamp  int64    `protobuf:"varint,8,opt,name=last_tailed_timestamp,json=lastTailedTimestamp,proto3" json:"last_tailed_timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Pong) Descriptor

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

func (*Pong) GetIsPrimary

func (m *Pong) GetIsPrimary() bool

func (*Pong) GetIsSecondary

func (m *Pong) GetIsSecondary() bool

func (*Pong) GetIsTailing

func (m *Pong) GetIsTailing() bool

func (*Pong) GetLastTailedTimestamp

func (m *Pong) GetLastTailedTimestamp() int64

func (*Pong) GetNodeType

func (m *Pong) GetNodeType() NodeType

func (*Pong) GetReplicaSetUuid

func (m *Pong) GetReplicaSetUuid() string

func (*Pong) GetReplicaSetVersion

func (m *Pong) GetReplicaSetVersion() int32

func (*Pong) GetTimestamp

func (m *Pong) GetTimestamp() int64

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) Reset

func (m *Pong) Reset()

func (*Pong) String

func (m *Pong) String() string

func (*Pong) XXX_DiscardUnknown

func (m *Pong) XXX_DiscardUnknown()

func (*Pong) XXX_Marshal

func (m *Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pong) XXX_Merge

func (m *Pong) XXX_Merge(src proto.Message)

func (*Pong) XXX_Size

func (m *Pong) XXX_Size() int

func (*Pong) XXX_Unmarshal

func (m *Pong) XXX_Unmarshal(b []byte) error

type Register

type Register struct {
	NodeType             NodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=messages.NodeType" json:"node_type,omitempty"`
	NodeName             string   `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	ClusterId            string   `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	ReplicasetId         string   `protobuf:"bytes,4,opt,name=replicaset_id,json=replicasetId,proto3" json:"replicaset_id,omitempty"`
	ReplicasetName       string   `protobuf:"bytes,5,opt,name=replicaset_name,json=replicasetName,proto3" json:"replicaset_name,omitempty"`
	IsPrimary            bool     `protobuf:"varint,6,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	IsSecondary          bool     `protobuf:"varint,7,opt,name=is_secondary,json=isSecondary,proto3" json:"is_secondary,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Register) Descriptor

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

func (*Register) GetClusterId

func (m *Register) GetClusterId() string

func (*Register) GetIsPrimary

func (m *Register) GetIsPrimary() bool

func (*Register) GetIsSecondary

func (m *Register) GetIsSecondary() bool

func (*Register) GetNodeName

func (m *Register) GetNodeName() string

func (*Register) GetNodeType

func (m *Register) GetNodeType() NodeType

func (*Register) GetReplicasetId

func (m *Register) GetReplicasetId() string

func (*Register) GetReplicasetName

func (m *Register) GetReplicasetName() string

func (*Register) ProtoMessage

func (*Register) ProtoMessage()

func (*Register) Reset

func (m *Register) Reset()

func (*Register) String

func (m *Register) String() string

func (*Register) XXX_DiscardUnknown

func (m *Register) XXX_DiscardUnknown()

func (*Register) XXX_Marshal

func (m *Register) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Register) XXX_Merge

func (m *Register) XXX_Merge(src proto.Message)

func (*Register) XXX_Size

func (m *Register) XXX_Size() int

func (*Register) XXX_Unmarshal

func (m *Register) XXX_Unmarshal(b []byte) error

type ReplicasetMetadata

type ReplicasetMetadata struct {
	ClusterId            string   `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	ReplicasetUuid       string   `protobuf:"bytes,2,opt,name=replicaset_uuid,json=replicasetUuid,proto3" json:"replicaset_uuid,omitempty"`
	ReplicasetName       string   `protobuf:"bytes,3,opt,name=replicaset_name,json=replicasetName,proto3" json:"replicaset_name,omitempty"`
	DbBackupName         string   `protobuf:"bytes,4,opt,name=db_backup_name,json=dbBackupName,proto3" json:"db_backup_name,omitempty"`
	OplogBackupName      string   `protobuf:"bytes,5,opt,name=oplog_backup_name,json=oplogBackupName,proto3" json:"oplog_backup_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReplicasetMetadata) Descriptor

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

func (*ReplicasetMetadata) GetClusterId

func (m *ReplicasetMetadata) GetClusterId() string

func (*ReplicasetMetadata) GetDbBackupName

func (m *ReplicasetMetadata) GetDbBackupName() string

func (*ReplicasetMetadata) GetOplogBackupName

func (m *ReplicasetMetadata) GetOplogBackupName() string

func (*ReplicasetMetadata) GetReplicasetName

func (m *ReplicasetMetadata) GetReplicasetName() string

func (*ReplicasetMetadata) GetReplicasetUuid

func (m *ReplicasetMetadata) GetReplicasetUuid() string

func (*ReplicasetMetadata) ProtoMessage

func (*ReplicasetMetadata) ProtoMessage()

func (*ReplicasetMetadata) Reset

func (m *ReplicasetMetadata) Reset()

func (*ReplicasetMetadata) String

func (m *ReplicasetMetadata) String() string

func (*ReplicasetMetadata) XXX_DiscardUnknown

func (m *ReplicasetMetadata) XXX_DiscardUnknown()

func (*ReplicasetMetadata) XXX_Marshal

func (m *ReplicasetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicasetMetadata) XXX_Merge

func (m *ReplicasetMetadata) XXX_Merge(src proto.Message)

func (*ReplicasetMetadata) XXX_Size

func (m *ReplicasetMetadata) XXX_Size() int

func (*ReplicasetMetadata) XXX_Unmarshal

func (m *ReplicasetMetadata) XXX_Unmarshal(b []byte) error

type Replicasets

type Replicasets struct {
	Replicasets          []string `protobuf:"bytes,1,rep,name=replicasets,proto3" json:"replicasets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Replicasets) Descriptor

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

func (*Replicasets) GetReplicasets

func (m *Replicasets) GetReplicasets() []string

func (*Replicasets) ProtoMessage

func (*Replicasets) ProtoMessage()

func (*Replicasets) Reset

func (m *Replicasets) Reset()

func (*Replicasets) String

func (m *Replicasets) String() string

func (*Replicasets) XXX_DiscardUnknown

func (m *Replicasets) XXX_DiscardUnknown()

func (*Replicasets) XXX_Marshal

func (m *Replicasets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Replicasets) XXX_Merge

func (m *Replicasets) XXX_Merge(src proto.Message)

func (*Replicasets) XXX_Size

func (m *Replicasets) XXX_Size() int

func (*Replicasets) XXX_Unmarshal

func (m *Replicasets) XXX_Unmarshal(b []byte) error

type RestoreBackup

type RestoreBackup struct {
	MongodbHost          string          `protobuf:"bytes,1,opt,name=mongodb_host,json=mongodbHost,proto3" json:"mongodb_host,omitempty"`
	BackupType           BackupType      `protobuf:"varint,2,opt,name=backup_type,json=backupType,proto3,enum=messages.BackupType" json:"backup_type,omitempty"`
	SourceBucket         string          `protobuf:"bytes,3,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"`
	DbSourceName         string          `protobuf:"bytes,4,opt,name=db_source_name,json=dbSourceName,proto3" json:"db_source_name,omitempty"`
	OplogSourceName      string          `protobuf:"bytes,5,opt,name=oplog_source_name,json=oplogSourceName,proto3" json:"oplog_source_name,omitempty"`
	CompressionType      CompressionType `` /* 137-byte string literal not displayed */
	Cypher               Cypher          `protobuf:"varint,7,opt,name=cypher,proto3,enum=messages.Cypher" json:"cypher,omitempty"`
	OplogStartTime       int64           `protobuf:"varint,8,opt,name=oplog_start_time,json=oplogStartTime,proto3" json:"oplog_start_time,omitempty"`
	SkipUsersAndRoles    bool            `protobuf:"varint,9,opt,name=skip_users_and_roles,json=skipUsersAndRoles,proto3" json:"skip_users_and_roles,omitempty"`
	Host                 string          `protobuf:"bytes,10,opt,name=host,proto3" json:"host,omitempty"`
	Port                 string          `protobuf:"bytes,11,opt,name=port,proto3" json:"port,omitempty"`
	StorageName          string          `protobuf:"bytes,12,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
	MongodbVersion       string          `protobuf:"bytes,13,opt,name=mongodb_version,json=mongodbVersion,proto3" json:"mongodb_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*RestoreBackup) Descriptor

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

func (*RestoreBackup) GetBackupType

func (m *RestoreBackup) GetBackupType() BackupType

func (*RestoreBackup) GetCompressionType

func (m *RestoreBackup) GetCompressionType() CompressionType

func (*RestoreBackup) GetCypher

func (m *RestoreBackup) GetCypher() Cypher

func (*RestoreBackup) GetDbSourceName

func (m *RestoreBackup) GetDbSourceName() string

func (*RestoreBackup) GetHost

func (m *RestoreBackup) GetHost() string

func (*RestoreBackup) GetMongodbHost

func (m *RestoreBackup) GetMongodbHost() string

func (*RestoreBackup) GetMongodbVersion added in v0.4.0

func (m *RestoreBackup) GetMongodbVersion() string

func (*RestoreBackup) GetOplogSourceName

func (m *RestoreBackup) GetOplogSourceName() string

func (*RestoreBackup) GetOplogStartTime

func (m *RestoreBackup) GetOplogStartTime() int64

func (*RestoreBackup) GetPort

func (m *RestoreBackup) GetPort() string

func (*RestoreBackup) GetSkipUsersAndRoles

func (m *RestoreBackup) GetSkipUsersAndRoles() bool

func (*RestoreBackup) GetSourceBucket

func (m *RestoreBackup) GetSourceBucket() string

func (*RestoreBackup) GetStorageName added in v0.3.0

func (m *RestoreBackup) GetStorageName() string

func (*RestoreBackup) ProtoMessage

func (*RestoreBackup) ProtoMessage()

func (*RestoreBackup) Reset

func (m *RestoreBackup) Reset()

func (*RestoreBackup) String

func (m *RestoreBackup) String() string

func (*RestoreBackup) XXX_DiscardUnknown

func (m *RestoreBackup) XXX_DiscardUnknown()

func (*RestoreBackup) XXX_Marshal

func (m *RestoreBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreBackup) XXX_Merge

func (m *RestoreBackup) XXX_Merge(src proto.Message)

func (*RestoreBackup) XXX_Size

func (m *RestoreBackup) XXX_Size() int

func (*RestoreBackup) XXX_Unmarshal

func (m *RestoreBackup) XXX_Unmarshal(b []byte) error

type RestoreBackupCheck added in v0.4.0

type RestoreBackupCheck struct {
	MongodbHost          string          `protobuf:"bytes,1,opt,name=mongodb_host,json=mongodbHost,proto3" json:"mongodb_host,omitempty"`
	BackupType           BackupType      `protobuf:"varint,2,opt,name=backup_type,json=backupType,proto3,enum=messages.BackupType" json:"backup_type,omitempty"`
	SourceBucket         string          `protobuf:"bytes,3,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"`
	DbSourceName         string          `protobuf:"bytes,4,opt,name=db_source_name,json=dbSourceName,proto3" json:"db_source_name,omitempty"`
	OplogSourceName      string          `protobuf:"bytes,5,opt,name=oplog_source_name,json=oplogSourceName,proto3" json:"oplog_source_name,omitempty"`
	CompressionType      CompressionType `` /* 137-byte string literal not displayed */
	Cypher               Cypher          `protobuf:"varint,7,opt,name=cypher,proto3,enum=messages.Cypher" json:"cypher,omitempty"`
	OplogStartTime       int64           `protobuf:"varint,8,opt,name=oplog_start_time,json=oplogStartTime,proto3" json:"oplog_start_time,omitempty"`
	SkipUsersAndRoles    bool            `protobuf:"varint,9,opt,name=skip_users_and_roles,json=skipUsersAndRoles,proto3" json:"skip_users_and_roles,omitempty"`
	Host                 string          `protobuf:"bytes,10,opt,name=host,proto3" json:"host,omitempty"`
	Port                 string          `protobuf:"bytes,11,opt,name=port,proto3" json:"port,omitempty"`
	StorageName          string          `protobuf:"bytes,12,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
	MongodbVersion       string          `protobuf:"bytes,13,opt,name=mongodb_version,json=mongodbVersion,proto3" json:"mongodb_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*RestoreBackupCheck) Descriptor added in v0.4.0

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

func (*RestoreBackupCheck) GetBackupType added in v0.4.0

func (m *RestoreBackupCheck) GetBackupType() BackupType

func (*RestoreBackupCheck) GetCompressionType added in v0.4.0

func (m *RestoreBackupCheck) GetCompressionType() CompressionType

func (*RestoreBackupCheck) GetCypher added in v0.4.0

func (m *RestoreBackupCheck) GetCypher() Cypher

func (*RestoreBackupCheck) GetDbSourceName added in v0.4.0

func (m *RestoreBackupCheck) GetDbSourceName() string

func (*RestoreBackupCheck) GetHost added in v0.4.0

func (m *RestoreBackupCheck) GetHost() string

func (*RestoreBackupCheck) GetMongodbHost added in v0.4.0

func (m *RestoreBackupCheck) GetMongodbHost() string

func (*RestoreBackupCheck) GetMongodbVersion added in v0.4.0

func (m *RestoreBackupCheck) GetMongodbVersion() string

func (*RestoreBackupCheck) GetOplogSourceName added in v0.4.0

func (m *RestoreBackupCheck) GetOplogSourceName() string

func (*RestoreBackupCheck) GetOplogStartTime added in v0.4.0

func (m *RestoreBackupCheck) GetOplogStartTime() int64

func (*RestoreBackupCheck) GetPort added in v0.4.0

func (m *RestoreBackupCheck) GetPort() string

func (*RestoreBackupCheck) GetSkipUsersAndRoles added in v0.4.0

func (m *RestoreBackupCheck) GetSkipUsersAndRoles() bool

func (*RestoreBackupCheck) GetSourceBucket added in v0.4.0

func (m *RestoreBackupCheck) GetSourceBucket() string

func (*RestoreBackupCheck) GetStorageName added in v0.4.0

func (m *RestoreBackupCheck) GetStorageName() string

func (*RestoreBackupCheck) ProtoMessage added in v0.4.0

func (*RestoreBackupCheck) ProtoMessage()

func (*RestoreBackupCheck) Reset added in v0.4.0

func (m *RestoreBackupCheck) Reset()

func (*RestoreBackupCheck) String added in v0.4.0

func (m *RestoreBackupCheck) String() string

func (*RestoreBackupCheck) XXX_DiscardUnknown added in v0.4.0

func (m *RestoreBackupCheck) XXX_DiscardUnknown()

func (*RestoreBackupCheck) XXX_Marshal added in v0.4.0

func (m *RestoreBackupCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreBackupCheck) XXX_Merge added in v0.4.0

func (m *RestoreBackupCheck) XXX_Merge(src proto.Message)

func (*RestoreBackupCheck) XXX_Size added in v0.4.0

func (m *RestoreBackupCheck) XXX_Size() int

func (*RestoreBackupCheck) XXX_Unmarshal added in v0.4.0

func (m *RestoreBackupCheck) XXX_Unmarshal(b []byte) error

type RestoreComplete

type RestoreComplete struct {
	ClientId             string   `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Err                  *Error   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreComplete) Descriptor

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

func (*RestoreComplete) GetClientId

func (m *RestoreComplete) GetClientId() string

func (*RestoreComplete) GetErr

func (m *RestoreComplete) GetErr() *Error

func (*RestoreComplete) ProtoMessage

func (*RestoreComplete) ProtoMessage()

func (*RestoreComplete) Reset

func (m *RestoreComplete) Reset()

func (*RestoreComplete) String

func (m *RestoreComplete) String() string

func (*RestoreComplete) XXX_DiscardUnknown

func (m *RestoreComplete) XXX_DiscardUnknown()

func (*RestoreComplete) XXX_Marshal

func (m *RestoreComplete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreComplete) XXX_Merge

func (m *RestoreComplete) XXX_Merge(src proto.Message)

func (*RestoreComplete) XXX_Size

func (m *RestoreComplete) XXX_Size() int

func (*RestoreComplete) XXX_Unmarshal

func (m *RestoreComplete) XXX_Unmarshal(b []byte) error

type RestoreCompletedAck

type RestoreCompletedAck struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreCompletedAck) Descriptor

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

func (*RestoreCompletedAck) ProtoMessage

func (*RestoreCompletedAck) ProtoMessage()

func (*RestoreCompletedAck) Reset

func (m *RestoreCompletedAck) Reset()

func (*RestoreCompletedAck) String

func (m *RestoreCompletedAck) String() string

func (*RestoreCompletedAck) XXX_DiscardUnknown

func (m *RestoreCompletedAck) XXX_DiscardUnknown()

func (*RestoreCompletedAck) XXX_Marshal

func (m *RestoreCompletedAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreCompletedAck) XXX_Merge

func (m *RestoreCompletedAck) XXX_Merge(src proto.Message)

func (*RestoreCompletedAck) XXX_Size

func (m *RestoreCompletedAck) XXX_Size() int

func (*RestoreCompletedAck) XXX_Unmarshal

func (m *RestoreCompletedAck) XXX_Unmarshal(b []byte) error

type RestoreStatus

type RestoreStatus int32
const (
	RestoreStatus_RESTORE_STATUS_INVALID        RestoreStatus = 0
	RestoreStatus_RESTORE_STATUS_NOT_RUNNING    RestoreStatus = 1
	RestoreStatus_RESTORE_STATUS_RESTORINGDB    RestoreStatus = 2
	RestoreStatus_RESTORE_STATUS_RESTORINGOPLOG RestoreStatus = 3
)

func (RestoreStatus) EnumDescriptor

func (RestoreStatus) EnumDescriptor() ([]byte, []int)

func (RestoreStatus) String

func (x RestoreStatus) String() string

type S3 added in v0.3.0

type S3 struct {
	Region               string   `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	EndpointUrl          string   `protobuf:"bytes,2,opt,name=endpoint_url,json=endpointUrl,proto3" json:"endpoint_url,omitempty"`
	Bucket               string   `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*S3) Descriptor added in v0.3.0

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

func (*S3) GetBucket added in v0.3.0

func (m *S3) GetBucket() string

func (*S3) GetEndpointUrl added in v0.3.0

func (m *S3) GetEndpointUrl() string

func (*S3) GetRegion added in v0.3.0

func (m *S3) GetRegion() string

func (*S3) ProtoMessage added in v0.3.0

func (*S3) ProtoMessage()

func (*S3) Reset added in v0.3.0

func (m *S3) Reset()

func (*S3) String added in v0.3.0

func (m *S3) String() string

func (*S3) XXX_DiscardUnknown added in v0.3.0

func (m *S3) XXX_DiscardUnknown()

func (*S3) XXX_Marshal added in v0.3.0

func (m *S3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3) XXX_Merge added in v0.3.0

func (m *S3) XXX_Merge(src proto.Message)

func (*S3) XXX_Size added in v0.3.0

func (m *S3) XXX_Size() int

func (*S3) XXX_Unmarshal added in v0.3.0

func (m *S3) XXX_Unmarshal(b []byte) error

type Server added in v0.4.0

type Server struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CmdLineOpts          string   `protobuf:"bytes,2,opt,name=cmd_line_opts,json=cmdLineOpts,proto3" json:"cmd_line_opts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Server) Descriptor added in v0.4.0

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

func (*Server) GetCmdLineOpts added in v0.4.0

func (m *Server) GetCmdLineOpts() string

func (*Server) GetId added in v0.4.0

func (m *Server) GetId() string

func (*Server) ProtoMessage added in v0.4.0

func (*Server) ProtoMessage()

func (*Server) Reset added in v0.4.0

func (m *Server) Reset()

func (*Server) String added in v0.4.0

func (m *Server) String() string

func (*Server) XXX_DiscardUnknown added in v0.4.0

func (m *Server) XXX_DiscardUnknown()

func (*Server) XXX_Marshal added in v0.4.0

func (m *Server) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Server) XXX_Merge added in v0.4.0

func (m *Server) XXX_Merge(src proto.Message)

func (*Server) XXX_Size added in v0.4.0

func (m *Server) XXX_Size() int

func (*Server) XXX_Unmarshal added in v0.4.0

func (m *Server) XXX_Unmarshal(b []byte) error

type ServerMessage

type ServerMessage struct {
	Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// Types that are valid to be assigned to Payload:
	//	*ServerMessage_AckMsg
	//	*ServerMessage_CancelBackupMsg
	//	*ServerMessage_CanRestoreBackupMsg
	//	*ServerMessage_ErrorMsg
	//	*ServerMessage_BackupSourceMsg
	//	*ServerMessage_GetStatusMsg
	//	*ServerMessage_ListReplicasets
	//	*ServerMessage_LastOplogTs
	//	*ServerMessage_PingMsg
	//	*ServerMessage_RestoreBackupMsg
	//	*ServerMessage_StartBackupMsg
	//	*ServerMessage_StartBalancerMsg
	//	*ServerMessage_StopBalancerMsg
	//	*ServerMessage_StopOplogTailMsg
	//	*ServerMessage_GetStorageInfoMsg
	//	*ServerMessage_ListStoragesMsg
	//	*ServerMessage_WriteFile
	//	*ServerMessage_GetCmdLineOpts
	//	*ServerMessage_GetMongodbVersion
	//	*ServerMessage_RestoreBackupCheckMsg
	//	*ServerMessage_GetBalancerStatus
	Payload              isServerMessage_Payload `protobuf_oneof:"payload"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ServerMessage) Descriptor

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

func (*ServerMessage) GetAckMsg

func (m *ServerMessage) GetAckMsg() *Ack

func (*ServerMessage) GetBackupSourceMsg

func (m *ServerMessage) GetBackupSourceMsg() *GetBackupSource

func (*ServerMessage) GetCanRestoreBackupMsg

func (m *ServerMessage) GetCanRestoreBackupMsg() *CanRestoreBackup

func (*ServerMessage) GetCancelBackupMsg

func (m *ServerMessage) GetCancelBackupMsg() *CancelBackup

func (*ServerMessage) GetErrorMsg

func (m *ServerMessage) GetErrorMsg() *Error

func (*ServerMessage) GetGetBalancerStatus added in v0.5.0

func (m *ServerMessage) GetGetBalancerStatus() *GetBalancerStatus

func (*ServerMessage) GetGetCmdLineOpts added in v0.4.0

func (m *ServerMessage) GetGetCmdLineOpts() *GetCmdLineOpts

func (*ServerMessage) GetGetMongodbVersion added in v0.4.0

func (m *ServerMessage) GetGetMongodbVersion() *GetMongoDBVersion

func (*ServerMessage) GetGetStatusMsg

func (m *ServerMessage) GetGetStatusMsg() *GetStatus

func (*ServerMessage) GetGetStorageInfoMsg added in v0.3.0

func (m *ServerMessage) GetGetStorageInfoMsg() *GetStorageInfo

func (*ServerMessage) GetLastOplogTs

func (m *ServerMessage) GetLastOplogTs() *GetLastOplogTs

func (*ServerMessage) GetListReplicasets

func (m *ServerMessage) GetListReplicasets() *ListReplicasets

func (*ServerMessage) GetListStoragesMsg added in v0.3.0

func (m *ServerMessage) GetListStoragesMsg() *ListStorages

func (*ServerMessage) GetPayload

func (m *ServerMessage) GetPayload() isServerMessage_Payload

func (*ServerMessage) GetPingMsg

func (m *ServerMessage) GetPingMsg() *Ping

func (*ServerMessage) GetRestoreBackupCheckMsg added in v0.4.0

func (m *ServerMessage) GetRestoreBackupCheckMsg() *RestoreBackupCheck

func (*ServerMessage) GetRestoreBackupMsg

func (m *ServerMessage) GetRestoreBackupMsg() *RestoreBackup

func (*ServerMessage) GetStartBackupMsg

func (m *ServerMessage) GetStartBackupMsg() *StartBackup

func (*ServerMessage) GetStartBalancerMsg

func (m *ServerMessage) GetStartBalancerMsg() *StartBalancer

func (*ServerMessage) GetStopBalancerMsg

func (m *ServerMessage) GetStopBalancerMsg() *StopBalancer

func (*ServerMessage) GetStopOplogTailMsg

func (m *ServerMessage) GetStopOplogTailMsg() *StopOplogTail

func (*ServerMessage) GetVersion

func (m *ServerMessage) GetVersion() int32

func (*ServerMessage) GetWriteFile added in v0.4.0

func (m *ServerMessage) GetWriteFile() *WriteFile

func (*ServerMessage) ProtoMessage

func (*ServerMessage) ProtoMessage()

func (*ServerMessage) Reset

func (m *ServerMessage) Reset()

func (*ServerMessage) String

func (m *ServerMessage) String() string

func (*ServerMessage) XXX_DiscardUnknown

func (m *ServerMessage) XXX_DiscardUnknown()

func (*ServerMessage) XXX_Marshal

func (m *ServerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServerMessage) XXX_Merge

func (m *ServerMessage) XXX_Merge(src proto.Message)

func (*ServerMessage) XXX_OneofWrappers added in v0.3.0

func (*ServerMessage) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ServerMessage) XXX_Size

func (m *ServerMessage) XXX_Size() int

func (*ServerMessage) XXX_Unmarshal

func (m *ServerMessage) XXX_Unmarshal(b []byte) error

type ServerMessage_AckMsg

type ServerMessage_AckMsg struct {
	AckMsg *Ack `protobuf:"bytes,2,opt,name=ack_msg,json=ackMsg,proto3,oneof"`
}

type ServerMessage_BackupSourceMsg

type ServerMessage_BackupSourceMsg struct {
	BackupSourceMsg *GetBackupSource `protobuf:"bytes,6,opt,name=backup_source_msg,json=backupSourceMsg,proto3,oneof"`
}

type ServerMessage_CanRestoreBackupMsg

type ServerMessage_CanRestoreBackupMsg struct {
	CanRestoreBackupMsg *CanRestoreBackup `protobuf:"bytes,4,opt,name=can_restore_backup_msg,json=canRestoreBackupMsg,proto3,oneof"`
}

type ServerMessage_CancelBackupMsg

type ServerMessage_CancelBackupMsg struct {
	CancelBackupMsg *CancelBackup `protobuf:"bytes,3,opt,name=cancel_backup_msg,json=cancelBackupMsg,proto3,oneof"`
}

type ServerMessage_ErrorMsg

type ServerMessage_ErrorMsg struct {
	ErrorMsg *Error `protobuf:"bytes,5,opt,name=error_msg,json=errorMsg,proto3,oneof"`
}

type ServerMessage_GetBalancerStatus added in v0.5.0

type ServerMessage_GetBalancerStatus struct {
	GetBalancerStatus *GetBalancerStatus `protobuf:"bytes,22,opt,name=get_balancer_status,json=getBalancerStatus,proto3,oneof"`
}

type ServerMessage_GetCmdLineOpts added in v0.4.0

type ServerMessage_GetCmdLineOpts struct {
	GetCmdLineOpts *GetCmdLineOpts `protobuf:"bytes,19,opt,name=get_cmd_line_opts,json=getCmdLineOpts,proto3,oneof"`
}

type ServerMessage_GetMongodbVersion added in v0.4.0

type ServerMessage_GetMongodbVersion struct {
	GetMongodbVersion *GetMongoDBVersion `protobuf:"bytes,20,opt,name=get_mongodb_version,json=getMongodbVersion,proto3,oneof"`
}

type ServerMessage_GetStatusMsg

type ServerMessage_GetStatusMsg struct {
	GetStatusMsg *GetStatus `protobuf:"bytes,7,opt,name=get_status_msg,json=getStatusMsg,proto3,oneof"`
}

type ServerMessage_GetStorageInfoMsg added in v0.3.0

type ServerMessage_GetStorageInfoMsg struct {
	GetStorageInfoMsg *GetStorageInfo `protobuf:"bytes,16,opt,name=get_storage_info_msg,json=getStorageInfoMsg,proto3,oneof"`
}

type ServerMessage_LastOplogTs

type ServerMessage_LastOplogTs struct {
	LastOplogTs *GetLastOplogTs `protobuf:"bytes,9,opt,name=last_oplog_ts,json=lastOplogTs,proto3,oneof"`
}

type ServerMessage_ListReplicasets

type ServerMessage_ListReplicasets struct {
	ListReplicasets *ListReplicasets `protobuf:"bytes,8,opt,name=list_replicasets,json=listReplicasets,proto3,oneof"`
}

type ServerMessage_ListStoragesMsg added in v0.3.0

type ServerMessage_ListStoragesMsg struct {
	ListStoragesMsg *ListStorages `protobuf:"bytes,17,opt,name=list_storages_msg,json=listStoragesMsg,proto3,oneof"`
}

type ServerMessage_PingMsg

type ServerMessage_PingMsg struct {
	PingMsg *Ping `protobuf:"bytes,10,opt,name=ping_msg,json=pingMsg,proto3,oneof"`
}

type ServerMessage_RestoreBackupCheckMsg added in v0.4.0

type ServerMessage_RestoreBackupCheckMsg struct {
	RestoreBackupCheckMsg *RestoreBackupCheck `protobuf:"bytes,21,opt,name=restore_backup_check_msg,json=restoreBackupCheckMsg,proto3,oneof"`
}

type ServerMessage_RestoreBackupMsg

type ServerMessage_RestoreBackupMsg struct {
	RestoreBackupMsg *RestoreBackup `protobuf:"bytes,11,opt,name=restore_backup_msg,json=restoreBackupMsg,proto3,oneof"`
}

type ServerMessage_StartBackupMsg

type ServerMessage_StartBackupMsg struct {
	StartBackupMsg *StartBackup `protobuf:"bytes,12,opt,name=start_backup_msg,json=startBackupMsg,proto3,oneof"`
}

type ServerMessage_StartBalancerMsg

type ServerMessage_StartBalancerMsg struct {
	StartBalancerMsg *StartBalancer `protobuf:"bytes,13,opt,name=start_balancer_msg,json=startBalancerMsg,proto3,oneof"`
}

type ServerMessage_StopBalancerMsg

type ServerMessage_StopBalancerMsg struct {
	StopBalancerMsg *StopBalancer `protobuf:"bytes,14,opt,name=stop_balancer_msg,json=stopBalancerMsg,proto3,oneof"`
}

type ServerMessage_StopOplogTailMsg

type ServerMessage_StopOplogTailMsg struct {
	StopOplogTailMsg *StopOplogTail `protobuf:"bytes,15,opt,name=stop_oplog_tail_msg,json=stopOplogTailMsg,proto3,oneof"`
}

type ServerMessage_WriteFile added in v0.4.0

type ServerMessage_WriteFile struct {
	WriteFile *WriteFile `protobuf:"bytes,18,opt,name=write_file,json=writeFile,proto3,oneof"`
}

type StartBackup

type StartBackup struct {
	BackupType           BackupType      `protobuf:"varint,1,opt,name=backup_type,json=backupType,proto3,enum=messages.BackupType" json:"backup_type,omitempty"`
	NamePrefix           string          `protobuf:"bytes,2,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
	DbBackupName         string          `protobuf:"bytes,3,opt,name=db_backup_name,json=dbBackupName,proto3" json:"db_backup_name,omitempty"`
	OplogBackupName      string          `protobuf:"bytes,4,opt,name=oplog_backup_name,json=oplogBackupName,proto3" json:"oplog_backup_name,omitempty"`
	CompressionType      CompressionType `` /* 137-byte string literal not displayed */
	Cypher               Cypher          `protobuf:"varint,6,opt,name=cypher,proto3,enum=messages.Cypher" json:"cypher,omitempty"`
	OplogStartTime       int64           `protobuf:"varint,7,opt,name=oplog_start_time,json=oplogStartTime,proto3" json:"oplog_start_time,omitempty"`
	Description          string          `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	StorageName          string          `protobuf:"bytes,9,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
	MongodbVersion       string          `protobuf:"bytes,10,opt,name=mongodb_version,json=mongodbVersion,proto3" json:"mongodb_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*StartBackup) Descriptor

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

func (*StartBackup) GetBackupType

func (m *StartBackup) GetBackupType() BackupType

func (*StartBackup) GetCompressionType

func (m *StartBackup) GetCompressionType() CompressionType

func (*StartBackup) GetCypher

func (m *StartBackup) GetCypher() Cypher

func (*StartBackup) GetDbBackupName

func (m *StartBackup) GetDbBackupName() string

func (*StartBackup) GetDescription

func (m *StartBackup) GetDescription() string

func (*StartBackup) GetMongodbVersion added in v0.4.0

func (m *StartBackup) GetMongodbVersion() string

func (*StartBackup) GetNamePrefix

func (m *StartBackup) GetNamePrefix() string

func (*StartBackup) GetOplogBackupName

func (m *StartBackup) GetOplogBackupName() string

func (*StartBackup) GetOplogStartTime

func (m *StartBackup) GetOplogStartTime() int64

func (*StartBackup) GetStorageName added in v0.3.0

func (m *StartBackup) GetStorageName() string

func (*StartBackup) ProtoMessage

func (*StartBackup) ProtoMessage()

func (*StartBackup) Reset

func (m *StartBackup) Reset()

func (*StartBackup) String

func (m *StartBackup) String() string

func (*StartBackup) XXX_DiscardUnknown

func (m *StartBackup) XXX_DiscardUnknown()

func (*StartBackup) XXX_Marshal

func (m *StartBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartBackup) XXX_Merge

func (m *StartBackup) XXX_Merge(src proto.Message)

func (*StartBackup) XXX_Size

func (m *StartBackup) XXX_Size() int

func (*StartBackup) XXX_Unmarshal

func (m *StartBackup) XXX_Unmarshal(b []byte) error

type StartBalancer

type StartBalancer struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartBalancer) Descriptor

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

func (*StartBalancer) ProtoMessage

func (*StartBalancer) ProtoMessage()

func (*StartBalancer) Reset

func (m *StartBalancer) Reset()

func (*StartBalancer) String

func (m *StartBalancer) String() string

func (*StartBalancer) XXX_DiscardUnknown

func (m *StartBalancer) XXX_DiscardUnknown()

func (*StartBalancer) XXX_Marshal

func (m *StartBalancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartBalancer) XXX_Merge

func (m *StartBalancer) XXX_Merge(src proto.Message)

func (*StartBalancer) XXX_Size

func (m *StartBalancer) XXX_Size() int

func (*StartBalancer) XXX_Unmarshal

func (m *StartBalancer) XXX_Unmarshal(b []byte) error

type Status

type Status struct {
	RunningDbBackup      bool            `protobuf:"varint,1,opt,name=running_db_backup,json=runningDbBackup,proto3" json:"running_db_backup,omitempty"`
	RunningOplogBackup   bool            `protobuf:"varint,2,opt,name=running_oplog_backup,json=runningOplogBackup,proto3" json:"running_oplog_backup,omitempty"`
	RestoreStatus        RestoreStatus   `` /* 129-byte string literal not displayed */
	BackupType           BackupType      `protobuf:"varint,4,opt,name=backup_type,json=backupType,proto3,enum=messages.BackupType" json:"backup_type,omitempty"`
	BytesSent            uint64          `protobuf:"varint,5,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"`
	LastOplogTs          int64           `protobuf:"varint,6,opt,name=last_oplog_ts,json=lastOplogTs,proto3" json:"last_oplog_ts,omitempty"`
	BackupCompleted      int64           `protobuf:"varint,7,opt,name=backup_completed,json=backupCompleted,proto3" json:"backup_completed,omitempty"`
	LastError            string          `protobuf:"bytes,8,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
	ReplicasetVersion    uint64          `protobuf:"varint,9,opt,name=replicaset_version,json=replicasetVersion,proto3" json:"replicaset_version,omitempty"`
	DestinationName      string          `protobuf:"bytes,10,opt,name=destination_name,json=destinationName,proto3" json:"destination_name,omitempty"`
	CompressionType      CompressionType `` /* 138-byte string literal not displayed */
	Cypher               Cypher          `protobuf:"varint,12,opt,name=cypher,proto3,enum=messages.Cypher" json:"cypher,omitempty"`
	StartOplogTs         int64           `protobuf:"varint,13,opt,name=start_oplog_ts,json=startOplogTs,proto3" json:"start_oplog_ts,omitempty"`
	IsPrimary            bool            `protobuf:"varint,14,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Status) Descriptor

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

func (*Status) GetBackupCompleted

func (m *Status) GetBackupCompleted() int64

func (*Status) GetBackupType

func (m *Status) GetBackupType() BackupType

func (*Status) GetBytesSent

func (m *Status) GetBytesSent() uint64

func (*Status) GetCompressionType

func (m *Status) GetCompressionType() CompressionType

func (*Status) GetCypher

func (m *Status) GetCypher() Cypher

func (*Status) GetDestinationName

func (m *Status) GetDestinationName() string

func (*Status) GetIsPrimary

func (m *Status) GetIsPrimary() bool

func (*Status) GetLastError

func (m *Status) GetLastError() string

func (*Status) GetLastOplogTs

func (m *Status) GetLastOplogTs() int64

func (*Status) GetReplicasetVersion

func (m *Status) GetReplicasetVersion() uint64

func (*Status) GetRestoreStatus

func (m *Status) GetRestoreStatus() RestoreStatus

func (*Status) GetRunningDbBackup

func (m *Status) GetRunningDbBackup() bool

func (*Status) GetRunningOplogBackup

func (m *Status) GetRunningOplogBackup() bool

func (*Status) GetStartOplogTs

func (m *Status) GetStartOplogTs() int64

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

type StopBalancer

type StopBalancer struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopBalancer) Descriptor

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

func (*StopBalancer) ProtoMessage

func (*StopBalancer) ProtoMessage()

func (*StopBalancer) Reset

func (m *StopBalancer) Reset()

func (*StopBalancer) String

func (m *StopBalancer) String() string

func (*StopBalancer) XXX_DiscardUnknown

func (m *StopBalancer) XXX_DiscardUnknown()

func (*StopBalancer) XXX_Marshal

func (m *StopBalancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopBalancer) XXX_Merge

func (m *StopBalancer) XXX_Merge(src proto.Message)

func (*StopBalancer) XXX_Size

func (m *StopBalancer) XXX_Size() int

func (*StopBalancer) XXX_Unmarshal

func (m *StopBalancer) XXX_Unmarshal(b []byte) error

type StopOplogTail

type StopOplogTail struct {
	Ts                   int64    `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopOplogTail) Descriptor

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

func (*StopOplogTail) GetTs

func (m *StopOplogTail) GetTs() int64

func (*StopOplogTail) ProtoMessage

func (*StopOplogTail) ProtoMessage()

func (*StopOplogTail) Reset

func (m *StopOplogTail) Reset()

func (*StopOplogTail) String

func (m *StopOplogTail) String() string

func (*StopOplogTail) XXX_DiscardUnknown

func (m *StopOplogTail) XXX_DiscardUnknown()

func (*StopOplogTail) XXX_Marshal

func (m *StopOplogTail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopOplogTail) XXX_Merge

func (m *StopOplogTail) XXX_Merge(src proto.Message)

func (*StopOplogTail) XXX_Size

func (m *StopOplogTail) XXX_Size() int

func (*StopOplogTail) XXX_Unmarshal

func (m *StopOplogTail) XXX_Unmarshal(b []byte) error

type StorageInfo added in v0.3.0

type StorageInfo struct {
	Name                 string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                 string      `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Valid                bool        `protobuf:"varint,3,opt,name=valid,proto3" json:"valid,omitempty"`
	CanRead              bool        `protobuf:"varint,4,opt,name=can_read,json=canRead,proto3" json:"can_read,omitempty"`
	CanWrite             bool        `protobuf:"varint,5,opt,name=can_write,json=canWrite,proto3" json:"can_write,omitempty"`
	S3                   *S3         `protobuf:"bytes,6,opt,name=s3,proto3" json:"s3,omitempty"`
	Filesystem           *Filesystem `protobuf:"bytes,7,opt,name=filesystem,proto3" json:"filesystem,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*StorageInfo) Descriptor added in v0.3.0

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

func (*StorageInfo) GetCanRead added in v0.3.0

func (m *StorageInfo) GetCanRead() bool

func (*StorageInfo) GetCanWrite added in v0.3.0

func (m *StorageInfo) GetCanWrite() bool

func (*StorageInfo) GetFilesystem added in v0.3.0

func (m *StorageInfo) GetFilesystem() *Filesystem

func (*StorageInfo) GetName added in v0.3.0

func (m *StorageInfo) GetName() string

func (*StorageInfo) GetS3 added in v0.3.0

func (m *StorageInfo) GetS3() *S3

func (*StorageInfo) GetType added in v0.3.0

func (m *StorageInfo) GetType() string

func (*StorageInfo) GetValid added in v0.3.0

func (m *StorageInfo) GetValid() bool

func (*StorageInfo) ProtoMessage added in v0.3.0

func (*StorageInfo) ProtoMessage()

func (*StorageInfo) Reset added in v0.3.0

func (m *StorageInfo) Reset()

func (*StorageInfo) String added in v0.3.0

func (m *StorageInfo) String() string

func (*StorageInfo) XXX_DiscardUnknown added in v0.3.0

func (m *StorageInfo) XXX_DiscardUnknown()

func (*StorageInfo) XXX_Marshal added in v0.3.0

func (m *StorageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageInfo) XXX_Merge added in v0.3.0

func (m *StorageInfo) XXX_Merge(src proto.Message)

func (*StorageInfo) XXX_Size added in v0.3.0

func (m *StorageInfo) XXX_Size() int

func (*StorageInfo) XXX_Unmarshal added in v0.3.0

func (m *StorageInfo) XXX_Unmarshal(b []byte) error

type StoragesInfo added in v0.3.0

type StoragesInfo struct {
	StoragesInfo         []*StorageInfo `protobuf:"bytes,1,rep,name=storages_info,json=storagesInfo,proto3" json:"storages_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*StoragesInfo) Descriptor added in v0.3.0

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

func (*StoragesInfo) GetStoragesInfo added in v0.3.0

func (m *StoragesInfo) GetStoragesInfo() []*StorageInfo

func (*StoragesInfo) ProtoMessage added in v0.3.0

func (*StoragesInfo) ProtoMessage()

func (*StoragesInfo) Reset added in v0.3.0

func (m *StoragesInfo) Reset()

func (*StoragesInfo) String added in v0.3.0

func (m *StoragesInfo) String() string

func (*StoragesInfo) XXX_DiscardUnknown added in v0.3.0

func (m *StoragesInfo) XXX_DiscardUnknown()

func (*StoragesInfo) XXX_Marshal added in v0.3.0

func (m *StoragesInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoragesInfo) XXX_Merge added in v0.3.0

func (m *StoragesInfo) XXX_Merge(src proto.Message)

func (*StoragesInfo) XXX_Size added in v0.3.0

func (m *StoragesInfo) XXX_Size() int

func (*StoragesInfo) XXX_Unmarshal added in v0.3.0

func (m *StoragesInfo) XXX_Unmarshal(b []byte) error

type WriteFile added in v0.4.0

type WriteFile struct {
	StorageName          string   `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
	FileName             string   `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WriteFile) Descriptor added in v0.4.0

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

func (*WriteFile) GetData added in v0.4.0

func (m *WriteFile) GetData() []byte

func (*WriteFile) GetFileName added in v0.4.0

func (m *WriteFile) GetFileName() string

func (*WriteFile) GetStorageName added in v0.4.0

func (m *WriteFile) GetStorageName() string

func (*WriteFile) ProtoMessage added in v0.4.0

func (*WriteFile) ProtoMessage()

func (*WriteFile) Reset added in v0.4.0

func (m *WriteFile) Reset()

func (*WriteFile) String added in v0.4.0

func (m *WriteFile) String() string

func (*WriteFile) XXX_DiscardUnknown added in v0.4.0

func (m *WriteFile) XXX_DiscardUnknown()

func (*WriteFile) XXX_Marshal added in v0.4.0

func (m *WriteFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WriteFile) XXX_Merge added in v0.4.0

func (m *WriteFile) XXX_Merge(src proto.Message)

func (*WriteFile) XXX_Size added in v0.4.0

func (m *WriteFile) XXX_Size() int

func (*WriteFile) XXX_Unmarshal added in v0.4.0

func (m *WriteFile) XXX_Unmarshal(b []byte) error

type WriteStatus added in v0.4.0

type WriteStatus struct {
	Error                string   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WriteStatus) Descriptor added in v0.4.0

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

func (*WriteStatus) GetError added in v0.4.0

func (m *WriteStatus) GetError() string

func (*WriteStatus) ProtoMessage added in v0.4.0

func (*WriteStatus) ProtoMessage()

func (*WriteStatus) Reset added in v0.4.0

func (m *WriteStatus) Reset()

func (*WriteStatus) String added in v0.4.0

func (m *WriteStatus) String() string

func (*WriteStatus) XXX_DiscardUnknown added in v0.4.0

func (m *WriteStatus) XXX_DiscardUnknown()

func (*WriteStatus) XXX_Marshal added in v0.4.0

func (m *WriteStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WriteStatus) XXX_Merge added in v0.4.0

func (m *WriteStatus) XXX_Merge(src proto.Message)

func (*WriteStatus) XXX_Size added in v0.4.0

func (m *WriteStatus) XXX_Size() int

func (*WriteStatus) XXX_Unmarshal added in v0.4.0

func (m *WriteStatus) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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