Documentation
¶
Index ¶
- type Provider
- func (p *Provider) CreateRecord(ctx context.Context, domain string, record types.DNSRecord) (*types.DNSRecord, error)
- func (p *Provider) CreateSSHKey(ctx context.Context, name string, publicKey string) (*types.SSHKey, error)
- func (p *Provider) CreateServer(ctx context.Context, opts types.CreateServerOptions) (*types.Server, error)
- func (p *Provider) CreateZone(ctx context.Context, domain string) error
- func (p *Provider) DeleteRecord(ctx context.Context, domain string, recordID string) error
- func (p *Provider) DisplayName() string
- func (p *Provider) GetRegions(ctx context.Context) ([]types.Region, error)
- func (p *Provider) GetSSHKey(ctx context.Context, fingerprint string) (*types.SSHKey, error)
- func (p *Provider) GetServer(ctx context.Context, id string) (*types.Server, error)
- func (p *Provider) GetServers(ctx context.Context) ([]types.Server, error)
- func (p *Provider) GetSizes(ctx context.Context, region string) ([]types.Size, error)
- func (p *Provider) GetZone(ctx context.Context, domain string) (*types.Zone, bool, error)
- func (p *Provider) ListRecords(ctx context.Context, domain string) ([]types.DNSRecord, error)
- func (p *Provider) Name() string
- func (p *Provider) WaitForServer(ctx context.Context, id string, timeout time.Duration) (*types.Server, error)
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 implements the types.Provider interface for Hetzner Cloud.
func (*Provider) CreateRecord ¶
func (*Provider) CreateSSHKey ¶
func (*Provider) CreateServer ¶
func (*Provider) CreateZone ¶
func (*Provider) DeleteRecord ¶
func (*Provider) DisplayName ¶
func (*Provider) GetRegions ¶
func (*Provider) GetServers ¶
func (*Provider) ListRecords ¶
Click to show internal directories.
Click to hide internal directories.