pachyderm: Index | Files

package cmds

import ""


Package Files

cmds.go util.go

func ClearActiveTransaction Uses

func ClearActiveTransaction() error

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

func Cmds Uses

func Cmds() []*cobra.Command

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

func WithActiveTransaction Uses

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.

Package cmds imports 13 packages (graph) and is imported by 5 packages. Updated 2021-01-10. Refresh now. Tools for package owners.