Documentation
¶
Index ¶
Constants ¶
const ExitConfig = 78
ExitConfig is EX_CONFIG. The node's systemd unit does not restart on it: a node its config stops would only fail again, every second, filling the journal.
Variables ¶
var ( Version = "unknown" Commit = "unknown" BuildDate = "unknown" )
Version holds the semantic version of the tau CLI.
It is set at build time by GoReleaser using:
-ldflags "-X github.com/taubyte/tau/cli/app.Version=${VERSION}"
When running `go run` or building without the ldflag, it defaults to "unknown".
Functions ¶
Types ¶
type ConfigError ¶ added in v1.3.0
type ConfigError struct{ Err error }
ConfigError marks a failure the node's config causes, which a restart cannot fix.
func (ConfigError) Error ¶ added in v1.3.0
func (e ConfigError) Error() string
func (ConfigError) Unwrap ¶ added in v1.3.0
func (e ConfigError) Unwrap() error