charmclient

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(cfg *client.Config) tea.Cmd

NewClient is a Bubble Tea command for creating a Charm client.

Types

type ErrMsg

type ErrMsg struct {
	Err error
}

ErrMsg is sent for general, non-SSH related errors encountered when creating a Charm Client.

type NewClientMsg

type NewClientMsg *client.Client

NewClientMsg is sent when we've successfully created a charm client.

type SSHAuthErrorMsg

type SSHAuthErrorMsg struct {
	Err error
}

SSHAuthErrorMsg is sent when charm client creation has failed due to a problem with SSH.

Jump to

Keyboard shortcuts

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