Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" BuildTime = "unknown" GitCommit = "unknown" )
Build metadata injected at link time via -ldflags (see Makefile LDFLAGS_CLI).
Functions ¶
func Execute ¶
func Execute() int
Execute runs the Cobra command tree and returns a process exit code.
func SetBuildInfo ¶
func SetBuildInfo(version, buildTime, gitCommit string)
SetBuildInfo overrides build metadata (used in tests).
func ShouldRunCLI ¶
ShouldRunCLI reports whether argv should dispatch to the operator CLI instead of the daemon supervisor. Daemon-only invocation is "edgelet daemon" (used by systemd and service scripts).
Types ¶
This section is empty.
Source Files
¶
- auth.go
- buildinfo.go
- cgroup_preflight_linux_cgo.go
- completion.go
- config.go
- controlplane.go
- deploy.go
- documentation.go
- flag_completions.go
- help.go
- helpers.go
- image.go
- init_config.go
- knowledge.go
- logs_flags.go
- model.go
- ms.go
- provision.go
- registry.go
- root.go
- runtime_linux.go
- runtimeclass.go
- shutdown_linux.go
- system.go
- version_extra_stub.go
- volume.go
Click to show internal directories.
Click to hide internal directories.