Directories
¶
| Path | Synopsis |
|---|---|
|
Package api defines types shared across cargoship's API groups.
|
Package api defines types shared across cargoship's API groups. |
|
zarf.dev/v1alpha1
Package v1alpha1 defines file types shared by the cluster and distro APIs.
|
Package v1alpha1 defines file types shared by the cluster and distro APIs. |
|
zarf.dev/v1alpha1/cluster
Package cluster defines the API types for a cluster configuration.
|
Package cluster defines the API types for a cluster configuration. |
|
zarf.dev/v1alpha1/distro
Package distro defines the API types for a distro package.
|
Package distro defines the API types for a distro package. |
|
Package cmd is where the commands for cargoship
|
Package cmd is where the commands for cargoship |
|
flags
Package flags provides shell completion functions for cargoship CLI flags.
|
Package flags provides shell completion functions for cargoship CLI flags. |
|
Package config is a holder of commonly used multiple times
|
Package config is a holder of commonly used multiple times |
|
lang
Package lang holds the cli helping text
|
Package lang holds the cli helping text |
|
internal
|
|
|
ansibleinv
Package ansibleinv translates an Ansible inventory into the ZarfCluster document cargoship installs from.
|
Package ansibleinv translates an Ansible inventory into the ZarfCluster document cargoship installs from. |
|
ansiblemod
Package ansiblemod lets the cargoship binary answer Ansible as a module.
|
Package ansiblemod lets the cargoship binary answer Ansible as a module. |
|
cfg
Package cfg is used to parse an byte array and returns a ZarfDistro
|
Package cfg is used to parse an byte array and returns a ZarfDistro |
|
clustercfg
Package clustercfg is used to parse an byte array and returns a ZarfCluster
|
Package clustercfg is used to parse an byte array and returns a ZarfCluster |
|
dns
Package dns contains DNS related functionality.
|
Package dns contains DNS related functionality. |
|
heartbeat
Package heartbeat writes live phase execution progress to a status file on disk so long-running operations (such as Ansible modules) can be monitored externally in real-time.
|
Package heartbeat writes live phase execution progress to a status file on disk so long-running operations (such as Ansible modules) can be monitored externally in real-time. |
|
logging
Package logging provides an slog.Handler that fans a record out to several handlers, each with its own independent level filter.
|
Package logging provides an slog.Handler that fans a record out to several handlers, each with its own independent level filter. |
|
riglogger
Package riglogger bridges cargoship's context-scoped logger into rig v2's slog-based logging.
|
Package riglogger bridges cargoship's context-scoped logger into rig v2's slog-based logging. |
|
split
Package split is a copy of the internal code from the zarf package
|
Package split is a copy of the internal code from the zarf package |
|
core
command
|
|
|
pkg
|
|
|
action
Package action are various actions used by the package
|
Package action are various actions used by the package |
|
coci
Package coci contains functions for interacting with Cargoship packages stored in OCI registries, derived from github.com/zarf-dev/src/pkg/zoci.
|
Package coci contains functions for interacting with Cargoship packages stored in OCI registries, derived from github.com/zarf-dev/src/pkg/zoci. |
|
coci/layers
Package layers contains functions for interacting with Cargoship layers stored in OCI registries, derived from github.com/zarf-dev/src/pkg/zoci.
|
Package layers contains functions for interacting with Cargoship layers stored in OCI registries, derived from github.com/zarf-dev/src/pkg/zoci. |
|
distro
Package distro is used for creating/deploying distro package
|
Package distro is used for creating/deploying distro package |
|
engineconfig/extract
Package extract statically parses k3s/RKE2's pkg/cli/cmds source (via go/ast) to recover the urfave/cli flag list they declare, without ever compiling or importing that package.
|
Package extract statically parses k3s/RKE2's pkg/cli/cmds source (via go/ast) to recover the urfave/cli flag list they declare, without ever compiling or importing that package. |
|
engineconfig/gen
Package gen turns an extract.Manifest into a Go struct source file: one field per resolved, non-alias flag, tagged with the flag's real kebab-case name as its yaml key.
|
Package gen turns an extract.Manifest into a Go struct source file: one field per resolved, non-alias flag, tagged with the flag's real kebab-case name as its yaml key. |
|
firewall
Package firewall renders cargoship's backend-neutral firewall configuration onto whichever host firewall a node runs.
|
Package firewall renders cargoship's backend-neutral firewall configuration onto whichever host firewall a node runs. |
|
helmvalues
Package helmvalues renders Helm-style value templates and reads and writes the nested interface values those templates draw on.
|
Package helmvalues renders Helm-style value templates and reads and writes the nested interface values those templates draw on. |
|
helpers
Package helpers are a sub-section of function from defense-unicorn pkg helpers package
|
Package helpers are a sub-section of function from defense-unicorn pkg helpers package |
|
images
Package images is functionality related to interacting with oci images.
|
Package images is functionality related to interacting with oci images. |
|
lint
Package lint contains functions for verifying yaml files are valid
|
Package lint contains functions for verifying yaml files are valid |
|
node
Package node is used for status related functions
|
Package node is used for status related functions |
|
oci/archive
Package archive implements the Archive interface for the OCI archive store.
|
Package archive implements the Archive interface for the OCI archive store. |
|
oci/platform
Package platform defines canonical CPU architecture identifiers and validation helpers used by cargoship when targeting specific platforms in OCI workflows.
|
Package platform defines canonical CPU architecture identifiers and validation helpers used by cargoship when targeting specific platforms in OCI workflows. |
|
packager/assemble
Package assemble builds a Cargoship package on disk
|
Package assemble builds a Cargoship package on disk |
|
packager/layout
Package layout is used to defining the distro package files
|
Package layout is used to defining the distro package files |
|
packager/load
Package load for loading a given package
|
Package load for loading a given package |
|
phase
Package phase is all the various phases used for bootstrapping a cluster.
|
Package phase is all the various phases used for bootstrapping a cluster. |
|
retry
Package retry provides simple retry wrappers for functions that return an error
|
Package retry provides simple retry wrappers for functions that return an error |
|
schema
Package schema serves the JSON Schema documents cargoship generates for its own file formats, out of the binary rather than over the network.
|
Package schema serves the JSON Schema documents cargoship generates for its own file formats, out of the binary rather than over the network. |
|
utils
Package utils is for commonly used functions.
|
Package utils is for commonly used functions. |
|
utils/build
Package build is the build flag logic shared across mage and the CLI
|
Package build is the build flag logic shared across mage and the CLI |
|
Package test provides e2e tests for Cargoship
|
Package test provides e2e tests for Cargoship |
|
e2e/cluster
Package cluster holds the e2e tests that need a real multi-node cluster: the install command group, driven against containers provisioned by bootloose.
|
Package cluster holds the e2e tests that need a real multi-node cluster: the install command group, driven against containers provisioned by bootloose. |
|
Package types is a little bit of a hacky way to generate the cargo-ship-config jsonschema
|
Package types is a little bit of a hacky way to generate the cargo-ship-config jsonschema |
|
distrocfg
Package distrocfg defines the standard interface that all distro config settings
|
Package distrocfg defines the standard interface that all distro config settings |
|
distrocfg/registry
Package registry is used to register a distro
|
Package registry is used to register a distro |
|
os
Package os is for running commands on a remote host
|
Package os is for running commands on a remote host |
|
os/linux
Package linux is implementing the interface github.com/colonel-byte/cargoship/types/os.Configurer for Linux based hosts
|
Package linux is implementing the interface github.com/colonel-byte/cargoship/types/os.Configurer for Linux based hosts |
|
os/linux/enterpriselinux
Package enterpriselinux is implementing the interface github.com/colonel-byte/cargoship/types/os.Configurer for Enterprise Linux hosts
|
Package enterpriselinux is implementing the interface github.com/colonel-byte/cargoship/types/os.Configurer for Enterprise Linux hosts |
Click to show internal directories.
Click to hide internal directories.