cmds

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateCmd

func ActivateCmd() *cobra.Command

ActivateCmd returns a cobra.Command to activate Pachyderm's auth system

func CheckCmd

func CheckCmd() *cobra.Command

CheckCmd returns a cobra command that sends an "Authorize" RPC to Pachd, to determine whether the specified user has access to the specified repo.

func Cmds

func Cmds() []*cobra.Command

Cmds returns a list of cobra commands for authenticating and authorizing users in an auth-enabled Pachyderm cluster.

func DeactivateCmd added in v1.6.0

func DeactivateCmd() *cobra.Command

DeactivateCmd returns a cobra.Command to delete all ACLs, tokens, and admins, deactivating Pachyderm's auth system

func GetAuthTokenCmd added in v1.7.1

func GetAuthTokenCmd() *cobra.Command

GetAuthTokenCmd returns a cobra command that lets a user get a pachyderm token on behalf of themselves or another user

func GetCmd

func GetCmd() *cobra.Command

GetCmd returns a cobra command that gets either the ACL for a Pachyderm repo or another user's scope of access to that repo

func ListAdminsCmd added in v1.6.0

func ListAdminsCmd() *cobra.Command

ListAdminsCmd returns a cobra command that lists the current cluster admins

func LoginCmd

func LoginCmd() *cobra.Command

LoginCmd returns a cobra.Command to login to a Pachyderm cluster with your GitHub account. Any resources that have been restricted to the email address registered with your GitHub account will subsequently be accessible.

func LogoutCmd added in v1.6.0

func LogoutCmd() *cobra.Command

LogoutCmd returns a cobra.Command that deletes your local Pachyderm credential, logging you out of your cluster. Note that this is not necessary to do before logging in as another user, but is useful for testing.

func ModifyAdminsCmd added in v1.6.0

func ModifyAdminsCmd() *cobra.Command

ModifyAdminsCmd returns a cobra command that modifies the set of current cluster admins

func SetScopeCmd

func SetScopeCmd() *cobra.Command

SetScopeCmd returns a cobra command that lets a user set the level of access that another user has to a repo

func UseAuthTokenCmd added in v1.7.1

func UseAuthTokenCmd() *cobra.Command

UseAuthTokenCmd returns a cobra command that lets a user get a pachyderm token on behalf of themselves or another user

func WhoamiCmd added in v1.6.0

func WhoamiCmd() *cobra.Command

WhoamiCmd returns a cobra.Command that deletes your local Pachyderm credential, logging you out of your cluster. Note that this is not necessary to do before logging in as another user, but is useful for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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