certificate

package
v0.0.0-...-7643a2f Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2018 License: Apache-2.0 Imports: 10 Imported by: 6 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcmCertificate

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

AcmCertificate storage struct

func New

func New(acmvsvc acmiface.ACMAPI, r53svc route53iface.Route53API, logger *logrus.Logger) *AcmCertificate

New create new acm approve

func (*AcmCertificate) Approve

func (a *AcmCertificate) Approve(certificateArn string, ttl int64) error

Approve approve given certificate

func (*AcmCertificate) Delete

func (a *AcmCertificate) Delete(certificateArn string) error

Delete delete certificate

func (*AcmCertificate) Request

func (a *AcmCertificate) Request(domainName string, subjectAlternativeNames []string) (string, error)

Request request required certificate

type Certificate

type Certificate interface {
	Approve(string, int64) error
	Request(string, []string) (string, error)
	Delete(certificateArn string) error
}

Certificate interface

Jump to

Keyboard shortcuts

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