config

package
v2.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidHostUrlScheme = errors.New("a scheme of http or https must be provided for host url")

Functions

This section is empty.

Types

type Client

type Client struct {
	clients.CLI
}

func (Client) Create

func (c Client) Create(cfg config.Config) error

func (Client) CreateWithUserPass added in v2.4.0

func (c Client) CreateWithUserPass(cfg config.Config, userPass string) error

func (Client) Delete

func (c Client) Delete(names []string) error

func (Client) List

func (c Client) List() error

func (Client) PrintActive

func (c Client) PrintActive() error

func (Client) SwitchActive

func (c Client) SwitchActive(name string) error

func (Client) Update

func (c Client) Update(cfg config.Config) error

func (Client) UpdateWithUserPass added in v2.5.0

func (c Client) UpdateWithUserPass(cfg config.Config, userPass string) error

Jump to

Keyboard shortcuts

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