daemon

package
v0.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package daemon is the version subpackage owned by the solo-provisioner-daemon binary.

It embeds the daemon's own VERSION and COMMIT files (generated by pkg/version/daemon/generate_version_unix.sh during `go generate`) and exposes the canonical version accessors and Cobra "version" command for the daemon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns a "version" Cobra command bound to the daemon binary's Info.

func Commit

func Commit() string

func Get

func Get() version.Info

Get returns the daemon binary's version Info.

func Number

func Number() string

func Print

func Print(cmd *cobra.Command, format string) error

Print writes the daemon binary's Info to cmd's stdout in the requested format.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL