Documentation
¶
Overview ¶
Package client provides client application lifecycle manager for the client part of the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewClientID = func() string { return uuid.NewSHA1(uuid.NameSpaceDNS, []byte(hostname())).String() }
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the main orchestrator and client of the application.
type Option ¶
type Option func(*Client)
func WithLogger ¶
WithLogger configures the client with the given logger.
func WithStderrBuffer ¶
WithStderrBuffer sets the client to buffer output on stderr and output it when the command has finished.
func WithWorkspaceRoot ¶
WithWorkspaceRoot sets the workspace root for the client.
Click to show internal directories.
Click to hide internal directories.