cmds

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateCmd

func ActivateCmd(pachctlCfg *pachctl.Config) *cobra.Command

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

func CheckProjectCmd

func CheckProjectCmd(pachctlCfg *pachctl.Config) *cobra.Command

CheckProjectCmd returns a cobra command that sends a GetPermissions request to pachd to determine what permissions a user has on the project.

func CheckRepoCmd

func CheckRepoCmd(pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command

CheckRepoCmd returns a cobra command that sends a GetPermissions request to pachd to determine what permissions a user has on the repo.

func Cmds

func Cmds(pachCtx *config.Context, pachctlCfg *pachctl.Config) []*cobra.Command

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

func DeactivateCmd

func DeactivateCmd(pachctlCfg *pachctl.Config) *cobra.Command

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

func GetClusterRoleBindingCmd

func GetClusterRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command

GetClusterRoleBindingCmd returns a cobra command that gets the role bindings for a resource

func GetConfigCmd

func GetConfigCmd(pachctlCfg *pachctl.Config) *cobra.Command

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

func GetEnterpriseRoleBindingCmd

func GetEnterpriseRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command

GetEnterpriseRoleBindingCmd returns a cobra command that gets the role bindings for a resource

func GetGroupsCmd

func GetGroupsCmd(pachctlCfg *pachctl.Config) *cobra.Command

func GetProjectRoleBindingCmd

func GetProjectRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command

GetProjectRoleBindingCmd returns a cobra command that gets the role bindings for a resource

func GetRepoRoleBindingCmd

func GetRepoRoleBindingCmd(pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command

GetRepoRoleBindingCmd returns a cobra command that gets the role bindings for a repo

func GetRobotTokenCmd

func GetRobotTokenCmd(pachctlCfg *pachctl.Config) *cobra.Command

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

func LoginCmd

func LoginCmd(pachctlCfg *pachctl.Config) *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

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 RevokeCmd

func RevokeCmd(pachctlCfg *pachctl.Config) *cobra.Command

RevokeCmd returns a cobra.Command that revokes a Pachyderm token.

func RolesForPermissionCmd

func RolesForPermissionCmd(pachctlCfg *pachctl.Config) *cobra.Command

RolesForPermissionCmd lists the roles that would give a user a specific permission

func RotateRootToken

func RotateRootToken(pachctlCfg *pachctl.Config) *cobra.Command

RotateRootToken returns a cobra command that rotates the auth token for the Root User

func SetClusterRoleBindingCmd

func SetClusterRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command

SetClusterRoleBindingCmd returns a cobra command that sets the roles for a user on a resource

func SetConfigCmd

func SetConfigCmd(pachctlCfg *pachctl.Config) *cobra.Command

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

func SetEnterpriseRoleBindingCmd

func SetEnterpriseRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command

SetEnterpriseRoleBindingCmd returns a cobra command that sets the roles for a user on a resource

func SetProjectRoleBindingCmd

func SetProjectRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command

SetProjectRoleBindingCmd returns a cobra command that sets the roles for a user on a project

func SetRepoRoleBindingCmd

func SetRepoRoleBindingCmd(pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command

SetRepoRoleBindingCmd returns a cobra command that sets the roles for a user on a repo

func UseAuthTokenCmd

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

func WhoamiCmd(pachctlCfg *pachctl.Config) *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