api

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: 6 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,
}

Functions

func RegisterApiServer

func RegisterApiServer(s *grpc.Server, srv ApiServer)

Types

type ApiClient

type ApiClient interface {
	RunBackup(ctx context.Context, in *RunBackupParams, opts ...grpc.CallOption) (*RunBackupResponse, error)
	RunRestore(ctx context.Context, in *RunRestoreParams, opts ...grpc.CallOption) (*RunRestoreResponse, error)
	LastBackupMetadata(ctx context.Context, in *LastBackupMetadataParams, opts ...grpc.CallOption) (*messages.BackupMetadata, error)
	// Stream response
	BackupsMetadata(ctx context.Context, in *BackupsMetadataParams, opts ...grpc.CallOption) (Api_BackupsMetadataClient, error)
	GetClients(ctx context.Context, in *Empty, opts ...grpc.CallOption) (Api_GetClientsClient, error)
	ListStorages(ctx context.Context, in *ListStoragesParams, opts ...grpc.CallOption) (Api_ListStoragesClient, 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

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 Api_ListStoragesClient added in v0.3.0

type Api_ListStoragesClient interface {
	Recv() (*StorageInfo, error)
	grpc.ClientStream
}

type Api_ListStoragesServer added in v0.3.0

type Api_ListStoragesServer interface {
	Send(*StorageInfo) 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) Descriptor() ([]byte, []int)

func (*Client) GetClusterId

func (m *Client) GetClusterId() string

func (*Client) GetId

func (m *Client) GetId() string

func (*Client) GetLastCommandSent

func (m *Client) GetLastCommandSent() string

func (*Client) GetLastSeen

func (m *Client) GetLastSeen() int64

func (*Client) GetNodeName

func (m *Client) GetNodeName() string

func (*Client) GetNodeType

func (m *Client) GetNodeType() string

func (*Client) GetReplicasetId

func (m *Client) GetReplicasetId() string

func (*Client) GetReplicasetName

func (m *Client) GetReplicasetName() string

func (*Client) GetStatus

func (m *Client) GetStatus() *ClientStatus

func (*Client) GetVersion

func (m *Client) GetVersion() int32

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) Reset

func (m *Client) Reset()

func (*Client) String

func (m *Client) String() string

func (*Client) XXX_DiscardUnknown

func (m *Client) XXX_DiscardUnknown()

func (*Client) XXX_Marshal

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

func (*Client) XXX_Merge

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

func (*Client) XXX_Size

func (m *Client) XXX_Size() int

func (*Client) XXX_Unmarshal

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

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"`
	Filename             string   `protobuf:"bytes,9,opt,name=filename,proto3" json:"filename,omitempty"`
	Started              int64    `protobuf:"varint,10,opt,name=started,proto3" json:"started,omitempty"`
	Finished             int64    `protobuf:"varint,11,opt,name=finished,proto3" json:"finished,omitempty"`
	StartOplogTs         int64    `protobuf:"varint,12,opt,name=start_oplog_ts,json=startOplogTs,proto3" json:"start_oplog_ts,omitempty"`
	LastOplogTs          int64    `protobuf:"varint,13,opt,name=last_oplog_ts,json=lastOplogTs,proto3" json:"last_oplog_ts,omitempty"`
	LastError            string   `protobuf:"bytes,14,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) 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 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 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                 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) Descriptor() ([]byte, []int)

func (*Error) GetCode

func (m *Error) GetCode() int64

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 GetStorageInfoParams added in v0.3.0

type GetStorageInfoParams 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 (*GetStorageInfoParams) Descriptor added in v0.3.0

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

func (*GetStorageInfoParams) GetStorageName added in v0.3.0

func (m *GetStorageInfoParams) GetStorageName() string

func (*GetStorageInfoParams) ProtoMessage added in v0.3.0

func (*GetStorageInfoParams) ProtoMessage()

func (*GetStorageInfoParams) Reset added in v0.3.0

func (m *GetStorageInfoParams) Reset()

func (*GetStorageInfoParams) String added in v0.3.0

func (m *GetStorageInfoParams) String() string

func (*GetStorageInfoParams) XXX_DiscardUnknown added in v0.3.0

func (m *GetStorageInfoParams) XXX_DiscardUnknown()

func (*GetStorageInfoParams) XXX_Marshal added in v0.3.0

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

func (*GetStorageInfoParams) XXX_Merge added in v0.3.0

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

func (*GetStorageInfoParams) XXX_Size added in v0.3.0

func (m *GetStorageInfoParams) XXX_Size() int

func (*GetStorageInfoParams) XXX_Unmarshal added in v0.3.0

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

type LastBackupError added in v0.4.0

type LastBackupError 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 (*LastBackupError) Descriptor added in v0.4.0

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

func (*LastBackupError) GetError added in v0.4.0

func (m *LastBackupError) GetError() string

func (*LastBackupError) ProtoMessage added in v0.4.0

func (*LastBackupError) ProtoMessage()

func (*LastBackupError) Reset added in v0.4.0

func (m *LastBackupError) Reset()

func (*LastBackupError) String added in v0.4.0

func (m *LastBackupError) String() string

func (*LastBackupError) XXX_DiscardUnknown added in v0.4.0

func (m *LastBackupError) XXX_DiscardUnknown()

func (*LastBackupError) XXX_Marshal added in v0.4.0

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

func (*LastBackupError) XXX_Merge added in v0.4.0

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

func (*LastBackupError) XXX_Size added in v0.4.0

func (m *LastBackupError) XXX_Size() int

func (*LastBackupError) XXX_Unmarshal added in v0.4.0

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

type LastBackupErrorsParams added in v0.4.0

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

func (*LastBackupErrorsParams) Descriptor added in v0.4.0

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

func (*LastBackupErrorsParams) ProtoMessage added in v0.4.0

func (*LastBackupErrorsParams) ProtoMessage()

func (*LastBackupErrorsParams) Reset added in v0.4.0

func (m *LastBackupErrorsParams) Reset()

func (*LastBackupErrorsParams) String added in v0.4.0

func (m *LastBackupErrorsParams) String() string

func (*LastBackupErrorsParams) XXX_DiscardUnknown added in v0.4.0

func (m *LastBackupErrorsParams) XXX_DiscardUnknown()

func (*LastBackupErrorsParams) XXX_Marshal added in v0.4.0

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

func (*LastBackupErrorsParams) XXX_Merge added in v0.4.0

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

func (*LastBackupErrorsParams) XXX_Size added in v0.4.0

func (m *LastBackupErrorsParams) XXX_Size() int

func (*LastBackupErrorsParams) XXX_Unmarshal added in v0.4.0

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

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 ListStoragesParams added in v0.3.0

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

func (*ListStoragesParams) Descriptor added in v0.3.0

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

func (*ListStoragesParams) ProtoMessage added in v0.3.0

func (*ListStoragesParams) ProtoMessage()

func (*ListStoragesParams) Reset added in v0.3.0

func (m *ListStoragesParams) Reset()

func (*ListStoragesParams) String added in v0.3.0

func (m *ListStoragesParams) String() string

func (*ListStoragesParams) XXX_DiscardUnknown added in v0.3.0

func (m *ListStoragesParams) XXX_DiscardUnknown()

func (*ListStoragesParams) XXX_Marshal added in v0.3.0

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

func (*ListStoragesParams) XXX_Merge added in v0.3.0

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

func (*ListStoragesParams) XXX_Size added in v0.3.0

func (m *ListStoragesParams) XXX_Size() int

func (*ListStoragesParams) XXX_Unmarshal added in v0.3.0

func (m *ListStoragesParams) 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"`
	Filename             string          `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"`
	StartOplogTs         int64           `protobuf:"varint,5,opt,name=start_oplog_ts,json=startOplogTs,proto3" json:"start_oplog_ts,omitempty"`
	Description          string          `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	StorageName          string          `protobuf:"bytes,7,opt,name=storage_name,json=storageName,proto3" json:"storage_name,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) GetFilename

func (m *RunBackupParams) GetFilename() string

func (*RunBackupParams) GetStartOplogTs

func (m *RunBackupParams) GetStartOplogTs() int64

func (*RunBackupParams) GetStorageName added in v0.3.0

func (m *RunBackupParams) GetStorageName() string

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 RunBackupResponse added in v0.4.0

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

func (*RunBackupResponse) Descriptor added in v0.4.0

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

func (*RunBackupResponse) ProtoMessage added in v0.4.0

func (*RunBackupResponse) ProtoMessage()

func (*RunBackupResponse) Reset added in v0.4.0

func (m *RunBackupResponse) Reset()

func (*RunBackupResponse) String added in v0.4.0

func (m *RunBackupResponse) String() string

func (*RunBackupResponse) XXX_DiscardUnknown added in v0.4.0

func (m *RunBackupResponse) XXX_DiscardUnknown()

func (*RunBackupResponse) XXX_Marshal added in v0.4.0

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

func (*RunBackupResponse) XXX_Merge added in v0.4.0

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

func (*RunBackupResponse) XXX_Size added in v0.4.0

func (m *RunBackupResponse) XXX_Size() int

func (*RunBackupResponse) XXX_Unmarshal added in v0.4.0

func (m *RunBackupResponse) 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"`
	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 (*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) GetStorageName added in v0.3.0

func (m *RunRestoreParams) GetStorageName() string

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RunRestoreResponse) Descriptor

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

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

type StorageInfo added in v0.3.0

type StorageInfo struct {
	Name                 string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MatchClients         []string              `protobuf:"bytes,2,rep,name=match_clients,json=matchClients,proto3" json:"match_clients,omitempty"`
	DifferClients        []string              `protobuf:"bytes,3,rep,name=differ_clients,json=differClients,proto3" json:"differ_clients,omitempty"`
	Info                 *messages.StorageInfo `protobuf:"bytes,4,opt,name=Info,proto3" json:"Info,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) GetDifferClients added in v0.3.0

func (m *StorageInfo) GetDifferClients() []string

func (*StorageInfo) GetInfo added in v0.3.0

func (m *StorageInfo) GetInfo() *messages.StorageInfo

func (*StorageInfo) GetMatchClients added in v0.3.0

func (m *StorageInfo) GetMatchClients() []string

func (*StorageInfo) GetName added in v0.3.0

func (m *StorageInfo) GetName() string

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

Jump to

Keyboard shortcuts

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