manager

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// Build builds collection from input and store it in the underlying content store.
	// If successful, the root descriptor is returned.
	Build(ctx context.Context, source workspace.Workspace, config clientapi.DataSetConfiguration, destination string, client registryclient.Client) (string, error)
	// Push pushes collection to a remote location from the underlying content store.
	// If successful, the root descriptor is returned.
	Push(ctx context.Context, destination string, remote registryclient.Remote) (string, error)
	// Pull pulls a single collection to a specified storage destination.
	// If successful, the file locations are returned.
	Pull(ctx context.Context, source string, remote registryclient.Remote, destination content.Store) ([]string, error)
	// PullAll pulls linked collection to a specified storage destination.
	// If successful, the file locations are returned.
	// PullAll is similar to Pull with the exception that it walks a graph of linked collections
	// starting with the source collection reference.
	PullAll(ctx context.Context, source string, remote registryclient.Remote, destination content.Store) ([]string, error)
}

Manager defines methods for building, publishing, and retrieving UOR collections.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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