Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FilesCmd = &cli.Command{ Name: "file", Usage: "Manage file storage", Description: `Store files in buckets replicated across the knot cluster. A bucket's files are written bucket:path, e.g. configs:app/settings.toml, and any other path is local. Buckets are private to their owner unless shared; manage them with knot file bucket. Knot Pro also serves the same buckets over S3 at <server>/s3, using your username as the access key and an API key as the secret key.`, Flags: []cli.Flag{ &cli.StringFlag{ Name: "server", Aliases: []string{"s"}, Usage: "The address of the remote server.", EnvVars: []string{config.CONFIG_ENV_PREFIX + "_SERVER"}, Global: true, }, &cli.StringFlag{ Name: "token", Aliases: []string{"t"}, Usage: "The token to use for authentication.", EnvVars: []string{config.CONFIG_ENV_PREFIX + "_TOKEN"}, Global: true, }, &cli.BoolFlag{ Name: "tls-skip-verify", Usage: "Skip TLS verification.", ConfigPath: []string{"tls.skip_verify"}, EnvVars: []string{config.CONFIG_ENV_PREFIX + "_TLS_SKIP_VERIFY"}, DefaultValue: true, Global: true, }, &cli.StringFlag{ Name: "alias", Aliases: []string{"a"}, Usage: "The server alias to use from the desktop; inside a space the space's server is used unless an alias is given.", DefaultValue: "default", Global: true, }, }, Commands: []*cli.Command{ lsCmd, copyCmd, moveCmd, catCmd, rmCmd, syncCmd, usageCmd, bucketCmd, }, }
FilesCmd is `knot file`: object storage in buckets replicated across the cluster. It works from the desktop (via the configured server) and inside a space (via the agent's connection to its server).
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.