Documentation
¶
Overview ¶
Package hetzner provides a provider for Hetzner Cloud.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider wraps a Hetzner API client.
func NewProvider ¶
NewProvider creates a new Hetzner provider for a given group.
func (Provider) AssignFloatingIP ¶
func (c Provider) AssignFloatingIP(ctx context.Context, flip resource.FloatingIP, srv resource.Server) error
AssignFloatingIP targets a floating IP at a server.
func (Provider) Name ¶
func (c Provider) Name() resource.ProviderName
Name returns the name of the Hetzner provider, "hetzner".
Click to show internal directories.
Click to hide internal directories.