Documentation ¶
Index ¶
- func ActivateCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func CheckProjectCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func CheckRepoCmd(pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func Cmds(pachCtx *config.Context, pachctlCfg *pachctl.Config) []*cobra.Command
- func DeactivateCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func GetClusterRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func GetConfigCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func GetEnterpriseRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func GetGroupsCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func GetProjectRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func GetRepoRoleBindingCmd(pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func GetRobotTokenCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func LoginCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func LogoutCmd() *cobra.Command
- func RevokeCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func RolesForPermissionCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func RotateRootToken(pachctlCfg *pachctl.Config) *cobra.Command
- func SetClusterRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func SetConfigCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func SetEnterpriseRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func SetProjectRoleBindingCmd(pachctlCfg *pachctl.Config) *cobra.Command
- func SetRepoRoleBindingCmd(pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func UseAuthTokenCmd() *cobra.Command
- func WhoamiCmd(pachctlCfg *pachctl.Config) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateCmd ¶
ActivateCmd returns a cobra.Command to activate Pachyderm's auth system
func CheckProjectCmd ¶
CheckProjectCmd returns a cobra command that sends a GetPermissions request to pachd to determine what permissions a user has on the project.
func CheckRepoCmd ¶
CheckRepoCmd returns a cobra command that sends a GetPermissions request to pachd to determine what permissions a user has on the repo.
func Cmds ¶
Cmds returns a list of cobra commands for authenticating and authorizing users in an auth-enabled Pachyderm cluster.
func DeactivateCmd ¶
DeactivateCmd returns a cobra.Command to delete all ACLs, tokens, and admins, deactivating Pachyderm's auth system
func GetClusterRoleBindingCmd ¶
GetClusterRoleBindingCmd returns a cobra command that gets the role bindings for a resource
func GetConfigCmd ¶
GetConfigCmd returns a cobra command that lets the caller see the configured auth backends in Pachyderm
func GetEnterpriseRoleBindingCmd ¶
GetEnterpriseRoleBindingCmd returns a cobra command that gets the role bindings for a resource
func GetProjectRoleBindingCmd ¶
GetProjectRoleBindingCmd returns a cobra command that gets the role bindings for a resource
func GetRepoRoleBindingCmd ¶
GetRepoRoleBindingCmd returns a cobra command that gets the role bindings for a repo
func GetRobotTokenCmd ¶
GetRobotTokenCmd returns a cobra command that lets a user get a pachyderm token on behalf of themselves or another user
func LoginCmd ¶
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 ¶
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 RolesForPermissionCmd ¶
RolesForPermissionCmd lists the roles that would give a user a specific permission
func RotateRootToken ¶
RotateRootToken returns a cobra command that rotates the auth token for the Root User
func SetClusterRoleBindingCmd ¶
SetClusterRoleBindingCmd returns a cobra command that sets the roles for a user on a resource
func SetConfigCmd ¶
SetConfigCmd returns a cobra command that lets the caller configure auth backends in Pachyderm
func SetEnterpriseRoleBindingCmd ¶
SetEnterpriseRoleBindingCmd returns a cobra command that sets the roles for a user on a resource
func SetProjectRoleBindingCmd ¶
SetProjectRoleBindingCmd returns a cobra command that sets the roles for a user on a project
func SetRepoRoleBindingCmd ¶
SetRepoRoleBindingCmd returns a cobra command that sets the roles for a user on a repo
func UseAuthTokenCmd ¶
UseAuthTokenCmd returns a cobra command that lets a user get a pachyderm token on behalf of themselves or another user
Types ¶
This section is empty.