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: 0

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