Documentation ¶
Overview ¶
Package hcloudutil contains utility functions for hcloud servers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidProviderID indicates that the providerID is invalid. ErrInvalidProviderID = fmt.Errorf("invalid providerID") // ErrNilProviderID indicates that the providerID is nil. ErrNilProviderID = fmt.Errorf("nil providerID") )
Functions ¶
func HandleRateLimitExceeded ¶
HandleRateLimitExceeded handles rate limit exceeded errors.
func ProviderIDFromServerID ¶
ProviderIDFromServerID returns the providerID of a hcloud server from a serverID.
func ServerIDFromProviderID ¶
ServerIDFromProviderID returns the serverID from a providerID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.