Documentation
¶
Index ¶
- Variables
- func RegisterApiServer(s *grpc.Server, srv ApiServer)
- type ApiClient
- type ApiServer
- type Api_BackupsMetadataClient
- type Api_BackupsMetadataServer
- type Api_GetClientsClient
- type Api_GetClientsServer
- type BackupReplica
- func (*BackupReplica) Descriptor() ([]byte, []int)
- func (m *BackupReplica) GetAgentId() string
- func (m *BackupReplica) GetClusterId() string
- func (m *BackupReplica) GetNodeName() string
- func (m *BackupReplica) GetNodeType() string
- func (m *BackupReplica) GetReplicasetId() string
- func (m *BackupReplica) GetReplicasetName() string
- func (m *BackupReplica) GetStartedAt() int64
- func (*BackupReplica) ProtoMessage()
- func (m *BackupReplica) Reset()
- func (m *BackupReplica) String() string
- func (m *BackupReplica) XXX_DiscardUnknown()
- func (m *BackupReplica) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupReplica) XXX_Merge(src proto.Message)
- func (m *BackupReplica) XXX_Size() int
- func (m *BackupReplica) XXX_Unmarshal(b []byte) error
- type BackupType
- type BackupsMetadataParams
- func (*BackupsMetadataParams) Descriptor() ([]byte, []int)
- func (*BackupsMetadataParams) ProtoMessage()
- func (m *BackupsMetadataParams) Reset()
- func (m *BackupsMetadataParams) String() string
- func (m *BackupsMetadataParams) XXX_DiscardUnknown()
- func (m *BackupsMetadataParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupsMetadataParams) XXX_Merge(src proto.Message)
- func (m *BackupsMetadataParams) XXX_Size() int
- func (m *BackupsMetadataParams) XXX_Unmarshal(b []byte) error
- type Client
- func (*Client) Descriptor() ([]byte, []int)
- func (m *Client) GetClusterId() string
- func (m *Client) GetId() string
- func (m *Client) GetLastCommandSent() string
- func (m *Client) GetLastSeen() int64
- func (m *Client) GetNodeName() string
- func (m *Client) GetNodeType() string
- func (m *Client) GetReplicasetId() string
- func (m *Client) GetReplicasetName() string
- func (m *Client) GetStatus() *ClientStatus
- func (m *Client) GetVersion() int32
- func (*Client) ProtoMessage()
- func (m *Client) Reset()
- func (m *Client) String() string
- func (m *Client) XXX_DiscardUnknown()
- func (m *Client) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Client) XXX_Merge(src proto.Message)
- func (m *Client) XXX_Size() int
- func (m *Client) XXX_Unmarshal(b []byte) error
- type ClientStatus
- func (*ClientStatus) Descriptor() ([]byte, []int)
- func (m *ClientStatus) GetBackupType() string
- func (m *ClientStatus) GetCompression() string
- func (m *ClientStatus) GetDestination() string
- func (m *ClientStatus) GetDirname() string
- func (m *ClientStatus) GetEncrypted() string
- func (m *ClientStatus) GetFilename() string
- func (m *ClientStatus) GetFinished() int64
- func (m *ClientStatus) GetLastError() string
- func (m *ClientStatus) GetLastOplogTs() int64
- func (m *ClientStatus) GetReplicasetName() string
- func (m *ClientStatus) GetReplicasetUuid() string
- func (m *ClientStatus) GetReplicasetVersion() uint64
- func (m *ClientStatus) GetRunningDbBackup() bool
- func (m *ClientStatus) GetRunningOplogBackup() bool
- func (m *ClientStatus) GetStartOplogTs() int64
- func (m *ClientStatus) GetStarted() int64
- func (*ClientStatus) ProtoMessage()
- func (m *ClientStatus) Reset()
- func (m *ClientStatus) String() string
- func (m *ClientStatus) XXX_DiscardUnknown()
- func (m *ClientStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientStatus) XXX_Merge(src proto.Message)
- func (m *ClientStatus) XXX_Size() int
- func (m *ClientStatus) XXX_Unmarshal(b []byte) error
- type CompressionType
- type Cypher
- type DestinationType
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetCode() int64
- func (m *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type LastBackupMetadataParams
- func (*LastBackupMetadataParams) Descriptor() ([]byte, []int)
- func (*LastBackupMetadataParams) ProtoMessage()
- func (m *LastBackupMetadataParams) Reset()
- func (m *LastBackupMetadataParams) String() string
- func (m *LastBackupMetadataParams) XXX_DiscardUnknown()
- func (m *LastBackupMetadataParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LastBackupMetadataParams) XXX_Merge(src proto.Message)
- func (m *LastBackupMetadataParams) XXX_Size() int
- func (m *LastBackupMetadataParams) XXX_Unmarshal(b []byte) error
- type MetadataFile
- func (*MetadataFile) Descriptor() ([]byte, []int)
- func (m *MetadataFile) GetFilename() string
- func (m *MetadataFile) GetMetadata() *messages.BackupMetadata
- func (*MetadataFile) ProtoMessage()
- func (m *MetadataFile) Reset()
- func (m *MetadataFile) String() string
- func (m *MetadataFile) XXX_DiscardUnknown()
- func (m *MetadataFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetadataFile) XXX_Merge(src proto.Message)
- func (m *MetadataFile) XXX_Size() int
- func (m *MetadataFile) XXX_Unmarshal(b []byte) error
- type RunBackupParams
- func (*RunBackupParams) Descriptor() ([]byte, []int)
- func (m *RunBackupParams) GetBackupType() BackupType
- func (m *RunBackupParams) GetCompressionType() CompressionType
- func (m *RunBackupParams) GetCypher() Cypher
- func (m *RunBackupParams) GetDescription() string
- func (m *RunBackupParams) GetDestinationType() DestinationType
- func (m *RunBackupParams) GetDirname() string
- func (m *RunBackupParams) GetFilename() string
- func (m *RunBackupParams) GetStartOplogTs() int64
- func (*RunBackupParams) ProtoMessage()
- func (m *RunBackupParams) Reset()
- func (m *RunBackupParams) String() string
- func (m *RunBackupParams) XXX_DiscardUnknown()
- func (m *RunBackupParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunBackupParams) XXX_Merge(src proto.Message)
- func (m *RunBackupParams) XXX_Size() int
- func (m *RunBackupParams) XXX_Unmarshal(b []byte) error
- type RunRestoreParams
- func (*RunRestoreParams) Descriptor() ([]byte, []int)
- func (m *RunRestoreParams) GetMetadataFile() string
- func (m *RunRestoreParams) GetSkipUsersAndRoles() bool
- func (*RunRestoreParams) ProtoMessage()
- func (m *RunRestoreParams) Reset()
- func (m *RunRestoreParams) String() string
- func (m *RunRestoreParams) XXX_DiscardUnknown()
- func (m *RunRestoreParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunRestoreParams) XXX_Merge(src proto.Message)
- func (m *RunRestoreParams) XXX_Size() int
- func (m *RunRestoreParams) XXX_Unmarshal(b []byte) error
- type RunRestoreResponse
- func (*RunRestoreResponse) Descriptor() ([]byte, []int)
- func (m *RunRestoreResponse) GetError() string
- func (*RunRestoreResponse) ProtoMessage()
- func (m *RunRestoreResponse) Reset()
- func (m *RunRestoreResponse) String() string
- func (m *RunRestoreResponse) XXX_DiscardUnknown()
- func (m *RunRestoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunRestoreResponse) XXX_Merge(src proto.Message)
- func (m *RunRestoreResponse) XXX_Size() int
- func (m *RunRestoreResponse) XXX_Unmarshal(b []byte) error
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 DestinationType_name = map[int32]string{
0: "DESTINATION_TYPE_INVALID",
1: "DESTINATION_TYPE_FILE",
2: "DESTINATION_TYPE_AWS",
}
View Source
var DestinationType_value = map[string]int32{
"DESTINATION_TYPE_INVALID": 0,
"DESTINATION_TYPE_FILE": 1,
"DESTINATION_TYPE_AWS": 2,
}
Functions ¶
func RegisterApiServer ¶
Types ¶
type ApiClient ¶
type ApiClient interface { GetClients(ctx context.Context, in *Empty, opts ...grpc.CallOption) (Api_GetClientsClient, error) RunBackup(ctx context.Context, in *RunBackupParams, opts ...grpc.CallOption) (*Error, error) RunRestore(ctx context.Context, in *RunRestoreParams, opts ...grpc.CallOption) (*RunRestoreResponse, error) LastBackupMetadata(ctx context.Context, in *LastBackupMetadataParams, opts ...grpc.CallOption) (*messages.BackupMetadata, error) BackupsMetadata(ctx context.Context, in *BackupsMetadataParams, opts ...grpc.CallOption) (Api_BackupsMetadataClient, error) }
ApiClient is the client API for Api service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewApiClient ¶
func NewApiClient(cc *grpc.ClientConn) ApiClient
type ApiServer ¶
type ApiServer interface { GetClients(*Empty, Api_GetClientsServer) error RunBackup(context.Context, *RunBackupParams) (*Error, error) RunRestore(context.Context, *RunRestoreParams) (*RunRestoreResponse, error) LastBackupMetadata(context.Context, *LastBackupMetadataParams) (*messages.BackupMetadata, error) BackupsMetadata(*BackupsMetadataParams, Api_BackupsMetadataServer) error }
ApiServer is the server API for Api service.
type Api_BackupsMetadataClient ¶
type Api_BackupsMetadataClient interface { Recv() (*MetadataFile, error) grpc.ClientStream }
type Api_BackupsMetadataServer ¶
type Api_BackupsMetadataServer interface { Send(*MetadataFile) error grpc.ServerStream }
type Api_GetClientsClient ¶
type Api_GetClientsClient interface { Recv() (*Client, error) grpc.ClientStream }
type Api_GetClientsServer ¶
type Api_GetClientsServer interface { Send(*Client) error grpc.ServerStream }
type BackupReplica ¶
type BackupReplica struct { AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` NodeType string `protobuf:"bytes,2,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"` NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` ClusterId string `protobuf:"bytes,4,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` ReplicasetName string `protobuf:"bytes,5,opt,name=replicaset_name,json=replicasetName,proto3" json:"replicaset_name,omitempty"` ReplicasetId string `protobuf:"bytes,6,opt,name=replicaset_id,json=replicasetId,proto3" json:"replicaset_id,omitempty"` StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BackupReplica) Descriptor ¶
func (*BackupReplica) Descriptor() ([]byte, []int)
func (*BackupReplica) GetAgentId ¶
func (m *BackupReplica) GetAgentId() string
func (*BackupReplica) GetClusterId ¶
func (m *BackupReplica) GetClusterId() string
func (*BackupReplica) GetNodeName ¶
func (m *BackupReplica) GetNodeName() string
func (*BackupReplica) GetNodeType ¶
func (m *BackupReplica) GetNodeType() string
func (*BackupReplica) GetReplicasetId ¶
func (m *BackupReplica) GetReplicasetId() string
func (*BackupReplica) GetReplicasetName ¶
func (m *BackupReplica) GetReplicasetName() string
func (*BackupReplica) GetStartedAt ¶
func (m *BackupReplica) GetStartedAt() int64
func (*BackupReplica) ProtoMessage ¶
func (*BackupReplica) ProtoMessage()
func (*BackupReplica) Reset ¶
func (m *BackupReplica) Reset()
func (*BackupReplica) String ¶
func (m *BackupReplica) String() string
func (*BackupReplica) XXX_DiscardUnknown ¶
func (m *BackupReplica) XXX_DiscardUnknown()
func (*BackupReplica) XXX_Marshal ¶
func (m *BackupReplica) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupReplica) XXX_Merge ¶
func (m *BackupReplica) XXX_Merge(src proto.Message)
func (*BackupReplica) XXX_Size ¶
func (m *BackupReplica) XXX_Size() int
func (*BackupReplica) XXX_Unmarshal ¶
func (m *BackupReplica) 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 BackupsMetadataParams ¶
type BackupsMetadataParams struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BackupsMetadataParams) Descriptor ¶
func (*BackupsMetadataParams) Descriptor() ([]byte, []int)
func (*BackupsMetadataParams) ProtoMessage ¶
func (*BackupsMetadataParams) ProtoMessage()
func (*BackupsMetadataParams) Reset ¶
func (m *BackupsMetadataParams) Reset()
func (*BackupsMetadataParams) String ¶
func (m *BackupsMetadataParams) String() string
func (*BackupsMetadataParams) XXX_DiscardUnknown ¶
func (m *BackupsMetadataParams) XXX_DiscardUnknown()
func (*BackupsMetadataParams) XXX_Marshal ¶
func (m *BackupsMetadataParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BackupsMetadataParams) XXX_Merge ¶
func (m *BackupsMetadataParams) XXX_Merge(src proto.Message)
func (*BackupsMetadataParams) XXX_Size ¶
func (m *BackupsMetadataParams) XXX_Size() int
func (*BackupsMetadataParams) XXX_Unmarshal ¶
func (m *BackupsMetadataParams) XXX_Unmarshal(b []byte) error
type Client ¶
type Client struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` NodeType string `protobuf:"bytes,3,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"` NodeName string `protobuf:"bytes,4,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` ClusterId string `protobuf:"bytes,5,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` ReplicasetName string `protobuf:"bytes,6,opt,name=replicaset_name,json=replicasetName,proto3" json:"replicaset_name,omitempty"` ReplicasetId string `protobuf:"bytes,7,opt,name=replicaset_id,json=replicasetId,proto3" json:"replicaset_id,omitempty"` LastCommandSent string `protobuf:"bytes,8,opt,name=last_command_sent,json=lastCommandSent,proto3" json:"last_command_sent,omitempty"` LastSeen int64 `protobuf:"varint,9,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` Status *ClientStatus `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Client) Descriptor ¶
func (*Client) GetClusterId ¶
func (*Client) GetLastCommandSent ¶
func (*Client) GetLastSeen ¶
func (*Client) GetNodeName ¶
func (*Client) GetNodeType ¶
func (*Client) GetReplicasetId ¶
func (*Client) GetReplicasetName ¶
func (*Client) GetStatus ¶
func (m *Client) GetStatus() *ClientStatus
func (*Client) GetVersion ¶
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) XXX_DiscardUnknown ¶
func (m *Client) XXX_DiscardUnknown()
func (*Client) XXX_Marshal ¶
func (*Client) XXX_Unmarshal ¶
type ClientStatus ¶
type ClientStatus struct { ReplicasetUuid string `protobuf:"bytes,1,opt,name=replicaset_uuid,json=replicasetUuid,proto3" json:"replicaset_uuid,omitempty"` ReplicasetName string `protobuf:"bytes,2,opt,name=replicaset_name,json=replicasetName,proto3" json:"replicaset_name,omitempty"` ReplicasetVersion uint64 `protobuf:"varint,3,opt,name=replicaset_version,json=replicasetVersion,proto3" json:"replicaset_version,omitempty"` RunningDbBackup bool `protobuf:"varint,4,opt,name=running_db_backup,json=runningDbBackup,proto3" json:"running_db_backup,omitempty"` RunningOplogBackup bool `protobuf:"varint,5,opt,name=running_oplog_backup,json=runningOplogBackup,proto3" json:"running_oplog_backup,omitempty"` BackupType string `protobuf:"bytes,6,opt,name=backup_type,json=backupType,proto3" json:"backup_type,omitempty"` Compression string `protobuf:"bytes,7,opt,name=compression,proto3" json:"compression,omitempty"` Encrypted string `protobuf:"bytes,8,opt,name=encrypted,proto3" json:"encrypted,omitempty"` Destination string `protobuf:"bytes,9,opt,name=destination,proto3" json:"destination,omitempty"` Dirname string `protobuf:"bytes,10,opt,name=dirname,proto3" json:"dirname,omitempty"` Filename string `protobuf:"bytes,11,opt,name=filename,proto3" json:"filename,omitempty"` Started int64 `protobuf:"varint,12,opt,name=started,proto3" json:"started,omitempty"` Finished int64 `protobuf:"varint,13,opt,name=finished,proto3" json:"finished,omitempty"` StartOplogTs int64 `protobuf:"varint,14,opt,name=start_oplog_ts,json=startOplogTs,proto3" json:"start_oplog_ts,omitempty"` LastOplogTs int64 `protobuf:"varint,15,opt,name=last_oplog_ts,json=lastOplogTs,proto3" json:"last_oplog_ts,omitempty"` LastError string `protobuf:"bytes,16,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientStatus) Descriptor ¶
func (*ClientStatus) Descriptor() ([]byte, []int)
func (*ClientStatus) GetBackupType ¶
func (m *ClientStatus) GetBackupType() string
func (*ClientStatus) GetCompression ¶
func (m *ClientStatus) GetCompression() string
func (*ClientStatus) GetDestination ¶
func (m *ClientStatus) GetDestination() string
func (*ClientStatus) GetDirname ¶
func (m *ClientStatus) GetDirname() string
func (*ClientStatus) GetEncrypted ¶
func (m *ClientStatus) GetEncrypted() string
func (*ClientStatus) GetFilename ¶
func (m *ClientStatus) GetFilename() string
func (*ClientStatus) GetFinished ¶
func (m *ClientStatus) GetFinished() int64
func (*ClientStatus) GetLastError ¶
func (m *ClientStatus) GetLastError() string
func (*ClientStatus) GetLastOplogTs ¶
func (m *ClientStatus) GetLastOplogTs() int64
func (*ClientStatus) GetReplicasetName ¶
func (m *ClientStatus) GetReplicasetName() string
func (*ClientStatus) GetReplicasetUuid ¶
func (m *ClientStatus) GetReplicasetUuid() string
func (*ClientStatus) GetReplicasetVersion ¶
func (m *ClientStatus) GetReplicasetVersion() uint64
func (*ClientStatus) GetRunningDbBackup ¶
func (m *ClientStatus) GetRunningDbBackup() bool
func (*ClientStatus) GetRunningOplogBackup ¶
func (m *ClientStatus) GetRunningOplogBackup() bool
func (*ClientStatus) GetStartOplogTs ¶
func (m *ClientStatus) GetStartOplogTs() int64
func (*ClientStatus) GetStarted ¶
func (m *ClientStatus) GetStarted() int64
func (*ClientStatus) ProtoMessage ¶
func (*ClientStatus) ProtoMessage()
func (*ClientStatus) Reset ¶
func (m *ClientStatus) Reset()
func (*ClientStatus) String ¶
func (m *ClientStatus) String() string
func (*ClientStatus) XXX_DiscardUnknown ¶
func (m *ClientStatus) XXX_DiscardUnknown()
func (*ClientStatus) XXX_Marshal ¶
func (m *ClientStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientStatus) XXX_Merge ¶
func (m *ClientStatus) XXX_Merge(src proto.Message)
func (*ClientStatus) XXX_Size ¶
func (m *ClientStatus) XXX_Size() int
func (*ClientStatus) XXX_Unmarshal ¶
func (m *ClientStatus) 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 DestinationType ¶
type DestinationType int32
const ( DestinationType_DESTINATION_TYPE_INVALID DestinationType = 0 DestinationType_DESTINATION_TYPE_FILE DestinationType = 1 DestinationType_DESTINATION_TYPE_AWS DestinationType = 2 )
func (DestinationType) EnumDescriptor ¶
func (DestinationType) EnumDescriptor() ([]byte, []int)
func (DestinationType) String ¶
func (x DestinationType) String() string
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type Error ¶
type Error struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Error) Descriptor ¶
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type LastBackupMetadataParams ¶
type LastBackupMetadataParams struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LastBackupMetadataParams) Descriptor ¶
func (*LastBackupMetadataParams) Descriptor() ([]byte, []int)
func (*LastBackupMetadataParams) ProtoMessage ¶
func (*LastBackupMetadataParams) ProtoMessage()
func (*LastBackupMetadataParams) Reset ¶
func (m *LastBackupMetadataParams) Reset()
func (*LastBackupMetadataParams) String ¶
func (m *LastBackupMetadataParams) String() string
func (*LastBackupMetadataParams) XXX_DiscardUnknown ¶
func (m *LastBackupMetadataParams) XXX_DiscardUnknown()
func (*LastBackupMetadataParams) XXX_Marshal ¶
func (m *LastBackupMetadataParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LastBackupMetadataParams) XXX_Merge ¶
func (m *LastBackupMetadataParams) XXX_Merge(src proto.Message)
func (*LastBackupMetadataParams) XXX_Size ¶
func (m *LastBackupMetadataParams) XXX_Size() int
func (*LastBackupMetadataParams) XXX_Unmarshal ¶
func (m *LastBackupMetadataParams) XXX_Unmarshal(b []byte) error
type MetadataFile ¶
type MetadataFile struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Metadata *messages.BackupMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MetadataFile) Descriptor ¶
func (*MetadataFile) Descriptor() ([]byte, []int)
func (*MetadataFile) GetFilename ¶
func (m *MetadataFile) GetFilename() string
func (*MetadataFile) GetMetadata ¶
func (m *MetadataFile) GetMetadata() *messages.BackupMetadata
func (*MetadataFile) ProtoMessage ¶
func (*MetadataFile) ProtoMessage()
func (*MetadataFile) Reset ¶
func (m *MetadataFile) Reset()
func (*MetadataFile) String ¶
func (m *MetadataFile) String() string
func (*MetadataFile) XXX_DiscardUnknown ¶
func (m *MetadataFile) XXX_DiscardUnknown()
func (*MetadataFile) XXX_Marshal ¶
func (m *MetadataFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetadataFile) XXX_Merge ¶
func (m *MetadataFile) XXX_Merge(src proto.Message)
func (*MetadataFile) XXX_Size ¶
func (m *MetadataFile) XXX_Size() int
func (*MetadataFile) XXX_Unmarshal ¶
func (m *MetadataFile) XXX_Unmarshal(b []byte) error
type RunBackupParams ¶
type RunBackupParams struct { BackupType BackupType `protobuf:"varint,1,opt,name=backup_type,json=backupType,proto3,enum=api.BackupType" json:"backup_type,omitempty"` CompressionType CompressionType `` /* 132-byte string literal not displayed */ Cypher Cypher `protobuf:"varint,3,opt,name=cypher,proto3,enum=api.Cypher" json:"cypher,omitempty"` DestinationType DestinationType `` /* 132-byte string literal not displayed */ Dirname string `protobuf:"bytes,5,opt,name=dirname,proto3" json:"dirname,omitempty"` Filename string `protobuf:"bytes,6,opt,name=filename,proto3" json:"filename,omitempty"` StartOplogTs int64 `protobuf:"varint,7,opt,name=start_oplog_ts,json=startOplogTs,proto3" json:"start_oplog_ts,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RunBackupParams) Descriptor ¶
func (*RunBackupParams) Descriptor() ([]byte, []int)
func (*RunBackupParams) GetBackupType ¶
func (m *RunBackupParams) GetBackupType() BackupType
func (*RunBackupParams) GetCompressionType ¶
func (m *RunBackupParams) GetCompressionType() CompressionType
func (*RunBackupParams) GetCypher ¶
func (m *RunBackupParams) GetCypher() Cypher
func (*RunBackupParams) GetDescription ¶
func (m *RunBackupParams) GetDescription() string
func (*RunBackupParams) GetDestinationType ¶
func (m *RunBackupParams) GetDestinationType() DestinationType
func (*RunBackupParams) GetDirname ¶
func (m *RunBackupParams) GetDirname() string
func (*RunBackupParams) GetFilename ¶
func (m *RunBackupParams) GetFilename() string
func (*RunBackupParams) GetStartOplogTs ¶
func (m *RunBackupParams) GetStartOplogTs() int64
func (*RunBackupParams) ProtoMessage ¶
func (*RunBackupParams) ProtoMessage()
func (*RunBackupParams) Reset ¶
func (m *RunBackupParams) Reset()
func (*RunBackupParams) String ¶
func (m *RunBackupParams) String() string
func (*RunBackupParams) XXX_DiscardUnknown ¶
func (m *RunBackupParams) XXX_DiscardUnknown()
func (*RunBackupParams) XXX_Marshal ¶
func (m *RunBackupParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunBackupParams) XXX_Merge ¶
func (m *RunBackupParams) XXX_Merge(src proto.Message)
func (*RunBackupParams) XXX_Size ¶
func (m *RunBackupParams) XXX_Size() int
func (*RunBackupParams) XXX_Unmarshal ¶
func (m *RunBackupParams) XXX_Unmarshal(b []byte) error
type RunRestoreParams ¶
type RunRestoreParams struct { MetadataFile string `protobuf:"bytes,1,opt,name=metadata_file,json=metadataFile,proto3" json:"metadata_file,omitempty"` SkipUsersAndRoles bool `protobuf:"varint,2,opt,name=skip_users_and_roles,json=skipUsersAndRoles,proto3" json:"skip_users_and_roles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RunRestoreParams) Descriptor ¶
func (*RunRestoreParams) Descriptor() ([]byte, []int)
func (*RunRestoreParams) GetMetadataFile ¶
func (m *RunRestoreParams) GetMetadataFile() string
func (*RunRestoreParams) GetSkipUsersAndRoles ¶
func (m *RunRestoreParams) GetSkipUsersAndRoles() bool
func (*RunRestoreParams) ProtoMessage ¶
func (*RunRestoreParams) ProtoMessage()
func (*RunRestoreParams) Reset ¶
func (m *RunRestoreParams) Reset()
func (*RunRestoreParams) String ¶
func (m *RunRestoreParams) String() string
func (*RunRestoreParams) XXX_DiscardUnknown ¶
func (m *RunRestoreParams) XXX_DiscardUnknown()
func (*RunRestoreParams) XXX_Marshal ¶
func (m *RunRestoreParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunRestoreParams) XXX_Merge ¶
func (m *RunRestoreParams) XXX_Merge(src proto.Message)
func (*RunRestoreParams) XXX_Size ¶
func (m *RunRestoreParams) XXX_Size() int
func (*RunRestoreParams) XXX_Unmarshal ¶
func (m *RunRestoreParams) XXX_Unmarshal(b []byte) error
type RunRestoreResponse ¶
type RunRestoreResponse 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 (*RunRestoreResponse) Descriptor ¶
func (*RunRestoreResponse) Descriptor() ([]byte, []int)
func (*RunRestoreResponse) GetError ¶
func (m *RunRestoreResponse) GetError() string
func (*RunRestoreResponse) ProtoMessage ¶
func (*RunRestoreResponse) ProtoMessage()
func (*RunRestoreResponse) Reset ¶
func (m *RunRestoreResponse) Reset()
func (*RunRestoreResponse) String ¶
func (m *RunRestoreResponse) String() string
func (*RunRestoreResponse) XXX_DiscardUnknown ¶
func (m *RunRestoreResponse) XXX_DiscardUnknown()
func (*RunRestoreResponse) XXX_Marshal ¶
func (m *RunRestoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunRestoreResponse) XXX_Merge ¶
func (m *RunRestoreResponse) XXX_Merge(src proto.Message)
func (*RunRestoreResponse) XXX_Size ¶
func (m *RunRestoreResponse) XXX_Size() int
func (*RunRestoreResponse) XXX_Unmarshal ¶
func (m *RunRestoreResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.