cmds

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearActiveTransaction

func ClearActiveTransaction() error

ClearActiveTransaction will remove the active transaction from the pachctl config file - used by the 'delete all' command.

func Cmds

func Cmds(noMetrics *bool, noPortForwarding *bool) []*cobra.Command

Cmds returns the set of commands used for managing transactions with the Pachyderm CLI tool pachctl.

func WithActiveTransaction

func WithActiveTransaction(c *client.APIClient, callback func(*client.APIClient) error) error

WithActiveTransaction is a helper function that will attach the given transaction to the given client (resulting in a new client), then run the given callback with the new client. This is for executing RPCs that can be run inside a transaction - if this isn't supported, it will have no effect.

Types

This section is empty.

Jump to

Keyboard shortcuts

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