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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateCmd

func ActivateCmd(noMetrics, noPortForwarding *bool) *cobra.Command

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

func CheckCmd

func CheckCmd(noMetrics, noPortForwarding *bool) *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(noMetrics, noPortForwarding *bool) []*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(noMetrics, noPortForwarding *bool) *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(noMetrics, noPortForwarding *bool) *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(noMetrics, noPortForwarding *bool) *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 GetConfigCmd added in v1.9.0

func GetConfigCmd(noPortForwarding *bool) *cobra.Command

GetConfigCmd returns a cobra command that lets the caller see the configured auth backends in Pachyderm

func ListAdminsCmd added in v1.6.0

func ListAdminsCmd(noMetrics, noPortForwarding *bool) *cobra.Command

ListAdminsCmd returns a cobra command that lists the current cluster admins

func LoginCmd

func LoginCmd(noMetrics, noPortForwarding *bool) *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(noMetrics, noPortForwarding *bool) *cobra.Command

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

func SetConfigCmd added in v1.9.0

func SetConfigCmd(noPortForwarding *bool) *cobra.Command

SetConfigCmd returns a cobra command that lets the caller configure auth backends in Pachyderm

func SetScopeCmd

func SetScopeCmd(noMetrics, noPortForwarding *bool) *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(noMetrics, noPortForwarding *bool) *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