scaleway

package
v0.0.0-...-89a34fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSClient

type DNSClient struct {
	// contains filtered or unexported fields
}

DNSClient implements Scaleway utilities functions to request and create DNS records.

func NewClient

func NewClient(organizationID string, secretKey string) (*DNSClient, error)

NewClient creates a new OpenAPI Client to connect Scaleway DNS API

func (*DNSClient) CreateTXTRecord

func (d *DNSClient) CreateTXTRecord(ch *v1alpha1.ChallengeRequest) error

CreateTXTRecord adds a TXT record in Scaleway

func (*DNSClient) DeleteTXTRecord

func (d *DNSClient) DeleteTXTRecord(ch *v1alpha1.ChallengeRequest) error

DeleteTXTRecord deletes a TXT record from Scaleway

func (*DNSClient) GetBestDNSZone

func (d *DNSClient) GetBestDNSZone(ch *v1alpha1.ChallengeRequest) (string, error)

GetBestDNSZone finds the best DNS Zone to use to add or update records

Directories

Path Synopsis
Package ScalewayDns provides primitives to interact the openapi HTTP API.
Package ScalewayDns provides primitives to interact the openapi HTTP API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL