Documentation ¶
Index ¶
- Variables
- func CompleteConfigContext(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func CompleteNodes(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func WithClient(action func(context.Context, *client.Client) error, ...) error
- func WithClientMaintenance(enforceFingerprints []string, ...) error
- func WithClientNoNodes(action func(context.Context, *client.Client) error, ...) error
Constants ¶
This section is empty.
Variables ¶
var Commands []*cobra.Command
Commands is a list of commands published by the package.
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.
Source Files ¶
- apply-config.go
- bootstrap.go
- config.go
- conformance.go
- containers.go
- copy.go
- crashdump.go
- dashboard.go
- disks.go
- diskusage.go
- dmesg.go
- edit.go
- etcd.go
- events.go
- get.go
- health.go
- images.go
- inspect.go
- interfaces.go
- kubeconfig.go
- list.go
- logs.go
- memory.go
- mounts.go
- patch.go
- pcap.go
- processes.go
- read.go
- reboot.go
- reset.go
- restart.go
- rollback.go
- root.go
- routes.go
- service.go
- shutdown.go
- stats.go
- support.go
- time.go
- upgrade-k8s.go
- upgrade.go
- version.go
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. |