Directories ¶
Path | Synopsis |
---|---|
Package cmd contains the CLI commands for Zarf contains the CLI commands for Zarf.
|
Package cmd contains the CLI commands for Zarf contains the CLI commands for Zarf. |
common
Package common handles command configuration across all commands
|
Package common handles command configuration across all commands |
tools
Package tools contains the CLI commands for Zarf.
|
Package tools contains the CLI commands for Zarf. |
tools/helm
Package helm is a copy of the main package from helm to include a subset of the helm CLI in Zarf
|
Package helm is a copy of the main package from helm to include a subset of the helm CLI in Zarf |
Package config stores the global configuration and constants.
|
Package config stores the global configuration and constants. |
lang
Package lang contains the language strings for english used by Zarf Alternative languages can be created by duplicating this file and changing the build tag to "//go:build alt_language && <language>".
|
Package lang contains the language strings for english used by Zarf Alternative languages can be created by duplicating this file and changing the build tag to "//go:build alt_language && <language>". |
extensions
|
|
bigbang
Package bigbang contains the logic for installing Big Bang and Flux
|
Package bigbang contains the logic for installing Big Bang and Flux |
internal
|
|
agent
Package agent holds the mutating webhook server.
|
Package agent holds the mutating webhook server. |
agent/hooks
Package hooks contains the mutation hooks for the Zarf agent.
|
Package hooks contains the mutation hooks for the Zarf agent. |
agent/http
Package http provides a http server for the webhook and proxy.
|
Package http provides a http server for the webhook and proxy. |
agent/http/admission
Package admission provides an HTTP handler for a Kubernetes admission webhook.
|
Package admission provides an HTTP handler for a Kubernetes admission webhook. |
agent/operations
Package operations provides functions for the mutating webhook.
|
Package operations provides functions for the mutating webhook. |
packager/git
Package git contains functions for interacting with git repositories.
|
Package git contains functions for interacting with git repositories. |
packager/helm
Package helm contains operations for working with helm charts.
|
Package helm contains operations for working with helm charts. |
packager/images
Package images provides functions for building and pushing images.
|
Package images provides functions for building and pushing images. |
packager/kustomize
Package kustomize provides functions for building kustomizations.
|
Package kustomize provides functions for building kustomizations. |
packager/sbom
Package sbom contains tools for generating SBOMs.
|
Package sbom contains tools for generating SBOMs. |
packager/template
Package template provides functions for templating yaml files.
|
Package template provides functions for templating yaml files. |
pkg
|
|
cluster
Package cluster contains Zarf-specific cluster management functions.
|
Package cluster contains Zarf-specific cluster management functions. |
interactive
Package interactive contains functions for interacting with the user via STDIN.
|
Package interactive contains functions for interacting with the user via STDIN. |
k8s
Package k8s provides a client for interacting with a Kubernetes cluster.
|
Package k8s provides a client for interacting with a Kubernetes cluster. |
layout
Package layout contains functions for interacting with Zarf's package layout on disk.
|
Package layout contains functions for interacting with Zarf's package layout on disk. |
message
Package message provides a rich set of functions for displaying messages to the user.
|
Package message provides a rich set of functions for displaying messages to the user. |
packager
Package packager contains functions for interacting with, managing and deploying Zarf packages.
|
Package packager contains functions for interacting with, managing and deploying Zarf packages. |
packager/actions
Package actions contains functions for running component actions within Zarf packages.
|
Package actions contains functions for running component actions within Zarf packages. |
packager/composer
Package composer contains functions for composing components within Zarf packages.
|
Package composer contains functions for composing components within Zarf packages. |
packager/creator
Package creator contains functions for creating Zarf packages.
|
Package creator contains functions for creating Zarf packages. |
packager/deprecated
Package deprecated handles package deprecations and migrations
|
Package deprecated handles package deprecations and migrations |
packager/filters
Package filters contains core implementations of the ComponentFilterStrategy interface.
|
Package filters contains core implementations of the ComponentFilterStrategy interface. |
packager/lint
Package lint contains functions for verifying zarf yaml files are valid
|
Package lint contains functions for verifying zarf yaml files are valid |
packager/sources
Package sources contains core implementations of the PackageSource interface.
|
Package sources contains core implementations of the PackageSource interface. |
pki
Package pki provides a simple way to generate a CA and signed server keypair.
|
Package pki provides a simple way to generate a CA and signed server keypair. |
transform
Package transform provides helper functions to transform URLs to airgap equivalents
|
Package transform provides helper functions to transform URLs to airgap equivalents |
utils
Package utils provides generic utility functions.
|
Package utils provides generic utility functions. |
utils/exec
Package exec provides a wrapper around the os/exec package
|
Package exec provides a wrapper around the os/exec package |
variables
Package variables contains functions for interacting with variables
|
Package variables contains functions for interacting with variables |
zoci
Package zoci contains functions for interacting with Zarf packages stored in OCI registries.
|
Package zoci contains functions for interacting with Zarf packages stored in OCI registries. |
Package test provides e2e tests for Zarf.
|
Package test provides e2e tests for Zarf. |
external
Package external provides a test for interacting with external resources
|
Package external provides a test for interacting with external resources |
mocks
Package mocks contains all the mocks used in Zarf tests.
|
Package mocks contains all the mocks used in Zarf tests. |
Package types contains all the types used by Zarf.
|
Package types contains all the types used by Zarf. |
extensions
Package extensions contains the types for all official extensions.
|
Package extensions contains the types for all official extensions. |
Click to show internal directories.
Click to hide internal directories.