Documentation ¶
Index ¶
- func ActivateCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func CheckProjectCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func CheckRepoCmd(ctx context.Context, pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func Cmds(mainCtx context.Context, pachCtx *config.Context, pachctlCfg *pachctl.Config) []*cobra.Command
- func DeactivateCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func GetClusterRoleBindingCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func GetConfigCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func GetEnterpriseRoleBindingCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func GetGroupsCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func GetProjectRoleBindingCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func GetRepoRoleBindingCmd(ctx context.Context, pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func GetRobotTokenCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func LoginCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func LogoutCmd() *cobra.Command
- func RevokeCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func RolesForPermissionCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func RotateRootToken(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func SetClusterRoleBindingCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func SetConfigCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func SetEnterpriseRoleBindingCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func SetProjectRoleBindingCmd(ctx context.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func SetRepoRoleBindingCmd(ctx context.Context, pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command
- func UseAuthTokenCmd() *cobra.Command
- func WhoamiCmd(ctx context.Context, 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 ¶
func CheckRepoCmd(ctx context.Context, 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(mainCtx context.Context, 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 ¶
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 GetGroupsCmd ¶
func GetProjectRoleBindingCmd ¶
GetProjectRoleBindingCmd returns a cobra command that gets the role bindings for a resource
func GetRepoRoleBindingCmd ¶
func GetRepoRoleBindingCmd(ctx context.Context, pachCtx *config.Context, pachctlCfg *pachctl.Config) *cobra.Command
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 ¶
func SetRepoRoleBindingCmd(ctx context.Context, 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 ¶
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.