mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 07:26:34 +01:00
document file scheme (#613)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -83,6 +83,7 @@ docker-archive:path/to/yourimage.tar use a tarball from disk for archives crea
|
|||||||
oci-archive:path/to/yourimage.tar use a tarball from disk for OCI archives (from Skopeo or otherwise)
|
oci-archive:path/to/yourimage.tar use a tarball from disk for OCI archives (from Skopeo or otherwise)
|
||||||
oci-dir:path/to/yourimage read directly from a path on disk for OCI layout directories (from Skopeo or otherwise)
|
oci-dir:path/to/yourimage read directly from a path on disk for OCI layout directories (from Skopeo or otherwise)
|
||||||
dir:path/to/yourproject read directly from a path on disk (any directory)
|
dir:path/to/yourproject read directly from a path on disk (any directory)
|
||||||
|
file:path/to/yourproject/file read directly from a path on disk (any single file)
|
||||||
registry:yourrepo/yourimage:tag pull image directly from a registry (no container runtime required)
|
registry:yourrepo/yourimage:tag pull image directly from a registry (no container runtime required)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ const (
|
|||||||
{{.appName}} {{.command}} oci-archive:path/to/yourimage.tar use a tarball from disk for OCI archives (from Skopeo or otherwise)
|
{{.appName}} {{.command}} oci-archive:path/to/yourimage.tar use a tarball from disk for OCI archives (from Skopeo or otherwise)
|
||||||
{{.appName}} {{.command}} oci-dir:path/to/yourimage read directly from a path on disk for OCI layout directories (from Skopeo or otherwise)
|
{{.appName}} {{.command}} oci-dir:path/to/yourimage read directly from a path on disk for OCI layout directories (from Skopeo or otherwise)
|
||||||
{{.appName}} {{.command}} dir:path/to/yourproject read directly from a path on disk (any directory)
|
{{.appName}} {{.command}} dir:path/to/yourproject read directly from a path on disk (any directory)
|
||||||
|
{{.appName}} {{.command}} file:path/to/yourproject/file read directly from a path on disk (any single file)
|
||||||
{{.appName}} {{.command}} registry:yourrepo/yourimage:tag pull image directly from a registry (no container runtime required)
|
{{.appName}} {{.command}} registry:yourrepo/yourimage:tag pull image directly from a registry (no container runtime required)
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user