v3

package
v0.31.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 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
	// contains filtered or unexported fields
}

func New

func New(conn *grpc.ClientConn, stdout, stderr io.Writer) (*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) Err added in v0.31.3

func (c *Client) Err() io.Writer

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) Out added in v0.31.3

func (c *Client) Out() io.Writer

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