v2

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Writer   dsw2.WriterClient
	Exporter dse2.ExporterClient
	Importer dsi2.ImporterClient
	Reader   dsr2.ReaderClient
	UI       *clui.UI
	// contains filtered or unexported fields
}

func New

func New(conn grpc.ClientConnInterface, ui *clui.UI) (*Client, error)

func (*Client) Backup

func (c *Client) Backup(ctx context.Context, file string) error

func (*Client) Export

func (c *Client) Export(ctx context.Context, objectsFile, relationsFile string) error

func (*Client) Import

func (c *Client) Import(ctx context.Context, files []string) error

func (*Client) Restore

func (c *Client) Restore(ctx context.Context, file string) error

Jump to

Keyboard shortcuts

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