clients

package
v0.0.0-...-6f318c5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(cmd *cobra.Command) error

Types

type Client

type Client interface {
	Name() string
	Version() string

	Register(cmd *cobra.Command) error
}

type Config

type Config struct {
	Address string
	Token   string
	TLS     struct {
		Enabled, Insecure, Fallback bool
		CA                          string
	}
}

func (*Config) Register

func (c *Config) Register(cmd *cobra.Command) error

type Factory

type Factory func(c *Config) Client

Jump to

Keyboard shortcuts

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