Skip to content

Commit b2f5783

Browse files
committed
make docs and schema
Signed-off-by: Austin Abro <[email protected]>
1 parent 1332e7a commit b2f5783

13 files changed

+13
-13
lines changed

site/src/content/docs/commands/zarf_package.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Zarf package commands for creating, deploying, and inspecting packages
1515
```
1616
-h, --help help for package
1717
-k, --key string Path to public key file for validating signed packages
18-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
18+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
1919
```
2020

2121
### Options inherited from parent commands

site/src/content/docs/commands/zarf_package_create.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ zarf package create [ DIRECTORY ] [flags]
4949
--no-color Disable colors in output
5050
--no-log-file Disable log file creation
5151
--no-progress Disable fancy UI progress bars, spinners, logos, etc
52-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
52+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
5353
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
5454
--tmpdir string Specify the temporary directory to use for intermediate files
5555
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ zarf package deploy [ PACKAGE_SOURCE ] [flags]
4444
--no-color Disable colors in output
4545
--no-log-file Disable log file creation
4646
--no-progress Disable fancy UI progress bars, spinners, logos, etc
47-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
47+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
4848
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
4949
--tmpdir string Specify the temporary directory to use for intermediate files
5050
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_inspect.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ zarf package inspect [ PACKAGE_SOURCE ] [flags]
3838
--no-color Disable colors in output
3939
--no-log-file Disable log file creation
4040
--no-progress Disable fancy UI progress bars, spinners, logos, etc
41-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
41+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
4242
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
4343
--tmpdir string Specify the temporary directory to use for intermediate files
4444
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_inspect_definition.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ zarf package inspect definition [ PACKAGE_SOURCE ] [flags]
3232
--no-color Disable colors in output
3333
--no-log-file Disable log file creation
3434
--no-progress Disable fancy UI progress bars, spinners, logos, etc
35-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
35+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
3636
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
3737
--tmpdir string Specify the temporary directory to use for intermediate files
3838
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_inspect_images.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ zarf package inspect images [ PACKAGE_SOURCE ] [flags]
3232
--no-color Disable colors in output
3333
--no-log-file Disable log file creation
3434
--no-progress Disable fancy UI progress bars, spinners, logos, etc
35-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
35+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
3636
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
3737
--tmpdir string Specify the temporary directory to use for intermediate files
3838
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_inspect_sbom.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ zarf package inspect sbom [ PACKAGE ] [flags]
3333
--no-color Disable colors in output
3434
--no-log-file Disable log file creation
3535
--no-progress Disable fancy UI progress bars, spinners, logos, etc
36-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
36+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
3737
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
3838
--tmpdir string Specify the temporary directory to use for intermediate files
3939
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_list.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ zarf package list [flags]
3232
--no-color Disable colors in output
3333
--no-log-file Disable log file creation
3434
--no-progress Disable fancy UI progress bars, spinners, logos, etc
35-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
35+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
3636
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
3737
--tmpdir string Specify the temporary directory to use for intermediate files
3838
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_mirror-resources.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ $ zarf package mirror-resources <your-package.tar.zst> \
7272
--no-color Disable colors in output
7373
--no-log-file Disable log file creation
7474
--no-progress Disable fancy UI progress bars, spinners, logos, etc
75-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
75+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
7676
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
7777
--tmpdir string Specify the temporary directory to use for intermediate files
7878
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_publish.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $ zarf package publish ./path/to/dir oci://my-registry.com/my-namespace
4747
--no-color Disable colors in output
4848
--no-log-file Disable log file creation
4949
--no-progress Disable fancy UI progress bars, spinners, logos, etc
50-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
50+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
5151
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
5252
--tmpdir string Specify the temporary directory to use for intermediate files
5353
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_pull.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ $ zarf package pull oci://ghcr.io/defenseunicorns/packages/dos-games:1.0.0 -a sk
4848
--no-color Disable colors in output
4949
--no-log-file Disable log file creation
5050
--no-progress Disable fancy UI progress bars, spinners, logos, etc
51-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
51+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
5252
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
5353
--tmpdir string Specify the temporary directory to use for intermediate files
5454
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

site/src/content/docs/commands/zarf_package_remove.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ zarf package remove { PACKAGE_SOURCE | PACKAGE_NAME } --confirm [flags]
3838
--no-color Disable colors in output
3939
--no-log-file Disable log file creation
4040
--no-progress Disable fancy UI progress bars, spinners, logos, etc
41-
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3)
41+
--oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 6)
4242
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
4343
--tmpdir string Specify the temporary directory to use for intermediate files
4444
--zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")

src/internal/packager/images/pull.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func Pull(ctx context.Context, cfg PullConfig) (map[transform.Image]ocispec.Mani
230230
if image.Digest != "" {
231231
desc, b, err := oras.FetchBytes(ctx, localRepo, overriddenRef, oras.DefaultFetchBytesOptions)
232232
if err != nil {
233-
return nil, err
233+
return nil, fmt.Errorf("failed to fetch bytes: %w",err)
234234
}
235235
if desc.MediaType == ocispec.MediaTypeImageIndex || desc.MediaType == DockerMediaTypeManifestList {
236236
// Both index types can be marshalled into an ocispec.Index

0 commit comments

Comments
 (0)