talos

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MPL-2.0 Imports: 81 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands []*cobra.Command

Commands is a list of commands published by the package.

View Source
var GlobalArgs global.Args

GlobalArgs is the common arguments for the root command.

Functions

func CompleteConfigContext added in v0.14.0

func CompleteConfigContext(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

CompleteConfigContext represents tab completion for `--context` argument and `config context` command.

func CompleteNodes added in v0.14.0

func CompleteNodes(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

CompleteNodes represents tab completion for `--nodes` argument.

func WithClient

func WithClient(action func(context.Context, *client.Client) error, dialOptions ...grpc.DialOption) error

WithClient builds upon WithClientNoNodes to provide set of nodes on request context based on config & flags.

func WithClientMaintenance added in v0.13.0

func WithClientMaintenance(enforceFingerprints []string, action func(context.Context, *client.Client) error) error

WithClientMaintenance wraps common code to initialize Talos client in maintenance (insecure mode).

func WithClientNoNodes added in v0.6.0

func WithClientNoNodes(action func(context.Context, *client.Client) error, dialOptions ...grpc.DialOption) error

WithClientNoNodes wraps common code to initialize Talos client and provide cancellable context.

WithClientNoNodes doesn't set any node information on the request context.

Types

This section is empty.

Directories

Path Synopsis
Package dashboard implements simple UI for Talos cluster monitoring.
Package dashboard implements simple UI for Talos cluster monitoring.
components
Package components implements specific widgets for the dashboard.
Package components implements specific widgets for the dashboard.
data
Package data implements types to handle monitoring data, calculate values from it, etc.
Package data implements types to handle monitoring data, calculate values from it, etc.
Package output provides writers in different formats.
Package output provides writers in different formats.

Jump to

Keyboard shortcuts

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