Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHetznerCommands ¶
CreateHetznerCommands creates the Hetzner command tree for static commands
func ResolveAPIToken ¶
func ResolveAPIToken() string
ResolveAPIToken returns the Hetzner Cloud API token from config or environment
Types ¶
type BackendHetznerCredentials ¶
type BackendHetznerCredentials struct {
APIToken string
}
BackendHetznerCredentials represents Hetzner credentials from the backend
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the Hetzner Cloud hcloud CLI tool
func NewClientWithCredentials ¶
func NewClientWithCredentials(creds *BackendHetznerCredentials, debug bool) (*Client, error)
NewClientWithCredentials creates a new Hetzner Cloud client using credentials from the backend
func (*Client) GetAPIToken ¶
GetAPIToken returns the API token
func (*Client) GetRelevantContext ¶
GetRelevantContext gathers Hetzner Cloud context for LLM queries
Click to show internal directories.
Click to hide internal directories.