Documentation ¶
Overview ¶
Package godop provides a godo (DigitalOcean API) compatible autocertdns.Provisioner.
Index ¶
- type Client
- type Option
- func Domain(domain string) Option
- func Errorf(f func(string, ...interface{})) Option
- func GodoClient(client *godo.Client) Option
- func GodoClientToken(ctxt context.Context, token string) Option
- func GodoClientTokenFile(ctxt context.Context, filename string) Option
- func Logf(f func(string, ...interface{})) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps a DigitalOcean godo.Client.
func New ¶
New wraps a godo.Client with a Client that can also handle DNS provisioning requests for use with the autocertdns.Manager.
type Option ¶
Option is the Client option type.
func GodoClient ¶
GodoClient is a Client option to pass an already created godo client.
func GodoClientToken ¶
GodoClientToken is a Client option to pass only the godo client token, and a new godo client will be created.
func GodoClientTokenFile ¶
GodoClientTokenFile is a Client option to create a new godo client using a token stored in a file on disk.
Click to show internal directories.
Click to hide internal directories.