Documentation ¶
Overview ¶
Package cmd implements all commands for Cells Control client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( READ = &idm.ACLAction{Name: "read", Value: "1"} WRITE = &idm.ACLAction{Name: "write", Value: "1"} DENY = &idm.ACLAction{Name: "deny", Value: "1"} )
View Source
var JobsCmd = &cobra.Command{ Use: "jobs", Short: "Manage scheduler Jobs", Long: `Manage scheduler Jobs Scheduler is composed of three micro-services : jobs, tasks, and timers. Jobs is storing all jobs configurations and their running tasks statuses. Tasks is actually running the jobs, and can be scaled horizontally on many machines. Timer is used to trigger jobs at a given schedule (like a crontab). `, Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, }
dataCmd represents the data command
View Source
var RootCmd = &cobra.Command{ Use: "cells-ctl", Short: "Pydio Cells Control", Long: ` Pydio Cells Control allows you to interact with the micro services directly with a simple CLI. Most actions shall better be manually performed using the web frontend or scripted using the Cells Client. `, PersistentPreRun: func(cmd *cobra.Command, args []string) { t1 = time.Now() handleRegistry() serviceName = common.SERVICE_GRPC_NAMESPACE_ + common.SERVICE_TREE if len(source) > 0 { serviceName = common.SERVICE_GRPC_NAMESPACE_ + common.SERVICE_DATA_INDEX_ + source } }, PersistentPostRun: func(cmd *cobra.Command, args []string) { cmd.Printf("[Time taken : %s]\n", time.Since(t1)) }, }
RootCmd represents the base command when called without any subcommands.
Functions ¶
Types ¶
This section is empty.
Source Files ¶
- acl-create.go
- acl-delete.go
- acl-patch-recycle-personal.go
- acl-search.go
- acl.go
- data-create-benc.go
- data-create.go
- data-delete.go
- data-list.go
- data-move.go
- data-read.go
- data-sync.go
- data-test-generate.go
- data-version-create.go
- data-version-list.go
- data-version.go
- data.go
- doc.go
- jobs-mailer-digest.go
- jobs-mailer-test.go
- jobs-sync-config.go
- jobs-sync-users.go
- jobs-sync-workspaces.go
- jobs.go
- meta-put.go
- meta-read.go
- meta.go
- role-create.go
- role-delete.go
- role-search.go
- role.go
- root.go
- user-create.go
- user-delete.go
- user-search.go
- user-set-profile.go
- user-unlock.go
- user.go
- version.go
Click to show internal directories.
Click to hide internal directories.