v3

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: 25 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 {
	Model     dsm3.ModelClient
	Reader    dsr3.ReaderClient
	Writer    dsw3.WriterClient
	Importer  dsi3.ImporterClient
	Exporter  dse3.ExporterClient
	Assertion dsa3.AssertionClient
	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) DeleteManifest

func (c *Client) DeleteManifest(ctx context.Context) error

func (*Client) Export

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

func (*Client) GetManifest

func (c *Client) GetManifest(ctx context.Context) (io.Reader, 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

func (*Client) SetManifest

func (c *Client) SetManifest(ctx context.Context, r io.Reader) error

Jump to

Keyboard shortcuts

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