cli

package
v0.97.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(ctx context.Context, err error, hc *holos.Config) (exitCode int)

HandleError is the top level error handler that unwraps and logs errors.

func MakeMain

func MakeMain(options ...holos.Option) func() int

MakeMain makes a main function for the cli or tests.

func New

func New(cfg *holos.Config, feature holos.Flagger) *cobra.Command

New returns a new root *cobra.Command for command line execution.

Types

This section is empty.

Directories

Path Synopsis
Package controller integrates Choria Machine Room into Holos for cluster management.
Package controller integrates Choria Machine Room into Holos for cluster management.
Package pull pulls resources from the PlatformService and caches them in the local filesystem.
Package pull pulls resources from the PlatformService and caches them in the local filesystem.
Package push pushes resources to the holos api server.
Package push pushes resources to the holos api server.
Package register provides user registration via the command line.
Package register provides user registration via the command line.

Jump to

Keyboard shortcuts

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