Skip to content

Commit

Permalink
Use unified interface for object sources (#236)
Browse files Browse the repository at this point in the history
Related #126

---------

Signed-off-by: Igor Shishkin <me@teran.dev>
  • Loading branch information
teran authored Nov 24, 2024
1 parent 0b80da3 commit 2d9a1c1
Show file tree
Hide file tree
Showing 198 changed files with 1,110 additions and 1,192 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,20 @@ CLI interface for archived


Flags:
--[no-]help Show context-sensitive help (also try --help-long and --help-man).
--[no-]help Show context-sensitive help (also try --help-long
and --help-man).
-d, --[no-]debug Enable debug mode ($ARCHIVED_CLI_DEBUG)
-t, --[no-]trace Enable trace mode (debug mode on steroids) ($ARCHIVED_CLI_TRACE)
-s, --endpoint=ENDPOINT Manager API endpoint address ($ARCHIVED_CLI_ENDPOINT)
-t, --[no-]trace Enable trace mode (debug mode on steroids)
($ARCHIVED_CLI_TRACE)
-s, --endpoint=ENDPOINT Manager API endpoint address
($ARCHIVED_CLI_ENDPOINT)
--[no-]insecure Do not use TLS for gRPC connection
--[no-]insecure-skip-verify
Do not perform TLS certificate verification for gRPC connection
Do not perform TLS certificate verification for
gRPC connection
--cache-dir="~/.cache/archived/cli/objects"
Stat-cache directory for objects ($ARCHIVED_CLI_STAT_CACHE_DIR)
Stat-cache directory for objects
($ARCHIVED_CLI_STAT_CACHE_DIR)
-n, --namespace="default" namespace for containers to operate on

Commands:
Expand Down Expand Up @@ -156,9 +161,6 @@ version publish <container> <version>
object list <container> <version>
list objects in the given container and version

object create <container> <version> <path>
create object(s) from location

object url <container> <version> <key>
get URL for the object

Expand Down
2 changes: 1 addition & 1 deletion cli/lazyblob/lazyblob.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func New(url, tempDir string, length uint64) LazyBLOB {
"url": url,
"length": length,
"tempdir": tempDir,
}).Debug("lazyblob initialized")
}).Trace("initializing lazyblob ...")

return &lazyblob{
url: url,
Expand Down
Loading

0 comments on commit 2d9a1c1

Please sign in to comment.