dns

package
v1.22.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderName = "digitalocean"
)

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(client *godo.Client) dnsprovider.Interface

NewProvider returns an implementation of dnsprovider.Interface

Types

type Interface

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

DNS implements dnsprovider.Interface

func (Interface) Zones

func (d Interface) Zones() (dnsprovider.Zones, bool)

Zones returns an implementation of dnsprovider.Zones

type TokenSource

type TokenSource struct {
	AccessToken string
}

TokenSource implements oauth2.TokenSource

func (*TokenSource) Token

func (t *TokenSource) Token() (*oauth2.Token, error)

Token returns oauth2.Token

Jump to

Keyboard shortcuts

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