digitalocean

package
v0.0.0-...-1867f9a Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package digitalocean handles installing certificates to load balancers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DigitalOcean

type DigitalOcean struct {
	Client digitalocean.DigitalOcean `mapstructure:",squash"`

	// LoadBalancerID is the ID of the load balancer to install certificates on.
	LoadBalancerID string `mapstructure:"load_balancer_id"`
	// contains filtered or unexported fields
}

func New

func New(cfg *viper.Viper) (*DigitalOcean, error)

func (*DigitalOcean) GetCertificate

func (d *DigitalOcean) GetCertificate(ctx context.Context) (*x509.Certificate, error)

func (*DigitalOcean) SetCertificate

func (d *DigitalOcean) SetCertificate(ctx context.Context, caBundle []*x509.Certificate, endEntity *x509.Certificate, privKey crypto.PrivateKey) error

Jump to

Keyboard shortcuts

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