Directories
¶
| Path | Synopsis |
|---|---|
|
core
command
|
|
|
src
|
|
|
api
Package api defines types shared across cargoship's API groups.
|
Package api defines types shared across cargoship's API groups. |
|
api/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. |
|
api/zarf.dev/v1alpha1/cluster
Package cluster defines the API types for a cluster configuration.
|
Package cluster defines the API types for a cluster configuration. |
|
api/zarf.dev/v1alpha1/distro
Package distro defines the API types for a distro package.
|
Package distro defines the API types for a distro package. |
|
cmd
Package cmd is where the commands for cargoship
|
Package cmd is where the commands for cargoship |
|
cmd/flags
Package flags provides shell completion functions for cargoship CLI flags.
|
Package flags provides shell completion functions for cargoship CLI flags. |
|
config
Package config is a holder of commonly used multiple times
|
Package config is a holder of commonly used multiple times |
|
config/lang
Package lang holds the cli helping text
|
Package lang holds the cli helping text |
|
internal/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 |
|
internal/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 |
|
internal/dns
Package dns contains DNS related functionality.
|
Package dns contains DNS related functionality. |
|
internal/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. |
|
internal/riglogger
Package riglogger add settings that overrides the rig.Logger
|
Package riglogger add settings that overrides the rig.Logger |
|
internal/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 |
|
pkg/action
Package action are various actions used by the package
|
Package action are various actions used by the package |
|
pkg/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. |
|
pkg/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. |
|
pkg/distro
Package distro is used for creating/deploying distro package
|
Package distro is used for creating/deploying distro package |
|
pkg/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. |
|
pkg/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. |
|
pkg/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. |
|
pkg/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. |
|
pkg/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 |
|
pkg/images
Package images is functionality related to interacting with oci images.
|
Package images is functionality related to interacting with oci images. |
|
pkg/lint
Package lint contains functions for verifying yaml files are valid
|
Package lint contains functions for verifying yaml files are valid |
|
pkg/node
Package node is used for status related functions
|
Package node is used for status related functions |
|
pkg/oci/archive
Package archive implements the Archive interface for the OCI archive store.
|
Package archive implements the Archive interface for the OCI archive store. |
|
pkg/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. |
|
pkg/packager/assemble
Package assemble builds a Cargoship package on disk
|
Package assemble builds a Cargoship package on disk |
|
pkg/packager/layout
Package layout is used to defining the distro package files
|
Package layout is used to defining the distro package files |
|
pkg/packager/load
Package load for loading a given package
|
Package load for loading a given package |
|
pkg/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. |
|
pkg/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 |
|
pkg/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. |
|
pkg/utils
Package utils is for commonly used functions.
|
Package utils is for commonly used functions. |
|
pkg/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 |
|
test
Package test provides e2e tests for Cargoship
|
Package test provides e2e tests for Cargoship |
|
test/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. |
|
types
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 |
|
types/distrocfg
Package distrocfg defines the standard interface that all distro config settings
|
Package distrocfg defines the standard interface that all distro config settings |
|
types/distrocfg/registry
Package registry is used to register a distro
|
Package registry is used to register a distro |
|
types/os
Package os is for running commands on a remote host
|
Package os is for running commands on a remote host |
|
types/os/linux
Package linux is implementing the interface github.com/colonel-byte/cargoship/src/types/os.Configurer for Linux based hosts
|
Package linux is implementing the interface github.com/colonel-byte/cargoship/src/types/os.Configurer for Linux based hosts |
|
types/os/linux/enterpriselinux
Package enterpriselinux is implementing the interface github.com/colonel-byte/cargoship/src/types/os.Configurer for Enterprise Linux hosts
|
Package enterpriselinux is implementing the interface github.com/colonel-byte/cargoship/src/types/os.Configurer for Enterprise Linux hosts |
Click to show internal directories.
Click to hide internal directories.