get

package
v0.0.0-...-294dc8c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GetHelp contains the short help text for the command.
	GetHelp = "Get models from the datastore"

	// GetHelpExtra contains the long help text for the command without
	// the headline.
	GetHelpExtra = `` /* 241-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the get subcommand.

func Get

func Get(ctx context.Context, in *proto.GetRequest, ds datastorereader) (*proto.GetResponse, error)

Get queries the datastore-reader for requested models This function is the server side entrypoint for this package.

func Run

func Run(ctx context.Context, gc gRPCClient, collection string, exists bool, filter map[string]string, filterRaw string, fields []string) error

Run calls respective procedure to get a model

Types

This section is empty.

Jump to

Keyboard shortcuts

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